• Design And Construction Of A Digital Clock With Calendar

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

    Page 4 of 6

    Previous   1 2 3 4 5 6    Next

    • The values in road registers are in binary values. This value is decoded in subroutine written for this purpose.     A disappointing fact which indicates that the microcontroller is just a kind of miniature computer designed to understand only the language of zeros and ones is fully expressed when displaying digits. Namely, the microcontroller does not know what units, tens or hundreds are, nor what ten digits we are used to look like. For this reason, each number to be displayed must undergo the following procedure:
      First of all, a multi digit number must be split into units, tens etc. in a specialized subroutine. Then each of these digits must be stored in a specific byte. Digits get recognizable appearance for humans by performing a simple procedure called ‘masking’. In other words, a binary number is replaced with a different combination of bits. For example, digit 8 (0000 1000) is replaced with the binary number 0111 1111 in order to activate all LEDs displaying this digit. The only diode remaining inactive here is reserved for the decimal point.
      If the microcontroller port is connected to a display so as that bit 0 activates segment ‘a’, bit 1 activates segment ‘b’, bit 2 segment ‘c’ etc., then table below shows appropriate binary mask for each digit.

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

    Page 4 of 6

    Previous   1 2 3 4 5 6    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---