You are on page 1of 4

Project Deliverable 1

M.Talha Abid 18L-1389


Hassaan Mumtaz 18L-1292
EE-A2

Introduction:
Here having been giving the task to create an alarm clock configured with
our 89-C52 using various mechanisms we learned in our entire course.

Block Diagram:
Design:
The code would be in Keil uVision 5 while we intend to use the Proteus
software to perform the experiment that will replace our real time hardware
application.

Block Diagram:

In the block diagram, we can see the simple Proteus side of things that we
need to implement the program that we perform in Keil. The LCD acts as
the output along with the buzzer which only times when we match our
alarm with our clock time. Besides that, the input is from a keypad
interfaced with our system (already provided) to us that will be limited to
only a certain number of inputs that match the jurisdiction of our real digital
clock.

Module Diagram:

Call
keypad_scan

As we can see, in the module diagram the flow of our code is such that we
intend to set our clock initially at 12:00 AM and overwrite it as soon as we
get our inputs accordingly, however, if we do not get any input, then we
have already set our time according to 12:00AM so the clock will start
ticking from there.
Further on, using call keypad_scan we send our inputs in and check if the
first input is either * or # and the next 4 inputs are either numbers ranging
from 0-1 for the first input 1-9 for the second input 0-5 for the third input and
0-9 from the last input. The 6th and final input is supposed to be a *or # if
any input does not match, we call a “wrong input” output line at our LCD.
Then having stored these appropriately we check if the first input if it is
either a * or # if it is * then we set appropriate time settings and see if time
was10:44 AM or 10:43 PM. Similarly, we set it for alarm settings. We then
check whether the time has elapsed till we can call our alarm and hence
buzzer and if it has not then we will continuously call a 60s delay increment
our minute clock and then change our minute and hour accordingly.

Modules:
The modules to be worked on a re LCD, Keypad interfacing, time setting,
alarm setting, delays, interrupts.

Assignment of modules:

Name Hassaan Mumtaz M.Talha Abid


Modules LCD interfacing, Keypad interfacing,
interrupts (calling of time setting, alarm
alarm clock and hence setting, delays(60s)
calling its delay)

Timeline:
Basic research; 9-11 December
Pseudocode development: 12-13 December
Project Deliverable 1: 13 December
Re-evaluation of pseudo code: 15 December
Comparative approach for alternate method: 16 December
Programming: 17-19 December
Re-evaluation of code: 19-20 December
Project Deliverable 2: 21 December
Evaluation of code: 22 December
Project Deliverable 3: 24 December

You might also like