ESP8266-12 Blynk Wireless Temperature, Humidity DHT 11 Sensor





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

6 People Made This Project!


  • Woodworking Contest

    Woodworking Contest
  • Oil Contest

    Oil Contest
  • Make it Move Contest

    Make it Move Contest

We have a be nice policy.
Please be positive and constructive.




How to change this projest to use only 3,3 voltage? DHT11 don't need 5v.

i cannot believe there is some many codes on instrutables which will not compile including this one

I have not changed anything, the pins enter without force and without having to bend

Thanks very much for getting back to me. Looking at the link, they look like the same ones that I have. How did you get them to have an electrical connection to the holes on your esp-12? As far as I can see the copper connection is on the top only so putting the jumper wire in wouldn't connect. Also, do you push it straight through into the breadboard itself - assume you would need to bend the jumper?

I use this cables


Perhaps a silly question but.... What wires are you using to connect the esp to the breadbaord? They look like they connect into the esp holes and form an electrical connection. These are exactly what I am looking for

thanks for the comments, I will test the proposed changes and possibly will revise the sketch

hello Akin.
My wiring is stated in the picture. I think it is pretty clear to follow.
I have uploaded my code to GitHub, you can check there:

Hey there thanks for sharing this awesome project of yours, I have one little question how do you change "celsius to Fahrenheit" in your sketch code?

Hi homerruma

I added the library in the step 4


1 reply

Hi, ErwinW4

I think it's possible, but I do not have that version to test



Hey nice project.

Is it also possible with ESP8266-1?