SlideShare a Scribd company logo
1 of 18
Download to read offline
PRE-SETTABLE ALARM SYSTEM
ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072)
                               N.Sindhuja (11509106070)
              Department of Electronics communication & engineering
             SRIRAM ENGINEERING COLLEGE, PERUMALPATTU




                            PROJECT REPORT
             EC2308 Microprocessor and Microcontroller Lab
                                       Guided By
                              Ms Philomena Jennifer
                                    Lecturer, ECE
                                   Date: 28/09/2011
PRE-SETTABLE ALARM SYSTEM
ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja (11509106070)




                                         ABSTRACT

              Our Term Project is to study and implement a PRE-SETTABLE ALARM
            SYSTEM using 8253/8254 timer and 8086 Microprocessor .We have
            approached this design without using interrupts and it mainly involves the
            use of thumbwheel switches which are interfaced through 8255 ports. The
            alarm lasts for 5 seconds .The timing parameters are derived from
            8253/54and control signals are generated using 74LS138.




EC2308 Microprocessors and Microcontrollers                                                                  Page 2
PRE-SETTABLE ALARM SYSTEM
ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja (11509106070)




                                 ACKNOWLEDGEMENT


    Our indebted thanks to our respected Dean Prof V.Thyagarajan, to do this project
work. We express our sincere thanks to our Head of the department, Mr.V.Salaiselvam
M.E. (PhD) who has helped us to take this invaluable project. We express our sincere
thanks to our guide Ms PHILOMENA JENNIFER, Lecturer ECE for the untiring
continued technical guidance during the fabrication and preparation of the Project. This is a
major motivation force for us to complete our project work.




EC2308 Microprocessors and Microcontrollers                                                                  Page 3
PRE-SETTABLE ALARM SYSTEM
                                     SETTABLE
ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja (11509106070)




             SRIRAM ENGINEERING COLLEGE
                         Perumalpattu, Thiruvallur Taluk - 602024
   (Approved by AICTE, Affiliated to Anna University Chennai and Accredited by NBA)




     REGISTER NO:                    11509106086, 11509106074, 11509106072, 11509106070


                                       MINI PROJECT REPORT
                                             2011 – 2012
Name of lab: EC2308 MICROPROCESSOR AND MICROCONTROLLERS
                  8
Department: ELECTRONICS AND COMMUNICATION


       Certified that this is a bonafide record of work done by VINI NARAYANANKUTTY, SUBHRATA
SARANGI, P.SOWMIYA,N.SINDHUJA Of 3RD YEAR 5TH SEMESTER Class, having completed the Mini
Project with his team members on the topic “PRE-SETTABLE ALARM SYSTEM          SYSTEM”. In the
MICROPROCESSOR AND MICROCONTROLLER LAB during the year 2011 – 2012.


Submitted for the Demonstration held on: 28/09/2011
                                       : 28




Signature of Head of dept:                                          Signature of lab-in-charge:
                                                                                 lab charge:




EC2308 Microprocessors and Microcontrollers                                                                  Page 4
PRE-SETTABLE ALARM SYSTEM
ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja (11509106070)




                                  TABLE OF CONTENTS


              1. Introduction
                    1.1Design Description

              2. Pre-settable Alarm System
                                           2.1 Block diagram
                                           2.2 Pin diagram and description
                                           2.3 Signal specification
                                           2.4 Address map
                                           2.5 Control word formats


             3. Program Coding

                          3.1 Coding
                          3.2 Delay Routine

            4. Conclusion

                            4.1 Advantage of Pre-settable alarm system


             5. References




EC2308 Microprocessors and Microcontrollers                                                                  Page 5
PRE-SETTABLE ALARM SYSTEM
ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja
(11509106070)



                                INTRODUCTION

         An electronic alarm timepiece has a time counter, an alarm time memory
circuit and a coincidence detector for detecting a coincidence between the time
count and the stored alarm time for actuating an alarm. The alarm time memory
circuit is a pre-settable counter and it is pre-settable to load the present time count
in the time counter therein. In this way, a coarse adjustment of the alarm time can
be set and a manually operable mechanism is provided to increment the count in
the alarm time memory circuit to obtain the precise desired alarm time. There are
various types of alarm system available in the market.




                          1.1 Design Description

We go with design of simple pre-settable alarm system with alarm lasting for 5
seconds using 8253/54 timer and 8086 microprocessor without using interrupt. We
implement our design with thumbwheel switches to accept 4 digit values in
seconds. These switches are interfaced through 8255 ports. .A delay of 5 seconds is
provided in between each alarm by means of a delay routine.74LS138 decoder is
used to generate chip select signals for 8253/54 and 8255.One more 74LS138
decoder is used to generate     ,      ,        and




EC2308 Microprocessors and Microcontrollers                                                 Page 6
PRE-SETTABLE ALARM SYSTEM
ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja
(11509106070)




            PRE-SETTABLE ALARM SYSTEM


                                    2.1 Block diagram




EC2308 Microprocessors and Microcontrollers                                                 Page 7
PRE-SETTABLE ALARM SYSTEM
ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja
(11509106070)


                          2.2 Pin diagram and description

   A. 8253/54




Clock This is the clock input for the counter. The counter is 16 bits. The maximum
clock frequency is 1 / 380 nanoseconds or 2.6 megahertz. The minimum clock
frequency is DC or static operation.

Out This single output line is the signal that is the final programmed output of the
device. Actual operation of the outline depends on how the device has been
programmed.

Gate This input can act as a gate for the clock input line, or it can act as a start
pulse, depending on the programmed mode of the counter.




EC2308 Microprocessors and Microcontrollers                                                 Page 8
PRE-SETTABLE ALARM SYSTEM
ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja
(11509106070)




