School - St’ Michael’s School
Team Members - Daksh Kulkarni, Aarya Wable
Mentor - Damini
Teachers Name - Neha Dashasahastra
Step 1: Basic Hardware Setup of Micro Weather Station
Objective of Step 1
The first step of the Micro Weather Station project focused on assembling the core hardware components and establishing reliable communication between the sensors and the Arduino microcontroller. At this stage, the system was configured to acquire key environmental data, specifically temperature, relative humidity, and atmospheric pressure.
The primary objective of this step was to ensure that all sensors were correctly powered, properly interfaced, and capable of transmitting accurate real-time data to the Arduino for processing and display.
Components Used in Step 1
The following hardware components were integrated during the initial setup:
-
Arduino Uno/Nano – main microcontroller unit
-
DHT11 Temperature and Humidity Sensor
-
BMP180 Pressure Sensor
-
16×2 I2C LCD Display
-
Breadboard and jumper wires
-
USB power supply
-
Supporting components (resistors, connectors, etc.)
These components together form the foundational sensing and display unit of the micro weather station.
Working Principle
In Step 1, the Arduino functions as the central processing unit of the system. Each sensor measures a specific environmental parameter and transmits the corresponding electrical data to the Arduino.
-
The DHT11 sensor provides digital readings of temperature and relative humidity using a single-wire communication protocol.
-
The BMP180 sensor communicates atmospheric pressure data to the Arduino through the I2C bus.
-
The Arduino processes the received data and sends the formatted output to the I2C LCD for real-time display.
Through continuous looping in the program, the system repeatedly reads sensor values, updates the measurements, and maintains live monitoring capability.
Hardware Interfacing
During this stage, careful attention was given to proper electrical connections and signal routing.
-
Stable power distribution was established using the breadboard power rails.
-
The DHT11 data pin was connected to a designated digital input pin of the Arduino.
-
The BMP180 sensor and the I2C LCD were configured to share the common I2C communication lines (SDA and SCL), enabling efficient multi-device communication.
-
All modules were connected to a common ground to ensure signal stability and accurate readings.
Accurate wiring at this stage was critical, as loose connections, incorrect pin mapping, or improper grounding could lead to unreliable sensor data or communication failure.
Parameters Monitored in Step 1
After completing this step, the system successfully monitored the following environmental parameters:
Temperature (°C)
Temperature represents the degree of hotness or coldness of the surrounding air. In this system, temperature data is obtained and displayed in degrees Celsius. Monitoring temperature is essential for understanding ambient weather conditions and forms a fundamental part of any environmental monitoring system.
Relative Humidity (%)
Relative humidity indicates the amount of water vapor present in the air compared to the maximum amount the air can hold at the same temperature. It is displayed as a percentage. Humidity measurements are important for comfort assessment, weather analysis, and environmental monitoring.
Atmospheric Pressure (hPa)
Atmospheric pressure is the force exerted by the weight of the air above a given location. It is displayed in hectopascals (hPa) or millibars. Variations in atmospheric pressure are widely used for basic weather forecasting and environmental studies.
Achieved Outcomes of Step 1
Upon completion of this stage, the following outcomes were successfully achieved:
-
All sensors were properly powered and initialized.
-
The Arduino established stable communication with each connected module.
-
The I2C LCD initialized correctly and displayed real-time data.
-
The system reliably measured temperature, humidity, and atmospheric pressure.
-
The hardware platform was successfully prepared for the integration of additional features such as alerts, buttons, and IoT connectivity.
STAGE 2
Step 2: ESP32-Based Wireless Data Transmission
Objective of Step 2
The second stage of the micro weather station project focuses on upgrading the system from a wired display-based model to a wireless Internet of Things (IoT) platform. In this phase, the Arduino-based architecture is replaced with an ESP32 microcontroller to enable real-time transmission of environmental data to a web interface.
The primary goal of this step is to establish reliable Wi-Fi connectivity, acquire sensor data using the ESP32, and host a live webpage that displays temperature, humidity, atmospheric pressure, and altitude. This transformation converts the weather station into a remotely accessible smart monitoring system.
Components Used in Step 2
The following hardware elements are integrated during this stage:
-
ESP32 development board (main controller with built-in Wi-Fi)
-
DHT11 temperature and humidity sensor
-
BMP180 atmospheric pressure and altitude sensor
-
Breadboard and jumper wires
-
USB power and programming cable
-
Wi-Fi network for data transmission
The LCD module used in Step 1 is intentionally removed, as data visualization is now performed through a web interface.
System Architecture
In Step 2, the ESP32 serves as both the processing unit and the communication gateway. The workflow of the system is as follows:
-
The DHT11 sensor provides digital temperature and humidity data to the ESP32.
-
The BMP180 sensor communicates pressure and altitude data via the I2C bus.
-
The ESP32 processes the incoming sensor data.
-
The ESP32 connects to a local Wi-Fi network.
-
An embedded web server running on the ESP32 hosts a live webpage.
-
Any device on the same network can view real-time weather data through a browser.
This architecture eliminates the need for a physical display and enables remote monitoring.
Hardware Interfacing
During this stage, the following electrical connections are established:
Power Distribution
-
ESP32 operates at 3.3 V logic.
-
All sensors are powered from the 3.3 V rail.
-
A common ground is maintained across the entire circuit.
DHT11 Connection
-
VCC → 3.3 V
-
GND → GND
-
DATA → GPIO 4
The DHT11 communicates using a single-wire digital protocol.
BMP180 (I2C) Connection
-
VCC → 3.3 V
-
GND → GND
-
SDA → GPIO 21
-
SCL → GPIO 22
Both I2C lines use the ESP32’s hardware I2C interface.
Proper wiring at this stage is essential for stable wireless operation and accurate sensor readings.
Software Implementation
The firmware developed for Step 2 performs the following functions:
-
Initializes the DHT11 and BMP180 sensors
-
Connects the ESP32 to the specified Wi-Fi network
-
Continuously reads environmental parameters
-
Hosts an HTTP web server on port 80
-
Dynamically generates an HTML webpage
-
Refreshes displayed data at regular intervals
The webpage is styled for clarity and provides near real-time monitoring capability.
Parameters Displayed on the Web Interface
The live webpage presents the following environmental parameters:
Temperature (°C)
Measured using the BMP180 sensor. This value represents the ambient air temperature surrounding the weather station.
Relative Humidity (%)
Measured using the DHT11 sensor. This indicates the amount of moisture present in the air relative to saturation.
Atmospheric Pressure (hPa)
Measured using the BMP180. Atmospheric pressure is useful for basic weather trend analysis and altitude estimation.
Altitude (m)
Calculated internally by the BMP180 using pressure data and standard atmospheric assumptions. This provides an approximate elevation of the device above sea level.
Achieved Outcomes of Step 2
After successful completion of this stage, the following results have been achieved:
-
The ESP32 successfully initializes and communicates with both sensors.
-
Stable Wi-Fi connectivity is established.
-
Environmental data is acquired in real time.
-
A functional embedded web server is deployed.
-
Live weather parameters are accessible through any browser on the same network.
-
The system operates without dependence on a physical display.
-
The platform is now fully prepared for cloud integration, remote logging, and mobile access in future stages.
Significance in Hackathon Context
Step 2 represents a major advancement from a basic embedded system to a true IoT implementation. This stage demonstrates:
-
Understanding of wireless microcontrollers
-
Practical use of network protocols
-
Real-time embedded web hosting
-
Multi-sensor data acquisition
-
System scalability for smart monitoring applications
A clean and reliable execution of this step significantly strengthens the technical depth and presentation value of the micro weather station project in a competitive hackathon environment.
