A PIC16F84A Alarm Clock

Here is a simple PIC16F84A alarm clock. This page summarizes this discussion (in french) in my forum, where Samir (aka numerique1) requested for help to build a weekly alarm clock for his school. Many thanks to him for his tests and patience.

A Alarm Clock

This clock counts seconds, minutes, hours and day of the week.
Time is displayed on 4 seven segment LED displays, and is adjustable with three buttons at start time (up, down, enter).
You can program the day of the week, hour, minute and duration of the alarms.
The number of alarms are limited by ROM space only.
The alarm is on the RA4 open collector output of the PIC, and is repeated on a decimal point of the display.

For once, the program is in BASIC (mikroBasic) and I hope it will make a good start for beginners.

First, the BASIC source code.

Schematic A Alarm Clock

Note that you can build it either for common cathod or common anode LED display.


For more detail: A PIC16F84A Alarm Clock

Current Project / Post can also be found using:

  • 16f84a led clock firmware
  • 16f84a projects
  • timer in pic microcontroller pdf
  • 16f84a project

Leave a Comment

= 5 + 0

Read previous post:
MICROCONTROLLER UART TUTORIAL using pic microcontoller

RS232 EIA232F TTL and USB Adaptor Examples Tx and Rx Baud Rate, Misc Asynchronous Tx Loop-Back Test $50 Robot UART...

Scroll to top