Ok, so it works fine at 80, but not 160? That sounds like it's not really the module's fault then.
Does the temperature look correct (but just negative?)
Maybe you could look at the raw field and decode it manually to see what's going on - or at least post it up? If you look at the posts above you'll see that I actually had to change the code in order to get non-negative temperature, and that @MaBe was able to test it and get it working fine (I guess on ESP8266) so I don't know what is going wrong.
Do you have a 'normal' DHT22 that you can test with, to see if it's your AM2303 that is doing something strange?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Ok, so it works fine at 80, but not 160? That sounds like it's not really the module's fault then.
Does the temperature look correct (but just negative?)
Maybe you could look at the
raw
field and decode it manually to see what's going on - or at least post it up? If you look at the posts above you'll see that I actually had to change the code in order to get non-negative temperature, and that @MaBe was able to test it and get it working fine (I guess on ESP8266) so I don't know what is going wrong.Do you have a 'normal' DHT22 that you can test with, to see if it's your AM2303 that is doing something strange?