Weather Clock Project with OLED Display

Опубликовано: 17 Май 2026
на канале: GHH Tech Lab
1,314
12

In this comprehensive tutorial, I'll show you how to build a complete weather station using Arduino Uno, DHT11 sensor, DS1307 RTC module, and a 1.3" OLED display. The system alternates between displaying temperature & humidity and real-time date & time every 2 seconds.
Related Videos:    • Arduino Projects  
CODE: https://drive.google.com/file/d/1qP4o...

COMPONENTS USED:
Arduino Uno R3
1.3" OLED Display (SH1106)
DHT11 Temperature & Humidity Sensor
DS1307 Real Time Clock Module
Jumper Wires
Breadboard

WIRING CONNECTIONS:

OLED Display → Arduino
VCC → 5V
GND → GND
SDA → A4
SCL → A5

DHT11 → Arduino
VCC → 5V
GND → GND
DATA → Pin 2

DS1307 RTC → Arduino
VCC → 5V
GND → GND
SDA → A4
SCL → A5

REQUIRED LIBRARIES:
1. U8g2 (Oliver Kraus)
2. DHT sensor library (Adafruit)
3. RTClib (Adafruit)

TIMESTAMPS:
0:00 - Project Demo
0:06 - Components Overview
0:20 - Circuit Wiring
0:22 - Connections
0:55 - Code Uploading
1:01 - Final Demo

PROJECT FEATURES:
Real-time temperature reading in Celsius
Humidity percentage display
Date and time with automatic RTC sync
Alternating display every 2 seconds
Clean boxed layout with perfect alignment
Error handling for sensor failures

CUSTOMIZATION IDEAS:
Add Fahrenheit temperature option
Include dew point calculation
Add max/min temperature recording
Connect to SD card for data logging
Add WiFi module for remote monitoring

TROUBLESHOOTING:
Blue screen only? Check I2C address (0x3C or 0x3D)
No sensor data? Verify DHT11 wiring and pull-up resistor
Wrong time? Replace RTC battery or set time via code

Connect on Facebook: https://www.facebook.com/profile.php?...
WhatsApp Channel: https://whatsapp.com/channel/0029VbBb...

SUBSCRIBE for more Arduino tutorials, electronics projects, and DIY electronics content!
LIKE & SHARE if this project helped you!

#arduino #weatherstation #oled #dht11 #DS1307 #arduinoproject #diyelectronics #temperaturemonitoring #arduinouno #electronics #iot #SensorDisplay #arduinotutorial #maker #stem #electronicsengineering #embeddedsystems #coding #programming #techdiy