Hello All. New to this forum and arduino so im at a loss for what im doing wrong.
I've used the new code/re calibration last listed to yield positive CO2 readings, yet my humidity and temperature readings are all 0. Is this an error within the sensor or my doing?
Hi everybody , Recently I've got the cozir wide range
I just read the datasheet and the process to do the calibration part is the same I've used the library provided by
DirtGambit and robtillaart ,my doubt is about this process we need to calibrate the sensor each time I turn on the arduino device or I do need to recalibrate the sensor ?
Attached my latest cozir 0.1.03 lib version. There is a sketch included which compiles.
Disclaimer: I still do not have such sensor so I cannot test it in real life ...
@DirtGambit
Is it OK to include this library in my Github repo?
I tried to send the command " z\r\n" to get the co2 values but it didn't work for me so i removed the while condition and it started displaying co2 values
Now when I included the cozir.h file and tried to run this code (posted by @DirtGambit) nothing is displaying on serial monitor. I tried this arduino 1.0.3 as well.
it displayed this text on monitor...
strangely I have to re insert the wire connecting the sensor's RX with microcontroller pin#3 in order to display the text on the serial monitor.
I have connected sensor RX -> with Arduino pin#3
and sensor TX _> with pin #2
that means you have made a hard wired connection between the hardware Serial and the software serial.
The if statement in the code should do the copying but only if there is data available on the SW serial.
the yy indicates there is nothing to read() (In fact it is ASCII char 255 or -1)