SlideShare a Scribd company logo
1 of 13
Department of Electrical and Electronic
Engineering
Khulna University of Engineering & Technology
Khulna-9203
Course code : EE 3214
Sessional on
Microprocessors, Micro-controllers and Peripherals
Presented By
Amit Kumer Podder
Experiment No. 08
(a) Introduction to 8254 (8253) programmable
interval timer (b) Design and implementation of
traffic controller using 8255 PPI and 8253
programmable interval timer in 8086
microprocessor environment
Experiment Name
7/3/2020 Amit Kumer Podder 2
Not Possible
To Generate
Accurate
Time Delays
Using Delay
Routines in
8086
Intel’s Programmable Counter/
Timer Device (8253/8254)
Facilitates
• Accurate Time Delays
• Minimizes Load On Mp
• Real Time Clock
• Event Counter
• Digital One Shot
• Square Wave Generator
• Complex Waveform Generator
Why 8253/8254
7/3/2020 Amit Kumer Podder 3
8253 can operate
at frequency from
dc to 2mhz
8254-ADVANCED VERSION OF 8253
• 8254 can operate with higher clock Frequency
Range ( DC To 8 Mhz AND 10 Mhz FOR 8254-2)
• Includes Status Read Back Command That Latches
The Count And Status Of Counters
8253 Vs 8254
7/3/2020 Amit Kumer Podder 4
Pin diagram of 8253
7/3/2020 Amit Kumer Podder 5
Pin diagram of 8253
7/3/2020 Amit Kumer Podder 6
Counters:
 Three Counters – C1,C2 & C3
 Each 16 Bit Identical Presettable
 Down Counter Operates In BCD /Hex
 Controlled By Loading Count To Command Word Register
 “On The Fly” Reading
Control Logic:
 CS – Logic 0 – Enables 8254
 RD – Logic 0 – Tells Microprocessor Reads Count From 8254
 WR – Logic 0 – Tells Microprocessor Writes Count/ Command Into 8254
 A1,a0 – Address Input Pins To Select Modes And Counters
Pin description of 8253
7/3/2020 Amit Kumer Podder 7
Data Buffers:
 8 Bit Bidirectional D0-d7 Connected To Data Bus Of Microprocessor
 In  Reads Data From Peripheral
 Out  Writes Data To Peripheral
Control Word Register:
 Accepts 8 Bit Control Word Written By Microprocessor
 Can Only Be Written ( Not Read)
 Control Word Chooses One Of The Six Modes Of Operation
Pin description of 8253
7/3/2020 Amit Kumer Podder 8
Control word format of 8253
7/3/2020 Amit Kumer Podder 9
MDA Win 8086 Trainer Kit Port Address
For 8254 For 8255
Port
Address
Port Name
09H Counter 0
0BH Counter 1
0DH Counter 2
0FH Control register
Port Address Port Name
19H Port A
1BH Port B
1DH Port C
1FH Control register
7/3/2020 Amit Kumer Podder 10
G3 Y3 R3
G4 Y4 R4G2 Y2 R2
G1 Y1 R1Road 1
Road 3 Road 4
Road 2
Traffic Signal Flow Diagram
7/3/2020 Amit Kumer Podder 11
PA7 PA6 PA5 PA4 PA3 PA2 PA1 PA0 PB7 PB6 PB5 PB4 PB3 PB2 PB1 PB0
0 0 G2 Y2 R2 G1 Y1 R1 0 0 G4 Y4 R4 G3 Y3 R3
R1 R2 G3 G4 0 0 0 0 1 0 0 1
= 09H
0 0 1 0 0 1 0 0
=24H
Y1 Y2 Y3 Y4 0 0 0 1 0 0 1 0
= 12H
0 0 0 1 0 0 1 0
= 12H
R3 R4 G1 G2 0 0 1 0 0 1 0 0
= 24H
0 0 0 0 1 0 0 1
= 09H
Y1 Y2 Y3 Y4 0 0 0 0 1 0 1 0
= 12H
0 0 0 1 0 0 1 0
= 12H
Traffic signal generating coding table
7/3/2020 Amit Kumer Podder 12
For Latching
D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
For Load Operation
Control word for 8255
0 1 1 1 0 0 0 0
0 1 0 0 0 0 0 0
1 0 0 0 0 0 0 0
Control Word
7/3/2020 Amit Kumer Podder 13