EC2308 Microprocessors and Microcontrollers                                                 Page 9
PRE-SETTABLE ALARM SYSTEM
ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja
(11509106070)


   B. 8255




   1 D0 - D7 These are the data input/output lines for the device. All information
     read from and written to the 8255 occurs via these 8 data lines.

   2      (Chip Select Input). If this line is a logical 0, the microprocessor can read
       and               write                 to                the             8255.

   3       (Read Input): whenever this input line is a logical 0 and the RD input is
       a logical 0, the 8255 data outputs are enabled onto the system data bus.

   4       (Write Input) Whenever this input line is a logical 0 and the CS input is
       a logical 0, data is written to the 8255 from the system data bus

   5 A0 - A1 (Address Inputs): The logical combination of these two input lines
     determines which internal register of the 8255 data is written to or read
     from.

   6 RESET The 8255 is placed into its reset state if this input line is a logical 1.
     All peripheral ports are set to the input mode.




EC2308 Microprocessors and Microcontrollers                                                Page 10
PRE-SETTABLE ALARM SYSTEM
ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja
(11509106070)


   7 PA0 - PA7, PB0 - PB7, and PC0 - PC7: These signal lines are used as 8-bit
       I/O ports. They can be connected to peripheral devices.




                                 2.3 Signal specification

        The figure shows interfacing of 8253/54 with 8086 with 16-bit address.




           Here      and       signals are activated when M/        signal is low,
indicating I/O Bus cycle. To get absolute address, all remaining address lines (A3-
A15) are used to decode the address for it. In order to access it we must use
indirect addressing modes




EC2308 Microprocessors and Microcontrollers                                                Page 11
PRE-SETTABLE ALARM SYSTEM
ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja
(11509106070)




                                     2.4 Address map


        The address map shows how addresses have been allocated for memory
and any other devices connected to the address bus.


Ports/Control Register                          Address lines                            Address

                                    A7 A6 A5 A4 A3 A2 A1 A0

Counter 0                           0      0     0      0      0     0      0      0     00H
Counter 1                           0      0     0      0      0     0      1      0     02H
Counter 2                           0      0     0      0      0     1      0      0     04H
Control register                    0      0     0      0      0     1      1      0     06H
Port A                              0      0     0      0      1     0      0      0     08H
Port B                              0      0     0      0      1     0      1      0     0AH
Port C                              0      0     0      0      1     1      0      0     0CH
Control register                    0      0     0      0      1     1      1      0     0EH




EC2308 Microprocessors and Microcontrollers                                                Page 12
PRE-SETTABLE ALARM SYSTEM
ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja
(11509106070)




                              2.5 Control Word Format


1. Control word to Read/write value in count register of counter 0 of 8253/54
D7          D6           D5          D4           D3           D2          D1           D0
SC1         SC2          RW1         RW0          M2           M1          M0           BCD
0           0            1           1            0            0           0            1

Control word =31H
D0=1          ; BCD count
D3, D4, D5=000; Mode: interrupt on terminal count
D5, D4=11     ; Read/write lower byte first and then higher byte
D7, D6=00     ; Counter 0


2. Control word to Read/write value in count register of counter 1 of 8253/54

D7          D6           D5          D4           D3           D2          D1           D0
SC1         SC2          RW1         RW0          M2           M1          M0           BCD
0           1            1           1            0            1           1            1

Control word =77H
D0=1          ; BCD count
D3, D4, D5=011; Mode: Square Wave Rate Generator
D5, D4=11     ; Read/write lower byte first and then higher byte
D7, D6=01     ; Counter 1




EC2308 Microprocessors and Microcontrollers                                                Page 13
PRE-SETTABLE ALARM SYSTEM
ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja
(11509106070)




3. Control word to latch value in count register of counter 0 of 8253/54

D7          D6           D5          D4           D3           D2          D1           D0
SC1         SC2          RW1         RW0          M2           M1          M0           BCD
0           0            0           0            0            0           0            1

Control word =01H
D0=1          ; BCD count
D3, D4, D5=000; Mode: interrupt on terminal count
D5, D4=00     ; Counter latch command
D7, D6=00     ; Counter 0

4. Control word to latch value in count register of counter 2 of 8253/54

D7          D6           D5          D4           D3           D2          D1           D0
SC1         SC2          RW1         RW0          M2           M1          M0           BCD
1           0            0           0            0            0           0            1

Control word =81H
D0=1          ; BCD count
D3, D4, D5=000; Mode: interrupt on terminal count
D5, D4=11     ; Counter latch command
D7, D6=10     ; Counter 2




EC2308 Microprocessors and Microcontrollers                                                Page 14
PRE-SETTABLE ALARM SYSTEM
ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja
(11509106070)




4. Control word to latch value in count register of counter 2 of 8253/54

D7          D6           D5          D4           D3           D2          D1           D0
SC1         SC2          RW1         RW0          M2           M1          M0           BCD
1           0            1           1            0            0           0            1

Control word =B1H
D0=1          ; BCD count
D3, D4, D5=000; Mode: interrupt on terminal count
D5, D4=11     ; Read back command in 8254
D7, D6=10     ; Counter 2

5. Control word to INITIALISE 8255:

BSR/IO             MODE A              PA          PCH MODE B PB                         PCL
1      0             0                 1           0   0      1                          0

Control word =92H
BSR/IO=1            ; IO Mode
MODE A=00; Mode0
PA=1; Port A=simple input
PCH=0, PCL=0; Port C=simple output
PB=1; Port B=simple input




EC2308 Microprocessors and Microcontrollers                                                Page 15
PRE-SETTABLE ALARM SYSTEM
ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja
(11509106070)


                          3. PROGRAM CODING

