# Micro weather station Table no.12 JSTM Santpith Team

**URL:** <https://scienceactivitycentreiiserpune.discourse.group/t/micro-weather-station-table-no-12-jstm-santpith-team/225>\
**Category:** WeatherHackathon2026\
**Created:** [February 27, 2026, 9:55am UTC](https://scienceactivitycentreiiserpune.discourse.group/t/micro-weather-station-table-no-12-jstm-santpith-team/225 "2026-02-27T09:55:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Omkar](https://avatars.discourse-cdn.com/v4/letter/o/bb73d2/32.png) [@Omkar](https://scienceactivitycentreiiserpune.discourse.group/u/Omkar)\
**Post date:** [February 27, 2026, 9:55am UTC](https://scienceactivitycentreiiserpune.discourse.group/t/micro-weather-station-table-no-12-jstm-santpith-team/225/1 "2026-02-27T09:55:18Z")

</div>

Micro weather station

Deepmala Jayswal -teacher

Omkar Mangesh Jagtap

Yashraj more-9th

Yadnesh renukar-6th

Stages of Connection of LCDIdentify LCD Pins  
First identify the 4 pins on I2C LCD:  
Connect Power Supply

Connect GND of LCD → GND of Arduino  
Connect VCC of LCD → 5V of Arduino  
This gives power to the LCD.

Connect I2C Communication Pins  
Connect SDA of LCD → A4 of Arduino  
Connect SCL of LCD → A5 of Arduino

DHT22 Connection  
VCC -5V  
DATA -2  
GND-GND

BMP280 connection

VCC. - 3.3V  
GND. - GND  
SDA. - A4  
SCL. - A5

_Connecting of Buzzer_  
buzzer has two pins:  
Long pin → Positive (+)  
Short pin → Negative (–)

Buzzer Pin. -Arduino UNO  
Positive (+) -Digital Pin 8  
Negative (–) -GND

 ![1000808978](https://canada1.discourse-cdn.com/flex029/uploads/scienceactivitycentreiiserpune/original/1X/a3de4a9257cdbe9ad1801f47d83ee557b7c82e58.jpeg)

Label 1 completed

Temprature, humidity,pressure completed

Coding

#include \<Wire.h\>

#include \<LiquidCrystal\_I2C.h\>

#include \<DHT.h\>

#include \<Adafruit\_BMP085.h\> // For BMP180

// -------- Pin Definitions --------

#define DHTPIN 2

#define DHTTYPE DHT11

#define LEDPIN 7

#define BUZZER 8

// -------- Object Creation --------

DHT dht(DHTPIN, DHTTYPE);

Adafruit\_BMP085 bmp; // BMP180 object

LiquidCrystal\_I2C lcd(0x27, 16, 2); // Change to 0x3F if needed

void setup() {

Serial.begin(9600);

pinMode(LEDPIN, OUTPUT);

pinMode(BUZZER, OUTPUT);

lcd.init();

lcd.backlight();

dht.begin();

// BMP180 start

if (!bmp.begin()) {

```auto
lcd.setCursor(0,0);

lcd.print("BMP180 Error!");

Serial.println("BMP180 not found!");

while (1);

```

}

lcd.setCursor(0,0);

lcd.print(“Weather Station”);

delay(2000);

lcd.clear();

}

void loop() {

float temperature = dht.readTemperature();

float humidity = dht.readHumidity();

float pressure = bmp.readPressure() / 100.0; // Convert to hPa

float altitude = bmp.readAltitude(); // Altitude in meters

// -------- Check DHT --------

if (isnan(temperature) || isnan(humidity)) {

```auto
lcd.setCursor(0,0);

lcd.print("DHT Error ");

Serial.println("DHT Failed!");

delay(2000);

return;

```

}

// -------- Serial Monitor --------

Serial.print("Temp: ");

Serial.print(temperature);

Serial.print(" C Hum: ");

Serial.print(humidity);

Serial.print(" % Pressure: ");

Serial.print(pressure);

Serial.print(" hPa Alt: ");

Serial.print(altitude);

Serial.println(" m");

// -------- LCD Display --------

lcd.setCursor(0,0);

lcd.print(“T:”);

lcd.print(temperature);

lcd.print("C ");

lcd.print(“H:”);

lcd.print(humidity);

lcd.print("% ");

lcd.setCursor(0,1);

lcd.print(“P:”);

lcd.print(pressure);

lcd.print("hPa ");

// -------- Alert System --------

if (temperature \> 35) {

```auto
digitalWrite(LEDPIN, HIGH);

digitalWrite(BUZZER, HIGH);

```

} else {

```auto
digitalWrite(LEDPIN, LOW);

digitalWrite(BUZZER, LOW);

```

}

delay(2000);

}

Please add new content

Level 2Update

Table no-12JSTM Santpith Team

We would like to inform you that we have completed all the circuit connections for Level 2 of the Weather Station project. However, the coding part is still remaining due to network issues, and we were unable to download/upload the code to the ESP32.

We are working on resolving the issue and will complete the coding part as soon as possible.

---

<div class="post-metadata">

**Author:** ![saciiserpune](https://yyz1.discourse-cdn.com/flex029/user_avatar/scienceactivitycentreiiserpune.discourse.group/saciiserpune/32/16_2.png) [@saciiserpune](https://scienceactivitycentreiiserpune.discourse.group/u/saciiserpune)\
**Post date:** [February 27, 2026, 10:49am UTC](https://scienceactivitycentreiiserpune.discourse.group/t/micro-weather-station-table-no-12-jstm-santpith-team/225/2 "2026-02-27T10:49:38Z")

</div>

Approved for stage 2.  
Return the arduino and collect ESP.
