palashbhowmick / esp8266-weather-station

A simplest weather station using ESP8266 & DHT11 sensor with Thingspeak integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESP8266 Weather Station

The simplest weather station using ESP8266 & DHT11 sensor with Thingspeak integration.

Components:

  1. ESP8266 (NodeMCU)
  2. DHT11

Hardware Setup

Connect all components according to the circuit diagram.

Circuit Diagram

esp8266-dht11-diagram

NodeMCU v3 CH340 Pinout Diagram

nodeMCU V3 pinout diagram

Software Setup

  • For NodeMCU module, Install CH340 Drivers.

  • Install ESP8266 Addon in Arduino IDE

  • Clone this code and open the folder with Arduino IDE

  • Copy secrets.h.example to secrets.h and put your configurations. You need to create an aacount in Thingspeak in order to push weather data. follow this link

  • Select the Board (NodeMCU 1.0)

  • Upload the sketch

Visualize data on Thingspeak

https://thingspeak.com/channels/1160774

channel

About

A simplest weather station using ESP8266 & DHT11 sensor with Thingspeak integration


Languages

Language:C++ 100.0%