Introduction: All in One Weather Station Using Eps8266(Nodemcu)
This project is about the creation of an indoor weather station with air quality sensors,humidity, temperature, CO2,sSO2,CO,Vibration and wind sensor
Step 1: Create a DETAILED Schematic of What You Are Doing
This project is about the creation of an indoor/outdoor weather station with all the possible parameter measurement
The station has several sensors for:
- Humidity,Temperature (DHT22/11)
- MQ2 (Lpg,Propane,Alcohol)
- MQ135 (Air quality sensor -CO,SO2,CO2)
- Rain sensor
- Vibration sensor
- Wind flow sensor
The resulting data can be displayed various platforms like on a TFT screen,through an online dashboard or a Mobile app.
For the schematic i have used EasyEDA software
Step 2: Select the Perfect Microcontroller for Your Project
NodeMCU is an open source firmware for which open source prototyping board designs are available. The name "NodeMCU" combines "node" and "MCU" (micro-controller unit). The term "NodeMCU" strictly speaking refers to the firmware rather than the associated development kits.
As i wanted a IOT platform integrated to my project,there is no other mcu(microcontroller) better than nodemcu(esp8266)
Step 3: Select the Sensors for Weather Monitoring
In order to develop the project we will need the following components:
- NodeMCU ESP8266 microcontroller
- 16 channel analog Multiplexer
- LCD 16x2 I2C shield (optional as we will be using IOT Dashboard to monitor)
- MQ2
- MQ135
- DHT22
- Vibration sensor Wind sensor
Why Analog multiplexer?
It is very important for NodeMCU as it only has one Analog Pin, so for multiple sensors we require a analog multiplexer.
Step 4: Designing the PCB
As we will using this as a complete module,we then require a PCB board.
I have designed this using easyEDA
Step 5: Simulated 2D and 3D Design View
This is how our board will look!
Step 6: PCB Order
I have ordered this PCB from
Step 7: Soldering Time!!!!!
This is how a neat and structured soldering looks!
Very much similar to our simulated version :)
Step 8: Modules Intact(sensors)
Add the modules accordingly!!
Step 9: Working Time!!!!!!!!!!!
Yes its not any Star wars Shield, it is our board......pat yourself !
I have provided the code too:)
Attachments
Step 10: Dashboard (IOT)
For dashboard purpose i have used