More Related Content

What's hot

Vlsi 2016- projects list
Vlsi   2016- projects listVlsi   2016- projects list
Vlsi 2016- projects listNEWZEN INFOTECH
 
Aurotek Motion Control Cards
Aurotek Motion Control CardsAurotek Motion Control Cards
Aurotek Motion Control Cardsjuliangoal
 
Real Time System Validation using Hardware in Loop (HIL) Digital Platform
Real Time System Validation using Hardware in Loop (HIL) Digital PlatformReal Time System Validation using Hardware in Loop (HIL) Digital Platform
Real Time System Validation using Hardware in Loop (HIL) Digital PlatformSHIMI S L
 
t Box810-838-FL
t Box810-838-FLt Box810-838-FL
t Box810-838-FLAnil Gadi
 
UC3638DWG4- Componentschip.com
UC3638DWG4- Componentschip.comUC3638DWG4- Componentschip.com
UC3638DWG4- Componentschip.comKenny Choi
 
Customize battery form
Customize battery formCustomize battery form
Customize battery formSpencer Chan
 

What's hot (13)

Autoboss V30
Autoboss V30Autoboss V30
Autoboss V30
 
Vlsi 2016- projects list
Vlsi   2016- projects listVlsi   2016- projects list
Vlsi 2016- projects list
 
Aurotek Motion Control Cards
Aurotek Motion Control CardsAurotek Motion Control Cards
Aurotek Motion Control Cards
 
Mini page 2
Mini page 2Mini page 2
Mini page 2
 
Elm 327 Obd
Elm 327 ObdElm 327 Obd
Elm 327 Obd
 
Real Time System Validation using Hardware in Loop (HIL) Digital Platform
Real Time System Validation using Hardware in Loop (HIL) Digital PlatformReal Time System Validation using Hardware in Loop (HIL) Digital Platform
Real Time System Validation using Hardware in Loop (HIL) Digital Platform
 
t Box810-838-FL
t Box810-838-FLt Box810-838-FL
t Box810-838-FL
 
UC3638DWG4- Componentschip.com
UC3638DWG4- Componentschip.comUC3638DWG4- Componentschip.com
UC3638DWG4- Componentschip.com
 
Service quotation
Service quotationService quotation
Service quotation
 
Ddec master 2000 current4 6
Ddec  master 2000 current4 6Ddec  master 2000 current4 6
Ddec master 2000 current4 6
 
2985330 (1)
2985330 (1)2985330 (1)
2985330 (1)
 
Customize battery form
Customize battery formCustomize battery form
Customize battery form
 
Ddec 3
Ddec 3Ddec 3
Ddec 3
 

Similar to 8254 Programmable Interval Timer

Micro-processor, Micro-controller and Peripherals
Micro-processor, Micro-controller and PeripheralsMicro-processor, Micro-controller and Peripherals
Micro-processor, Micro-controller and PeripheralsAmit Kumer Podder
 
Traffic Light Controller using 8255
Traffic Light Controller using 8255Traffic Light Controller using 8255
Traffic Light Controller using 8255Amit Kumer Podder
 
MICROPROCESSOR-LAB-VI-SEM.pdf
MICROPROCESSOR-LAB-VI-SEM.pdfMICROPROCESSOR-LAB-VI-SEM.pdf
MICROPROCESSOR-LAB-VI-SEM.pdfbhattparthiv23
 
8255 Programmble Peripheral Interface
8255 Programmble Peripheral Interface8255 Programmble Peripheral Interface
8255 Programmble Peripheral InterfaceAmit Kumer Podder
 
