Questions tagged [dht11]
14 questions
2
votes
1 answer
DHT11's data on MAX7219 reads 0
I want print data from a DHT11 (temperature and humidity) on a MAX7219 LED display but it only shows 0. Serial monitor, on the other hand, shows both humidity and temperature which means that my circuit works just fine and there's something wrong…
Andrew Coz
- 53
- 4
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
- 1
- 3
1
vote
2 answers
Can't sync ESP32 with Blynk
I was trying to display the readings of my dht11 sensor on the Blynk dashboard but I am struggling a lot. A little help would be really appreciated.
#define BLYNK_PRINT Serial
/* Fill in information from Blynk Device Info here */
#define…
KnightRiderDutt
- 111
- 3
1
vote
1 answer
DHT11 Sensor - reading either all zeros or all -999 (depending on library)
So I've been trying to get a small project set up for the upcoming eclipse, just to read changes in the humidity and temp during the eclipse.
I have two DHT11 sensors, I'm only using one.
I have downloaded this library (it's at the bottom), and this…
Jayven Mason
- 11
- 2
1
vote
1 answer
How execution time of code instructions influences signal between Arduino and DHT11?
I am exemining code for DHT11 from CircuitGeeks, variant without using lib. The problem is a mismatch between DHT11/DHT22 protocol and signals, which are read from sensor in scetch. Despite this, sketch is working and I would like to find out…
Artur Krush
- 23
- 5
1
vote
0 answers
dht11 data on ESP32 NTP clock (updated)
I'm trying to get my ESP32 internet clock to show temperature and humidity data from a dht11 sensor on a MAX7219 display but my code seems to have some issues. After verifying the code there are no errors, however instead of showing time,temperature…
Drew
- 11
- 2
1
vote
0 answers
Arduino cant send DHT11 data to Firebase
I have a problem with my project, the problem is that my Firebase can't detect my DHT11 temperature and humidity sensor from the Arduino.
The code runs without an error but the Firebase can't read my sensor.
Here is my code
#include…
NyK
- 51
- 3
1
vote
0 answers
esp8266 r1 mini stops serial print during execution
The setup includes an WEMOS/ESP8266 R1 mini compatible board, a DHT11, a photo resistor and a magnetic reed.
The libs used are:
#include
#include
#include
#include "DHT.h"
Compilation/loading is…
thermike
- 51
- 4
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
0 answers
WeMos connection to SinricPro
I am using a WeMos Wifi ESP8266 with a DHT11 sensor to measure temperature and humidity in my house and send them to SinricPro. Alexa then reads from here and uses them to answer to the question "what is the temperature inside?".
My issue is that…
Deffo
- 109
- 6
0
votes
1 answer
ERROR: return reinterpret_cast(pgm_read_ptr(p));
I need to update DHT sensor data to the webserver in JSON format using ESP8266. This is my code.
#include
#include
#include
#include
#include
const char* ssid =…
Kuralmozhi
- 21
- 4
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
2 answers
DHT22 sensor reading code interprets negative values weirdly
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
- 1
- 13