Room Temperature Over Internet With BLYNK ESP8266 & DHT11

4,694

63

2

Introduction: Room Temperature Over Internet With BLYNK ESP8266 & DHT11

About: I am an engineering student and i just love doing electronic (mcu's) and programming (C,C++,JAVA) based projects.

Hi Guys,

Today we will make a room temperature monitor, which we can use to monitor our room from anywhere in the world and to do that we will use a BLYNK IoT plateform and we will use DHT11 to read the room temperature we will use a ESP8266 to access the internet and it will send that temperature data to the BLYNK server.

Step 1: Things You Need

Step 2: Schmatics

you can find the attached schmatics of the project and please connect everything according to shown schamtics.

And if you want you can make a PCB for it and you can order your PCBs from PCBGOGO.com

https://www.pcbgogo.com

and

Join PCBGOGO anniversary & get anniversary discount & click on below link to get the benefits now:
https://www.pcbgogo.com/5th-anniversary-discount-...

Up to $150 Coupons, Stylish Souvenirs Campaign Duration: Aug. 25th - Sep. 25th, 2020

Though PCBGOGO is only 5 years old, their factories have been providing PCB manufacturing and assembly for domestic customers in China for more than 10 years. The PCB fabrication and assembly services from prototype to mass production is fast, affordable and reliable.

Step 3: Setup the BLYNK APP

Please download the BLYNK app and sign up and then open it and create a new project and in there select your board as Nodemcu as shown in image and then click on create to create the project.

After this it will sent a Auth token to your mail ID. save it we will use it i code.

Then in the project add a gauge widget and in gauge settings :
name it as - Humidity

select pin - V5 & change max value from 1023 to 100.

Then add one more Gauge for Temperature :

name it as - Temperature

select pin - V6 & label as - /pin/°C

and please refer images & video for help.

Step 4: Coding Part

Now in coding part, open your Arduino IDE first and make sure you have downloaded the ESP8266 Boards in your Arduino IDE and then open the library manager & search & download the BLYNK library in your Arduino IDE.

Then download my code from below link :

Download code : https://github.com/shveytank/NodeMCU_DHT11_BLYNK

after downloading the code open it and put your Auth Token (which you received in mail by BLYNK app) & put your WIFI name and pass in the code as well and upload it to your Board.

Step 5: Let's See It in Action

So now we need to see if it works or not and you just need to connect power to your ESP board and make sure ESP is connected to your WIFI and your WIFI has proper internet and from the BLYNK APP click on the Play icon and if everything is good then you will able to see your room temperature like me.

So let me know about it in comments.

1 Person Made This Project!

Recommendations

  • Make it Fly Challenge

    Make it Fly Challenge
  • Fruit and Veggies Speed Challenge

    Fruit and Veggies Speed Challenge
  • Summer Fun: Student Design Challenge

    Summer Fun: Student Design Challenge

2 Comments

0
davidgoadby
davidgoadby

Tip 2 months ago

A version serving it's own web page or using MQTT would be nice. Not everyone likes to put their data in the cloud and some do not have good or reliable Internet connections.

0
NodeMCU12e
NodeMCU12e

11 months ago on Step 5

Have you tried DS18B20 temp sensors and writing your own web page instead of Blynk?

Home_Automation_2017-12-13-06-55-19 (1).png