7th International Conference on Electrical Engineering 8- 10 October 2012, Ce...
7th International Conference on Electrical Engineering 8- 10 October 2012, Ce...7th International Conference on Electrical Engineering 8- 10 October 2012, Ce...
7th International Conference on Electrical Engineering 8- 10 October 2012, Ce...Mellah Hacene
 
LG DA0LG2MB6D0 REV D PDF.pdf
LG DA0LG2MB6D0 REV D PDF.pdfLG DA0LG2MB6D0 REV D PDF.pdf
LG DA0LG2MB6D0 REV D PDF.pdfHomeCell3
 
radar tank gauging and dcs
radar tank gauging and dcsradar tank gauging and dcs
radar tank gauging and dcsSaravana Kumar
 
Sinumerik 802 s c base line turning operation programming
Sinumerik 802 s c base line turning operation programmingSinumerik 802 s c base line turning operation programming
Sinumerik 802 s c base line turning operation programmingRaul Victor Martinez
 
digital tank gauging system and DCS
digital tank gauging system and DCSdigital tank gauging system and DCS
digital tank gauging system and DCSSaravana Kumar
 
Arauco ServoSistemas Presentation
Arauco ServoSistemas PresentationArauco ServoSistemas Presentation
Arauco ServoSistemas PresentationEduardo Condemarin
 
Maxtor Fireball 541DX (2B020H1) manual
Maxtor Fireball 541DX (2B020H1) manualMaxtor Fireball 541DX (2B020H1) manual
Maxtor Fireball 541DX (2B020H1) manualFast Sweden
 
BOOST110.pdf
BOOST110.pdfBOOST110.pdf
BOOST110.pdftahar6
 

Similar to 8254 Programmable Interval Timer (17)

Micro-processor, Micro-controller and Peripherals
Micro-processor, Micro-controller and PeripheralsMicro-processor, Micro-controller and Peripherals
Micro-processor, Micro-controller and Peripherals
 
Traffic Light Controller using 8255
Traffic Light Controller using 8255Traffic Light Controller using 8255
Traffic Light Controller using 8255
 
MICROPROCESSOR-LAB-VI-SEM.pdf
MICROPROCESSOR-LAB-VI-SEM.pdfMICROPROCESSOR-LAB-VI-SEM.pdf
MICROPROCESSOR-LAB-VI-SEM.pdf
 
8255 Programmble Peripheral Interface
8255 Programmble Peripheral Interface8255 Programmble Peripheral Interface
8255 Programmble Peripheral Interface
 
7th International Conference on Electrical Engineering 8- 10 October 2012, Ce...
7th International Conference on Electrical Engineering 8- 10 October 2012, Ce...7th International Conference on Electrical Engineering 8- 10 October 2012, Ce...
7th International Conference on Electrical Engineering 8- 10 October 2012, Ce...
 
LG DA0LG2MB6D0 REV D PDF.pdf
LG DA0LG2MB6D0 REV D PDF.pdfLG DA0LG2MB6D0 REV D PDF.pdf
LG DA0LG2MB6D0 REV D PDF.pdf
 
radar tank gauging and dcs
radar tank gauging and dcsradar tank gauging and dcs
radar tank gauging and dcs
 
Design
DesignDesign
Design
 
Sinumerik 802 s c base line turning operation programming
Sinumerik 802 s c base line turning operation programmingSinumerik 802 s c base line turning operation programming
Sinumerik 802 s c base line turning operation programming
 
Microprocessors
Microprocessors Microprocessors
Microprocessors
 
TMI MOTOR 3512 1GZ
TMI MOTOR 3512 1GZTMI MOTOR 3512 1GZ
TMI MOTOR 3512 1GZ
 
09-1 Machine Prot. Exercises.ppt
09-1 Machine Prot. Exercises.ppt09-1 Machine Prot. Exercises.ppt
09-1 Machine Prot. Exercises.ppt
 
digital tank gauging system and DCS
digital tank gauging system and DCSdigital tank gauging system and DCS
digital tank gauging system and DCS
 
SmartZone 5.0
SmartZone 5.0SmartZone 5.0
SmartZone 5.0
 
