Introduction: ESP8266-12 Blynk Wireless Temperature, Humidity DHT 11 Sensor

in this project using a esp8266, to show the temperature and humidity DHT11 sensor on your smartphone or tablet.


the esp8266-12 runs at 3.3V but many sensors operate at 5v, we will use a level logical bidirectional converter to be able to connect.

This project is linked to the previous ones, are more projects that can work together to create an automated home.

ESP8266-12 standalone blynk control outlets wireless 433 mhz

Esp8266-12 blynk wireless electric power meter

Step 1: Materials

ESP8266-12 (esp8266-7, ...... , esp8266-12e)

level logic converter bidirectional 3,3v -- 5v

DHT11 temperature and humidity sensor

power regulator 3,3v-5v

Step 2: Connections


VCC +3,3v

CH-PD +3.3v

gpio12 ---- RX0 (low level logic converter)

GND ground

GPIO5 ground


logic converter bidirectional

HV +5v

GND ground

RXI --- pin 2 (DHT11)

LV +3,3v

GND ground

RX0 -----gpio12 (ESP8266-12)


DHT11 sensor

pin 1 +5v

pin 2 output .---- RXI (high level logic converter)

pin4 ground

Step 3: Blynk App


store app

Blynk Apple Store

Blynk Google Play store


configure blynk

create new project ( use hardware model esp8266 )

generate AUTH TOKEN

send E-mail TOKEN ( copy TOKEN in the esp8266 sketch)

in the app Blynk use Value Display widget or Gauge widget

Step 4: Sketch


blynk library

SimpleTimer library


to programming the ESP8266-12, I use ide arduino 1.6.5 and CP2102 3.3V USB To UART Serial Interface Module Adaptor ( do not connect the power of the CP2102 to esp8266-12).


ESP8266 sketch
change the sketch in the following lines with your data

char auth[] = "xxxxxxxxxx"; //insert here your token generated by Blynk

Blynk.begin(auth, "ssid", "password!"); //insert here your SSID and password

Step 5: Thaks

Thanks by catoplepa