Activity for I2Cpytools

  • ullix ullix posted a comment on discussion General Discussion

    I was testing GeigerLog on Raspi 4, and was wondering: why not dump all these "USB-Dongles" and use Raspi as "I2C Dongle" and transmit the data by WiFi? Tested with the LM75 sensor - it takes 5 lines of I2C specific code! import smbus I2C_TMP_LM75_ADRESS = 0x48 # I2C-Adresse des LM75 Temperatursensors (0x48) LM75_TMP_BYTE = 0x00 # Adresse im LM75, ab der Daten ausgelesen werden i2c = smbus.SMBus(1) # initialize I2C-Bus raw = i2c.read_i2c_block_data(I2C_TMP_LM75_ADRESS, LM75_TMP_BYTE) # raw has the...

  • ullix ullix posted a comment on discussion General Discussion

    The datasheet is rather quiet on the automatic self calibration of the SCD41, I only see this: The automatic self-calibration algorithm assumes that the sensor is exposed to the atmospheric CO2 concentration of 400 ppm at least once per week. I have the auto-calibration NOT enabled, and use force-calib when needed. I did this 2 days ago, and all my three sensors (MiniMon, SCD30, SCD41) were in agreement. Two days later the SCD30 and MiniMon are still in agreement, while the SCD41 has already wandered...

  • Jean-Michel Jean-Michel posted a comment on discussion General Discussion

    yes, I was aware of it. i didn't know about the 12V though. Maybe it uses a more powerful IR source and thus provides a better limit of detection (I haven't checked if that's the case). I had been wondering about the automatic calibration procedure and I think that it takes the lowest recorded 3-hour average recorded within the 7 days as the CO2 baseline. It assumes this value to be 400 ppm and calibrates the sensor over that. Meaning that if you live in Mexico or Bombay (where the CO2 value never...

  • ullix ullix modified a comment on discussion General Discussion

    Just discovered: a CO2 sensor from Infineon based on the - ta,da! - Photoacoustic principle. https://www.mouser.de/pdfDocs/Infineon-EVAL_PASCO2_SENSOR-DataSheet-v01_02-EN.pdf at half-price from the SCDXYs https://www.mouser.de/ProductDetail/Infineon-Technologies/EVALPASCO2MINIBOARDTOBO1?qs=sGAEpiMZZMv0NwlthflBi7sKZsPhjcFAG0Zyu4K4hvQ%3D But it needs 3.3V and 12V supply :-(

  • ullix ullix posted a comment on discussion General Discussion

    Just discovered: a CO2 sensor from Infineon based on the - ta,da! - Photoacoustic principle. https://www.mouser.de/pdfDocs/Infineon-EVAL_PASCO2_SENSOR-DataSheet-v01_02-EN.pdf at half-price from the SCDXYs https://www.mouser.de/ProductDetail/Infineon-Technologies/EVALPASCO2MINIBOARDTOBO1?qs=sGAEpiMZZMv0NwlthflBi7sKZsPhjcFAG0Zyu4K4hvQ%3D

  • ullix ullix modified a comment on discussion General Discussion

    Huh, why would the firewall act up when GeigerLog starts? The only thing related to net at start is the Monitor Server, but as a server it is just waiting for calls, and not reaching out to the internet. I don't think it comes from GeigerLog, but if it does I would very much like to understand what is happening. Some interesting data to share: I haven't calibrated my SCD30/41 sensors within the last few weeks, and I now run them for some other tests. The sensors sit in my office; I noticed this result,...

  • ullix ullix posted a comment on discussion General Discussion

    Huh, why would the firewall act up when Windows starts? The only thing related to net at start is the Monitor Server, but as a server it is just waiting for calls, and not reaching out to the internet? I don't think it comes from GeigerLog, but if it does I would very much like to understand what is happening. Some interesting data to share: I haven't calibrated my SCD30/41 sensors within the last few weeks, and I now run them for some other tests. The sensors sit in my office; I noticed this result,...

  • Jean-Michel Jean-Michel posted a comment on discussion General Discussion

    sorry, I haven't been clear. that's windows firewall that is blocking. I'll do the test

  • ullix ullix posted a comment on discussion General Discussion

    GeigerLog will NEVER ASK FOR A PASSWORD ! There is a problem somewhere else, perhaps due to the Python installation? For investigation please start GeigerLog with "geigerlog -dvwR devel" and send me the resulting geigerlog.stdlog file (find it in GL's data directory). All 3 options are possible. Plus a 4th one: I'll put it on my site under Files as a "User contributed modification" with your name (or any other of your choice). When you publish elsewhere, then please rename it, since you are free...

  • Jean-Michel Jean-Michel modified a comment on discussion General Discussion

    On Windows Geigerlog ask for admin rights, after the GUI window opens. I'll run a step by step run of the program to identify where it is needed. I think it is bad practice to require admin rights for a python program that does not even require installation About I2CTools: what can I do with my modified version? - keep it for myself? - distribute it under the hood? - publish it on Github? I am not good with software copy rights.

  • Jean-Michel Jean-Michel modified a comment on discussion General Discussion

    On Windows Geigerlog ask for admin rights, after the GUI window opens. I'll run a step by step run of the program to identify where it is needed. I think it is bad practice to require admin rights for a python program that does not even require installation About I2CTools: what can I do with my modified version? - keep it for myself? - distribute it under the hood? - publish it on Github?

  • Jean-Michel Jean-Michel posted a comment on discussion General Discussion

    On Windows Geigerlog ask for admin rights, after the GUI window opens. I'll run a step by step run of the program to identify where it is needed. I think it is bad practice to require admin rights for a python program that does not even require installation

  • ullix ullix posted a comment on discussion General Discussion

    Jean-Michel, I have my hands full with GeigerLog and other stuff. As I have spend much effort to the I2C code in the new GeigerLog 1.3, and I think shave straightened it out quite a bit, I wont be spending more efforts on the I2Ctools. So far I am pleased with how my I2C code runs, and I don't see the problems you mention. In particular the "is_data_ready" function works just fine; it is key for how I use the sensor. I use a cycle time of mostly 1 sec, and simply return NAN values when the data are...

  • Jean-Michel Jean-Michel posted a comment on discussion General Discussion

    Ullix, I have not tested GeigerLog yet, probably today I will. In the meantime I have finished modifying I2CTools to work with the SCD4x and the SHT75. I dunno if you're still interested in that software but if that's the case, it would be good to test it back with the other sensors to be sure I haven't broken things. I had to change the way dongles and sensors are stored in the glob file, so that a close() function can be automatically called upon shutdown(). Indeed, the SCD4x sensor has to be told...

  • Jean-Michel Jean-Michel posted a comment on discussion General Discussion

    looks great! i will test that next week. tx

  • ullix ullix posted a comment on discussion General Discussion

    I have released GeigerLog 1.3.0, which has all the new I2C stuff (and lots more). The dongle USB-ISS is my choice - the fastest, the easiest, and cross platform (Lin, Win Mac,...) compatible, even without the need for driver installation - but the ELV and IOW dongles are still supported. The FTD dongle is just not worth it, I removed it from GeigerLog. Fully supported I2C devices in GeigerLog are: LM75 (temperature), BME280 (temperature, barometric pressure, humidity), TSL2591 (light sensor visible...

  • ullix ullix modified a comment on discussion General Discussion

    I just uploaded my assessment of the SCD30, SCD41, and MiniMon devices for measuring CO2. In short, they all work for the intended purposes. Download from the GeigerLog site: Measuring CO2 with SCD30, SCD41, and MiniMon For something cross-platform capable and to experiment with, choose the SCD41 on the USB-ISS dongle. Enjoy.

  • ullix ullix posted a comment on discussion General Discussion

    I just uploaded my assessment of the SCD30, SCD41, and MiniMon devices for measuring CO2. In short, they all work for the intended purposes. Download: Measuring CO2 with SCD30, SCD41, and MiniMon For something cross-platform capable and to experiment with, choose the SCD41 on the USB-ISS dongle. Enjoy.

  • ullix ullix posted a comment on discussion General Discussion

    Jean, quite a job, nice! I don't know what you plan to do with your code, but if you want to publish it, and have no place to do it, I'd be happy to post it here. Under your name, of course. Did I read this right, you are doing all of this under Windows? Which iowarrior lib do you call, and how do you do it? Using the IOWarrior24 may be something to think about, because it is deprecated. I checked with Code Mercenaries on their suggested replacement with IoWarrior28. It is not quite easy, but given...

  • Jean-Michel Jean-Michel posted a comment on discussion General Discussion

    Hi, just to let you know that I have modified your I2Cpytools code to work with Sensirion SHT75 + IOWarrior24 + Windows. I know that SHT75 is obsolete and that you don't like Sensirion, but I write it nonetheless for reference. SHT75 is not I2C compliant, so I had to create a special function to initialize it, and another one to interrogate it with a command byte inside a ReportID=3, which is the only way to get data from a subsequent read call with this sensor. Here is a non-exhaustive list of changes:...

  • ullix ullix posted a comment on discussion General Discussion

    I do my best to make GeigerLog ready for prime-time, but I 'm not there yet. I am sure you can extract the code from GeigerLog, just mind the license conditions. What dongle are you actually using?

  • Jean-Michel Jean-Michel posted a comment on discussion General Discussion

    I had almost got I2Ctools working with SCD41 in the meantime. it was very close to be working under windows, just a few linux specific command flags to be changed and some troubles with locating the right win64 library. i suppose I'll switch to GeigerTool then, when you release the 1.3 version. and when I get back to the office. Sometimes a GUI is nice, but I also want to be able to call the log from an external Python program (I can still read the log files as they are being written though). thank...

  • ullix ullix posted a comment on discussion General Discussion

    After these initial experiments it took on a life of its own, resulting in fully integrating all dongles (including a new one) and I2C devices into GeigerLog in its not-yet-released version 1.3.0. For now I can offer a review on the performance of dongles and devices in GeigerLog, available as "Review of USB-To-I2C Dongles as used by GeigerLog" in my Articles folder https://sourceforge.net/projects/geigerlog/files/Articles/ I find the outcome very surprising - "Grand-daddy runs circles around the...

  • ullix ullix modified a comment on discussion General Discussion

    I am afraid a reference cell in the SCD41 is principally impossible. In an NDIR system a beam-splitter is used to guide the beam either to the ambient-gas cell, or through the reference-cell with a defined gas-mixture. All other parts exist only once. So there is a true intrinsic reference. A reference in an SCD41 cell would be a complete second, and separate, additional system. Which needs its own calibration, defeating the purpose for a 2nd system. Sensirion has their own NDIR system https://www.sensirion.com/de/umweltsensoren/kohlendioxidsensor/kohlendioxidsensoren-scd30/...

  • ullix ullix modified a comment on discussion General Discussion

    I am afraid a reference cell in the SCD41 is principally impossible. In an NDIR system a beam-splitter is used to guide the beam either to the ambient-gas cell, or through the reference-cell with a defined gas-mixture. All other parts exist only once. So there is a true intrinsic reference. A reference in an SCD41 cell would be a complete second, and separate, additional system. Which needs its own calibration, defeating the purpose for a 2nd system. Sensirion has their own NDIR system https://www.sensirion.com/de/umweltsensoren/kohlendioxidsensor/kohlendioxidsensoren-scd30/...

  • ullix ullix posted a comment on discussion General Discussion

    I am afraid a reference cell in the SCD41 is principally impossible. In an NDIR system a beam-splitter is used to guide the beam either to the ambient-gas cell, or through the reference-cell with a defined gas-mixture. All other parts exist only once. So there is a true intrinsic reference. A reference in an SCD41 cell would be a complete second, and separate, additional system. Which needs its own calibration, defeating the purpose for a 2nd system. Sensirion has their own NDIR system https://www.sensirion.com/de/umweltsensoren/kohlendioxidsensor/kohlendioxidsensoren-scd30/...

  • Jean-Michel Jean-Michel posted a comment on discussion General Discussion

    that is very interesting, thank you. They could have implemented a reference cell, but I think it would have required two microphone sensors, so a drift could still have been possible. i think that the sensor is intended to stay very low cost, hence that is why.

  • ullix ullix modified a comment on discussion General Discussion

    I could not resist the temptation to try out this new sensor, thanks for pointing it out, and here is some result (see pic). I ran it in a modified GeigerLog side-by-side with my MiniMon https://sourceforge.net/projects/minimon/. MiniMon is an NDIR device. Both were in a loosely covered card board box( to limit speed of air exchange) sitting on my desk in the office. The ups and downs came from my presence or absence in the room, and the degree of ventilation by opening doors and/or windows. The...

  • ullix ullix modified a comment on discussion General Discussion

    I could not resist the temptation to try out this new sensor, thanks for pointing it out, and here is some result (see pic). I ran it in a modified GeigerLog side-by-side with my MiniMon https://sourceforge.net/projects/minimon/. MiniMon is an NDIR device. Both were in a loosely covered card board box( to limit speed of air exchange) sitting on my desk in the office. The ups and downs came from my presence or absence in the room, and the degree of ventilation by opening doors and/or windows. The...

  • ullix ullix modified a comment on discussion General Discussion

    I could not resist the temptation to try out this new sensor, thanks for pointing it out, and here is some result (see pic). I ran it in a modified GeigerLog side-by-side with my MiniMon https://sourceforge.net/projects/minimon/. MiniMon is an NDIR device. Both were in a loosely covered card board box( to limit speed of air exchange) sitting on my desk in the office. The ups and downs came from my presence or absence in the room, and the degree of ventilation by opening doors and/or windows. The...

  • ullix ullix posted a comment on discussion General Discussion

    I could not resist the temptation to try out this new sensor, thanks for pointing it out, and here is some result (see pic). I ran it in a modified GeigerLog side-by-side with my MiniMon https://sourceforge.net/projects/minimon/. MiniMon is an NDIR device. Both were in a loosely covered card board box( to limit speed of air exchange) sitting on my desk in the office. The ups and downs came from my presence or absence in the room, and the degree of ventilation by opening doors and/or windows. The...

  • Jean-Michel Jean-Michel posted a comment on discussion General Discussion

    Actually the light-matter interaction that takes place in the SCD4x sensor is the same as in a NDIR device. So it's not BS. i mean, it is quite specific, with low hysteresis. The thing is that I have this old setup with a SHT75 sensor and a dongle, run under Labview, and recently I bought this SCD one, and I wanted to migrate the code to use Python, withiut changing everything. thanks anyway!

  • ullix ullix posted a comment on discussion General Discussion

    Hi Jean-Michel, thanks for the message. I looked up the SCD41 sensor, and it sure looks like an interesting thing! This photo-acoustic principle, although claimed to be over 100 years old, is new to me. The chip would fill an important niche. If they can deliver! I am a bit biased against Sensirion. I have worked with their SGP30 sensor, which can measure VOC (Volatile organic compounds) in the air, and from there conclude on CO2 concentration. This turned out - to say it politely - a load of BS....

  • Jean-Michel Jean-Michel posted a comment on discussion General Discussion

    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 Do you have any example on how to run the script from a Python console directly? I mean, instead of a unix script. thanks (btw you should migrate to Github ;-)

  • ullix ullix committed [0c51b3]

    Initial commit

  • I2Cpytools I2Cpytools released /I2Cpytools-Manual-v0.2.pdf

  • I2Cpytools I2Cpytools released /I2Cpytools-v0.2.zip

  • I2Cpytools I2Cpytools released /pytoolsPlot-Manual-v0.6.pdf

  • I2Cpytools I2Cpytools released /pytoolsPlot-v0.6.zip

  • I2Cpytools I2Cpytools released /pytoolsPlot-README.pdf

  • I2Cpytools I2Cpytools released /I2Cpytools-v0.1a.zip

  • I2Cpytools I2Cpytools released /README.TXT

  • I2Cpytools I2Cpytools released /I2Cpytools-README.pdf

  • I2Cpytools I2Cpytools released /I2Cpytools-v0.1.zip

  • I2Cpytools I2Cpytools released /pytoolsPlot-v0.5.1.zip

  • I2Cpytools I2Cpytools released /IOW24DG/i2cpytools-iow24dg.py

  • I2Cpytools I2Cpytools released /README.TXT

1