Search found 9 matches

by jmmelkon
Thu Mar 17, 2022 6:04 pm
Forum: IO-Warrior English
Topic: Troubles with Sensirion SCD41 and IOWarrior
Replies: 7
Views: 3002

Re: Troubles with Sensirion SCD41 and IOWarrior

Hi, I have created a GitHub repo, with permission from Ullix, who doesn't want to maintain this code anymore. https://github.com/jmmelko/I2C_USB_Dongles/tree/beta Currently, I have only tested with the hardware I own, but if I haven't messed up with Ullix's code it should work as I2CPytools did befo...
by jmmelkon
Mon Mar 14, 2022 10:52 pm
Forum: IO-Warrior English
Topic: MacOS SDK and IOWarrior? Where are the basic functions?
Replies: 1
Views: 1710

MacOS SDK and IOWarrior? Where are the basic functions?

Hi, sorry for the newbie question but... I have successfully written/modified a python code for using the iowkit.dll under Windows. It is so simple, because all you have to do is: - import ctypes - load the library, that can be put in the same directory without installation - call the C functions of...
by jmmelkon
Thu Mar 10, 2022 10:35 am
Forum: IO-Warrior English
Topic: Troubles with Sensirion SCD41 and IOWarrior
Replies: 7
Views: 3002

Re: Troubles with Sensirion SCD41 and IOWarrior

OK, so I managed to run the SCD41 sensor. It happens that wiring was incorrect for one of them, and that the sensor was faulty for the other one (probably the IR source is dead) I have modified Ullix's I2CpyTools to handle this sensor. It works, excepted that I cannot interrogate the sensor at time ...
by jmmelkon
Tue Feb 22, 2022 7:43 pm
Forum: IO-Warrior English
Topic: Troubles with Sensirion SCD41 and IOWarrior
Replies: 7
Views: 3002

Re: Troubles with Sensirion SCD41 and IOWarrior

Thank you so much! I don’t see the device with the SimpleI2C windows binary. And autodetect devices finds nothing (whereas with the SHT75 it returns something, something incorrect, but not zero). I will try messing with the address, but I suspect that the PCB board is faulty. Even though it had been...
by jmmelkon
Mon Feb 21, 2022 9:18 pm
Forum: IO-Warrior English
Topic: Troubles with Sensirion SCD41 and IOWarrior
Replies: 7
Views: 3002

Troubles with Sensirion SCD41 and IOWarrior

Hi, Despite Christopher's help (thanks to him, btw), I am still having trouble interrogating the SCD41 sensor with IOWarrior24 (yeah I know it's deprecated, sorry). So I am listing my questions here in the hope that a good soul will answer them :-) The chip returns an ID=2 Report with an error flag ...
by jmmelkon
Wed Jan 19, 2022 10:10 am
Forum: IO-Warrior English
Topic: Excel VBA for IOWarrior and Sensirion SHT7x
Replies: 11
Views: 24062

Re: Excel VBA for IOWarrior and Sensirion SHT7x

Last version of the code. The registers and the CRC checksum are not handled. Note that SHT75 is not I²C compliant so the code cannot be transposed as is for other sensors. Option Explicit Public Const IOW_PIPE_IO_PINS As Integer = 0 Public Const IOW_PIPE_SPECIAL_MODE As Integer = 1 Public Const IOW...
by jmmelkon
Wed Jan 19, 2022 10:01 am
Forum: IO-Warrior English
Topic: IOWKIT.DLL and Excel
Replies: 4
Views: 19990

Re: IOWKIT.DLL and Excel

For those who would still read this topic: the dll can be put anywhere, provided that you give Excel the explicit path to the DLL each tile you declare a C function: Public Declare Function IowKitOpenDevice Lib "C:\Users\Administrateur\Desktop\sensirion\iowkit.dll" () As Long Generally spe...
by jmmelkon
Wed Dec 01, 2021 10:06 am
Forum: IO-Warrior English
Topic: IOW24-DG with I2C Sensors BME280, LM75 and TSL2591 under Python Control
Replies: 1
Views: 18049

Re: IOW24-DG with I2C Sensors BME280, LM75 and TSL2591 under Python Control

Hi, I love your work! I am going to try adding the SCD41 sensor. Could you please resume the necessary steps? 1/ add a dictionary in the glob 2/ create a class 3/ modify the unix script Is there any example on how to run the script from a Python console directly? I mean, instead of a unix script. th...
by jmmelkon
Wed Dec 01, 2021 9:52 am
Forum: IO-Warrior English
Topic: Examples of Python to access IO Warrior?
Replies: 1
Views: 14791

Re: Examples of Python to access IO Warrior?

Hi,

I think you need to use Ctypes and call the C functions from the DLL library.

Example here:

https://sourceforge.net/projects/i2cpytools/