• Design And Construction Of A Digital Clock With Calendar

  • CHAPTER TWO -- [Total Page(s) 6]

    Page 1 of 6

    1 2 3 4 5    Next
    • CHAPTER TWO
      3.0    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.
      This device used some general purpose registers as 0-9 counter for the unit’s digit of minutes display and also for the 0-5 counter of the ten’s digit of minute. Some of this registers were also use for the unit’s digit of hour, and the 0-9 counter, for the ten’s digit of hour. Other than this, some of the remaining registers were been program to ensure proper functioning of the clock.
      There is only one clock input for the entire system, the clock input into the 0-9 counter used for the unit’s digit of minute. The clock inputs for the other blocks are derived from the output of the previous blocks as shown in the block diagram for the system. We have a total of eight seven segment displays.
      Every 0-9 counts, we add one on the ten’s digit of minute. After every 6 such cycles, we add one on the unit’s digit of hour, and every 10 hours, we add one on tens digit of hour. As soon as it reaches 2 on the ten’s digit of hour and 4 on unit’s digit of hour, both the ten’s.
      And the unit’s digits of hour are reset to 0. So, in practice, we do not see 24:00 displayed. We rather see a transition from 23:59 to 00:00. The day’s counter is increased. The maximum count by the day counter is determined by the month’s present value. When the months count is ‘2’(February), the maximum count available to the day counter is 28, when it is April, June, September, November i.e. ‘4,6,9,11’ maximum count is 30 days, when it is ‘1,3,5,7,8,10,12’ the maximum count by the day counter is 31.


  • CHAPTER TWO -- [Total Page(s) 6]

    Page 1 of 6

    1 2 3 4 5    Next
    • ABSRACT - [ Total Page(s): 1 ]ABSTRACT    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 ... Continue reading---

         

      APPENDIX A - [ Total Page(s): 3 ]APPENDIXROUTINE PROGRAME THAT HANDLES COUNTINGPROGRAMMING CODE ... Continue reading---

         

      LIST OF TABLES - [ Total Page(s): 1 ]LIST OF TABLE Table      TABLE: 2.2.3    CONVERTING DIGITS TO SEVEN SEGMENT DISPLAY BITS   TABLE 4.2:     VOLTAGE REGULATOR TEST RESULT  ... Continue reading---

         

      LIST OF FIGURES - [ Total Page(s): 1 ]LIST OF FIGURESFigure      FIG.1.0     THE PIC16F877 INTERNAL STRUCTURE FIG 2.0    BLOCK DIAGRAM OF A DIGITAL CLOCK WITH CALENDAR DISPLAY    FIG. 2.2.1    POWER SUPPLY UNIT   FIG. 2.2.2    MICROCONTROLLER UNIT  FIG2.2.3     SEVEN SEGMENT DISPLAY  FIG 2.2.4a     MASKING OF SEVEN SEGMENT DISPLAY  FIG 2.2.4b    SCANNING AND MULTIPLEXING OF SEVEN SEGMENT DISPLAY   FIG 3.0     BLOCKS DIAGRAM OF THE STAGES IN DIGITAL CLOCK WITH CALENDAR  FIG 3.1     CIRC ... Continue reading---

         

      TABLE OF CONTENTS - [ Total Page(s): 1 ]TABLE OF CONTENT Title Page     Certification    Dedication  Acknowledgement         Abstract        Table of Contents   List of Table    List of Figure  CHAPTER ONE1.0    INTRODUCTION    1.1    BRIEF DISCUSSION ON CLOCK   1.1    AIM     1.2    OBJECTIVES    1.3    UNITS OF THE SYSTEM    1.3.1    HARDWARE PART  1.3.2    SOFTWARE PART  CHAPTER TWO2.0    LITERATURE REVIEW   2.1    HARDWARE COMPONENTS  2.2        STAGES IN ... Continue reading---

         

      CHAPTER ONE - [ Total Page(s): 3 ]    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 pro ... Continue reading---

         

      CHAPTER THREE - [ Total Page(s): 6 ]ROM is used to permanently save the program being currently executed. This is why it is often called a ‘program memory’. The PIC16F877 has 8Kb of ROM (8192 locations in total). Since ROM is made with FLASH technology, its contents can be easily changed by providing a special programming voltage (13V).No further explanations are required as the whole process is performed automatically by means of a special program installed on the PC and a simple electronic device called the programm ... Continue reading---

         

      CHAPTER FOUR - [ Total Page(s): 3 ]CHAPTER FOUR4.0    THE CONSTRUCTION    After proper design and calculations for each stage, the components were obtained and connected together on a breed board and tested to ensure that the circuit connections were okay before it was transferred to the vero-board and soldered. The construction of each unit was carried out stage by stage with proper testing after each completion. The construction started from the power supply unit to the visual display unit and the casing.During soldering, ... Continue reading---

         

      CHAPTER FIVE - [ Total Page(s): 1 ]CHAPTER FIVE5.0    CONCLUSION    This digital clock is designed to display real time clock and calendar. There were lots of problems encountered while working on this project. These include generating clock signal of 1sec from 4Mz clock signal of the MCU, Synchronizing the timing along with the scanning of the display simultaneously and writing code fired into the microcontroller. Other problems encountered include choice of components, obtaining and interpreting datasheet of components fo ... Continue reading---

         

      REFRENCES - [ Total Page(s): 1 ]REFERENCESEvans C. H. (2007) Amplifiers (Electronics) New York, van Nestraud Rinold, New York. Hughes E. (2003): Hughes Electrical, 6th Edition. Harlow Longman scientific and technology.Integrated Electronics, M. C. Grewhill book by Robert B. S. Company (2008) Ivo Adanand Jacques Resing, The Queueing theory (2002), Department of Mathematics and Computer science, Eindhoven University of Technology, Eindhoven, The Netherlands.Paul H. & Winfield H (2000). The Art of Electronics, 2nd edition. Cambri ... Continue reading---