Read the statement by Michael Teeuw here.
trying to setup a DHT22/am2302 not getting readings
-
well i’m trying to get my Sensor to work but can’t seem to figure out what i’m doing wrong.
I’m pretty new to all of this
the Mirror is setup and working fine
added a Sr501 PIR sensor and that one is working fine, so wiring up the Temp Sensor should be rightbut this sensor is giving me some trouble. I think that i ran through all the installation steps
some modules give me errors and the mirror won’t load at all showing on top electronSome modules show up on the mirror but don’t give me readings
i’m a bit lost at this point.these are the ones i tried
https://github.com/Bangee44/MMM-DHT22
https://github.com/bernardpletikosa/MMM-DHT-Sensor
https://github.com/nebulx29/MMM-dht22
https://github.com/glitch452/MMM-LocalTemperaturecould really use some help
-
@spoonbe have you tried using the sensor with another program or service to see if it’s the problem?
https://pimylifeup.com/raspberry-pi-humidity-sensor-dht22/ for example.
-
@BKeyport i’ll have a look at that
-
You need to put a 10k pull-up resistor between The GND and data for the DHT11. The AM2302 is identical to the DHT11, but is shipped on a small PCB, which already has the resistor included.
-
@Fozi I wonder if that’s why I’m having problems getting readings from time to time. I’ve got a DHT on a board, but I don’t think it’s got anything other than direct wiring to the pins you solder to.