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
-
💬 Arduino Pro Mini IO Shield
OpenHardware.io • 13 Dec 2017, 05:59 • openhardware.io 13 Dec 2017, 09:53 -
💬 Soil Moisture Sensor Pro Mini
OpenHardware.io • 12 Feb 2017, 19:07 • openhardware.io 18 May 2018, 20:26 -
Multisensor
OpenHardware.io • 28 Mar 2016, 18:31 • openhardware.io 23 Apr 2016, 14:56 -
SerialGateway Standalone not working
Troubleshooting • 19 Aug 2014, 10:01 • warawara 20 Aug 2014, 12:23 -
Is it possible to turn 5v pro mini into unregulated for low power use?
Troubleshooting • 24 Feb 2016, 19:14 • drock1985 24 Feb 2016, 19:53 -
💬 Minimal LiPo powered Arduino Pro Mini + RFM95 MySensors node
OpenHardware.io • 24 Mar 2020, 09:18 • openhardware.io 13 Jan 2022, 18:32 -
BME280 failing to initialize after spikes in readings
Troubleshooting • 6 Feb 2017, 15:04 • gogopotato 7 Feb 2017, 00:20 -
Sudden battery drain - Pro-mini + RFM69
Troubleshooting • 6 Apr 2023, 10:58 • Oumuamua 13 Oct 2023, 23:49