letscontrolit / ESPEasy

Easy MultiSensor device based on ESP8266/ESP32
http://www.espeasy.com
Other
3.22k stars 2.2k forks source link

AM2320 does not report negative temperature values (bellow zero Celsius) #307

Closed nikil511 closed 7 years ago

nikil511 commented 7 years ago

Steps to reproduce

Put an AM2320 in the freezer

Expected behavior

Show values bellow zero

Actual behavior

values drop till zero and start going up again

System configuration

Hardware: wemos d1 mini + BME280 + Si7021 + AM2320 on batteries

Software or git version: build from source mega branch 22/5/2017

krikk commented 7 years ago

did not test this, but this seems to be a problem in the used library, will have a look when i find time...

...just out of interesst, why do you use an AM2320 when you also have a bme280/si7021?

beicnet commented 7 years ago

Why not?! I have BME280, HTU21D, LM75A and AM2320 on the same unit...(testing, comparing purposes)!

nikil511 commented 7 years ago

I am building a small 3d printed gadget with a few sensors. Noticed that readings are off probably due to esp heat in the enclosure but since i have loads of sensor variations decided to evaluate their performance anyway just to be sure.

ESPeasy makes these tests so easy 😉

On Mon, 22 May 2017, 22:15 beic, notifications@github.com wrote:

Why not?! I have BME280, HTU21D, LM75A and AM2320 on the same unit...(testing, comparing purposes)!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/letscontrolit/ESPEasy/issues/307#issuecomment-303193737, or mute the thread https://github.com/notifications/unsubscribe-auth/AA4eOrZGDCZRjKSrwqCE6226fENEDO-nks5r8d7MgaJpZM4Nhu4K .

psy0rz commented 7 years ago

is it possible we use an unsigned variable somewhere?

psy0rz commented 7 years ago

krikk fixed it