IOT Based Smart Weather and Wind Speed Monitoring System

by Nikhil C in Circuits > Arduino

2901 Views, 3 Favorites, 0 Comments

IOT Based Smart Weather and Wind Speed Monitoring System

IMG_7309.JPG

Developed By - Nikhil Chudasma, Dhanashri Mudliar and Ashita Raj

Introduction

The importance of weather monitoring is existed in a lot of ways. The weather parameters are required to be monitored to sustain the development in agriculture, green house and to ensure the safe working environment in industries, etc. The primary motivation behind taking up this project is the large utility of the wireless weather monitoring in varied areas ranging from agricultural growth and development to industrial development. The weather conditions of a field can be monitored from a distant place by farmers and won’t require them to be physically present there in order to know the climatic behaviour at the agriculture field/greenhouse by using wireless communication.

Supplies

Required Hardware:

  1. Raspberry Pi B+ Model
  2. Arduino Mega 2560
  3. A3144 Hall Sensor
  4. IR Sensor Module
  5. DHT11 Temperature and Humidity Sensor
  6. MQ-7 Gas Sensor
  7. ML8511 UV Sensor
  8. Miniature Ball Bearing
  9. Threaded Bar, Hex Nut and Washer
  10. Neodymium Magnet
  11. 10K Resistor
  12. PVC Pipe and elbow
  13. Ball pen

Required Software:

  1. Arduino IDE
  2. Node Red

Development of Anemometer

IMG_7306.JPG
IMG_7305.JPG
IMG_7307.JPG
  • Cut the PVC pipe with the length greater then the bearing thickness.
  • Fit the ball bearing inside the pipe cut piece.
  • Join the back cap of the pen on the outer periphery of the pipe cut piece at 0-120-240 degree
  • Attach paper cups at the writing side of the pen.
  • Fit the threaded Bar inside the pipe using the washer and nut, mount the A3144 hall sensor as shown in the image.
  • Attach the magnet on one of the three pens such that the magnet should come exactly on top of the hall sensor when the pens are assembled.

Development of Wind Direction Unit

IMG_7169.JPG
IMG_7171.JPG
WSIM55145.jpg
IMG_7308.JPG
  • Cut a piece of pipe and make a slot to fit the wind vane.
  • Fit the ball bearing inside the cut piece of pipe.
  • Fit threaded bar inside the pipe and mount a CD/DVD at one end. Above the disc leave certain distance and fit the ball bearing fitted pipe piece.
  • Mount IR Sensor Module on the disc as shown in image.
  • Make wind vane using scale and make a obstruction which should be exactly opposite to IR transmitter and receiver after the assembly of vane.
  • Assemble the vane in the slot.

Assemble Wind Speed and Wind Direction Unit.

OBKS3192.JPG

Assemble the wind speed and wind direction unit developed in step 1 and step 2 using pvc pipe and elbow as shown in the image.

Circuit Diagram and Connections

circuit.PNG
Capture.JPG
DGFO56641.jpg
IMG_71801.jpg
IMG_71811.jpg
IMG_71821.jpg
A3144_1-500x500.jpg

The table shows the connections of all the sensors to the Arduino Mega 2560.

  • Connect 10Kohm resistor between +5V and Data of Hall Sensor A3144.
  • Connect Vcc, 3.3V and Gnd of all the sensors respectively.
  • Connect USB type A/B cable to Arduino and Raspberry Pi

Program for Arduino

Introduction-to-Arduino-IDE-9.jpg

    In the Arduino IDE:

  • Install the libraries of the DHT11 sensor and MQ-7 which are included here.
  • Copy and paste the Arduino code included here.
  • Connect the Arduino board using the cable to Raspberry Pi
  • Upload the code in the Arduino board.
  • Open Serial Monitor and all the parameters can be visualized here.

Arduino Code

DHT library

MQ7 library

Node Red Flow

11.PNG
22.png

The images show the Node-Red flow.

The following are the nodes used for showing data on dashboard

  • Serial-IN
  • Function
  • Split
  • Switch
  • Gauge
  • Chart

Do not use MQTT out nodes as they are used for publishing the data on remote server like Thingsboard. The current instructable is for local network dasboard.

Dashboard

4.PNG
3.PNG

The images show the dashboard which show all weather parameters and real time graphs respectively.

Testing

SMART WEATHER AND WIND SPEED MONITORING SYSTEM USING IOT

The real time results shown on the dashboard