DHT22 generates off scale values
-
Hi.
Iam building battery node for temperature.
Before I move to battery related stuff I wanted to have two nodes up and running. In that way I can have reference node which is powered from USB DC 5V and battery powered node.This way I could evaluate battery nodes measurements before moving in to production.
BTW: All nodes are hooked to NRF radio, I did not mentioned it before. That is why there is 4.7 uF capacitor.
- I left my second node powered from programmer, but its measurements were total different. So I connected it to the same 5V DC as the first one. Its values are now almost identical.
- However, from time to time I see reading offscale values (spikes).
R = 4K7
V = 4.7uFIam using
Arduino 1.6.7
DHT sensor library by Adafruit v 1.2.3 (also Adafruit DHT unified 1.0.0)
MySensors library 1.5.4
OpenHab 1.8.3 with openHab binding.Sketch is here: 0_1465243821164_HumiditySensor_101.ino
Only reference to similar problem I found here.
Which says that when connected to 5V problem disappeared. But DHT22 should be running fine from 3V?Does anyone have idea what could cause these occasional spikes?
Please help.Thank you.
PHUPDATE 2016-06-07 DHT22 connected to 5V suply. Spikes are still there. Ill try to move capacitor closer to radio.
-
The DHT22 temperature sensor requires a minimum of 3.3v to operate; any less and if fluctuates. The only luck I have ever had with the DHT22 is powered from a stable 5v supply; forget about 3.3v.
The SI7021 and BMP 180 /BME 280 do operatore @ 3.3v though, and quite well on battery power.
-
Hi thank you for responding.
Interesting thing for me is that first Arduino does not show the spikes.Anyway I tried to connect DHT22 sensor on second one to 5V DC from USB and will monitor it.
Maybe its in the way that DHT22 likes 3.3V and any fluctuations will lead to instabilities?
Cheers PH
-
@Pavel-Hrudka I have DHT22 on Particle Photon, which is 3.3V. Your power supply must be rock solid and this is not the best sensor for batteries.
-
Connected DHT22 to 5V suply and spikes are still present.
Ill try to move capacitor closer to radio to decouple it from the rest.Cheers.
-
You could try this. Solder your 4.7uf cap right to the GND+VCC pins on the NRF radio. That would at least isolate that.
IF not, you may have a bad radio too.
-
Just to let you know, that best result I got was when I changed the DHT library (sparkfun) for the one with this sketch. with this sketch.
Thank toy for your time.
PH
Suggested Topics
-
Openhab 2 Mysensors smart chicken coop
My Project • 1 Mar 2017, 02:08 • Ticupolu 8 Mar 2017, 15:48 -
Over the air updates
General Discussion • 23 Mar 2014, 21:38 • ToSa 1 Mar 2015, 11:21 -
Weather station DHT22, BMP185, SI1145
My Project • 13 Sept 2014, 14:01 • jesse 21 Sept 2016, 17:04 -
💬 ESP-LINK ESP8266 WeMos D1 Mini Adapter Board
OpenHardware.io • 7 Nov 2016, 17:03 • openhardware.io 9 Feb 2017, 04:56 -
💬 In-wall scene controller main board
OpenHardware.io • 23 Dec 2017, 23:52 • openhardware.io 23 Dec 2017, 23:52 -
[SOLVED] High battery usage (Pro-Mini / RFM69 / Si7021)
Troubleshooting • 14 Aug 2020, 19:55 • Oumuamua 24 Sept 2020, 18:28 -
BME280 failing to initialize after spikes in readings
Troubleshooting • 6 Feb 2017, 15:04 • gogopotato 7 Feb 2017, 00:20 -
💬 Extremely Simple Arduino Pro-Mini LoRa Water Leak Detector
OpenHardware.io • 26 Nov 2017, 01:53 • openhardware.io 4 Mar 2018, 16:24