Mars Clock using PIC16F877A microcontroller

What do you do if you have a spare LCD module with backlight, a weird 16 button keyboard, and a PIC16F877A microcontroller gathering dust? A monster Martian Clock immediately springs to mind.
Mars Clock
You are probably thinking “There are hundreds of PIC clocks on the Net – do we need yet another one?!” Well, this one is a bit different:

  • It has 16 timers that can be independently paused and restarted, and can run forward or backward.
  • There are 16 alarms with configurable sounds and actions.
  • Timers can show Earth, Mars, Jupiter, etc. times at the same time.
  • How about sidereal time, Moon phase, Jupiter’s Great Red Spot transit time, and anything periodic in general?
  • Simultaneous 24-hour and Julian-time decimal display.
  • All changes in configuration can be done from the device’s keyboard – no computer necessary.
  • External AC power with built-in rechargeable battery, so you can take the clock around.
  • High on the geekness scale.

If you would like to build this clock, of if you are just curious about it, check the links below. The same information is accessible using the tabs at the top and bottom of the page.

 Construction  The construction process in pictures, step-by-step.
 Clock Operation How to use the clock – menu navigation, setting up timers and alarms, examples.
 Schematics  Schematics, list of parts.


For more detail: Mars Clock using PIC16F877A microcontroller

Current Project / Post can also be found using:

  • relay timer mcu

Leave a Comment

= 5 + 2

Read previous post:
Schematic Toggle-Blink led on specific delay with pic microcontroller using timers MPLABX and xc8 compiler
Toggle/Blink led on specific delay with pic microcontroller using timers: MPLABX and xc8 compiler

This is advance tutorial on blink/toggle led with pic microcontroller. In this tutorial i am going to teach you how...

Scroll to top