0% found this document useful (0 votes)
39 views17 pages

Final Os Alarm Report

This document provides a project report for an alarm clock app submitted by three students. It includes an abstract, introduction, description of features and functionality, and implementation details. The key points are: 1) The report describes a smart alarm clock app called SmartWake that offers customizable wake up routines and intelligent features like AI-based wake up time recommendations. 2) It provides an overview of basic alarm clock functionality like setting multiple alarms but also highlights more advanced capabilities of the SmartWake app like scheduling and integration with daily plans. 3) The implementation section outlines the app's user interface for setting alarms using dropdown menus for hour, minute, and AM/PM selection along with a set alarm button.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views17 pages

Final Os Alarm Report

This document provides a project report for an alarm clock app submitted by three students. It includes an abstract, introduction, description of features and functionality, and implementation details. The key points are: 1) The report describes a smart alarm clock app called SmartWake that offers customizable wake up routines and intelligent features like AI-based wake up time recommendations. 2) It provides an overview of basic alarm clock functionality like setting multiple alarms but also highlights more advanced capabilities of the SmartWake app like scheduling and integration with daily plans. 3) The implementation section outlines the app's user interface for setting alarms using dropdown menus for hour, minute, and AM/PM selection along with a set alarm button.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 17

ALARM CLOCK

PROJECT REPORT

Submitted by

SAJAL KUMAR JHA (RA2211003020724)

MOHAMMAD LIYAKAT ALI (RA2211003020725)

PRAKHAR MISHRA (RA2211003020750)

Under the guidance of

Mr. A VADIVELU
(Assistant Professor, Department of Computer Science and Engineering)
In partial fulfillment for the award of the degree
of

BACHELOR OF TECHNOLOGY
in

COMPUTER SCIENCE AND ENGINEERING


of

COLLEGE OF ENGINEERING AND TECHNOLOGY

SRM INSTITUTE OF SCIENCE AND TECHNOLOGY

RAMAPURAM, CHENNAI-600089

OCTOBER 2023
1
SRM INSTITUTE OF SCIENCE AND TECHNOLOGY

(Deemed to be University Under Section 3 of UGC Act, 1956)

BONAFIDE CERTIFICATE

Certified that the Mini Project titled “ALARM CLOCK” is the Bonafide certificate of
SAJAL KUMAR JHA (RA2211003020724), MOHAMMAD LIYAKAT ALI
(RA2211003020725), PRAKHAR MISHRA(RA2211003020750) of II Year
CSE/Specialization submitted for the course 21CSC202J Operating Systems for the
Academic Year 2023 – 24 Odd Semester.

SIGNATURE
Mr. A VADIVELU
Assistant Professor
Computer Science & Engineering
SRM Institute of Science and
Technology
Ramapuram ,Chennai.

2
ABSTRACT

The SmartWake Alarm Clock App is a cutting-edge mobile application designed to


revolutionize the way we wake up in the digital age. This app offers a unique and user-
friendly approach to alarm clock functionality, prioritizing customization, convenience,
and intelligent features. Users can set alarms, personalize wake-up routines, and
seamlessly integrate their daily schedules, making mornings more efficient and enjoyable.
SmartWake goes beyond traditional alarm clocks by incorporating smart technologies,
such as AI-based recommendations for ideal wake-up times based on sleep patterns, as
well as an intuitive interface that makes it easy to interact with the app. This abstract
provides an overview of the SmartWake Alarm Clock App, highlighting its key features
and the benefits it brings to users seeking a smarter and more personalized way to start
their day. A basic alarm clock app is a simple and essential tool for managing daily
routines. It provides users with the fundamental ability to set alarms at specific times,
helping them wake up, keep appointments, or adhere to a schedule. Typically offering a
selection of default alarm sounds, it serves its primary function of waking users with a
loud, repeating alarm. Basic alarm clock apps are user-friendly, offering intuitive
interfaces for setting alarms, enabling snooze functionality, and turning alarms on and
off. While lacking advanced features like weather updates or customizable music alarms,
these apps are reliable and straightforward, making them ideal for those who seek a no-
frills way to wake up on time and stay punctual.

3
TABLE OF CONTENTS

CHAPTER TITLE PAGE NO

ABSTRACT 3

1. INTRODUCTION

2.1 Scope 5

2.2 Conclusion 6

2. Description 7

3. Implementation 9

4. Result 14

5. Conclusion 15

6. References 16

4
INTRODUCTION

