Create project Need help?
qbasic

Robust and simple digital clock

Status: Proposal
2764
6
votes
January 9, 2016 , Latest update: November 20, 2016
IMG_20160108_071839.jpg

A digital clock displaying time, date and current room temperature on a 2x16 LCD display. The time and date are managed by a DS1307 RTC backed up by a battery. The system is controlled by a PIC16F876 microcontroller. The clock circuit and interface buttons are mounted in a strong metal case. The clock parameters (time, date and alarm) are set using a PC program, making it fast and simple and avoiding a lot of buttons and tricky menus. A switch allows to disable the alarm. Another switch turns on the display back-light for some time and stops the alarm ringing. The clock is powered by a 5V 1A phone power supply. The microcontroller firmware is programmed in C using Sourceboost BoostC. The PC program is a C program too that can be compiled with gcc or Cygwin on Windows. The schematics were drawn with Eagle.

The project is finished and working. Source code, firmware binary and schematics are available here : https://github.com/RICCIARDI-Adrien/Clock

Project videos (and other projects videos too) : https://www.youtube.com/channel/UC9D7DEd4lkCUMDWY0q195WA

Read the full post
Show less
Images
The clock running.
The circuit mounted in the case.
The circuit mounted in the case.
The circuit mounted in the case.
The 2x16 display backlighted.
The empty case.
The rear panel containing the connectors (power supply and serial port).
The circuit top.
The circuit bottom.
The upper panel containing the "snooze" button will now be mounted.
Inside view of the case.
The clock fully assembled.
Schematics

Loading comments...