Electronics Projects
Digital Clock with DS3231
A battery-backed clock on a 4-digit display with set buttons.

Overview
A DS3231 keeps accurate time through power loss and a TM1637 shows hours and minutes.
Build Steps
Wire the RTC
Connect the DS3231 to SDA and SCL and set the time once.
Wire the display
TM1637 CLK and DIO to two digital pins.
Add set buttons
Two tactile buttons with INPUT_PULLUP adjust hours and minutes.
Related Projects
Automatic Plant Watering System
Water plants only when the soil is dry, using a moisture sensor, relay and small pump.
View project →Ultrasonic Distance Meter
Measure distance with an HC-SR04 and show it on a 16×2 LCD.
View project →Motion-Activated Night Light
Switch a light on automatically when a PIR sensor detects movement.
View project →