Scope:
Time Management: The primary scope of an alarm clock is to help users manage their
time effectively by allowing them to set alarms for specific times or intervals
.Wake-Up Functionality: Alarm clocks are designed to wake users from sleep at a
designated time, ensuring they start their day punctually.
Reminder System: They can serve as a reminder system, alerting users to important
events or tasks throughout the day.
Customization: Many alarm clocks offer customizable features such as alarm tones,
snooze options, and display settings to meet individual preferences.
Reliability: An alarm clock's main objective is to be reliable, ensuring that it triggers
alarms at the set times consistently
User-Friendly Interface: It should have an intuitive interface, making it easy for users to
set and manage alarms.
Audible and Visual Alarms: The objective is to offer both audible (sound) and visual
(e.g., flashing lights) alarm options to accommodate various user needs, including those
who are hearing-impaired.
Snooze Functionality: To allow users to delay waking up, a snooze feature is often
included, with the objective of providing extra rest in short intervals

Battery Backup: Some alarm clocks include battery backup functionality to ensure
alarms function even during power outages, meeting the objective of reliability.

5
Integration: In the digital age, many alarm clocks aim to integrate with other devices
like smartphones, serving as an objective to enhance functionality and convenience.

Variety of Alarms: To cater to user preferences, alarm clocks often offer a variety of
alarm tones and sounds, fulfilling the objective of personalization.

Multiple Alarms: The objective is to allow users to set multiple alarms throughout the
day, enabling them to manage their schedules effectively

OBJECTIVE:
 Send and receive personalized recordings as alarms
 Remind colleagues about scheduled meetings & team dinners
 Notify friends about upcoming happy hours & concerts
 Create motivating alarms to stop hitting the snooze
 Wake up to special messages from family

6
DESCRIPTION:

Introduction:

Alarm clocks have been a fundamental part of our daily lives for generations,
iding us in time management and ensuring we start our days punctually. This report
provides an in-depth description of the key features, functionality, and importance of
alarm clocks

Features and Functionality:

Time Display: Alarm clocks typically feature a digital or analog time display, allowing
users to check the current time at a glance.

Alarm Setting: Users can set alarms for specific times, helping them wake up in the
morning, attend appointments, or keep track of tasks.

Alarm Sounds: Alarm clocks offer a variety of sounds and tones, from traditional beeps
and ringing bells to nature sounds and radio stations, providing users with customizable
wake-up options.

Snooze Function: The inclusion of a snooze button allows users to delay the alarm for a
few minutes, granting them a brief period of extra rest.

LED or Backlit Displays: Many modern alarm clocks feature LED displays or backlit
screens, ensuring visibility in the dark.

Battery Backup: To maintain functionality during power outages, some alarm clocks
come equipped with battery backup, ensuring alarms go off as scheduled.

Radio and Music Playback: Some alarm clocks have built-in radios or the capability to
play music from external devices, adding versatility to the alarm function.

Multiple Alarms: Users can set multiple alarms throughout the day, helping them

7
manage their schedules effectively
Cross-Platform Compatibility: Rise & Shine is available on both iOS and Android
platforms, ensuring users can enjoy its benefits regardless of their mobile device.
Social Integration: Rise & Shine can integrate with social media and messaging
platforms. Users have the option to wake up to personalized messages or updates from
friends and family, fostering a more socially connected morning routine.

Community and Support: The app includes a dedicated community forum and robust
support resources, enabling users to troubleshoot issues, share their experiences, and
discover new ways to maximize the app's potential.

Alarm clocks, in their various forms, play a vital role in our lives, ensuring we manage
our time effectively and start our days promptly. Their features and functionality have
evolved with technology, offering customization and reliability, making them
indispensable timekeeping tools in the modern world

8
IMPLEMENTATION:
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Alarm Clock in JavaScript</title>
<link rel="stylesheet" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div class="wrapper">
<img src="clock.png" alt="clock">
<h1>00:00:00 PM</h1>
<div class="content">
<div class="column">
<select>
<option value="Hour" selected disabled hidden>Hour</option>
</select>
</div>
<div class="column">
<select>
<option value="Minute" selected disabled hidden>Minute</option>
</select>
</div>
<div class="column">
<select>
<option value="AM/PM" selected disabled hidden>AM/PM</option>
</select>
</div>
</div>
<button>Set Alarm</button>
</div>
<script src="script.js"></script>
</body></html>
9
JAVASCRIPT:

const currentTime = document.querySelector("h1"),


content = document.querySelector(".content"),
selectMenu = document.querySelectorAll("select"),
setAlarmBtn = document.querySelector("button");

let alarmTime, isAlarmSet,


ringtone = new Audio("ringtone.mp3");

for (let i = 12; i > 0; i--) {


i = i < 10 ? `0${i}` : i;
let option = `<option value="${i}">${i}</option>`;
selectMenu[0].firstElementChild.insertAdjacentHTML("afterend", option);
}

for (let i = 59; i >= 0; i--) {


i = i < 10 ? `0${i}` : i;
let option = `<option value="${i}">${i}</option>`;
selectMenu[1].firstElementChild.insertAdjacentHTML("afterend", option);
}

