I just hooked up a DHT22 I had laying around in a parts drawer to test something and it is giving out some crazy wrong values, I am running the adafruit library's unified example and this is the output:
Resolution: 0.10%
------------------------------------
: 1
Unique ID: -1
Max Value: 100.00%
Min Value: 0.00%
Resolution: 0.10%
------------------------------------
DHTxx Unified Sensor Example
------------------------------------
Temperature
Sensor: DHT22
Driver Ver: 1
Unique ID: -1
Max Value: 125.00 *C
Min Value: -40.00 *C
Resolution: 0.10 *C
------------------------------------
------------------------------------
Humidity
Sensor: DHT22
Driver Ver: 1
Unique ID: -1
Max Value: 100.00%
Min Value: 0.00%
Resolution: 0.10%
------------------------------------
Temperature: 588.80 *C
Humidity: 998.40%
Temperature: 563.20 *C
Humidity: 1049.60%
Temperature: 563.20 *C
Humidity: 1024.00%
Temperature: 563.20 *C
Humidity: 1024.00%
Temperature: 563.20 *C
Humidity: 1024.00%
Had anyone seen behaviour like this before? of course my room isn't 600 *C or 1000% humidity XD
Its connected to an arduino UNO that I am pretty sure works fine.
Dat Ha
2,9436 gold badges24 silver badges46 bronze badges
-
Since the sensed value exceed the max value, perhaps code error?duck– duck2016年11月23日 10:50:36 +00:00Commented Nov 23, 2016 at 10:50
-
Arduino Mega: " Temperature: 716.80 *C Humidity: 1024.00% " library fake :-(tom– tom2017年03月01日 18:01:36 +00:00Commented Mar 1, 2017 at 18:01
-
1Have you tried this with the standard libraries (AdaFruit_Sensor & DHT)? Plus, it is helpful if you show the code you are using.SDsolar– SDsolar2017年05月07日 02:35:57 +00:00Commented May 7, 2017 at 2:35
lang-cpp