Arauco ServoSistemas Presentation
Arauco ServoSistemas PresentationArauco ServoSistemas Presentation
Arauco ServoSistemas Presentation
 
Maxtor Fireball 541DX (2B020H1) manual
Maxtor Fireball 541DX (2B020H1) manualMaxtor Fireball 541DX (2B020H1) manual
Maxtor Fireball 541DX (2B020H1) manual
 
BOOST110.pdf
BOOST110.pdfBOOST110.pdf
BOOST110.pdf
 

More from Amit Kumer Podder

Familiarization of electronic equipment
Familiarization of electronic equipmentFamiliarization of electronic equipment
Familiarization of electronic equipmentAmit Kumer Podder
 
Arduino Programming on Motor Control
Arduino Programming on Motor ControlArduino Programming on Motor Control
Arduino Programming on Motor ControlAmit Kumer Podder
 
Arduino Programming Familiarization
Arduino Programming FamiliarizationArduino Programming Familiarization
Arduino Programming FamiliarizationAmit Kumer Podder
 
Dot Matrix LED Interfacing using 8255 PPI
Dot Matrix LED Interfacing using 8255 PPIDot Matrix LED Interfacing using 8255 PPI
Dot Matrix LED Interfacing using 8255 PPIAmit Kumer Podder
 
8086 Assembly Language and Serial Monitor Operation of 8086 Trainer Kit
8086 Assembly Language and Serial Monitor Operation of 8086 Trainer Kit8086 Assembly Language and Serial Monitor Operation of 8086 Trainer Kit
8086 Assembly Language and Serial Monitor Operation of 8086 Trainer KitAmit Kumer Podder
 
8086 Micro-processor and MDA 8086 Trainer Kit
8086 Micro-processor and MDA 8086 Trainer Kit8086 Micro-processor and MDA 8086 Trainer Kit
8086 Micro-processor and MDA 8086 Trainer KitAmit Kumer Podder
 
Lecture on wire splicing and termination
Lecture on wire splicing and terminationLecture on wire splicing and termination
Lecture on wire splicing and terminationAmit Kumer Podder
 

More from Amit Kumer Podder (9)

Power Amplifier
Power AmplifierPower Amplifier
Power Amplifier
 
Familiarization of electronic equipment
Familiarization of electronic equipmentFamiliarization of electronic equipment
Familiarization of electronic equipment
 
Transducer
Transducer Transducer
Transducer
 
Arduino Programming on Motor Control
Arduino Programming on Motor ControlArduino Programming on Motor Control
Arduino Programming on Motor Control
 
Arduino Programming Familiarization
Arduino Programming FamiliarizationArduino Programming Familiarization
Arduino Programming Familiarization
 
Dot Matrix LED Interfacing using 8255 PPI
Dot Matrix LED Interfacing using 8255 PPIDot Matrix LED Interfacing using 8255 PPI
Dot Matrix LED Interfacing using 8255 PPI
 
8086 Assembly Language and Serial Monitor Operation of 8086 Trainer Kit
8086 Assembly Language and Serial Monitor Operation of 8086 Trainer Kit8086 Assembly Language and Serial Monitor Operation of 8086 Trainer Kit
8086 Assembly Language and Serial Monitor Operation of 8086 Trainer Kit
 
8086 Micro-processor and MDA 8086 Trainer Kit
8086 Micro-processor and MDA 8086 Trainer Kit8086 Micro-processor and MDA 8086 Trainer Kit
8086 Micro-processor and MDA 8086 Trainer Kit
 
Lecture on wire splicing and termination
Lecture on wire splicing and terminationLecture on wire splicing and termination
Lecture on wire splicing and termination
 

Recently uploaded

