You are on page 1of 14

Matoshri Education Society’s

MATOSHRI INSTITUTE OF TECHNOLOGY


A/P : Dhanore, Tal-Yeola , Dist.-Nashik, 423401

Micro Project Report


Academic year: 2023-24

Countdown Clock
Name of Student : Sonawane Amol Dilip
Class : TYCO

Semester : Sixth

Roll No : 31

Enrollment No : 2211710311

Seat No : 475367

Program : Computer Engineering

Course name : PWP

Course code : 22616


Name of Teacher : Miss.Ghodake R.B

1|Page
Matoshri Education Society’s
MATOSHRI INSTITUTE OF TECHNOLOGY
A/P : Dhanore, Tal-Yeola , Dist.-Nashik, 423401

CERTIFICATE

This is to certify that Mr. Sonawane Amol dilip


Roll no. 31 of Sixth Semester of Diploma in Computer Engineering has successfully
completed the Micro Project in “Countdown Clock” for the Academic year 2023 -2024 as
prescribed in MSBTE curriculum under the guidance of subject teacher.

Place : Yeola Enrollment No : 2211710311

Date : / / 2023 Seat No : 475367

Course Teacher HOD Principal


Miss.Ghodake R.B Mr. Ghorpade M.S Mr. Gujrati G.S.

2|Page
Micro Project Report Index
Academic Year : 2023-24 Program : Computer Engineering
Class : TYCO Course : PWP
Course Code : 22616 Roll No : 31
Enrollment No : 2211710311 Exam Seat No : 475367

Title of Micro Project : Countdown Clock

Sr. No Contents Page No.


1 Introduction 07
2 Step 08
3 Source Code 09
4 Output 11
5 Conclusion 12
6 Reference 13

Signature of Student Signature of Faculty


Sonawane Amol Dilip Miss.Ghodake R.B

3|Page
Micro–Project Log Book
Semester : Sixth Program : Computer Engineering
Course : PWP Class : TYCO

Topic of the Micro-Project : Countdown Clock


Sr.No Name Roll No. Enrolment No.
1 Sonawane Amol Dilip 31 2211710311

Week Discussion & Details Teacher’s Teacher’s


No. Comment Sign
1 General Discussion about micro project activity.
2 Guidelines for micro project
3 Discussion on different industry/application/study- oriented
topics
4 Group member are finalized and the topic is decided,
as
5 Work distribution to collect the information regarding topic
by each member.
6 Gathered information through the various sources, such as
internet, book, magazine, joutrnar and newspaper
7 Discussed the difficulty faced during the collection of
necessary information among the group member.
8 Discussion with the guide to sort out differently faced while
collecting the information.
9 Prepared a rough draft & shown it to the guide.

10 Necessary instructions are given by the guide for its better


Presentation & Finalized project.
11 Presentation is given on the topic, Report is prepared on
the topics & final submission of micro project and
Report

Name & Signature of project Guide Name & Signature of HOD

Miss.Ghodake R.B Mr. Ghorpade M.S

4|Page
Page |5

ANNEXURE I
Rubric for Evaluation of Micro Project
Academic Year : 2023-24 Program : Computer Engineering
Class : TYCO Course : PWP
Course Code : 22616 Roll No : 31

Enrollment No : 2211710311 Seat No : 475367

Title of Micro Project : Countdown Clock


Group Members:
Sr.No Name Roll No. Enrolment No.
1 Sonawane Amol Dilip 31 2211710311

Co coverage:
CO1: Display Message on screen using Python Script on IDE.
CO2:Devlop Python Program to demonstrate use of oprators.
CO3:Perform oprations on data structures in Python.
CO4:Devlop Functions for given problem.
CO5:Design classes for given problem.

Additional Comments (if any): Name of Teacher & Sign

Miss.Ghodake R.B
Page |6

Micro Project Proposal

Academic Year: 2023-24 Program: COMPUTER ENGINEERING


Class: - TYCO Course: PWP
Course Code: 22616 Roll No: 31
Enrollment No: 2211710311 Exam Seat No: 475367
Title of Micro Project: “COUNTDOWN CLOCK”
Group Members:

Sr. No. Roll No. Name of Candidates

1 31 Sonawane Amol Dilip

References:
https://www.sciencedirect.com/topics/engineering/countdown-timer

Comments by guide:

