Alarm clock

The aim of this new project is to build a small alarm clock. This is a work in progress so this page is a draft not very well organized.

Features

  • Receive DCF-77 radio timing signals to stay on time
  • Internal crystal to maintain time if DCF77 signal is lost
  • Battery backup if main power is lost
  • Alarm
  • Optional time offset (to add x minutes to the real time)
  • Time is displayed on 4 7-segment LED displays
  • Several status LED (DCF77/internal crystal, main/backup power, offset on/off, alarm on/off)

Micro-controller choice

Input pins needed:

  • 3: Rotary encoder (rotation + push) - alarm/clock setup
  • 1: Switch - alarm on/off
  • 1: Switch/jumper - time offset on/off
  • 1: Push button - replay alarm later
  • 1: DCF77 timing signal

Output pins needed:

  • 7: 7-segment LED display
  • 4: Activate one of the 4 7-segment LED displays
  • 1: LED alarm on/off
  • 1: LED power main/backup battery
  • 1: LED offset on/off
  • 1: LED time based on DCF77 signals/RTC crystal
  • 1: alarm (buzzer)
  • 1: anticipative alarm (PWM)

Other pins:

  • 2: 32kHz RTC crystal
  • 1/2: Analog comparator (detection of main power loss)

In stock: ATmega8L, ATmega16L, ATmega32

Shopping cart

Sparkfun

Other things to buy (or check if I have)

  • DCF77 module
  • Transistors to alternatively power the 4 7-segment LED displays
  • Buzzer

TODO list

  • Think about power supply (main/battery)
  • Think about 7-seg LED display (is buffer needed?, multiplexing, transistor)
  • ATmega : choice of ATmega, external crystal, reset
  • DCF77 receiver: buy one or build one?
 
projects/alarmclock/alarmclock.txt · Last modified: 2009/10/12 12:17 by gduc
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki