Questions tagged [dht11]
6 questions
2
votes
1 answer
DHT11 humidity and temperature sensor
Hello. I've got a question about DHT11 sensor. Why should pullup resistor be connected as on the image below:
while as far as I know, pullup resistor should be placed between Arduino 5V pin and Vcc of sensor as shown here:
PS: I know that there is…
Maciaz99
- 41
- 3
1
vote
1 answer
DHT11 temperature and humidity sensor Code
I’ve got a question about this code I’ve attached please- would it be correct to read it like this:
After defining the variable temperature and humidity and assigning measurement_timestamp to millis(), an if loop first checks if millis -…
Tom
- 13
- 3
1
vote
1 answer
Dht 11 sensors give null value
void Sensor_value()
{ server.handleClient();
humidity = dht.readHumidity();
temperature = dht.readTemperature();
}
I want to make condition if temperature = null and Humidity= null that means the sensor fails to take reading so I…
Shrikant Nikam
- 31
- 1
0
votes
1 answer
DHT11 stops working when power comes from a power supply board
I had a mini project with a DHT11, a temperature and humidity sensor, working perfectly on my Arduino UNO clone. Then, I bought a power supply board, that can feed the sensor with the 5V it requires, but for some reason, it does not work. Powering…
Joan Botella
- 103
- 2
0
votes
1 answer
DHT22 sensor reading code interpretes negative values weirdly (Common problem)
The following code reads the DHT22 temperature and humidity values, assuming the pin value as the sensor's host pin. When the temperature drops below 0 °C, this code returns inadequate values in the range from -3200 to -3300 (most often the values…
Starter
- 153
- 12
-2
votes
2 answers
DHT11 sensor burnt after connecting with arduino board
I was attempting one of the project of DHT11 and connected the sensor to my arduino board but when the current passed the sensor became very hot and i think it is damaged now. Please help me
Dhruv
- 1