TEAM UNO

Arduino Weather Station Project

St. Joseph's College of Quezon City | SY 2025-2026

MATERIALS USED

Arduino LCD Sensor Wires

Building blocks for our mechanical wonder.

-

CODE USED

#include #include // Set the LCD address to 0x27 for a 16 chars and 2 line display // If 0x27 doesn't work, try 0x3F LiquidCrystal_I2C lcd(0x27, 16, 2); int tempPin = A0; void setup() { Serial.begin(9600); // Initialize the LCD lcd.init(); lcd.backlight(); // Turn on the blue/green backlight } void loop() { int tempReading = analogRead(tempPin); // Your existing Temperature Calculation double tempK = log(10000.0 * ((1024.0 / tempReading - 1))); tempK = 1 / (0.001129148 + (0.000234125 + (0.0000000876741 * tempK * tempK)) * tempK); float tempC = tempK - 273.15; // Print to Serial Monitor Serial.print("Temp: "); Serial.print(tempC); Serial.println("°C"); // --- NEW: Print to LCD --- lcd.setCursor(0, 0); // Start at top-left lcd.print("Temp Sensor"); lcd.setCursor(0, 1); // Move to second line lcd.print("Temp: "); lcd.print(tempC); lcd.print((char)223); // Degree symbol lcd.print("C "); // Extra spaces clear old digits delay(500);

SCHEMATIC

Full Schematic

PROOF