top of page

Upload DHT11 data on Thingspeak.

Nail Art

Introduction:

This tutorial explains how to store weather data on cloud using NodeMCU on Arduino IDE. DHT11 will be used to measure temperature and humidity data. ThingSpeak is to be used as cloud service provider. 

 

Hardware required

1. NodeMCU 

2. DHT11 

3. Jumper Male to female 

 

Building Circuit

Make connection as mentioned ahead.

S.NO.         NodeMCU      DHT11

 1.                  Vin               VCC

 2.               GND               GND

 3.                D3                 Data Out

Circuit Layout:

As shown figure 1

 

Getting API Key

 

1. Go to https://thingspeak.com/ and create an account if you do not have one. Login to your account.

 

2. Create a new channel by clicking on the button.Enter basic details of the channel.Than Scroll down and save the channel.

 

3. Channel Id is the identity of your channel. Note down this. Than go to API keys copy and paste this key to a separate notepad file will need it later.

 

4. Programming:

Once the circuit part is done, NodeMCU is needed to be programmed. Here is the code to run this circuit on NodeMCU.

 

Download code (Arduino Sketch) from here.

5. Output

Output of this project is seen on Thingspeak and serial monitor. Open your channel at Thingspeak and output will be shown as mentioned ahead.

 

Temperature:

As shown figure 2

Humidity:

As shown figure 3

bottom of page