Naked Clock using PIC16F877 Microcontroller




Why have an enclosure?  The enclosure of a clock
doesn’t tell you the time!  So I built this PIC clock with no
part that doesn’t serve an electrical function.  The
hanger is the ground.

The microcontroller is the 40-pin PIC 16F877.  I set it up,
then let it run for a few weeks, saw how far off it got, then
went back into the code to add an extra delay to get the
timing just right.
Naked clock

Lessons Learned:

I originally planned to have this run off a 9 volt battery, but I
found that it would drain the battery in less than 24 hours,
not an ideal clock!  So now it runs off a wall adapter.

There’s a resistor between the LEDs and the ground that is
the hanger.  Since several segments share one resistor, the
brightness of one segment depends on how many of its
neighbors are on.  The seven digit has the biggest problem.
It would have been better to put the resistor between each
pin and LED segment instead.

 

For more detail: Naked Clock using PIC16F877 Microcontroller




Current Project / Post can also be found using:

  • naked clock
  • pic microcontroller using clock

Leave a Comment

*
= 5 + 4

Read previous post:
Milling Machine
Converting a Proxxon MF70 Milling Machine To CNC – 2 using PIC18F4620

My layout is shown below. It may not be as intuitive or informative as the layout on a PC display,...

Close
Scroll to top