Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Clock on Atmega8 with alarm and time backup

Status
Not open for further replies.

Vermes

Advanced Member level 4
Advanced Member level 4
Joined
Aug 2, 2011
Messages
1,163
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,316
Activity points
22,318
96_1281096506_thumb.jpg


Program of this home made clock with alarm and time backup after supply failure (CR2032 battery) was written in Bascom. It has three buttons for setting the time and alarm.

Functions of the buttons:
  1. start of operation of the clock after the first connection to the mains
  2. increasing the hours
  3. increasing the minutes
  4. enter the menu of alarm settings (indicated by twice blinking diode), and then by 1 and 2 buttons you can set the time of waking up. Leave the menu by pressing the 5 button
  5. activate/deactivate the alarm (when the LED is on – the alarm is on / when the LED is off – the alarm is also off)
  6. disabling the alarm when it is activated

The clock uses internal RTC of Atmega and works with clock quartz 32.768kHz. Attiny2313 was used for generating the alarm signal, but as well you can use a smaller processor such as Attiny13.




Housing was made of a piece of plexiglass, which can be additionally covered with a dimming foil.

PCB was designed in Eagle.

Link to original thread (useful attachment) – Zegarek na Atmega8 z budzikiem i podtrzymaniem czasu...
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top