My aim for this project is to design and construct a fully functioning alarm clock.

Authors Avatar

Abdul Wali Chowdhury        Alarm Clock        A2 Electronics Coursework

A2 Electronics

Alarm Clock

By Abdul Wali Chowdhury

Alarm Clock

Aim

My aim for this project is to design and construct a fully functioning alarm clock.

Investigation

To construct the alarm clock I had to investigate two factors, how bright the seven-segment display would be and how loud the alarm would sound.

To find out the brightness of the seven-segment display I used a light level meter and placed the blackout tube over a powered seven-segment display, the light level meter read 0.80 lux.

To find out how loud the alarm would be I used a sound detector, my mobile and a meter ruler. I placed the sound detector one meter away from my mobile; the volume of my mobile was set to its highest, the sound meter read 87 DB. This is a reasonable sound level and I would like my alarm to sound somewhere near this number.

I had very little experience with micro controllers, so to get to grips with the coding and wiring up of the micro controller I decided to make something similar to how I would make the Alarm Clock but much simpler like making one seven segment display count from 0 to 9. Below is the pin out for the circuit.

Below is the code I used.

Dim T As Long

Dim I As Integer

Out $3a , $ff

Do

For I = 0 To 9

Out $3b , I

For T = 1 To 100000

Next T

Next I

Loop

By doing this investigation it enabled me to have a clearer idea of how I would design and make my Alarm Clock.

Research

Before I could start to design my circuit I had to research on the following subjects:

  • Pin out for the micro controller (AT90S8515)
  • Required power supply for the micro controller
  • Pin out for 7447 Seven Segment Decoder
  • Pin out for Seven Segment Display

I got the pin out for the micro controller Atmel (AT90S8515) from the web site  this gave me the pin out and the addresses for the ports and data direction registers. I also found out that the micro controller works from a power supply of 2.7V – 6V.

For the pin out for 7447 Seven Segment Decoder and the pin out for Seven Segment Display I used the back page of the AS student support book provided by the college.

Specification

  1. Clock will display in the format hh:mm – 4 seven segment displays
  2. Alarm clock will sound until the Stop Alarm button is pressed
  3. The loudness of the alarm will be between 85 – 95 dB
  4. The brightness of the alarm will be 0.80 lux
  5. The time will be accurate to ± 1%
  6. The system will work off 2.7 V to 6 V power supply
  7. The frequency of the Astable will be 700 Hz

  8. You must be able to set the time and alarm

Generations of possible solutions

I have thought of two possible solutions on how to build an alarm clock. Below is a Block Diagram of the first idea.

I decided not to use this method because there would not be enough sub systems to gain the full marks.

Join now!

I decided to go for a slightly harder approach to the task. Below is a Block Diagram of the system.


To make the alarm clock I decided to make the minutes of the clock count first. Below is the circuit diagram.

I wired up two seven segment displays to two 7447 seven segment decoder chips. Both 7447 segment decoder chips were connected to port A of the micro controller.

Below is the ...

This is a preview of the whole essay