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.
- Features
- Hardware Requirements
- Software Requirements
- Circuit Diagram
- Installation
- Usage
- Code Explanation
- Contributing
- License
- 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.
- 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)
- Arduino IDE with FastLED library installed.
- Wire library (included in the Arduino IDE).
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 |
- Clone this repository or download the source code.
git clone https://github.com/Shashitha-Ashan/Arduino-RTC-Clock.git