The Design And Construction Of A Digital Clock With Calendar (PDF/DOC)
This project is aimed at explaining the Design and construction of a digital wall clock with calendar. It give report on how we can achieve this aim and the primary objective of this work is to bring a vibrant digital clock display to everyone located within the vicinity where the clock is being installed, and the importance of clock is to tell time and date, so you can meet up with events and assignments, these are just few importance of CLOCK. In developing countries, time is a very important element of life, maximizing it will give you a better achievement. We shall discuss on how you can design one in this report with a well narrated literature review for better understandings.
Also efforts were made in explaining the vital and important part of the design components and their functions in the project.
INTRODUCTION
This project is a design and construction of a digital clock with calendar. The core component is the microcontroller PIC16f877. This device employs sequential circuit components. It consists of LED, seven segment display, transistor, voltage regulator, resistors and capacitor.
1.1 BRIEF DISCUSSION ON CLOCK
A clock is an instrument to indicate, keep, and coordinate time. Today a clock “refers to any device for measuring and displaying the time”. The clock is one of the oldest human inventions, meeting the need to consistently measure interval of time shorter than the natural unit, the day, the month and the year. Devices operating on several physical processes have been used over the millennia.
A digital clock is a type of clock that displays the time digitally (i.e. In numerals or other symbols), as opposed to an analog clock, where the time is indicated by the positions of rotating hands.
This clock counts seconds, minutes, hours, days, months and
years. Time and calendar is displayed on four separate seven segment LED displays, and is adjustable with three buttons at start time (up, down, set).
You can program the day of the week, hour and minute, day of the month and year.
1.4 AIM
The aim of this project is to design and construct a digital clock with yearly calendar.
1.5 OBJECTIVES
• To be able to understand the principle behind digital system display.
• To be able to interface micro controller with the display unit.
• To be able to display the date and time in digital format.
1.6 UNITS OF THE SYSTEM
This digital clock with calendar model can be divided into two parts, the hardware and software. The hardware can be divided into several sections. This includes the power supply unit, the control unit and the display unit.
The software part can be broken down into the following sections. This includes the timing and counting unit, display decoder and scanning unit
1.3.1 HARDWARE PART
- Power supply unit;
Power supply unit consist of transformer, bridge rectifier, filter capacitor, voltage regulator and back up battery. - The control unit;
The control unit consists of a microcontroller, the PIC16F877. It controls by timing, counting and sending numeric code to be displayed to the seven segment display. - The display unit;
The display is made up of ten seven segment displays, and ten NPN BJT transistors.
1.3.3 SOFTWARE PART
- Timing unit;
The timing of the clock is achieved by assigning timer0 a special function registers in the microcontroller to timing. Timer0 is incremented at every four clock cycle of the microcontroller, when it runs to the end it causes interrupt that enables a general purpose registers to increment. When this registers count to a reference value, register linked to the seconds is increased. Timing starts with this register (seconds) which serves as input to other registers associated with other parts of the clock. - Counting unit;
Each unit of the clock is linked to a general purpose register for counting purposes. There is a routine program that handles counting up for each of the clock units (refer to appendix for codes of routine program). The time taken for each increase is determined in the routine handling it. The output of each counter is binary and therefore needs to be converted to seven segment display format. Another routine is program to handle this (refer to appendix for routine program)…chapter one continues
LITERATURE REVIEW
This project is an embedded system that uses a microcontroller to achieve the required functions. This device operates by running a software program burn into its flash memory, this is divided into loops, and each loop has it specific function. These loops are labeled counter, decoder and display scanner.
In this project, I have built a digital clock with 24 hour count time. The clock runs from 00:00 to 23:59 and then back to 00:00. The display has two four digits, two digits for minutes and two for hours. Six displays for the date and year. The specialty of this clock is that it has very low power consumption and condensed layout……[chapter 2 continues]
Click the button below to INSTANTLY subscribe and download the COMPLETE MATERIAL (PDF/DOC)!