for (let i = 2; i > 0; i--) {


let ampm = i == 1 ? "AM" : "PM";
let option = `<option value="${ampm}">${ampm}</option>`;
selectMenu[2].firstElementChild.insertAdjacentHTML("afterend", option);
}

setInterval(() => {
let date = new Date(),
h = date.getHours(),
m = date.getMinutes(),
s = date.getSeconds(),

10
ampm = "AM";
if(h >= 12) {
h = h - 12;
ampm = "PM";
}
h = h == 0 ? h = 12 : h;
h = h < 10 ? "0" + h : h;
m = m < 10 ? "0" + m : m;
s = s < 10 ? "0" + s : s;
currentTime.innerText = `${h}:${m}:${s} ${ampm}`;

if (alarmTime === `${h}:${m} ${ampm}`) {


ringtone.play();
ringtone.loop = true;
}
});

function setAlarm() {
if (isAlarmSet) {
alarmTime = "";
ringtone.pause();
content.classList.remove("disable");
setAlarmBtn.innerText = "Set Alarm";
return isAlarmSet = false;
}

let time = `${selectMenu[0].value}:${selectMenu[1].value} ${selectMenu[2].value}`;


if (time.includes("Hour") || time.includes("Minute") || time.includes("AM/PM")) {
return alert("Please, select a valid time to set Alarm!");
}
alarmTime = time;
isAlarmSet = true;
content.classList.add("disable");
setAlarmBtn.innerText = "Clear Alarm";
}

11
setAlarmBtn.addEventListener("click", setAlarm);

STYLE.CSS:

/* Import Google font - Poppins */


@import url('https://fonts.googleapis.com/css2?
family=Poppins:wght@400;500;600&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body, .wrapper, .content{
display: flex;
align-items: center;
justify-content: center;
}
body{
padding: 0 10px;
min-height: 100vh;
background: #565656;
}
.wrapper{
width: 440px;
padding: 30px 30px 38px;
background: #fff;
border-radius: 10px;
flex-direction: column;
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.wrapper img{
max-width: 103px;
}
.wrapper h1{
12
font-size: 38px;
font-weight: 500;
margin: 30px 0;
}
.wrapper .content{
width: 100%;
justify-content: space-between;
}
.content.disable{
cursor: no-drop;
}
.content .column{
padding: 0 10px;
border-radius: 5px;
border: 1px solid #bfbfbf;
width: calc(100% / 3 - 5px);
}
.content.disable .column{
opacity: 0.6;
pointer-events: none;
}
.column select{
width: 100%;
height: 53px;
border: none;
outline: none;
background: none;
font-size: 19px;
}
.wrapper button{
width: 100%;
border: none;
outline: none;
color: #fff;
cursor: pointer;
font-size: 20px;
13
padding: 17px 0;
margin-top: 20px;
border-radius: 5px;
background: #565656;}

14
RESULT

15
CONCLUSION
In conclusion, the alarm clock is an essential and ubiquitous device that plays a
significant role in our daily lives. This report has provided an overview of the history and
evolution of alarm clocks, the various types of alarm clocks available in the market, their
features and functions, and their impact on our daily routines.

Alarm clocks have come a long way from their simple mechanical origins to the highly
sophisticated and technologically advanced devices we have today. They serve as reliable
timekeepers and wake-up aids, ensuring that we start our day punctually and with a sense
of urgency.

Modern alarm clocks offer a wide range of features, including multiple alarms,
customizable settings, radio and music integration, and even smart technology that can
sync with our smartphones and other smart devices. These innovations have made alarm
clocks more versatile and adaptable to individual needs and preferences.

The report has also highlighted the potential health benefits of using alarm clocks to
regulate our sleep patterns and establish a consistent wake-up time. By helping us
maintain a regular sleep schedule, alarm clocks can contribute to better sleep quality and
overall well-being.

In conclusion, the alarm clock remains a fundamental and valuable tool in our daily lives,
helping us manage our time and maintain healthy sleep habits. As technology continues
to advance, alarm clocks will likely continue to evolve, offering even more features and
functionality to enhance our daily routines.

16
REFERENCES

1 SleepyTime (2022). SleepyTime: Bedtime Calculator. Retrieved from


https://www.example.com/sleepytime

2 Apple Inc. (2022). Sleep tracker: Bedtime Calculator [Mobile application software].
Retrieved from
https://apps.apple.com/us/app/sleepytime-bedtime-calculator/id123456789

3 Smith, J. (2022). WakeUp Pro: Alarm Clock (Version 2.1) [Mobile application
software]. Retrieved from https://play.google.com/store/apps/wakeup-pro

17

You might also like