Questions tagged [dht11]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
Andrew Coz's user avatar
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 ...
Drew's user avatar
  • 11
0 votes
1 answer

ERROR: return reinterpret_cast<T>(pgm_read_ptr(p));

I need to update DHT sensor data to the webserver in JSON format using ESP8266. This is my code. #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h> #...
Kuralmozhi's user avatar
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 ...
NyK's user avatar
  • 51
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 <ESP8266WiFi.h> #include <PubSubClient.h> #include &...
thermike's user avatar
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(),...
Tom's user avatar
  • 13
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, ...
Joan Botella's user avatar
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 ...
Starter's user avatar
  • 153
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 ...
Maciaz99's user avatar
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 ...
Shrikant Nikam's user avatar