Mars clock using PIC16F877A

Posted on Monday, February 21st, 2011 in code, LCD, PIC by the machinegeek

What do you do if you have a spare LCD module with backlight, a weird 16 button keyboard, and a PIC16F877A microcontrering dust? If you’re avtanski, a monster Martian Clock immediately springs to mind.

This thoroughly documented project shows you how to take these few common components and build a unique clock that features 16 timers that can be independently paused and restarted, can run forward or backward, along with individual alarms with configurable sounds and actions. Timers can show Earth, Mars, Jupiter, etc. times, sidereal time, Moon phase, Jupiter’s Great Red Spot transit time, and just about anything else you can time. It also feature simultaneous 24-hour and Julian-time decimal display.

Reportedly all changes in configuration can be done from the device’s keyboard – no computer necessary. It is powered by external AC power with built-in rechargeable battery for portability. Full source code, schematic and detailed plans are included. Avtanski says its high on the geekness scale and we enthusiastically agree!

This entry was posted on Monday, February 21st, 2011 at 4:56 pm and is filed under code, LCD, PIC. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Daniel: Do I comment here or on FB?
  • Craig B: Shouldn't the default be 00xxx010? Note that bit 0 appears out of order in the documentation. In that case I think the initial value is...
  • JJM: From the datasheet extract you are showing, the power up status should be 00xxx010, not 000xxx01. Bit numbering is misleading since 'measurement resolution' is apparently...
  • Jan Ciger (@janoc200): Hmm, that could actually explain why the three sensor IMU breakout I have bought a few years ago had all sorts of issues - I...
  • Travis: Is it preset to the windows 3 fingered salute?