This project implements an Arduino-based weather station capable of measuring wind speed, temperature, and humidity. The results are displayed on a 1602 LCD with I2C interface.
- Wind Speed Measurement: Displays wind speed in km/h and classifies the speed with categories such as "Light", "Medium", "Strong", etc.
- Temperature and Humidity Measurement: Displays current temperature in Celsius (°C) and humidity as a percentage (%).
- Pin Input Feature: Custom pin input for extending the functionality or adding extra sensors.
If you want to recreate this weather station, here are the required components and their corresponding pin connections:
- Signal Pin: Connect to Pin 2 on Arduino
- VCC: 5V on Arduino
- GND: GND on Arduino
- Signal Pin: Connect to Pin 3 on Arduino
- VCC: 5V on Arduino
- GND: GND on Arduino
- SDA: Connect to A4 (SDA pin) on Arduino
- SCL: Connect to A5 (SCL pin) on Arduino
- VCC: 5V on Arduino
- GND: GND on Arduino
- Pin 4: Reserved for custom input. You can use this pin for additional features, like a button or another sensor.
- Wire the Components: Connect the components according to the pinout diagram above.
- Upload the Code: Open the
weather_station.ino
file in your Arduino IDE. Ensure you have the necessary libraries installed (DHT and LCD libraries). - Power Up the Arduino: Once the wiring is done and the code is uploaded, power the Arduino board. You should see the wind speed, temperature, and humidity displayed on the LCD.
- Test the Setup: Use a fan or natural wind to test the wind speed, and check the other values on the LCD.
The pin input feature can be customized based on your project needs. You can attach additional sensors or buttons to Pin 4 to add more functionality to the system.
Here’s a demonstration of the project in action:
Thanks to the AEQ-WEB Blog by Alex & And, whose tutorial helped guide me through this project. You can find their blog here: AEQ-WEB Blog.