Project: Binary Clock

Discussion in 'The Completed Projects Collection' started by mshouppe, May 17, 2010.

  1. mshouppe

    Thread Starter New Member

    May 17, 2010
    Here's a binary clock I built about a year ago. It uses a Picaxe 28x1 uC and a DS1307 RTC. I don't have any schematics, but I can supply the Picaxe code if anybody is interested. Thanks for looking.




    Last edited by a moderator: Jun 23, 2018
    jacques and nycokello like this.
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    Thanks for sharing it.

    The purpose of these posts is to describe the project. Posting the schematics and code would be an important part of that.
  3. retched

    AAC Fanatic!

    Dec 5, 2009
    Is that pajammas on a dog?

    Oh jeez.

    What are you using as the connector for the LED display board?
    Do you have a schematics drawing program?

    bill_marsden has set up some symbols you can use with MSPaint to make schematics,
    there is also LTSpice which is a schematic and simulation program, free of charge.


    LTSpice Download page
  4. BMorse

    AAC Fanatic!

    Sep 26, 2009
    Maybe describe the project a bit and maybe mention how this is supposed to be read (i.e. what digit do each row represent??)

    Here is one I had made, about the size of a silver dollar,

    This is my version of a binary watch, based on a Pic16F84A uc, it displays time in true binary format:
    [​IMG]Top row of 4 LEDs displays the Hours
    [​IMG]The second row from the top displays the Tens of Minutes with 3 LEDs (fourth one on the left blinks once every second)
    [​IMG]The bottom most row of LED's display the ones of minutes...(Right now the watch is displaying 9:54)

    The time is set using a simple magnet, the clock has 2 hall effect sensor inputs, one for the minutes and another for hours, it also has a "club" function where all LED's just flash in a random fashion :) .

    The LED's are also multiplexed, so it looks like a few LED's are on at a time, but in truth, only one LED is on at a time, it takes advantage of the humans persistence of vision.

    B. Morse
  5. kingdano

    Senior Member

    Apr 14, 2010
    i laughed.

    cool looking leds though - i like the color.
  6. mshouppe

    Thread Starter New Member

    May 17, 2010
    Here is the code in .txt format. I also created a rough schematic using MSPaint.

    I'm also providing a link to a video showing the functionality of the mode/set buttons for setting the time (I set the time to 4:55 in the video). Pressing the mode button once will light up all the hour LEDs. This indicates you are in the hour-set mode. Pressing the set key will change the hour. Pressing the mode key again will light up all the minute LEDs indicating you are in the minute-set mode. Again, pressing the set key will change the minutes. Pressing the mode key one last time will set the new time. You can also see the auto-dimming function at the end of the video. Thanks for looking.



    Last edited by a moderator: Jun 23, 2018