ALARM CLOCK
USING PYTHON
SUBMITTED TO: Ms. Neha Sharma
Presented by:
Kumar Vaibhav(1900140100055)
Diwakar Kumar Shah (1900140100039)
Om Narayan Shukla (1900140100073)
CONTENTS
Introduction
Motivation
Problem Statement
Objective of the project
Requirment Specification
Methodology /Technique
List of Modules / Functionalities
Project Applications
Project Limitations
References
Introduction
In This Project we will learn how to make alarm clock with
.
python. With the help of some innovative libraries like
determine the win sound, it becomes very easy to build the
project with current date and time and as well as to provide a
user interface to set the alarm according to the requirement in
24 hr format and to add sound or a beep at time of alarm
activation.
Motivation
The motivation for doing this project was primarily an interest
in doing programmingof a simple device which is often unwieldy
to use and choosing alarm clock was thebest option. Alarm
clock is used to set reminder and often to wake up after a long
sleepor a short nap and is still very effective in today's time. A
set time is required for alarmclock to perform a function and at
the point of reaching that time alarm activates and asound is
produced so that we wake up. Sometimes it can be very
cumbersome to setthe time in alarm clock. Using libraries,
conditions and loops it's easy to create analarm clock like that
which performs the same way and with easiness of setting time.
Problem Statement
In today's world our lifestyle has become very hectic and it is very hard to
manage timeand even to remember the tasks to do at a particular time. And
that's where an alarmclock is needed that can remind you for all the tasks
i
you wanted to do in a day so thatyou don't miss any task and even don't
mess up with all the things. A day should alwaysbe properly scheduled which
helps in lot of things from beings up to the task andsaving crucial time
instead of wasting it.
Objective
In this project, we'll learn:
1. About the libraries used in creating the alarm clock.
2. How to design an easy to use alarm clock interface?
3. How to add sound to the alarm clock?
4. Creating an alarm clock that would appeal to many users
Requirment /Specifications
1. Hardware Requirement
1. Processors :intel atom processor or intel core i3
processor
2. Disk space: 2 gb or more
3. Operating system: window 7,ios,linux etc
4. Python version :3.9.0
Methodology / Technique
The methodology of this alarm clock is very
simple consisting of some libraries, Ioops and
conditions that would be sufficient for an
alarm to work.
1- Firstly we import all the required modules.
such as datetime and winsound
2-Then it asks user to enter the time they
want to wake up.
3-It then checks the condition if the entered
time matches the current timeor not.
4-After getting the condition satisfied it
displays a message to wake up andalso
creates a sound.
List of Modules /Functions
1- How an alarm clock works?
2- Using of os module from system to clear the screen
which isrequired in this project.
3-1-Using of datetime libr ary which supplies classes to
How an alarm clock works?2 Using of os module from
work with dateand time.
system to clear the screen which isrequired in this
4-Using of win sound
project.3- Usingtoof
add a sound or
datetime beep
libr aryatwhich
the supplies
time of activation.
classes to work with dateand time.4 Us ing of wins ound
5- Conclusion
to add a sound or beep at the time of activation.5
Conclusion
Project Application
1-It will help people to make organised schedule according to the time they set.
2-It will also remind people to do their task if they forget it by some means.
3-Very helpful in waking up after a long sleep. Section Break(Next Page
4- It is easier to set the time in this alarm clock.It just needs typing of the time
you want to wake up or get reminded
Project Limitations
1- It can be only used in range of a day that is in range of 24 hours and cannot be
used to set the alarm after two or three days.
2-Sometimes people ignore it if they are away from the device as the sound is
not audible and miss the reminder.
3-Sometimes people are also troubled with the sound of alarm clock, if they want
to sleep a bit more or delay something they can't because the time is set.
References
1. pythonfiddle.com
2.stackoverflow.com
3.wikipedia.com