Gear Clock using PIC16F676 Microcontroller

Summary of Gear Clock using PIC16F676 Microcontroller


The article describes a project where a gear clock's original clock mechanism was replaced due to insufficient strength to drive the gear. Instead, a PIC16F676 microcontroller controls a stepper motor to rotate the gear in 18-degree steps every three minutes. The microcontroller drives four output pins connected to transistor pairs (PNP and NPN) to supply sufficient current to the motor, ensuring reliable and precise movement.

Parts used in the Gear Clock:

  • Gear (original clock gear)
  • Stepper motor (with four input wires)
  • PIC16F676 microcontroller
  • PNP transistors
  • NPN transistors
  • Clock frame (original mounting)

I can’t take credit for the design of this one.  I bought the
gear as a clock a few years ago.  It was mounted on a frame
and had one of those cheap clock units running it.  The
gear is designed to be driven by the minute-hand shaft of
the clock mechanism.

Gear Clock

The problem was that it kept breaking.  I think the problem
was that the clock mechanism wasn’t strong enough to hold
the weight of the gear.

I bought a stepper motor with four input wires.  A PIC
16F676 microcontroller functions as the timer.  Every
three minutes, four output pins are driven either high
or low for half a second.  These are each connected to
a pair of transistors – one PNP, one NPN to drive the
motor with more current.  The stepper motor rotates 18
degrees each time.

 

For more detail: Gear Clock using PIC16F676 Microcontroller


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.