Back to Smartcitizen.me

Temperature raw data conversion

Hi,
Can you please provide the accurate way to convert the sensor’s temperature readings to Celsius?
Here is the sample serial data :
Temperature: 27828 C RAW
Humidity: 25132 % RAW
Light: 132.10 lx
Battery: 94.60 %
Solar Panel: 0 mV
Carbon Monxide: 457.92 kOhm
Nitrogen Dioxide: 42.97 kOhm
Noise: 1733 mV
Wifi Spots: 25
UTC: 2014-10-1 9:04:44

You can see the equations in the attached capture.

Thanks.
But this doesn’t seem to be the way it is done on the site.
For example,
for the same timestamp of UTC: 2014-10-6 2:52:21, the reading on the kit is 27584, which yields 27.11 degrees C as per the formula. But the online reading is 21 degrees C which I think is more accurate.
Can you please help me resolve this?
Thanks,
Shwetha
(SCK kit #1499)

Knock Knock.

Hi @shwetha, we have recently documented the SD data format ((README.md)), it still can be improved but it is better than nothing. Anyway, the readings you get on your SD card (if configured to do so) are supposed to be the same readings you get when using the Arduino IDE to watch over your kit so this should help as an accurate way to convert the sensor’s temperature readings to Celsius. Please, let us know how it goes. We look forward to hearing from you. Best.
https://github.com/fablabbcn/Smart-Citizen-Kit/tree/master/sck_beta_v0_8_6_SDCARD