CGR Project
CGR Project
CGR Project
COMPUTER GRAPHICS
Academic Year
2024 - 2025
Affiliated to
MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION
Submitted in partial fulfilment of the requirement of the diploma of Computer
GROUP MEMBERS
GUIDED BY MRS.
Kajal Bohir
MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION, MUMBAI
CERTIFICATE
This is to certify that the project titled “Design Digital Clock.” is a bonafied work
carried out by student of Diploma in Information Technology Engineering as a part of
curriculum as prescribed by MSBTE. I hereby declare that the project work has not formed
the basis for theaward previously of any Diploma, Associate ship, Fellowship or any other
similar title according to my knowledge.
Signature of Student
1.
2.
3.
4.
5.
ACKNOWLEDGEMENT
We extend our special thanks to all teaching and non-teaching staff. Success is nourished under
the combination of perfect guidance, care and blessing. Acknowledgement is the best way to
convey Last few years spend in estimated institution has moulded us into confident and aspiring
engineers. We express our sense of gratitude towards our project guide Mrs. Kajal Bhoir It
is because of her valuable guidance, analytical approach encouragement that we could learn,
work and complete the project. We will always cherish great experience work under the
enthusiastic guidance.
We are also grateful to our principal and our vice principal who not only supported us in our
project but also encouraged for every creative activity. We also sincerely give thanks to our
head of department Mrs. Madhura Mahindrakar of computer and its sector, friends and
well-wishers to directly or indirectly contribute for the success of our maiden mission.
INDEX
1. AIM 1
2. INTRODUCTION 2
3. METHODOLOGY 3
4. CODE 4
5. OUTPUT 5
6. CONCLUSION 6
7. REFERENCE 7
AIM
The aim of designing a digital clock is to provide an accurate, user-friendly, and visually appealing time
display that is easy to read, energy-efficient, and reliable across various lighting conditions.
1
INTRODUCTION
Designing a digital clock involves creating a device that displays the current time using electronic components
and a digital interface. Unlike analog clocks, which use hands to show time, digital clocks present time in
numeric form, usually in hours and minutes, and sometimes seconds.
The design process focuses on selecting appropriate display technology, such as LED, LCD, or OLED, to
ensure readability. Key considerations include accuracy, power efficiency, and ease of use. Additional
features like alarms, date display, and brightness adjustment may be incorporated to enhance functionality and
user experience. Ultimately, the goal is to design a digital clock that is both functional and visually appealing,
fitting seamlessly into users' daily routines.
2
METHODOLOGY
The methodology for designing a digital clock typically involves several key steps, each aimed at ensuring the
clock is functional, reliable, and user-friendly. Here is an overview:
1. *Define Requirements*: Identify essential features and specifications, such as display format (12-hour or
24-hour), accuracy, alarm options, power source (battery or plug-in), and display technology (LED, LCD,
OLED).
2. *Circuit Design*: Develop the circuit that will power the clock. This may involve microcontrollers or ICs
(like the 7-segment driver IC) for timekeeping, display drivers, and power regulation. Ensure the design
supports accuracy and efficiency.
3. *Component Selection*: Choose components like the display module, microcontroller, oscillators, and
capacitors based on the clock's requirements. Consider durability, power efficiency, and ease of integration.
4. *Prototyping*: Assemble a prototype using chosen components, ensuring it meets design specifications.
This step involves testing timekeeping accuracy, display clarity, and power efficiency.
5. *Software Development*: For programmable digital clocks, write software to control time display, alarms,
and other functionalities. Test code to ensure smooth operation and minimal errors.
6. *Testing and Calibration*: Test the prototype under various conditions (e.g., different light settings) to
ensure visibility, accuracy, and reliability. Calibrate the clock to account for any drifts in timekeeping.
Following this methodology allows for the creation of a reliable, efficient, and user-friendly digital clock that
meets both functional and aesthetic goals.
3
CODE
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
int main(void){
int h=0,m=0,s=0;
printf("Enter time in format of HH MM SS");
scanf("%d%d%d",&h,&m,&s);
start:
for(h;h<=24;h++){
for(m;m<60;m++){
for(s;s<60;s++){
system("cls");//for clean screen
printf("\n\n\n\n\n\t\t\t\t\t\t\t\t %d:%d:%d",h,m,s);
getch();
return 0;
}
4
OUTPUT
5
CONCLUSION
In conclusion, designing a digital clock requires a careful blend of technical precision, user-centered design,
and aesthetic appeal. By following a structured methodology—defining requirements, selecting components,
prototyping, testing, and refining the design—it’s possible to create a reliable and user-friendly timepiece.
A well-designed digital clock meets users' needs by providing accurate timekeeping, ease of use, and clear
visibility across various conditions. With the inclusion of features like alarms, backlighting, and customizable
settings, digital clocks become versatile tools for daily life. Overall, the design of a digital clock highlights the
importance of merging functionality with usability to create an essential device that seamlessly integrates into
modern routines.
6
REFERENCE
https://www.geeksforgeeks.org
https://github.com