Circuitech Project Report - 1 Team 12
Circuitech Project Report - 1 Team 12
Report-I
___________________________________
Team 12
IOT-Based Smart Advanced Weather Station.
___________________________________
PROJECT OVERVIEW
The Smart Advanced Weather Station is an IoT-based system
that continuously monitors weather parameters and air
quality using multiple sensors. The system integrates edge
computing for real-time data processing and cloud storage
for historical analysis and weather forecasting.
COMPONENTS LIST
Integration of Sensors:
For Real-Time Environmental and Air Quality Monitoring:
Miscellaneous:
● Jumper Wires: Male-To-Male, Male-To-Female, Female-
To-Female
● Data Cable (comes with Arduino) powered from PC
● Micro-USB to power ESP32 from the PC
● Breadboard
● Resistors: For pull-up resistors in DHT11
Software Requirements:
● Arduino IDE: To write and upload code to Arduino
● Libraries to Install in Arduino IDE:
1. DHT Sensor Library (by Adafruit)
2. Adafruit BMP280 Library
3. Wire.h (Built-in for I2C communication)
● For cloud integration: Thingspeak
Connections:
● VCC to 5V
● GND to GND
● Data to D2
● 10k ohm resistor (pull-up resistor) between VCC and
Data Pin
Testing Code (Separate):
#include <DHT.h>
void setup() {
Serial.begin(9600);
dht.begin();
}
void loop() {
float temp = dht.readTemperature();
float humidity = dht.readHumidity();
Serial.print("Temperature: ");
Serial.print(temp);
Serial.print(" °C | Humidity: ");
Serial.print(humidity);
Serial.println(" %");
Connections:
● VCC to 3.3V
● GND to GND
● SDA to A4
● SCL to A5
Testing Code (Separate):
#include <Wire.h>
#include <Adafruit_BMP280.h>
Adafruit_BMP280 bmp;
void setup() {
Serial.begin(9600);
if (!bmp.begin(0x76)) {
Serial.println("BMP280 Not Found!");
while (1);
}
}
void loop() {
Serial.print("Pressure: ");
Serial.print(bmp.readPressure() / 100.0F);
Serial.println(" hPa");
Serial.print("Altitude: ");
Serial.print(bmp.readAltitude(1013.25));
Serial.println(" m");
delay(2000);
}
3. MQ135 (Air Quality Sensor):
Connections:
● VCC to 5V
● GND to GND
● A0 to A0
void setup() {
Serial.begin(9600);
}
void loop() {
int air_quality = analogRead(A0);
Serial.print("Air Quality Value: ");
Serial.println(air_quality);
delay(2000);
}
#include <DHT.h>
#include <Wire.h>
#include <Adafruit_BMP280.h>
#define DHTPIN 2
#define DHTTYPE DHT11
void setup() {
Serial.begin(9600);
dht.begin();
if (!bmp.begin(0x76)) {
Serial.println("BMP280 Not Found!");
while (1);
}
}
void loop() {
float temp = dht.readTemperature();
float humidity = dht.readHumidity();
float pressure = bmp.readPressure() / 100.0F;
int air_quality = analogRead(A0);
Serial.print("Temp: ");
Serial.print(temp);
Serial.print(" °C | Humidity: ");
Serial.print(humidity);
Serial.print(" % | Pressure: ");
Serial.print(pressure);
Serial.print(" hPa | Air Quality: ");
Serial.println(air_quality);
delay(2000);
}
The materials of sensor shell and wind Cups are the aluminum alloy which uses the
special mold precision casting technology, the size of the tolerance is very small. The
precision of the surface is very high, and the internal circuit has been protection
processing, the sensor has high strength, weather resistance, corrosion resistance and
waterproof.
The plug of the cable is a military plug, it has a good anticorrosive and prevents erosion
performance that it can ensure the instrument used for a long time, at the same time, In
the case of using relevant specifications that ensure the accuracy of the wind speed
acquisition.
It includes a printed circuit board (control board) that “collects” the raindrops. As
raindrops are collected on the circuit board, they create paths of parallel resistance that
are measured via the op-amp. The lower the resistance (or the more water), the lower
the voltage output. Conversely, the less water, the greater the output voltage on the
analog pin. A completely dry board, for example, will cause the module to output 5V.
The module includes a rain board and a control board that is separate for more
convenience. It has a power indicator LED and an adjustable sensitivity through a
potentiometer. The module is based on the LM393 op-amp.
List of Components: