Hacked Gadgets Forum

October 21, 2009

Gear Clock – PIC 16F628A Based

at 4:46 am. Filed under Cool Gadgets, DIY Hacks, Electronic Hacks, What Were They Thinking


Here is my latest creation, it’s a Gear Clock. It consists of a bunch of wooden gears, a PIC microcontroller and a stepper motor. The heart of the clock is a PIC 16f628A microcontroller. This microcontroller has an internal oscillator however an external 20MHz crystal oscillator is being used since it will have to accurately keep track of time for weeks and months. The microcontroller is interfaced to two buttons and one motor.

The gear arrangement is as follows:

  • 9 tooth motor gear
  • 72 tooth minute gear with a 24 tooth secondary
  • 72 tooth intermediate gear with a 18 tooth secondary
  • 72 tooth hour gear

To achieve the correct timing the 9 tooth motor gear is advanced 4 steps every 9 seconds. By moving 4 steps at a time the motor routines can be simple since the motor is always at rest with the same coil energized.

Read more about the gear clock here.



Cialis temsilcisi tek olarak ithal ve cialis . Tadalafil is to erectile impotence to or an and the...

Related Posts

Gear Clock Project Build
Exuberant Clock
LC Meter using a Microchip PIC 16F628A
Arduino based RGB LED Hard Drive Clock
Motorcycle Universal Gear Indicator
Binary Clock inside Power Supply Brick
Motorcycle Gear Indicator Project
Wooden Gear Kinetic Sculpture



12 Responses to “Gear Clock – PIC 16F628A Based”

  1. Muris Says:

    Wow this is very cool!

  2. Gear clock is both functional and structural | Diy all the Way Says:

    […] Alan Parekh of Hacked Gadgets made this really nice looking gear clock using a PIC microcontroller, a scavenged stepper motor, and a bunch of wooden gears that he cut out on a CNC router. The concept is pretty straightforward, however I really like the clear design, where each part is a functional piece of the clock mechanism. You’ll never have to wonder what is inside this thing that makes it tick! [via Hacked Gadgets] […]

  3. Paul Says:

    Very nice :-)

  4. Gear clock is both functional and structural » Developages - Development and Technology Blog Says:

    […] Al&#97n P&#97rekh &#111f &#72&#97cked G&#97dgets m&#97de th&#105s re&#97lly n&#105ce l&#111&#111k&#105ng gear clock u&#115ing a PIC mi&#99ro&#99ontro&#108&#108er, a &#115&#99avenged &#115tepper motor, and a bun&#99&#104 of wooden gear&#115 t&#104at &#104e &#99ut out on a C&#78C router. T&#104e &#99on&#99ept i&#115 prett&#121 &#115traig&#104tforward, &#104owever I rea&#108&#108&#121 &#108ike t&#104e &#99&#108ear de&#115ign, w&#104ere ea&#99&#104 part i&#115 a fun&#99tiona&#108 pie&#99e of t&#104e &#99&#108o&#99k me&#99&#104ani&#115m. You’&#108&#108 never &#104ave to wonder w&#104at i&#115 in&#115ide t&#104i&#115 t&#104ing t&#104at make&#115 it ti&#99k! [via Ha&#99ked Gadge&#116s] […]

  5. Maigo Says:

    nice one Alan

  6. Muris Says:


  7. PIC Hack – How to Make a Gear Clock! Says:

    […] via hackedgadgets […]

  8. Punkguyta Says:

    Alan, very nice job you did here, I love it, I wish I could build one for myself now. At first I thought you did it in metal, but as the video progressed I seen it was wood, very clever indeed. Did you consider maybe a metallic spraypaint or the such? I think a textured face would look cool too.

    I didn’t even realize it was you till the end of the video, good job man!

  9. geniusre Says:

    very attractive use of woods really very good post

  10. Craig F Says:

    Great job Alan! I cut mostly MDF on my CNC and always had trouble painting it until I learned to dilute some tightbond wood glue with water until its milk like and coat all surfaces of the MDF. Smaller parts I actually dip in the mixture. When dry you can paint it without it soaking up all the paint.

  11. Alan Parekh Says:

    Hi Craig,

    That is some helpful info. The did also paint an old plastic CD case to see if the look would be any different than on the MDF and it was the same on the main flat surface. So I don’t think I have any issues there, but the edges are a different story. The edges seem to make the paint react in a strange way. In this case the paint looks even more silvery in the edges.

    Do you think the glue brand matters? I have a large bottle of another brand here.

  12. Craig F Says:

    I don’t think brand will matter as long as its water based. There use to be a product on the market made by tight bond called wood sizing. Wood workers used to to coat end grain to keep if from wicking up paint. When I called tightbond about it they told me how to make it myself. Just a little glue goes a long way. Like I said before I cut a lot of mdf so I keep a 1 gallon jug premixed. As you stated the machined areas are where is mainly needed.

Leave a Reply

Internal Links:



Hacked Gadgets

Site Sponsors:

Nuts and Volts Electronic Labs Trossen Robotics Free Technical Publications Blue LED


Recent Comments:

Site Rating:

More RSS Feed Options

Site Sponsors:


Interesting Sites: