Simple Clock Using Arduino UNO

 

 Project Overview

This project is a Real-Time Clock (RTC) system built using the Arduino Uno, an RTC module such as DS3231 or DS1307, and a 16x2 LCD display.

It displays the current time and date in real-time, similar to a digital clock. The RTC module keeps accurate time even when the Arduino is powered off using a backup battery.


 Components Used

  • 1 × Arduino Uno

  • 1 × DS3231 or DS1307

  • 1 × 16x2 LCD Display

  • 1 × I2C Module (for LCD – optional but recommended)

  • 1 × CR2032 Coin Cell Battery

  • Breadboard

  • Jumper wires

  • USB cable (for programming)


 Working Principle

🔹 1. Time Keeping (RTC Module)

  • The RTC module has an internal oscillator.

  • It keeps track of:

    • Hours

    • Minutes

    • Seconds

    • Day

    • Month

    • Year

  • A CR2032 battery ensures time is maintained even when Arduino is powered off.


🔹 2. I2C Communication

  • Arduino communicates with the RTC module using the I2C protocol.

  • SDA and SCL pins are used for data transfer.

  • Arduino reads time data every second.


🔹 3. Displaying Time

  • Arduino formats the received data.

  • The 16x2 LCD continuously displays:

    • First row → Time (HH:MM:SS)

    • Second row → Date (DD/MM/YYYY)


 Basic Connections

 RTC Module (I2C)

RTC PinConnect To
VCC5V
GNDGND
SDAA4
SCLA5

 I2C LCD Display

LCD PinConnect To
VCC5V
GNDGND
SDAA4
SCLA5

(Both RTC and LCD share I2C lines.)


 Basic Arduino Logic (Concept)

rtc.now(); // Read current time

lcd.setCursor(0,0);
lcd.print("Time: 10:25:30");

lcd.setCursor(0,1);
lcd.print("Date: 24/02/2026");

(The display updates every 1 second.)


 Features

✅ Real-time tracking of hours, minutes, seconds
✅ Displays day, month, and year
✅ Time saved even after power loss
✅ Clear display on 16x2 LCD
✅ Simple and beginner-friendly project


 Applications

  • Digital wall clocks

  • Automated school bell systems

  • Timed device control systems

  • Event logging systems

  • Home automation timers

  • Alarm clock systems


 Possible Upgrades

 Add alarm and buzzer
 Display temperature (DS3231 has built-in temperature sensor)
 Bluetooth time synchronization
 IoT clock with NTP time update
 Add push buttons to set time manually
 Data logging with SD card module


 Educational Value

Students learn:

  • I2C communication protocol

  • RTC module interfacing

  • Time formatting and display

  • LCD interfacing

  • Embedded system timing concepts


 Conclusion

The Simple Clock using Arduino UNO is a practical and reliable project that demonstrates real-time data handling and display. It forms the foundation for more advanced systems like alarm clocks, automation controllers, and smart scheduling devices.




BEGINNER PROJECTS (Foundation Skills)

  1. Ultrasonic Distance Measurement
  2. Traffic Light Simulation with 7-Segment Display
  3. 7-Segment Display Counter
  4. Kids Piano Circuit (8-Key Version)
  5. 16×2 LCD Display with Text Output
  6. LCD I2C to Arduino UNO
  7. Temperature Measurement using Arduino UNO
  8. LDR Controlled Street Light

INTERMEDIATE PROJECTS (Build Your Skills)

  1. Servo Motor Control Using Potentiometer
  2. DC Motor Speed Control
  3. Temperature Controlled Fan
  4. PIR Based Theft Alert System
  5. LPG Gas Leakage Detection System
  6. Automatic Door Locking System
  7. Soil Moisture Based Automatic Watering System
  8. Simple Digital Clock using Arduino UNO
  9. Automatic Voting Machine (EVM)
  10. Joystick Control using Arduino Uno
  11. RGB Lamp Control using Arduino Uno

    ADVANCED PROJECTS (Master Level)

    1. Home Automation Using Arduino UNO
    2. Bluetooth RC Car using Arduino Uno
    3. Obstacle Avoiding Robot
    4. Line Follower Robot
    5. Radar System Using Arduino UNO
    6. Automatic Parking System
    7. Bi-Directional People Counter using Arduino Uno 
    8. Automatic Plant Watering System
    9. NeoPixel LED Ring Control using Arduino Uno
    10. Smart Gloves for Bedridden People

      ROBOTICS & MOTION PROJECTS

      1. RC Car Using L293D Motor Driver
      2. Robot Arm and Leg Control Using Servo
      3. Smart Irrigation System using Arduino Uno

      Comments