3.1    Main Program Coding

            MOV AL, 92H; Load control word in accumulator
            OUT 0EH, AL; Initialize 8255 by sending control word at the addresses of
                     Control register
 START: IN AL, 08H; Get the lower two digit of count
         MOV BL, AL; Store the lower two digit of the count
         IN AL, 0AH; Get the higher two digit of count
         MOV BH, AL; Store the higher two digit of the count
            MOV AL, 31H
            OUT 06, AL; Load control word (31H) in the control register to load 16-bit
                               Count in count register of counter 0
        MOV AL, BL
       OUT 00, AL; Loads lower byte of the count
       MOV AL, BH
       OUT 00, AL; Loads higher byte of the count
 BACK MOV AL, 01H;
 BACK:
       OUT 06, AL; Load control word (01H) in the control register to load 16-bit
                            Count in count register of counter 0
            IN AL, 00H; Get the lower two digit of count
            CMP AL, 00H; Compare with zero
           JNZ BACK; Repeat
            IN AL, 00H; Get the higher two digit of count
           CMP AL, 00H; Compare with zero
           JNZ BACK; Repeat
               BACK;
           MOV AL, 01H; Load bit pattern to run alarm
           OUT 0CH, AL; send it to Port C
           CALL DELAY; Wait for 5 seconds
           MOV AL, 00H; Load bit pattern to stop alarm
           OUT 0CH, AL; send it to Port C
           JMP START; Repeat
                START;


3.2    Delay Routine

EC2308 Microprocessors and Microcontrollers                                                Page 16
PRE-SETTABLE ALARM SYSTEM
ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja
(11509106070)



            This delay routine gives a delay of 5 seconds. Counter 1 of 8253/54 is
       used to give delay of 1 second. As output of counter1 is used as a clock for
       counter2, the count in the counter2 acts as a multiplying factor. Therefore,
       by loading 05H in the count register of counter 2 we get a delay of (5×1)
       seconds.

      MOV AL, 77H
      OUT 06, AL; Loads control word (71H) in the control register
      MOV AL, 10H
      OUT 02, AL
      MOV AL, 27H
      OUT 02H
      MOV AL, B1H
      OUT 06H, AL
      MOV AL, 05H
      OUT 04, AL; Loads lower byte of the count
      MOV AL, 00H; Loads higher byte of the count
      OUT 04, AL
BACK MOV AL, 81H
BACK:
      OUT 06, AL; Loads control word (81H) in the control register to latch
                     16-bit count in the count registers of counter 2
        IN AL, 04H; Get lower two digits of the count
        CMP AL, 00H; Compare with zero
        JNZ BACK If not zero, repeat
            BACK:
        IN AL, 04H; Get the higher two digits of the count
        CMP AL, 00H; Compare with zero

        JNZ BACK If not zero, repeat
            BACK:
        RET; Return to main program




EC2308 Microprocessors and Microcontrollers                                                Page 17
PRE-SETTABLE ALARM SYSTEM
ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja
(11509106070)




                                 4. CONCLUSION


       4.1 Advantages


        1. Simple to design.
        2. Reduces the need of using Schmitt –trigger NAND gate usually used in
           alarms.




                                 5. REFERENCES

   1 Pre-settable alarm clock-Wikipedia.
   2 www.seminarprojects.com
   3 Microprocessors and interfacing: Programming and hardware
     Douglas V. Hall




EC2308 Microprocessors and Microcontrollers                                                Page 18

More Related Content

What's hot

Electronics seminar topics
Electronics seminar topicsElectronics seminar topics
Electronics seminar topics123seminarsonly
 
Question paper with solution the 8051 microcontroller based embedded systems...
Question paper with solution  the 8051 microcontroller based embedded systems...Question paper with solution  the 8051 microcontroller based embedded systems...
Question paper with solution the 8051 microcontroller based embedded systems...manishpatel_79
 
DAC-digital to analog converter
DAC-digital to analog converterDAC-digital to analog converter
DAC-digital to analog converterShazid Reaj
 
Design challenges in embedded systems
Design challenges in embedded systemsDesign challenges in embedded systems
Design challenges in embedded systemsmahalakshmimalini
 
NYQUIST CRITERION FOR ZERO ISI
NYQUIST CRITERION FOR ZERO ISINYQUIST CRITERION FOR ZERO ISI
NYQUIST CRITERION FOR ZERO ISIFAIZAN SHAFI
 
Overlap save method and overlap add method in dsp
Overlap save method and overlap add method in dspOverlap save method and overlap add method in dsp
Overlap save method and overlap add method in dspchitra raju
 
Automatic doorbell with object detection
Automatic doorbell with object detectionAutomatic doorbell with object detection
Automatic doorbell with object detectionAnurag Alaria
 
Windowing techniques of fir filter design
Windowing techniques of fir filter designWindowing techniques of fir filter design
Windowing techniques of fir filter designRohan Nagpal
 
Coherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASKCoherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASKnaimish12
 
PROJECT REPORT ON Home automation using by Bluetooth
 PROJECT REPORT ON Home automation using by Bluetooth PROJECT REPORT ON Home automation using by Bluetooth
PROJECT REPORT ON Home automation using by BluetoothAakashkumar276
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller pptRahul Kumar
 
VHDL-PRESENTATION.ppt
VHDL-PRESENTATION.pptVHDL-PRESENTATION.ppt
VHDL-PRESENTATION.pptDr.YNM
 
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSORTRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSORSubash Sambath Kumar
 
Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital ConvertersAnas Smarty
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital convertershrutishreya14
 
Fundamentals of digital electronics
 Fundamentals of digital electronics Fundamentals of digital electronics
Fundamentals of digital electronicssandeep patil
 

What's hot (20)

Electronics seminar topics
Electronics seminar topicsElectronics seminar topics
Electronics seminar topics
 
