Blynk is not reading DHT22 sensor

I’m trying to connect a DHT 22 sensor to blynk.
I’m using the Keyestudio ESP8266 WIFI

This is what I see in my Serial Monitor

image

When I use the same sensor and circuit with Arduino UNO the data is read and displayed in the serial monitor. So the circuit and sensor are working.

I’m using the sketch supplied by Blynk in their Example Page

I have followed all instruction and downloaded all the libraries:

Blynk
adafruit/DHT-sensor-library: Arduino library for DHT11, DHT22, etc Temperature & Humidity Sensors
adafruit/Adafruit_Sensor: Common sensor library

First of all, uninstall the Blynk beta library and install version 0.6.1 instead.

Then, post your code, correctly formatted with triple backticks, and explain exactly how you have connected the sensor to your board.

When you post serial output, it’s much better if you copy and paste it, also with triple backticks, rather than posting screenshots.

Pete

Thank you for the help. I went back to the 0.6.1 and corrected the Digital Pain Input to D6.
It is working.

1 Like