Forum Replies Created
-
AuthorPosts
-
Wolferl
ModeratorHi Quincy,
CO2 concentration /is/ dependent on air temperature, have a look at this paper.
Also, the CO2 sensors used (Winsen MH-Z19) are not very accurate, the datasheet states +/- 50ppm + 5% of reading.
The datasheet also states that the reading is “temperature compensated”…one never knows how good that works inside a device that generates additional heat.
It is a cheap sensor after all and one cannot expect laboratory-grade precision from them.
Additionally, that sensor performs some magic self calibration (that could explain the sudden drop to 450 ppm) and can also be calibrated by the MCU.HTH & Cheers,
WolferlWolferl
ModeratorHi,
Great, thanks for the feedback!
Would you mind posting the project’s code somewhere (github or whatever you prefer), so other people (including me) can replicate what you achieved?Cheers,
WolferlWolferl
ModeratorHi,
You’re welcome, great you got it to work!
There is no atmospheric pressure reading on your new sensor, is that intended?Cheers,
WolferlWolferl
ModeratorHi,
I did not find that info on the SI22G either.
But I found this document which explains on page 6 how to calculate the dead time by doing some easy measurements.HTH,
WolferlWolferl
ModeratorHi,
I made a recording with Wireshark of my unit #13000070. I hope it helps you finding out what happens.
Cheers,
WolferlWolferl
ModeratorHi
I think you’ll need to delete the “0x” in front of the device ID.
The number itself needs to be in hexadecimal though.Cheers,
WolferlWolferl
ModeratorHi,
Install Wireshark on a computer on the same network as your devices and see for yourself how your requests look like.
Cheers,
WolferlWolferl
ModeratorHi,
I am by no means a JSON guy, but should that code:
String ptr = "GET /data.uradmonitor.com/api/v1/upload/exp/01/"; ptr += "X-User-id:%s\r\nX-User-hash:%s\r\nX-Device-id:%08lX\r\n"; ptr += USER_ID; ptr += USER_KEY; ptr += "0";
more read like this?
String ptr = "GET /data.uradmonitor.com/api/v1/upload/exp/01/\r\n"; ptr += "X-User-id:" USER_ID "\r\nX-User-Hash:" USER_KEY "\r\nX-Device-id:" DEVICE_ID "\r\n";
See the CRLF at the GET address end, plus the values inserted at the correct places.
Also you’ll probably need to supply a correct device id, 0 will not do. You’ll need something like 0x1300xxxx for a KIT1 compatible device.HTH,
WolferlWolferl
ModeratorHi,
It looks like you do not include the authentification bits when trying to upload the values.
Have a look here:
PDF Documentatioh for API callCheers,
WolferlWolferl
ModeratorHi Don,
Can you be a bit more specific what you are trying to achieve and what exactly the problem is?
What device ID are you using?Cheers,
WolferlWolferl
ModeratorHi James,
I think it’s best to contact Radu directly (username “Radu”) about this.
Have you checked what your Smoggie’s webpage says?Cheers,
WolferlWolferl
ModeratorYou’re welcome, great you got your Smoggie to work!
Cheers,
WolferlWolferl
ModeratorYour unit seems to get no IP and DNS addresses (“IP unset”), that’s why it cannot contact the uradmonitor server.
You seem to have correctly setup the access to your Wifi (it says “Wifi:connected”). Does you Wifi router have DHCP activated (it usually is)?
It could also be a routing or firewall issue, though.HTH,
WolferlWolferl
ModeratorHi Adam,
Since it has happended before: be sure to check the wall wart, they like to fail. These are standard 5V PSU models, just try your A3 with a standard USB PSU for phones or tablets you may have lying around.
The modules themselves are pretty reliable.Cheers,
WolferlWolferl
ModeratorHi Ken,
I think the problem with this are some short, very high readings which blow up the vertical scale of the diagram too much.
Zoom in a time range without large peaks and you’ll see nice, plausible looking values.
It would be better to use logarithmic scaling for VOC and PM… @Radu?Cheers,
Wolferl -
AuthorPosts