Question paper with solution the 8051 microcontroller based embedded systems...
Question paper with solution  the 8051 microcontroller based embedded systems...Question paper with solution  the 8051 microcontroller based embedded systems...
Question paper with solution the 8051 microcontroller based embedded systems...
 
Mini Project Communication Link Simulation Digital Modulation Techniques Lec...
Mini Project Communication Link Simulation  Digital Modulation Techniques Lec...Mini Project Communication Link Simulation  Digital Modulation Techniques Lec...
Mini Project Communication Link Simulation Digital Modulation Techniques Lec...
 
DAC-digital to analog converter
DAC-digital to analog converterDAC-digital to analog converter
DAC-digital to analog converter
 
ADC and DAC Best Ever Pers
ADC and DAC Best Ever PersADC and DAC Best Ever Pers
ADC and DAC Best Ever Pers
 
Design challenges in embedded systems
Design challenges in embedded systemsDesign challenges in embedded systems
Design challenges in embedded systems
 
LTI system causality and stability
LTI system   causality and stabilityLTI system   causality and stability
LTI system causality and stability
 
NYQUIST CRITERION FOR ZERO ISI
NYQUIST CRITERION FOR ZERO ISINYQUIST CRITERION FOR ZERO ISI
NYQUIST CRITERION FOR ZERO ISI
 
Overlap save method and overlap add method in dsp
Overlap save method and overlap add method in dspOverlap save method and overlap add method in dsp
Overlap save method and overlap add method in dsp
 
Automatic doorbell with object detection
Automatic doorbell with object detectionAutomatic doorbell with object detection
Automatic doorbell with object detection
 
Windowing techniques of fir filter design
Windowing techniques of fir filter designWindowing techniques of fir filter design
Windowing techniques of fir filter design
 
Coherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASKCoherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASK
 
PROJECT REPORT ON Home automation using by Bluetooth
 PROJECT REPORT ON Home automation using by Bluetooth PROJECT REPORT ON Home automation using by Bluetooth
PROJECT REPORT ON Home automation using by Bluetooth
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller ppt
 
VHDL-PRESENTATION.ppt
VHDL-PRESENTATION.pptVHDL-PRESENTATION.ppt
VHDL-PRESENTATION.ppt
 
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSORTRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
 
Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital Converters
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converter
 
Fundamentals of digital electronics
 Fundamentals of digital electronics Fundamentals of digital electronics
Fundamentals of digital electronics
 
Delta Modulation
Delta ModulationDelta Modulation
Delta Modulation
 

Viewers also liked

Smart door project ppt shivnaresh likhar
Smart door project ppt shivnaresh likharSmart door project ppt shivnaresh likhar
Smart door project ppt shivnaresh likharShivnaresh Likhar
 
Automatic temperature control using 8085 microprocessor
Automatic temperature control using 8085 microprocessorAutomatic temperature control using 8085 microprocessor
Automatic temperature control using 8085 microprocessorsubhradeep mitra
 
Automatic Sliding Door
Automatic Sliding DoorAutomatic Sliding Door
Automatic Sliding DoorPrashant Rao
 
Number Guessing Game - A 8085 Project
Number Guessing Game - A 8085 ProjectNumber Guessing Game - A 8085 Project
Number Guessing Game - A 8085 ProjectSneh Pahilwani
 
Micro Processor Mini Project,Electronic Quiz Table
Micro Processor Mini Project,Electronic Quiz TableMicro Processor Mini Project,Electronic Quiz Table
Micro Processor Mini Project,Electronic Quiz TableSubhashini Sundaram
 
PART -1 TRAFFIC LIGHT CONTROL USING 8085
PART -1 TRAFFIC LIGHT CONTROL USING 8085PART -1 TRAFFIC LIGHT CONTROL USING 8085
PART -1 TRAFFIC LIGHT CONTROL USING 8085Subash Sambath Kumar
 
Microprocessor-Based Automatic Door Opener
Microprocessor-Based Automatic Door OpenerMicroprocessor-Based Automatic Door Opener
Microprocessor-Based Automatic Door OpenerJitendra Choudhary
 
PLC based Multichannel Automatic Liquid Level Controller
PLC based Multichannel Automatic Liquid Level ControllerPLC based Multichannel Automatic Liquid Level Controller
PLC based Multichannel Automatic Liquid Level ControllerVijay Badgujar
 
Sample Acknowledgement of Project Report
Sample Acknowledgement of Project ReportSample Acknowledgement of Project Report
Sample Acknowledgement of Project ReportMBAnetbook.co.in
 
Microprocessor based Temperature Controller
Microprocessor based Temperature ControllerMicroprocessor based Temperature Controller
Microprocessor based Temperature ControllerRevanth Reddy
 
List of microcontroller 8051 projects
List of microcontroller 8051 projectsList of microcontroller 8051 projects
List of microcontroller 8051 projectsSushil Mishra
 
Microprocessor and Application (8085)
Microprocessor and Application (8085)Microprocessor and Application (8085)
Microprocessor and Application (8085)ufaq kk
 
Applications of microprocessor
Applications of microprocessorApplications of microprocessor
Applications of microprocessorAnjali Agrawal
 
Electronic code lock device
Electronic code lock deviceElectronic code lock device
Electronic code lock deviceAmitoj Kaur
 
Password based door lock system using 8051 microcontroller final report
Password based door lock system using 8051 microcontroller final reportPassword based door lock system using 8051 microcontroller final report
Password based door lock system using 8051 microcontroller final reportChinaraja Baratam
 
Temp based fan speed control
Temp based fan speed controlTemp based fan speed control
Temp based fan speed controlSai Malleswar
 
