To make Weather Reporting System using NodeMCU.
Here we are making a weather station using ESP8266 (NodeMCU) and DHT11, rain sensor. There are two types of weather stations, one which is having own sensors and the second type of weather station is where we pull data from the weather station servers.
USB Cable
NodeMCU ESP8266
Rain Sensor
DHT Sensor
4.7 K ohm Resistor
Bread Board
Jumper Wires
A rain sensor is one kind of switching device which is used to detect rainfall. It works like a switch and the working principle of this sensor is, whenever there is rain, the switch will be normally closed. The pin configuration of this sensor is shown below. This sensor includes four pins which include the following.
Pin1 (VCC): It is a 5V DC pin
Pin2 (GND): it is a GND (ground) pin
Pin3 (DO): It is a low/ high output pin
Pin4 (AO): It is an analog output pin