Closed latimer288 closed 3 years ago
Make sure you have the wires connected properly and are using the correct USB device.
hey Kyle, I am using the exact USB device you recommended in your write up. However I had issues wiring the harness from the sensor to the USB device. It didn't seem to work when i mimicked your picture in the write up. So I wired the sensor on a breadboard to the USB device. that got a connection, however also the error.
Can you write the chip model and also show how you have it wired in order to verify it's correct? There's something wrong with your configuration or there's a hardware issue, but without enough information diagnosis is impossible.
re wired the usb device properly and fixed the issue. thanks for the assistance and work you are doing. the write up you did of the hydroponic automation was very inspirational. looking forward to continuing this project.
Great! Glad to hear. Also check out the forum at kylegabriel.com/forum for any general discussions you want to start, if it's not a software issue.
I am very new to programming and electronics so this is very much a learning process. i have connected the MH-Z19B via UART - USB utilizing mycodo following direction in Kyle Gabriel's hydroponic automation write-up. It appears to be functioning and the operating system is communicating with the sensor however i cannot receive data back to the Pi 4. when reviewing the logs I see the sensor communicating every 15 secs however the error reads bad checksum. Below I have included an example of the log. i believe that is all the info needed as I assume this is a small issue i am over looking.
Thanks for any assistance.