Project:BinaryClock: Difference between revisions
From London Hackspace Wiki
No edit summary |
(→What) |
||
Line 1: | Line 1: | ||
==What== | ==What== | ||
An extension of the binary clock that [[user:ciaran.mooney|Ciarán]] made after the Arduino Workshop. | |||
http://farm6.static.flickr.com/5219/5385317677_a3657003cd_m.jpg | http://farm6.static.flickr.com/5219/5385317677_a3657003cd_m.jpg | ||
Line 7: | Line 7: | ||
===Design Criteria=== | ===Design Criteria=== | ||
* Must have a nice case. | |||
* Must have a time display (duh). | * Must have a time display (duh). | ||
* Must have a minimum of buttons, preferably two | * Must have a minimum of buttons, preferably two | ||
Line 13: | Line 14: | ||
* Must be as low power, long life as possible. | * Must be as low power, long life as possible. | ||
** By default time display will be off. | ** 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==== | ====Button Logic==== | ||
Line 33: | Line 42: | ||
====Sound Feedback==== | ====Sound Feedback==== | ||
===Code=== | |||
Get it [https://github.com/ciaranmooney/Binary-Arduino-Alarm-Clock here]! | |||
===Hardware=== | |||
Laser cutter designs for enclosure. | |||
===TODO=== | ===TODO=== |
Revision as of 12:09, 13 February 2011
What
An extension of the binary clock that Ciarán made after the Arduino Workshop.
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