Project:BinaryClock

From London Hackspace Wiki
Jump to navigation Jump to search

What

An extension of the binary clock that Ciarán made after the Arduino Workshop.

5385317677_a3657003cd_m.jpg

Design Criteria

  • Must have a nice case.
  • Must have a time display (duh).
  • Must have a minimum of buttons, preferably two
  • Will use GPS time/date to be semi-accurate.
  • Must be able to change between GMT/BST
  • Must be as low power, long life as possible.
    • By default time display will be off.

Non-essentials

  • Nice to have a external output, ie when alarm goes off a pin goes high. So alarm can be hacked to trigger other events.

How

Logic

Button Logic

Buttons need to snooze, set alarm, show date, show time, show alarm.

The following is based on two buttons

  • Either button will snooze the alarm, if alarm is sounding.
  • Holding button 1 will turn alarm off.
  • Button 1 will show time (when no time or date is displayed).
  • Button 2 will show date.
  • Holding button 2 will show alarm.
  • Holding Button 1+2 will put clock into set alarm mode.
    • Button 1 will increase the hour, button 2 will set the hour.
    • Button 1 will increase minute, button 2 will set the minute.
    • Clock will go back to displaying the time.

Display Feedback

Sound Feedback

Code

Get it here!

Hardware

Laser cutter designs for enclosure.

TODO

  • Get accurate time measurement
  • Add buttons
  • Add ability to set an alarm
  • Add a piezo
  • Make battery supply
  • Make it "radio-controlled"
  • Make a box

Code

Circuit

Phase 1

Designed PCB for shift registers, and LEDs. This board will become the "Display"

BinaryClockDisplayPCB.png