The Intel 8086 microprocessor
The Intel 8086 microprocessorThe Intel 8086 microprocessor
The Intel 8086 microprocessorGeorge Thomas
 

Viewers also liked (20)

Smart door project ppt shivnaresh likhar
Smart door project ppt shivnaresh likharSmart door project ppt shivnaresh likhar
Smart door project ppt shivnaresh likhar
 
Project ppt
Project pptProject ppt
Project ppt
 
Automatic temperature control using 8085 microprocessor
Automatic temperature control using 8085 microprocessorAutomatic temperature control using 8085 microprocessor
Automatic temperature control using 8085 microprocessor
 
Automatic Sliding Door
Automatic Sliding DoorAutomatic Sliding Door
Automatic Sliding Door
 
Number Guessing Game - A 8085 Project
Number Guessing Game - A 8085 ProjectNumber Guessing Game - A 8085 Project
Number Guessing Game - A 8085 Project
 
Micro Processor Mini Project,Electronic Quiz Table
Micro Processor Mini Project,Electronic Quiz TableMicro Processor Mini Project,Electronic Quiz Table
Micro Processor Mini Project,Electronic Quiz Table
 
PART -1 TRAFFIC LIGHT CONTROL USING 8085
PART -1 TRAFFIC LIGHT CONTROL USING 8085PART -1 TRAFFIC LIGHT CONTROL USING 8085
PART -1 TRAFFIC LIGHT CONTROL USING 8085
 
Microprocessor-Based Automatic Door Opener
Microprocessor-Based Automatic Door OpenerMicroprocessor-Based Automatic Door Opener
Microprocessor-Based Automatic Door Opener
 
PLC based Multichannel Automatic Liquid Level Controller
PLC based Multichannel Automatic Liquid Level ControllerPLC based Multichannel Automatic Liquid Level Controller
PLC based Multichannel Automatic Liquid Level Controller
 
Sample Acknowledgement of Project Report
Sample Acknowledgement of Project ReportSample Acknowledgement of Project Report
Sample Acknowledgement of Project Report
 
Microprocessor based Temperature Controller
Microprocessor based Temperature ControllerMicroprocessor based Temperature Controller
Microprocessor based Temperature Controller
 
List of microcontroller 8051 projects
List of microcontroller 8051 projectsList of microcontroller 8051 projects
List of microcontroller 8051 projects
 
Microprocessor and Application (8085)
Microprocessor and Application (8085)Microprocessor and Application (8085)
Microprocessor and Application (8085)
 
Applications of microprocessor
Applications of microprocessorApplications of microprocessor
Applications of microprocessor
 
Lcd
LcdLcd
Lcd
 
Electronic code lock device
Electronic code lock deviceElectronic code lock device
Electronic code lock device
 
Password based door lock system using 8051 microcontroller final report
Password based door lock system using 8051 microcontroller final reportPassword based door lock system using 8051 microcontroller final report
Password based door lock system using 8051 microcontroller final report
 
Complete-Mini-Project-Report
Complete-Mini-Project-ReportComplete-Mini-Project-Report
Complete-Mini-Project-Report
 
Temp based fan speed control
Temp based fan speed controlTemp based fan speed control
Temp based fan speed control
 
The Intel 8086 microprocessor
The Intel 8086 microprocessorThe Intel 8086 microprocessor
The Intel 8086 microprocessor
 

Similar to Ec2308 mini project

FINAL REPORT_B.tech
FINAL REPORT_B.techFINAL REPORT_B.tech
FINAL REPORT_B.techafzal usmani
 
Report on automatic door
Report on automatic doorReport on automatic door
Report on automatic doorIndira Kundu
 
56211728 automatic-room-light-controller-with-bidirectional-visitor-counter
56211728 automatic-room-light-controller-with-bidirectional-visitor-counter56211728 automatic-room-light-controller-with-bidirectional-visitor-counter
56211728 automatic-room-light-controller-with-bidirectional-visitor-counterAnn Francis Olita
 
RGB colour detection and tracking on MATLAB
RGB colour detection and tracking on MATLABRGB colour detection and tracking on MATLAB
RGB colour detection and tracking on MATLABNirma University
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Scienceresearchinventy
 
Implementation of Transformer Protection by Intelligent Electronic Device for...
Implementation of Transformer Protection by Intelligent Electronic Device for...Implementation of Transformer Protection by Intelligent Electronic Device for...
Implementation of Transformer Protection by Intelligent Electronic Device for...IJERA Editor
 
Backpropagation Neural Network Modeling for Fault Location in Transmission Li...
Backpropagation Neural Network Modeling for Fault Location in Transmission Li...Backpropagation Neural Network Modeling for Fault Location in Transmission Li...
Backpropagation Neural Network Modeling for Fault Location in Transmission Li...ijeei-iaes
 
cell phone based device control
cell phone based device controlcell phone based device control
cell phone based device controlstudent
 
Microcontroller Based Obstacle Detection Device Using Voice Signal for the V...
Microcontroller Based Obstacle Detection Device Using Voice  Signal for the V...Microcontroller Based Obstacle Detection Device Using Voice  Signal for the V...
Microcontroller Based Obstacle Detection Device Using Voice Signal for the V...IJMER
 
75600403 automatic-plant-irrigation-system
75600403 automatic-plant-irrigation-system75600403 automatic-plant-irrigation-system
75600403 automatic-plant-irrigation-systemstk25
 
Fpga implementation of power efficient all digital phase locked loop
Fpga implementation of power efficient all digital phase locked loopFpga implementation of power efficient all digital phase locked loop
Fpga implementation of power efficient all digital phase locked loopIAEME Publication
 