Course Teacher
Miss.Ghodake R.B.
Page |7
1.INTRODUCATION
A countdown timer is a device which is designed to count down to a particular event. They range in design
from simple mechanical devices like those used in the kitchen to electronic versions designed to be downloaded
and installed on a desktop. Numerous websites also use a countdown timer to mark the days, hours, minutes,
and seconds until a major event, and some websites also generate countdown timer codes for installation on
personal websites.
A basic mechanical countdown timer is usually very easy to use. The user manually sets the countdown timer
to indicate the amount of time that needs to be counted down and turns it on. These types of timers are very
useful for baking, when some dishes require timing so that you can keep track of them. Simple electronic
countdown timers are designed to be used again and again in the same way: the user opens the program that
runs the countdown timer, enters the necessary information, and starts it running. In both cases, when the
countdown timer reaches the designated time, it usually makes some sort of signal such as a sound or light to
indicate that the countdown is over.
Many fan websites use countdown timers to show the amount of time left before the release of a major movie
or book. Some people also use them to mark personal landmarks, like trips to foreign countries, days until the
expected birth date of a child, or days until a wedding. These types of countdown timer are single use, and often
have decorative banners which unfurl when the end of the countdown is reached.
Page |8
2.STEP

• Step 1: Import the time module.

• Step 2: Then ask the user to input the length of the countdown in seconds.

• Step 3: This value is sent as a parameter ‘t’ to the user-defined function countdown().

• Any variable read using the input function is a string. So, convert this parameter to ‘int’
as it is of string type.

• Step 4: In this function, a while loop runs until time becomes 0.

• Step 5: Use divmod() to calculate the number of minutes and seconds. You can read more
about it here.

• Step 6: Now print the minutes and seconds on the screen using the variable time format.

• Step 7: Using end = ‘\r’ we force the cursor to go back to the start of the screen (carriage
return) so that the next line printed will overwrite the previous one.

• Step 8: The time. sleep() is used to make the code wait for one sec.

• Step 9: Now decrement time so that the while loop can converge.

• Step 10: After the completion of the loop, we will print “Fire in the hole” to signify the
end of the countdown.
Page |9
3.SOURCE CODE

import time
from tkinter import *
from tkinter import messagebox
root = Tk()
root.geometry("400x300")

# define title
root.title("Countdown timer")

# set background color


root.config(bg='sky blue')
hour = StringVar()
minute = StringVar()
second = StringVar()
hour.set("00")
minute.set("00")
second.set("00")
hour_box = Entry(
root,
width=3,
font=("Arial", 18, ""),
textvariable=hour
)

hour_box.place(x=80, y=20)

mins_box = Entry(
root,
width=3,
font=("Arial", 18, ""),
textvariable=minute)

mins_box.place(x=130, y=20)

sec_box = Entry(
root,
width=3,
font=("Arial", 18, ""),
textvariable=second)
P a g e | 10

sec_box.place(x=180, y=20)

def countdowntimer():
try:
user_input = int(hour.get()) * 3600 + int(minute.get()) * 60 + int(second.get())
except:
messagebox.showwarning('', 'Invalid Input!')
while user_input > -1:

mins, secs = divmod(user_input, 60)

hours = 0
if mins > 60:
hours, mins = divmod(mins, 60)
hour.set("{0:2d}".format(hours))
minute.set("{0:2d}".format(mins))
second.set("{0:2d}".format(secs))

root.update()
time.sleep(1)

if (user_input == 0):
messagebox.showinfo("Time Countdown", "Time Over")

user_input -= 1

btn = Button(root, text='Set Time Countdown', bd='5',


command=countdowntimer)
btn.place(x=80, y=120)

root.mainloop()
P a g e | 11

4. OUTPUT

Ste p 1: Enter a 60 Second

Ste p 2: Click to start Button

5
P a g e | 12
5. CONCLUSION

We want to create a countdown timer that has a very interesting After completion of this stopwatch project
After completion of this digital stop watch project I have learn some knowledge in designing the Count down
clock and understood the coding process.

t
P a g e | 13

6.REFERENCE

https://www.studocu.com/in/document/dr-apj-abdul-kalam-technicaluniversity/btech/countdown-
timer/34338944
https://www.sciencedirect.com/topics/engineering/countdown-timer
P a g e | 14

You might also like