Skip to content

Shashitha-Ashan/Arduino-RTC-Clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

LED Clock with DS3231 and FastLED

This project is an LED-based clock using the DS3231 RTC (Real-Time Clock) module and WS2811 LEDs controlled by the FastLED library. The time is displayed using four separate segments, each representing a digit of the hour and minute.

Table of Contents

Features

  • Displays time in HH:MM format using LED strips.
  • Uses the DS3231 RTC for accurate timekeeping.
  • LED brightness can be adjusted through code.
  • LED patterns are defined for digits 0-9.

Hardware Requirements

  • Arduino (e.g., Arduino Uno)
  • DS3231 RTC Module
  • WS2811 LED Strips (4 strips with 14 LEDs each)
  • Resistors, Wires, and Breadboard
  • Power Supply (depending on the number of LEDs)

Software Requirements

  • Arduino IDE with FastLED library installed.
  • Wire library (included in the Arduino IDE).

Circuit Diagram

Connect the LED strips to the designated pins on the Arduino and wire the DS3231 module according to the following table:

Component Arduino Pin
LED Strip 1 Pin 3
LED Strip 2 Pin 5
LED Strip 3 Pin 6
LED Strip 4 Pin 9
DS3231 SDA A4
DS3231 SCL A5
Status LED Pin 13

Installation

  1. Clone this repository or download the source code.
    git clone https://github.com/Shashitha-Ashan/Arduino-RTC-Clock.git

About

Arduino RTC clock with WS2811 + DS3231

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages