Just another update here on my CO2 sensor testing.
I am able to get all of my sensors working with the Arduino. No problem. I am NOT able to get it working on the RPiSer port for some reason … power? Current? Voltage?
The CO2 sensor DOES want 5vdc … and again it works perfectly with the Arduino (several different ones) so something is not quite right trying to run it from the RPiSer port on the GrovePi.
I am also experiencing the same issue as others have mentioned above when using the RPISER port. No matter how I try to calibrate, it just seems to give garbage data back. I did notice that the commands that were specified in the calibration code differed from the commands in the manual. I fixed that but it didn’t make the situation any better.
I have the same Problem with the CO2 Sensor. Ich am using a raspberry pi with the grovepi extension and a humiditiy / temperature, loudness and co2 sensor. When I try to start the co2 sensor with the example python file from the library the outcoming results are between 0 and 50000 with no logical pattern. I have connected the sensor to the RPISER adapter.
Is there already a solution for that (couldn’t find one on the internet)?
@FreshGrove@dpucciMS: just wanted to let you know that we are looking into the issue with the CO2 sensor and get back to you in some after we have tested it.
Hey Lolmewn,
We have tried it on two of the CO2 sensors that we have and one of them shows this behavior and the other one dies not. We tries a lot to look for the root cause for the problem and were not able to find it.
I have several Grove sensors but no GrovePi header and have had some luck getting them to work straight on the breadboard. I get junk data on occasion, but it’s usually because my wiring is not secure and it generates interference. After adjusting the wires I get surprisingly good data (within 20 ppm of current atmospheric levels (407). I modified the code uploaded by doms to work with the serial port on the RPi rather than using an external usb serial.
I am dealing with same errors, I am not able to read data from Grovepi+ in raspberri pi 3, using this code, working with RPIRSER port of Raspberri pi 3. Please, is tehre any solution for this problem?
I solved it over esp8266. Esp reads data from sensor and prints them to serial port. Raspberry pi reads data from esp over USB. It’s easy, cheap and reliably.
I need to connect directly to the GrovePi+ I can not use Arduino. What I am doing wrong?I tried different approaches but I am not able to get data from the sensor. I always get “Unable to read” error. Can someone guide me to find my error?
@alitor86, I’m sorry to tell you this, but it looks like the Raspberry Pi 3 doesn’t support UART.
The following screenshot comes from Atlas Scientific, it is written all over their Ezo Circuit Manuals.
Hey @jamesokbo,
The Pi3 comes with UART disabled by default but it can easily be enabled. We use it on one of our products and it works pretty well with the Pi3.
If you are using the Raspbian for robots image from Dexter then you will have to use the Advanced communication option from the desktop in the Raspberry GUI and click Enable UART option.
Else if you are using stock Raspbian image from Raspberry Pi Foundation you can follow the instructions given here to enable UART.
It looks like you have made another post on the forums about the Co2 MH-Z16 Sensor, so we’ll continue the conversation there to make it easier for us to keep track of the discussion.