Ls catalog thiet bi tu dong dpr e_dienhathe.vn
Ls catalog thiet bi tu dong dpr e_dienhathe.vnLs catalog thiet bi tu dong dpr e_dienhathe.vn
Ls catalog thiet bi tu dong dpr e_dienhathe.vnDien Ha The
 
laser security alarm thesis
laser security alarm thesislaser security alarm thesis
laser security alarm thesisyash kumar singh
 

Similar to Ec2308 mini project (20)

Main cerificate
Main cerificateMain cerificate
Main cerificate
 
Micro unit 8
Micro unit 8Micro unit 8
Micro unit 8
 
complet finalised
complet finalisedcomplet finalised
complet finalised
 
FINAL REPORT_B.tech
FINAL REPORT_B.techFINAL REPORT_B.tech
FINAL REPORT_B.tech
 
Report on automatic door
Report on automatic doorReport on automatic door
Report on automatic door
 
Singh2017
Singh2017Singh2017
Singh2017
 
56211728 automatic-room-light-controller-with-bidirectional-visitor-counter
56211728 automatic-room-light-controller-with-bidirectional-visitor-counter56211728 automatic-room-light-controller-with-bidirectional-visitor-counter
56211728 automatic-room-light-controller-with-bidirectional-visitor-counter
 
RGB colour detection and tracking on MATLAB
RGB colour detection and tracking on MATLABRGB colour detection and tracking on MATLAB
RGB colour detection and tracking on MATLAB
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Science
 
Download file
Download fileDownload file
Download file
 
Team7 report
Team7 reportTeam7 report
Team7 report
 
Implementation of Transformer Protection by Intelligent Electronic Device for...
Implementation of Transformer Protection by Intelligent Electronic Device for...Implementation of Transformer Protection by Intelligent Electronic Device for...
Implementation of Transformer Protection by Intelligent Electronic Device for...
 
Backpropagation Neural Network Modeling for Fault Location in Transmission Li...
Backpropagation Neural Network Modeling for Fault Location in Transmission Li...Backpropagation Neural Network Modeling for Fault Location in Transmission Li...
Backpropagation Neural Network Modeling for Fault Location in Transmission Li...
 
M010527678
M010527678M010527678
M010527678
 
cell phone based device control
cell phone based device controlcell phone based device control
cell phone based device control
 
Microcontroller Based Obstacle Detection Device Using Voice Signal for the V...
Microcontroller Based Obstacle Detection Device Using Voice  Signal for the V...Microcontroller Based Obstacle Detection Device Using Voice  Signal for the V...
Microcontroller Based Obstacle Detection Device Using Voice Signal for the V...
 
75600403 automatic-plant-irrigation-system
75600403 automatic-plant-irrigation-system75600403 automatic-plant-irrigation-system
75600403 automatic-plant-irrigation-system
 
Fpga implementation of power efficient all digital phase locked loop
Fpga implementation of power efficient all digital phase locked loopFpga implementation of power efficient all digital phase locked loop
Fpga implementation of power efficient all digital phase locked loop
 
Ls catalog thiet bi tu dong dpr e_dienhathe.vn
Ls catalog thiet bi tu dong dpr e_dienhathe.vnLs catalog thiet bi tu dong dpr e_dienhathe.vn
Ls catalog thiet bi tu dong dpr e_dienhathe.vn
 
laser security alarm thesis
laser security alarm thesislaser security alarm thesis
laser security alarm thesis
 

Recently uploaded

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 