(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...ranjana rawat
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 

Recently uploaded (20)

DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 

8254 Programmable Interval Timer

  • 1. Department of Electrical and Electronic Engineering Khulna University of Engineering & Technology Khulna-9203 Course code : EE 3214 Sessional on Microprocessors, Micro-controllers and Peripherals Presented By Amit Kumer Podder Experiment No. 08
  • 2. (a) Introduction to 8254 (8253) programmable interval timer (b) Design and implementation of traffic controller using 8255 PPI and 8253 programmable interval timer in 8086 microprocessor environment Experiment Name 7/3/2020 Amit Kumer Podder 2
  • 3. Not Possible To Generate Accurate Time Delays Using Delay Routines in 8086 Intel’s Programmable Counter/ Timer Device (8253/8254) Facilitates • Accurate Time Delays • Minimizes Load On Mp • Real Time Clock • Event Counter • Digital One Shot • Square Wave Generator • Complex Waveform Generator Why 8253/8254 7/3/2020 Amit Kumer Podder 3
  • 4. 8253 can operate at frequency from dc to 2mhz 8254-ADVANCED VERSION OF 8253 • 8254 can operate with higher clock Frequency Range ( DC To 8 Mhz AND 10 Mhz FOR 8254-2) • Includes Status Read Back Command That Latches The Count And Status Of Counters 8253 Vs 8254 7/3/2020 Amit Kumer Podder 4
  • 5. Pin diagram of 8253 7/3/2020 Amit Kumer Podder 5
  • 6. Pin diagram of 8253 7/3/2020 Amit Kumer Podder 6
  • 7. Counters:  Three Counters – C1,C2 & C3  Each 16 Bit Identical Presettable  Down Counter Operates In BCD /Hex  Controlled By Loading Count To Command Word Register  “On The Fly” Reading Control Logic:  CS – Logic 0 – Enables 8254  RD – Logic 0 – Tells Microprocessor Reads Count From 8254  WR – Logic 0 – Tells Microprocessor Writes Count/ Command Into 8254  A1,a0 – Address Input Pins To Select Modes And Counters Pin description of 8253 7/3/2020 Amit Kumer Podder 7
  • 8. Data Buffers:  8 Bit Bidirectional D0-d7 Connected To Data Bus Of Microprocessor  In  Reads Data From Peripheral  Out  Writes Data To Peripheral Control Word Register:  Accepts 8 Bit Control Word Written By Microprocessor  Can Only Be Written ( Not Read)  Control Word Chooses One Of The Six Modes Of Operation Pin description of 8253 7/3/2020 Amit Kumer Podder 8
  • 9. Control word format of 8253 7/3/2020 Amit Kumer Podder 9
  • 10. MDA Win 8086 Trainer Kit Port Address For 8254 For 8255 Port Address Port Name 09H Counter 0 0BH Counter 1 0DH Counter 2 0FH Control register Port Address Port Name 19H Port A 1BH Port B 1DH Port C 1FH Control register 7/3/2020 Amit Kumer Podder 10
  • 11. G3 Y3 R3 G4 Y4 R4G2 Y2 R2 G1 Y1 R1Road 1 Road 3 Road 4 Road 2 Traffic Signal Flow Diagram 7/3/2020 Amit Kumer Podder 11
  • 12. PA7 PA6 PA5 PA4 PA3 PA2 PA1 PA0 PB7 PB6 PB5 PB4 PB3 PB2 PB1 PB0 0 0 G2 Y2 R2 G1 Y1 R1 0 0 G4 Y4 R4 G3 Y3 R3 R1 R2 G3 G4 0 0 0 0 1 0 0 1 = 09H 0 0 1 0 0 1 0 0 =24H Y1 Y2 Y3 Y4 0 0 0 1 0 0 1 0 = 12H 0 0 0 1 0 0 1 0 = 12H R3 R4 G1 G2 0 0 1 0 0 1 0 0 = 24H 0 0 0 0 1 0 0 1 = 09H Y1 Y2 Y3 Y4 0 0 0 0 1 0 1 0 = 12H 0 0 0 1 0 0 1 0 = 12H Traffic signal generating coding table 7/3/2020 Amit Kumer Podder 12
  • 13. For Latching D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0 For Load Operation Control word for 8255 0 1 1 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 Control Word 7/3/2020 Amit Kumer Podder 13