Components Used
1 DHT11
DHT11 is a single wire digital humidity and temperature sensor, which gives relative humidity in percentage and temperature in degree Celsius.
1 Node Mcu (Esp8266)
This will work as the brigde to send the data to thingspeak from DHT11 sensor module1 Wiresfor connection
1 USB cable
cable need for connection of nodemcu esp8266 and laptop
The weather station project uses an esp8266 Nodemcu microcontroller board and a DHT11 temperature and relative humidity sensor module. The microcontroller receives the data from the DHT11 sensor and acts as a bridge in sending the data to the Thingspeak website, which I have used to plot the temperature and relative humidity as a graph and also on a gauge.
Visualisation of the results
The connections are easy as well. The wires go as follows:
- The VCC pin of DHT11 goes to the 3V pin of the Nodemcu.
- The GND pin of DHT11 goes to the GND pin of Nodemcu.
- The data pin goes to GPIO0 (D3) of NVisualizationodemcu.
The connections are done. Connect the microcontroller to the laptop or PC and then the microcontroller is programmed.
The DHT11 sensor gives the relative humidity and temperature data. The Nodemcu is programmed using the Arduino IDE so as to receive the data. Then the Nodemcu uses the HTTP POST request method to communicate with the Thingspeak website. The Thingspeak account has unique API keys which is used to communicate with the website.
The channel settings of the website.
The HyperText Transfer Protocol acts works as a request-response protocol between the client and the server. Understanding how the HTTP protocol can be programmed will be very helpful in building the project. Generally, when using esp8266 Nodemcu board:
- The esp8266 Nodemcu acts as the client and submits an HTTP request to the server. In this project, the server corresponds to the Thingspeak website.
- The server returns a response to the client.
- finally, the response will contain the status information about the request and also might contain the content. Here the result is the graphs we see on Thingspeak.
The code has been added to the upcoming page.
ESP8266 Nodemcu Microcontroller
Nextpcb Is one of the best Online PCB manufacturing Company from where you can order PCBs online without any hassle. The company fast lead time : as fast as 24 hours. With their high tech machinery and automated work stream, they can manufacture huge quantities of high-class PCBs within hours.
Nextpcb can Develop PCBs of various complexity . They Develop simple and cheap PCBs with single layer Board For hobbyists and enthusiasts as well as complex multi layer board for high standard industrial applications NextPcb work with Large product Manufacturers And may Be the PCB of devices you are using such as laptop or smartphone were made at this factory.












Comments