Recently uploaded (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 

Ec2308 mini project

  • 1. PRE-SETTABLE ALARM SYSTEM ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja (11509106070) Department of Electronics communication & engineering SRIRAM ENGINEERING COLLEGE, PERUMALPATTU PROJECT REPORT EC2308 Microprocessor and Microcontroller Lab Guided By Ms Philomena Jennifer Lecturer, ECE Date: 28/09/2011
  • 2. PRE-SETTABLE ALARM SYSTEM ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja (11509106070) ABSTRACT Our Term Project is to study and implement a PRE-SETTABLE ALARM SYSTEM using 8253/8254 timer and 8086 Microprocessor .We have approached this design without using interrupts and it mainly involves the use of thumbwheel switches which are interfaced through 8255 ports. The alarm lasts for 5 seconds .The timing parameters are derived from 8253/54and control signals are generated using 74LS138. EC2308 Microprocessors and Microcontrollers Page 2
  • 3. PRE-SETTABLE ALARM SYSTEM ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja (11509106070) ACKNOWLEDGEMENT Our indebted thanks to our respected Dean Prof V.Thyagarajan, to do this project work. We express our sincere thanks to our Head of the department, Mr.V.Salaiselvam M.E. (PhD) who has helped us to take this invaluable project. We express our sincere thanks to our guide Ms PHILOMENA JENNIFER, Lecturer ECE for the untiring continued technical guidance during the fabrication and preparation of the Project. This is a major motivation force for us to complete our project work. EC2308 Microprocessors and Microcontrollers Page 3
  • 4. PRE-SETTABLE ALARM SYSTEM SETTABLE ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja (11509106070) SRIRAM ENGINEERING COLLEGE Perumalpattu, Thiruvallur Taluk - 602024 (Approved by AICTE, Affiliated to Anna University Chennai and Accredited by NBA) REGISTER NO: 11509106086, 11509106074, 11509106072, 11509106070 MINI PROJECT REPORT 2011 – 2012 Name of lab: EC2308 MICROPROCESSOR AND MICROCONTROLLERS 8 Department: ELECTRONICS AND COMMUNICATION Certified that this is a bonafide record of work done by VINI NARAYANANKUTTY, SUBHRATA SARANGI, P.SOWMIYA,N.SINDHUJA Of 3RD YEAR 5TH SEMESTER Class, having completed the Mini Project with his team members on the topic “PRE-SETTABLE ALARM SYSTEM SYSTEM”. In the MICROPROCESSOR AND MICROCONTROLLER LAB during the year 2011 – 2012. Submitted for the Demonstration held on: 28/09/2011 : 28 Signature of Head of dept: Signature of lab-in-charge: lab charge: EC2308 Microprocessors and Microcontrollers Page 4
  • 5. PRE-SETTABLE ALARM SYSTEM ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja (11509106070) TABLE OF CONTENTS 1. Introduction 1.1Design Description 2. Pre-settable Alarm System 2.1 Block diagram 2.2 Pin diagram and description 2.3 Signal specification 2.4 Address map 2.5 Control word formats 3. Program Coding 3.1 Coding 3.2 Delay Routine 4. Conclusion 4.1 Advantage of Pre-settable alarm system 5. References EC2308 Microprocessors and Microcontrollers Page 5
  • 6. PRE-SETTABLE ALARM SYSTEM ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja (11509106070) INTRODUCTION An electronic alarm timepiece has a time counter, an alarm time memory circuit and a coincidence detector for detecting a coincidence between the time count and the stored alarm time for actuating an alarm. The alarm time memory circuit is a pre-settable counter and it is pre-settable to load the present time count in the time counter therein. In this way, a coarse adjustment of the alarm time can be set and a manually operable mechanism is provided to increment the count in the alarm time memory circuit to obtain the precise desired alarm time. There are various types of alarm system available in the market. 1.1 Design Description We go with design of simple pre-settable alarm system with alarm lasting for 5 seconds using 8253/54 timer and 8086 microprocessor without using interrupt. We implement our design with thumbwheel switches to accept 4 digit values in seconds. These switches are interfaced through 8255 ports. .A delay of 5 seconds is provided in between each alarm by means of a delay routine.74LS138 decoder is used to generate chip select signals for 8253/54 and 8255.One more 74LS138 decoder is used to generate , , and EC2308 Microprocessors and Microcontrollers Page 6
  • 7. PRE-SETTABLE ALARM SYSTEM ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja (11509106070) PRE-SETTABLE ALARM SYSTEM 2.1 Block diagram EC2308 Microprocessors and Microcontrollers Page 7
  • 8. PRE-SETTABLE ALARM SYSTEM ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja (11509106070) 2.2 Pin diagram and description A. 8253/54 Clock This is the clock input for the counter. The counter is 16 bits. The maximum clock frequency is 1 / 380 nanoseconds or 2.6 megahertz. The minimum clock frequency is DC or static operation. Out This single output line is the signal that is the final programmed output of the device. Actual operation of the outline depends on how the device has been programmed. Gate This input can act as a gate for the clock input line, or it can act as a start pulse, depending on the programmed mode of the counter. EC2308 Microprocessors and Microcontrollers Page 8
  • 9. PRE-SETTABLE ALARM SYSTEM ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja (11509106070) EC2308 Microprocessors and Microcontrollers Page 9
  • 10. PRE-SETTABLE ALARM SYSTEM ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja (11509106070) B. 8255 1 D0 - D7 These are the data input/output lines for the device. All information read from and written to the 8255 occurs via these 8 data lines. 2 (Chip Select Input). If this line is a logical 0, the microprocessor can read and write to the 8255. 3 (Read Input): whenever this input line is a logical 0 and the RD input is a logical 0, the 8255 data outputs are enabled onto the system data bus. 4 (Write Input) Whenever this input line is a logical 0 and the CS input is a logical 0, data is written to the 8255 from the system data bus 5 A0 - A1 (Address Inputs): The logical combination of these two input lines determines which internal register of the 8255 data is written to or read from. 6 RESET The 8255 is placed into its reset state if this input line is a logical 1. All peripheral ports are set to the input mode. EC2308 Microprocessors and Microcontrollers Page 10
  • 11. PRE-SETTABLE ALARM SYSTEM ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja (11509106070) 7 PA0 - PA7, PB0 - PB7, and PC0 - PC7: These signal lines are used as 8-bit I/O ports. They can be connected to peripheral devices. 2.3 Signal specification The figure shows interfacing of 8253/54 with 8086 with 16-bit address. Here and signals are activated when M/ signal is low, indicating I/O Bus cycle. To get absolute address, all remaining address lines (A3- A15) are used to decode the address for it. In order to access it we must use indirect addressing modes EC2308 Microprocessors and Microcontrollers Page 11
  • 12. PRE-SETTABLE ALARM SYSTEM ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja (11509106070) 2.4 Address map The address map shows how addresses have been allocated for memory and any other devices connected to the address bus. Ports/Control Register Address lines Address A7 A6 A5 A4 A3 A2 A1 A0 Counter 0 0 0 0 0 0 0 0 0 00H Counter 1 0 0 0 0 0 0 1 0 02H Counter 2 0 0 0 0 0 1 0 0 04H Control register 0 0 0 0 0 1 1 0 06H Port A 0 0 0 0 1 0 0 0 08H Port B 0 0 0 0 1 0 1 0 0AH Port C 0 0 0 0 1 1 0 0 0CH Control register 0 0 0 0 1 1 1 0 0EH EC2308 Microprocessors and Microcontrollers Page 12
  • 13. PRE-SETTABLE ALARM SYSTEM ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja (11509106070) 2.5 Control Word Format 1. Control word to Read/write value in count register of counter 0 of 8253/54 D7 D6 D5 D4 D3 D2 D1 D0 SC1 SC2 RW1 RW0 M2 M1 M0 BCD 0 0 1 1 0 0 0 1 Control word =31H D0=1 ; BCD count D3, D4, D5=000; Mode: interrupt on terminal count D5, D4=11 ; Read/write lower byte first and then higher byte D7, D6=00 ; Counter 0 2. Control word to Read/write value in count register of counter 1 of 8253/54 D7 D6 D5 D4 D3 D2 D1 D0 SC1 SC2 RW1 RW0 M2 M1 M0 BCD 0 1 1 1 0 1 1 1 Control word =77H D0=1 ; BCD count D3, D4, D5=011; Mode: Square Wave Rate Generator D5, D4=11 ; Read/write lower byte first and then higher byte D7, D6=01 ; Counter 1 EC2308 Microprocessors and Microcontrollers Page 13
  • 14. PRE-SETTABLE ALARM SYSTEM ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja (11509106070) 3. Control word to latch value in count register of counter 0 of 8253/54 D7 D6 D5 D4 D3 D2 D1 D0 SC1 SC2 RW1 RW0 M2 M1 M0 BCD 0 0 0 0 0 0 0 1 Control word =01H D0=1 ; BCD count D3, D4, D5=000; Mode: interrupt on terminal count D5, D4=00 ; Counter latch command D7, D6=00 ; Counter 0 4. Control word to latch value in count register of counter 2 of 8253/54 D7 D6 D5 D4 D3 D2 D1 D0 SC1 SC2 RW1 RW0 M2 M1 M0 BCD 1 0 0 0 0 0 0 1 Control word =81H D0=1 ; BCD count D3, D4, D5=000; Mode: interrupt on terminal count D5, D4=11 ; Counter latch command D7, D6=10 ; Counter 2 EC2308 Microprocessors and Microcontrollers Page 14
  • 15. PRE-SETTABLE ALARM SYSTEM ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja (11509106070) 4. Control word to latch value in count register of counter 2 of 8253/54 D7 D6 D5 D4 D3 D2 D1 D0 SC1 SC2 RW1 RW0 M2 M1 M0 BCD 1 0 1 1 0 0 0 1 Control word =B1H D0=1 ; BCD count D3, D4, D5=000; Mode: interrupt on terminal count D5, D4=11 ; Read back command in 8254 D7, D6=10 ; Counter 2 5. Control word to INITIALISE 8255: BSR/IO MODE A PA PCH MODE B PB PCL 1 0 0 1 0 0 1 0 Control word =92H BSR/IO=1 ; IO Mode MODE A=00; Mode0 PA=1; Port A=simple input PCH=0, PCL=0; Port C=simple output PB=1; Port B=simple input EC2308 Microprocessors and Microcontrollers Page 15
  • 16. PRE-SETTABLE ALARM SYSTEM ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja (11509106070) 3. PROGRAM CODING 3.1 Main Program Coding MOV AL, 92H; Load control word in accumulator OUT 0EH, AL; Initialize 8255 by sending control word at the addresses of Control register START: IN AL, 08H; Get the lower two digit of count MOV BL, AL; Store the lower two digit of the count IN AL, 0AH; Get the higher two digit of count MOV BH, AL; Store the higher two digit of the count MOV AL, 31H OUT 06, AL; Load control word (31H) in the control register to load 16-bit Count in count register of counter 0 MOV AL, BL OUT 00, AL; Loads lower byte of the count MOV AL, BH OUT 00, AL; Loads higher byte of the count BACK MOV AL, 01H; BACK: OUT 06, AL; Load control word (01H) in the control register to load 16-bit Count in count register of counter 0 IN AL, 00H; Get the lower two digit of count CMP AL, 00H; Compare with zero JNZ BACK; Repeat IN AL, 00H; Get the higher two digit of count CMP AL, 00H; Compare with zero JNZ BACK; Repeat BACK; MOV AL, 01H; Load bit pattern to run alarm OUT 0CH, AL; send it to Port C CALL DELAY; Wait for 5 seconds MOV AL, 00H; Load bit pattern to stop alarm OUT 0CH, AL; send it to Port C JMP START; Repeat START; 3.2 Delay Routine EC2308 Microprocessors and Microcontrollers Page 16
  • 17. PRE-SETTABLE ALARM SYSTEM ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja (11509106070) This delay routine gives a delay of 5 seconds. Counter 1 of 8253/54 is used to give delay of 1 second. As output of counter1 is used as a clock for counter2, the count in the counter2 acts as a multiplying factor. Therefore, by loading 05H in the count register of counter 2 we get a delay of (5×1) seconds. MOV AL, 77H OUT 06, AL; Loads control word (71H) in the control register MOV AL, 10H OUT 02, AL MOV AL, 27H OUT 02H MOV AL, B1H OUT 06H, AL MOV AL, 05H OUT 04, AL; Loads lower byte of the count MOV AL, 00H; Loads higher byte of the count OUT 04, AL BACK MOV AL, 81H BACK: OUT 06, AL; Loads control word (81H) in the control register to latch 16-bit count in the count registers of counter 2 IN AL, 04H; Get lower two digits of the count CMP AL, 00H; Compare with zero JNZ BACK If not zero, repeat BACK: IN AL, 04H; Get the higher two digits of the count CMP AL, 00H; Compare with zero JNZ BACK If not zero, repeat BACK: RET; Return to main program EC2308 Microprocessors and Microcontrollers Page 17
  • 18. PRE-SETTABLE ALARM SYSTEM ViniNarayanankutty (11509106086), SubhrataSarangi (11509106074), P.Sowmiya (11509106072) N.Sindhuja (11509106070) 4. CONCLUSION 4.1 Advantages 1. Simple to design. 2. Reduces the need of using Schmitt –trigger NAND gate usually used in alarms. 5. REFERENCES 1 Pre-settable alarm clock-Wikipedia. 2 www.seminarprojects.com 3 Microprocessors and interfacing: Programming and hardware Douglas V. Hall EC2308 Microprocessors and Microcontrollers Page 18