SlideShare a Scribd company logo
1 of 21
Download to read offline
EC1258 – MICROPROCESSOR LAB
MINI PROJECT
ELECTRONIC QUIZ
TABLE
SUBMITTED BY
SUBHASHINI.S
Department of IT
CONCEPT
 This project can be used in Quiz competitions.
 The circuit is based on Microprocessor.
 Simultaneously five players can participate in this game.
 It has five separate LED’s to indicate who has pressed
the key and it also display the number on the seven
segment display of the microprocessor kit.
ELECTRONIC QUIZ TABLE
CONCEPT
Continue…
 The Reset switch is used to reset all the switches and
the circuit will get ready for the next round.
 The above system is monitored and controlled by the
8 bit microprocessor 8085 and using the Ports of 8255.
ELECTRONIC QUIZ TABLE
CONCEPT
Continue…
 The Microprocessor continuously monitors the five
switches and if any one of the switch is pressed then it
latches the switch and the microprocessor switch on
the corresponding LED and display the number in the
seven segment switch.
 A Buzzer sound is also produced to indicate that some
one has pressed any one of the Switch.
ELECTRONIC QUIZ TABLE
BLOCK DIAGRAM
ELECTRONIC QUIZ TABLE
FLOW CHART
ELECTRONIC QUIZ TABLE
CIRCUIT DIAGRAM
ELECTRONIC QUIZ TABLE
SOURCE CODE
0000 PORTA EQU 0CH
0000 PORTB EQU 0DH
0000 REG EQU 0EH
0000 ORG 4100H
4100 3E 94 MVI A,94H
4102 D3 0E OUT REG
4104 3E DF MVI A,11011111B
4106 D3 0D OUT PORTB
ELECTRONIC QUIZ TABLE
SOURCE CODE
Continue…
4108 DB 0C TOP: IN PORTA ;get switch1 status
410A E6 02 ANI 00000010B ;check first button
410C C2 2E 41 JNZ SW1
410F DB 0C IN PORTA ;get switch2 status
4111 E6 04 ANI 00000100B ;check second button
4113 C2 38 41 JNZ SW2
4116 DB 0C IN PORTA ;get switch3 status
4118 E6 08 ANI 00001000B ;check third button
411A C2 42 41 JNZ SW3
ELECTRONIC QUIZ TABLE
SOURCE CODE
Continue…
411D DB 0C IN PORTA ;get switch4 status
411F E6 10 ANI 00010000B ;check fourth button
4121 C2 4C 41 JNZ SW4
4124 DB 0C IN PORTA ;get switch5 status
4126 E6 20 ANI 00100000B ;check fifth button
4128 C2 56 41 JNZ SW5
412B C3 08 41 JMP TOP
412E 3E FE SW1: MVI A,11111110 B ;switch ON 1 LED
4130 D3 0D OUT PORTB
4132 CD 70 41 CALL DELAY
ELECTRONIC QUIZ TABLE
SOURCE CODE
Continue…
4135 C3 5D 41 JMP DOWN
4138 3E FD SW2: MVI A,11111101B ;switch ON 2 LED
413A D3 0D OUT PORTB
413C CD 70 41 CALL DELAY
413F C3 5D 41 JMP DOWN
4142 3E FB SW3: MVI A,11111011B ;switch ON 3 LED
4144 D3 0D OUT PORTB
4146 CD 70 41 CALL DELAY
4149 C3 5D 41 JMP DOWN
414C 3E F7 SW4: MVI A,11110111B ;switch ON 4 LED
414E D3 0D OUT PORTB
ELECTRONIC QUIZ TABLE
SOURCE CODE
Continue…
4150 CD 70 41 CALL DELAY
4153 C3 5D 41 JMP DOWN
4156 3E EF SW5: MVI A,11101111B ;switch ON 5 LED
4158 D3 0D OUT PORTB
415A CD 70 41 CALL DELAY
415D 79 DOWN: MOV A,C
415E E6 1F ANI 1FH
4160 D3 0D OUT PORTB
4162 DB 0C D1: IN PORTA
4164 E6 01 ANI 01H
ELECTRONIC QUIZ TABLE
SOURCE CODE
Continue…
4166 CA 62 41 JZ D1
4169 3E DF MVI A,11011111B
416B D3 0D OUT PORTB
416D C3 08 41 JMP TOP
4170 DELAY:
4170 4F MOV C,A
4171 06 02 MVI B,02H
4173 11 0F 00 LOOP1: LXI D,0FH
4176 1B LOOP: DCX D
4177 7B MOV A,E
ELECTRONIC QUIZ TABLE
SOURCE CODE
Continue…
4178 B2 ORA D
4179 C2 76 41 JNZ LOOP
417C 05 DCR B
417D C2 73 41 JNZ LOOP1
4180 C9 RET
4181 END
ELECTRONIC QUIZ TABLE
WORK FLOW
Move The Immediate data 1101111 B to Accumulator
Get the Status of Switch 1
To Check the first Button - Perform the Immediate AND Operation 0000010
With ACC value 1101111 B
1 1 0 1 1 1 1 1
0 0 0 0 0 0 1 0
0 0 0 0 0 0 1 0
If no zero Jump To sw1
ELECTRONIC QUIZ TABLE
WORK FLOW
SWITCH ON LED ONE
move the data to Acc 1111 1110 B
Call the Delay Program
In Delay
Move the Acc value to C Register
And load the OF H (0000 11111 B)value to DE register Pair
Perform the logical ORA Operation
Then Jump Down ELECTRONIC QUIZ TABLE
WORK FLOW
In Jump
Move C register Value to Accumulator
Perform the Immediate AND Operation with the value(0F H)
Finally Reset the Acc Value with 1101111 B
Like Wise all the switches are tested.
ELECTRONIC QUIZ TABLE
Initially all LEDs set to off
ELECTRONIC QUIZ TABLE
Microprocessor Found the switch then the led will glow and buzzer is on
ELECTRONIC QUIZ TABLE
Microprocessor Found the pressed switch then the led will glow and buzzer is on the
No shown the 7 – Segment LED
SEVEN DEGMENT LED
ELECTRONIC QUIZ TABLE
Micro Processor Mini Project,Electronic Quiz Table

More Related Content

What's hot

final year project report
final year project reportfinal year project report
final year project reportAnuj Kumar
 
3 phase Transmission Line fault detector edit 1-3.pptx
3 phase Transmission Line fault detector edit 1-3.pptx3 phase Transmission Line fault detector edit 1-3.pptx
3 phase Transmission Line fault detector edit 1-3.pptxKrishna2017
 
Verilog full adder in dataflow & gate level modelling style.
Verilog full adder in dataflow  & gate level modelling style.Verilog full adder in dataflow  & gate level modelling style.
Verilog full adder in dataflow & gate level modelling style.Omkar Rane
 
Silicon on Insulator (SOI) Technology
Silicon on Insulator (SOI) TechnologySilicon on Insulator (SOI) Technology
Silicon on Insulator (SOI) TechnologySudhanshu Janwadkar
 
Automatic doorbell with object detection
Automatic doorbell with object detectionAutomatic doorbell with object detection
Automatic doorbell with object detectionAnurag Alaria
 
Power electronics Introduction
Power electronics   IntroductionPower electronics   Introduction
Power electronics IntroductionBurdwan University
 
Solar Inverter Project Report
Solar Inverter Project ReportSolar Inverter Project Report
Solar Inverter Project ReportHitesh Gupta
 
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
 
NAS-Ch4-Application of Laplace Transform
NAS-Ch4-Application of Laplace TransformNAS-Ch4-Application of Laplace Transform
NAS-Ch4-Application of Laplace TransformHussain K
 
MULTILEVEL INVERTER AND NEURAL NETWORK INTRODUCTION
MULTILEVEL INVERTER AND NEURAL NETWORK INTRODUCTIONMULTILEVEL INVERTER AND NEURAL NETWORK INTRODUCTION
MULTILEVEL INVERTER AND NEURAL NETWORK INTRODUCTIONsuryakant tripathi
 
8051-mazidi-solution
8051-mazidi-solution8051-mazidi-solution
8051-mazidi-solutionZunAib Ali
 
Design for testability and automatic test pattern generation
Design for testability and automatic test pattern generationDesign for testability and automatic test pattern generation
Design for testability and automatic test pattern generationDilip Mathuria
 
Doc speed control of a dc motor using micro controller 8051
Doc speed control of a dc motor using micro controller 8051Doc speed control of a dc motor using micro controller 8051
Doc speed control of a dc motor using micro controller 8051embdnew
 
Use of plc in industrial automation
Use of plc in industrial automationUse of plc in industrial automation
Use of plc in industrial automationAloka Patro
 

What's hot (20)

final year project report
final year project reportfinal year project report
final year project report
 
3 phase Transmission Line fault detector edit 1-3.pptx
3 phase Transmission Line fault detector edit 1-3.pptx3 phase Transmission Line fault detector edit 1-3.pptx
3 phase Transmission Line fault detector edit 1-3.pptx
 
Verilog full adder in dataflow & gate level modelling style.
Verilog full adder in dataflow  & gate level modelling style.Verilog full adder in dataflow  & gate level modelling style.
Verilog full adder in dataflow & gate level modelling style.
 
VLSI lab manual
VLSI lab manualVLSI lab manual
VLSI lab manual
 
Silicon on Insulator (SOI) Technology
Silicon on Insulator (SOI) TechnologySilicon on Insulator (SOI) Technology
Silicon on Insulator (SOI) Technology
 
Introduction to control systems
Introduction to control systemsIntroduction to control systems
Introduction to control systems
 
Automatic doorbell with object detection
Automatic doorbell with object detectionAutomatic doorbell with object detection
Automatic doorbell with object detection
 
Clap switch
Clap switchClap switch
Clap switch
 
Power electronics Introduction
Power electronics   IntroductionPower electronics   Introduction
Power electronics Introduction
 
Per unit system
Per unit systemPer unit system
Per unit system
 
Unit 3
Unit 3Unit 3
Unit 3
 
Solar Inverter Project Report
Solar Inverter Project ReportSolar Inverter Project Report
Solar Inverter Project Report
 
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
 
NAS-Ch4-Application of Laplace Transform
NAS-Ch4-Application of Laplace TransformNAS-Ch4-Application of Laplace Transform
NAS-Ch4-Application of Laplace Transform
 
MULTILEVEL INVERTER AND NEURAL NETWORK INTRODUCTION
MULTILEVEL INVERTER AND NEURAL NETWORK INTRODUCTIONMULTILEVEL INVERTER AND NEURAL NETWORK INTRODUCTION
MULTILEVEL INVERTER AND NEURAL NETWORK INTRODUCTION
 
8051-mazidi-solution
8051-mazidi-solution8051-mazidi-solution
8051-mazidi-solution
 
Design for testability and automatic test pattern generation
Design for testability and automatic test pattern generationDesign for testability and automatic test pattern generation
Design for testability and automatic test pattern generation
 
Doc speed control of a dc motor using micro controller 8051
Doc speed control of a dc motor using micro controller 8051Doc speed control of a dc motor using micro controller 8051
Doc speed control of a dc motor using micro controller 8051
 
Home automation with arduino
Home automation with arduinoHome automation with arduino
Home automation with arduino
 
Use of plc in industrial automation
Use of plc in industrial automationUse of plc in industrial automation
Use of plc in industrial automation
 

Viewers also liked

Automatic temperature control using 8085 microprocessor
Automatic temperature control using 8085 microprocessorAutomatic temperature control using 8085 microprocessor
Automatic temperature control using 8085 microprocessorsubhradeep mitra
 
Number Guessing Game - A 8085 Project
Number Guessing Game - A 8085 ProjectNumber Guessing Game - A 8085 Project
Number Guessing Game - A 8085 ProjectSneh Pahilwani
 
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
 
Microprocessor based Temperature Controller
Microprocessor based Temperature ControllerMicroprocessor based Temperature Controller
Microprocessor based Temperature ControllerRevanth Reddy
 
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
 
microcontroller based temperature sensor
microcontroller based temperature sensormicrocontroller based temperature sensor
microcontroller based temperature sensorDerrick D'souza
 
Temp based fan speed control
Temp based fan speed controlTemp based fan speed control
Temp based fan speed controlSai Malleswar
 
TEMPERATURE BASED FAN SPEED CONTROLLER
TEMPERATURE  BASED  FAN  SPEED  CONTROLLERTEMPERATURE  BASED  FAN  SPEED  CONTROLLER
TEMPERATURE BASED FAN SPEED CONTROLLERTarek Erin
 
Applications of microprocessor
Applications of microprocessorApplications of microprocessor
Applications of microprocessorAnjali Agrawal
 
Microprocessor-Based Automatic Door Opener
Microprocessor-Based Automatic Door OpenerMicroprocessor-Based Automatic Door Opener
Microprocessor-Based Automatic Door OpenerJitendra Choudhary
 
MICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSMICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSSabin Gautam
 
Ec2308 mini project
Ec2308 mini projectEc2308 mini project
Ec2308 mini projectunnimaya_k
 
Microprocessor and Interfacing Lab Notes - Akshansh
Microprocessor and Interfacing Lab Notes - AkshanshMicroprocessor and Interfacing Lab Notes - Akshansh
Microprocessor and Interfacing Lab Notes - AkshanshAkshansh Chaudhary
 
Classification of comp.16
Classification of comp.16Classification of comp.16
Classification of comp.16myrajendra
 
Proyecto Poogame Blackjack
Proyecto Poogame BlackjackProyecto Poogame Blackjack
Proyecto Poogame BlackjackEPN
 
Instruction set of intel 8085 microprocessor
Instruction set of intel 8085 microprocessorInstruction set of intel 8085 microprocessor
Instruction set of intel 8085 microprocessorSumit Swain
 

Viewers also liked (20)

Automatic temperature control using 8085 microprocessor
Automatic temperature control using 8085 microprocessorAutomatic temperature control using 8085 microprocessor
Automatic temperature control using 8085 microprocessor
 
Number Guessing Game - A 8085 Project
Number Guessing Game - A 8085 ProjectNumber Guessing Game - A 8085 Project
Number Guessing Game - A 8085 Project
 
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
 
Microprocessor based Temperature Controller
Microprocessor based Temperature ControllerMicroprocessor based Temperature Controller
Microprocessor based Temperature Controller
 
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
 
microcontroller based temperature sensor
microcontroller based temperature sensormicrocontroller based temperature sensor
microcontroller based temperature sensor
 
Electronics Quiz
Electronics QuizElectronics Quiz
Electronics Quiz
 
Temp based fan speed control
Temp based fan speed controlTemp based fan speed control
Temp based fan speed control
 
TEMPERATURE BASED FAN SPEED CONTROLLER
TEMPERATURE  BASED  FAN  SPEED  CONTROLLERTEMPERATURE  BASED  FAN  SPEED  CONTROLLER
TEMPERATURE BASED FAN SPEED CONTROLLER
 
Applications of microprocessor
Applications of microprocessorApplications of microprocessor
Applications of microprocessor
 
List of 8085 programs
List of 8085 programsList of 8085 programs
List of 8085 programs
 
Microprocessor-Based Automatic Door Opener
Microprocessor-Based Automatic Door OpenerMicroprocessor-Based Automatic Door Opener
Microprocessor-Based Automatic Door Opener
 
MICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSMICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMS
 
Ec2308 mini project
Ec2308 mini projectEc2308 mini project
Ec2308 mini project
 
Quizbank quiz buzzer
Quizbank quiz buzzer Quizbank quiz buzzer
Quizbank quiz buzzer
 
Microprocessor and Interfacing Lab Notes - Akshansh
Microprocessor and Interfacing Lab Notes - AkshanshMicroprocessor and Interfacing Lab Notes - Akshansh
Microprocessor and Interfacing Lab Notes - Akshansh
 
Classification of comp.16
Classification of comp.16Classification of comp.16
Classification of comp.16
 
black jack using vhdl
black jack using vhdlblack jack using vhdl
black jack using vhdl
 
Proyecto Poogame Blackjack
Proyecto Poogame BlackjackProyecto Poogame Blackjack
Proyecto Poogame Blackjack
 
Instruction set of intel 8085 microprocessor
Instruction set of intel 8085 microprocessorInstruction set of intel 8085 microprocessor
Instruction set of intel 8085 microprocessor
 

Similar to Micro Processor Mini Project,Electronic Quiz Table

Steppert Motor Interfacing With Specific Angle Entered Through Keypad
Steppert Motor Interfacing With Specific Angle Entered Through KeypadSteppert Motor Interfacing With Specific Angle Entered Through Keypad
Steppert Motor Interfacing With Specific Angle Entered Through KeypadAbrar Amin
 
PLC Ladder Programming [Mechatronics]
PLC Ladder Programming [Mechatronics]PLC Ladder Programming [Mechatronics]
PLC Ladder Programming [Mechatronics]Dr. S.N. Teli
 
Lab 9 D-Flip Flops: Shift Register and Sequence Counter
Lab 9 D-Flip Flops: Shift Register and Sequence CounterLab 9 D-Flip Flops: Shift Register and Sequence Counter
Lab 9 D-Flip Flops: Shift Register and Sequence CounterKatrina Little
 
counter using 4 master slave flip-flops
counter using 4 master slave flip-flops counter using 4 master slave flip-flops
counter using 4 master slave flip-flops ZunAib Ali
 
Mitsubishi lap trinh plc afdf afaf
Mitsubishi lap trinh plc afdf afafMitsubishi lap trinh plc afdf afaf
Mitsubishi lap trinh plc afdf afafphong279
 
Chapter 4 flip flop for students
Chapter 4 flip flop for studentsChapter 4 flip flop for students
Chapter 4 flip flop for studentsCT Sabariah Salihin
 
Ee6612 miroprocessor and microcontroller laboratory
Ee6612 miroprocessor and microcontroller laboratoryEe6612 miroprocessor and microcontroller laboratory
Ee6612 miroprocessor and microcontroller laboratoryrecarunkumar
 
PLC Circuit Design And Basic Programming By Manish kumar
PLC Circuit Design And Basic Programming By Manish kumarPLC Circuit Design And Basic Programming By Manish kumar
PLC Circuit Design And Basic Programming By Manish kumarmanishkumarm
 
Dee2034 chapter 4 flip flop for students part
Dee2034 chapter 4 flip flop  for students partDee2034 chapter 4 flip flop  for students part
Dee2034 chapter 4 flip flop for students partSITI SABARIAH SALIHIN
 
ISL97684 Led Driver Evaluation Board User Manual
ISL97684 Led Driver Evaluation Board User ManualISL97684 Led Driver Evaluation Board User Manual
ISL97684 Led Driver Evaluation Board User ManualGeorgage Zim
 
Appron feeder common ckt-diagram
Appron feeder common ckt-diagramAppron feeder common ckt-diagram
Appron feeder common ckt-diagramyogagivananda
 
Applications of microcontroller(8051)
Applications of microcontroller(8051) Applications of microcontroller(8051)
Applications of microcontroller(8051) vijaydeepakg
 

Similar to Micro Processor Mini Project,Electronic Quiz Table (20)

Dee2034 chapter 5 counter
Dee2034 chapter 5 counterDee2034 chapter 5 counter
Dee2034 chapter 5 counter
 
Dee2034 chapter 6 register
Dee2034 chapter 6 registerDee2034 chapter 6 register
Dee2034 chapter 6 register
 
Chapter 5 counter
Chapter 5 counterChapter 5 counter
Chapter 5 counter
 
Chapter 6 register
Chapter 6 registerChapter 6 register
Chapter 6 register
 
Steppert Motor Interfacing With Specific Angle Entered Through Keypad
Steppert Motor Interfacing With Specific Angle Entered Through KeypadSteppert Motor Interfacing With Specific Angle Entered Through Keypad
Steppert Motor Interfacing With Specific Angle Entered Through Keypad
 
Chapter 5 counter1
Chapter 5 counter1Chapter 5 counter1
Chapter 5 counter1
 
PLC Ladder Programming [Mechatronics]
PLC Ladder Programming [Mechatronics]PLC Ladder Programming [Mechatronics]
PLC Ladder Programming [Mechatronics]
 
Lab 9 D-Flip Flops: Shift Register and Sequence Counter
Lab 9 D-Flip Flops: Shift Register and Sequence CounterLab 9 D-Flip Flops: Shift Register and Sequence Counter
Lab 9 D-Flip Flops: Shift Register and Sequence Counter
 
counter using 4 master slave flip-flops
counter using 4 master slave flip-flops counter using 4 master slave flip-flops
counter using 4 master slave flip-flops
 
Mitsubishi lap trinh plc afdf afaf
Mitsubishi lap trinh plc afdf afafMitsubishi lap trinh plc afdf afaf
Mitsubishi lap trinh plc afdf afaf
 
Chapter 4 flip flop for students
Chapter 4 flip flop for studentsChapter 4 flip flop for students
Chapter 4 flip flop for students
 
Ee6612 miroprocessor and microcontroller laboratory
Ee6612 miroprocessor and microcontroller laboratoryEe6612 miroprocessor and microcontroller laboratory
Ee6612 miroprocessor and microcontroller laboratory
 
PLC Circuit Design And Basic Programming By Manish kumar
PLC Circuit Design And Basic Programming By Manish kumarPLC Circuit Design And Basic Programming By Manish kumar
PLC Circuit Design And Basic Programming By Manish kumar
 
Dee2034 chapter 4 flip flop for students part
Dee2034 chapter 4 flip flop  for students partDee2034 chapter 4 flip flop  for students part
Dee2034 chapter 4 flip flop for students part
 
8051 FINIAL
8051 FINIAL8051 FINIAL
8051 FINIAL
 
L544
L544L544
L544
 
MPMC LAB MANUAL EEE
MPMC LAB MANUAL EEEMPMC LAB MANUAL EEE
MPMC LAB MANUAL EEE
 
ISL97684 Led Driver Evaluation Board User Manual
ISL97684 Led Driver Evaluation Board User ManualISL97684 Led Driver Evaluation Board User Manual
ISL97684 Led Driver Evaluation Board User Manual
 
Appron feeder common ckt-diagram
Appron feeder common ckt-diagramAppron feeder common ckt-diagram
Appron feeder common ckt-diagram
 
Applications of microcontroller(8051)
Applications of microcontroller(8051) Applications of microcontroller(8051)
Applications of microcontroller(8051)
 

Recently uploaded

Fight Scene Storyboard (Action/Adventure Animation)
Fight Scene Storyboard (Action/Adventure Animation)Fight Scene Storyboard (Action/Adventure Animation)
Fight Scene Storyboard (Action/Adventure Animation)finlaygoodall2
 
karaoke songs customise for portable 2.docx
karaoke songs customise for portable  2.docxkaraoke songs customise for portable  2.docx
karaoke songs customise for portable 2.docxPOPCOMTABUKCITY
 
Cabin by the azure lake, the story of a lady and a crocodile
Cabin by the azure lake, the story of a lady and a crocodileCabin by the azure lake, the story of a lady and a crocodile
Cabin by the azure lake, the story of a lady and a crocodileazuremorn
 
A Spotlight on Darla Leigh Pittman Rodgers: Aaron Rodgers' Mother
A Spotlight on Darla Leigh Pittman Rodgers: Aaron Rodgers' MotherA Spotlight on Darla Leigh Pittman Rodgers: Aaron Rodgers' Mother
A Spotlight on Darla Leigh Pittman Rodgers: Aaron Rodgers' Motherget joys
 
What Life Would Be Like From A Different Perspective (saltyvixenstories.com)
What Life Would Be Like From A Different Perspective (saltyvixenstories.com)What Life Would Be Like From A Different Perspective (saltyvixenstories.com)
What Life Would Be Like From A Different Perspective (saltyvixenstories.com)Salty Vixen Stories & More
 
ECOLUXE pre-ESPYS Ultimate Sports Lounge 2024
ECOLUXE pre-ESPYS Ultimate Sports Lounge 2024ECOLUXE pre-ESPYS Ultimate Sports Lounge 2024
ECOLUXE pre-ESPYS Ultimate Sports Lounge 2024Durkin Entertainment LLC
 
Bald Philosopher, a story for entertainment.docx
Bald Philosopher, a story for entertainment.docxBald Philosopher, a story for entertainment.docx
Bald Philosopher, a story for entertainment.docxazuremorn
 
Biswanath Byam Samiti Open Quiz 2022 by Qui9 Grand Finale
Biswanath Byam Samiti Open Quiz 2022 by Qui9 Grand FinaleBiswanath Byam Samiti Open Quiz 2022 by Qui9 Grand Finale
Biswanath Byam Samiti Open Quiz 2022 by Qui9 Grand FinaleQui9 (Ultimate Quizzing)
 
Behind the Scenes The Life of Enzo Zelocchi, a Hollywood Film Producer.pdf
Behind the Scenes The Life of Enzo Zelocchi, a Hollywood Film Producer.pdfBehind the Scenes The Life of Enzo Zelocchi, a Hollywood Film Producer.pdf
Behind the Scenes The Life of Enzo Zelocchi, a Hollywood Film Producer.pdfEnzo Zelocchi Fan Page
 
The lady in Surtout, an old story that happened in our neighbourhood
The lady in Surtout, an old story  that happened in our neighbourhoodThe lady in Surtout, an old story  that happened in our neighbourhood
The lady in Surtout, an old story that happened in our neighbourhoodazuremorn
 
THE MEDIC, A STORY for entertainment.docx
THE MEDIC, A STORY for entertainment.docxTHE MEDIC, A STORY for entertainment.docx
THE MEDIC, A STORY for entertainment.docxazuremorn
 
Transform Your Space with Poster Memorabilia's Collection
Transform Your Space with Poster Memorabilia's CollectionTransform Your Space with Poster Memorabilia's Collection
Transform Your Space with Poster Memorabilia's CollectionPoster Memorabilia Reviews
 
Flying Avocado Cat Cryptocurrency Created, Coded, Generated and Named by Grok...
Flying Avocado Cat Cryptocurrency Created, Coded, Generated and Named by Grok...Flying Avocado Cat Cryptocurrency Created, Coded, Generated and Named by Grok...
Flying Avocado Cat Cryptocurrency Created, Coded, Generated and Named by Grok...TeslaStakeHolder
 
Uk-NO1 Amil In Karachi Best Amil In Karachi Bangali Baba In Karachi Aamil In ...
Uk-NO1 Amil In Karachi Best Amil In Karachi Bangali Baba In Karachi Aamil In ...Uk-NO1 Amil In Karachi Best Amil In Karachi Bangali Baba In Karachi Aamil In ...
Uk-NO1 Amil In Karachi Best Amil In Karachi Bangali Baba In Karachi Aamil In ...Amil baba
 
Princess Jahan's Tuition Classes, a story for entertainment
Princess Jahan's Tuition Classes, a story for entertainmentPrincess Jahan's Tuition Classes, a story for entertainment
Princess Jahan's Tuition Classes, a story for entertainmentazuremorn
 

Recently uploaded (19)

Fight Scene Storyboard (Action/Adventure Animation)
Fight Scene Storyboard (Action/Adventure Animation)Fight Scene Storyboard (Action/Adventure Animation)
Fight Scene Storyboard (Action/Adventure Animation)
 
karaoke songs customise for portable 2.docx
karaoke songs customise for portable  2.docxkaraoke songs customise for portable  2.docx
karaoke songs customise for portable 2.docx
 
Cabin by the azure lake, the story of a lady and a crocodile
Cabin by the azure lake, the story of a lady and a crocodileCabin by the azure lake, the story of a lady and a crocodile
Cabin by the azure lake, the story of a lady and a crocodile
 
A Spotlight on Darla Leigh Pittman Rodgers: Aaron Rodgers' Mother
A Spotlight on Darla Leigh Pittman Rodgers: Aaron Rodgers' MotherA Spotlight on Darla Leigh Pittman Rodgers: Aaron Rodgers' Mother
A Spotlight on Darla Leigh Pittman Rodgers: Aaron Rodgers' Mother
 
S10_E06-Sincerely,The Friday Club- Prelims Farewell Quiz.pptx
S10_E06-Sincerely,The Friday Club- Prelims Farewell Quiz.pptxS10_E06-Sincerely,The Friday Club- Prelims Farewell Quiz.pptx
S10_E06-Sincerely,The Friday Club- Prelims Farewell Quiz.pptx
 
What Life Would Be Like From A Different Perspective (saltyvixenstories.com)
What Life Would Be Like From A Different Perspective (saltyvixenstories.com)What Life Would Be Like From A Different Perspective (saltyvixenstories.com)
What Life Would Be Like From A Different Perspective (saltyvixenstories.com)
 
ECOLUXE pre-ESPYS Ultimate Sports Lounge 2024
ECOLUXE pre-ESPYS Ultimate Sports Lounge 2024ECOLUXE pre-ESPYS Ultimate Sports Lounge 2024
ECOLUXE pre-ESPYS Ultimate Sports Lounge 2024
 
Bald Philosopher, a story for entertainment.docx
Bald Philosopher, a story for entertainment.docxBald Philosopher, a story for entertainment.docx
Bald Philosopher, a story for entertainment.docx
 
Sincerely, The Friday Club - Farewell Quiz-Finals.pptx
Sincerely, The Friday Club - Farewell Quiz-Finals.pptxSincerely, The Friday Club - Farewell Quiz-Finals.pptx
Sincerely, The Friday Club - Farewell Quiz-Finals.pptx
 
Biswanath Byam Samiti Open Quiz 2022 by Qui9 Grand Finale
Biswanath Byam Samiti Open Quiz 2022 by Qui9 Grand FinaleBiswanath Byam Samiti Open Quiz 2022 by Qui9 Grand Finale
Biswanath Byam Samiti Open Quiz 2022 by Qui9 Grand Finale
 
Behind the Scenes The Life of Enzo Zelocchi, a Hollywood Film Producer.pdf
Behind the Scenes The Life of Enzo Zelocchi, a Hollywood Film Producer.pdfBehind the Scenes The Life of Enzo Zelocchi, a Hollywood Film Producer.pdf
Behind the Scenes The Life of Enzo Zelocchi, a Hollywood Film Producer.pdf
 
The lady in Surtout, an old story that happened in our neighbourhood
The lady in Surtout, an old story  that happened in our neighbourhoodThe lady in Surtout, an old story  that happened in our neighbourhood
The lady in Surtout, an old story that happened in our neighbourhood
 
THE MEDIC, A STORY for entertainment.docx
THE MEDIC, A STORY for entertainment.docxTHE MEDIC, A STORY for entertainment.docx
THE MEDIC, A STORY for entertainment.docx
 
S10_E02_How to Pimp Social Media 101.pptx
S10_E02_How to Pimp Social Media 101.pptxS10_E02_How to Pimp Social Media 101.pptx
S10_E02_How to Pimp Social Media 101.pptx
 
Transform Your Space with Poster Memorabilia's Collection
Transform Your Space with Poster Memorabilia's CollectionTransform Your Space with Poster Memorabilia's Collection
Transform Your Space with Poster Memorabilia's Collection
 
Flying Avocado Cat Cryptocurrency Created, Coded, Generated and Named by Grok...
Flying Avocado Cat Cryptocurrency Created, Coded, Generated and Named by Grok...Flying Avocado Cat Cryptocurrency Created, Coded, Generated and Named by Grok...
Flying Avocado Cat Cryptocurrency Created, Coded, Generated and Named by Grok...
 
Uk-NO1 Amil In Karachi Best Amil In Karachi Bangali Baba In Karachi Aamil In ...
Uk-NO1 Amil In Karachi Best Amil In Karachi Bangali Baba In Karachi Aamil In ...Uk-NO1 Amil In Karachi Best Amil In Karachi Bangali Baba In Karachi Aamil In ...
Uk-NO1 Amil In Karachi Best Amil In Karachi Bangali Baba In Karachi Aamil In ...
 
Moveable Feast_Travel-Lifestyle-Culture Quiz.pptx
Moveable Feast_Travel-Lifestyle-Culture Quiz.pptxMoveable Feast_Travel-Lifestyle-Culture Quiz.pptx
Moveable Feast_Travel-Lifestyle-Culture Quiz.pptx
 
Princess Jahan's Tuition Classes, a story for entertainment
Princess Jahan's Tuition Classes, a story for entertainmentPrincess Jahan's Tuition Classes, a story for entertainment
Princess Jahan's Tuition Classes, a story for entertainment
 

Micro Processor Mini Project,Electronic Quiz Table

  • 1. EC1258 – MICROPROCESSOR LAB MINI PROJECT ELECTRONIC QUIZ TABLE SUBMITTED BY SUBHASHINI.S Department of IT
  • 2. CONCEPT  This project can be used in Quiz competitions.  The circuit is based on Microprocessor.  Simultaneously five players can participate in this game.  It has five separate LED’s to indicate who has pressed the key and it also display the number on the seven segment display of the microprocessor kit. ELECTRONIC QUIZ TABLE
  • 3. CONCEPT Continue…  The Reset switch is used to reset all the switches and the circuit will get ready for the next round.  The above system is monitored and controlled by the 8 bit microprocessor 8085 and using the Ports of 8255. ELECTRONIC QUIZ TABLE
  • 4. CONCEPT Continue…  The Microprocessor continuously monitors the five switches and if any one of the switch is pressed then it latches the switch and the microprocessor switch on the corresponding LED and display the number in the seven segment switch.  A Buzzer sound is also produced to indicate that some one has pressed any one of the Switch. ELECTRONIC QUIZ TABLE
  • 8. SOURCE CODE 0000 PORTA EQU 0CH 0000 PORTB EQU 0DH 0000 REG EQU 0EH 0000 ORG 4100H 4100 3E 94 MVI A,94H 4102 D3 0E OUT REG 4104 3E DF MVI A,11011111B 4106 D3 0D OUT PORTB ELECTRONIC QUIZ TABLE
  • 9. SOURCE CODE Continue… 4108 DB 0C TOP: IN PORTA ;get switch1 status 410A E6 02 ANI 00000010B ;check first button 410C C2 2E 41 JNZ SW1 410F DB 0C IN PORTA ;get switch2 status 4111 E6 04 ANI 00000100B ;check second button 4113 C2 38 41 JNZ SW2 4116 DB 0C IN PORTA ;get switch3 status 4118 E6 08 ANI 00001000B ;check third button 411A C2 42 41 JNZ SW3 ELECTRONIC QUIZ TABLE
  • 10. SOURCE CODE Continue… 411D DB 0C IN PORTA ;get switch4 status 411F E6 10 ANI 00010000B ;check fourth button 4121 C2 4C 41 JNZ SW4 4124 DB 0C IN PORTA ;get switch5 status 4126 E6 20 ANI 00100000B ;check fifth button 4128 C2 56 41 JNZ SW5 412B C3 08 41 JMP TOP 412E 3E FE SW1: MVI A,11111110 B ;switch ON 1 LED 4130 D3 0D OUT PORTB 4132 CD 70 41 CALL DELAY ELECTRONIC QUIZ TABLE
  • 11. SOURCE CODE Continue… 4135 C3 5D 41 JMP DOWN 4138 3E FD SW2: MVI A,11111101B ;switch ON 2 LED 413A D3 0D OUT PORTB 413C CD 70 41 CALL DELAY 413F C3 5D 41 JMP DOWN 4142 3E FB SW3: MVI A,11111011B ;switch ON 3 LED 4144 D3 0D OUT PORTB 4146 CD 70 41 CALL DELAY 4149 C3 5D 41 JMP DOWN 414C 3E F7 SW4: MVI A,11110111B ;switch ON 4 LED 414E D3 0D OUT PORTB ELECTRONIC QUIZ TABLE
  • 12. SOURCE CODE Continue… 4150 CD 70 41 CALL DELAY 4153 C3 5D 41 JMP DOWN 4156 3E EF SW5: MVI A,11101111B ;switch ON 5 LED 4158 D3 0D OUT PORTB 415A CD 70 41 CALL DELAY 415D 79 DOWN: MOV A,C 415E E6 1F ANI 1FH 4160 D3 0D OUT PORTB 4162 DB 0C D1: IN PORTA 4164 E6 01 ANI 01H ELECTRONIC QUIZ TABLE
  • 13. SOURCE CODE Continue… 4166 CA 62 41 JZ D1 4169 3E DF MVI A,11011111B 416B D3 0D OUT PORTB 416D C3 08 41 JMP TOP 4170 DELAY: 4170 4F MOV C,A 4171 06 02 MVI B,02H 4173 11 0F 00 LOOP1: LXI D,0FH 4176 1B LOOP: DCX D 4177 7B MOV A,E ELECTRONIC QUIZ TABLE
  • 14. SOURCE CODE Continue… 4178 B2 ORA D 4179 C2 76 41 JNZ LOOP 417C 05 DCR B 417D C2 73 41 JNZ LOOP1 4180 C9 RET 4181 END ELECTRONIC QUIZ TABLE
  • 15. WORK FLOW Move The Immediate data 1101111 B to Accumulator Get the Status of Switch 1 To Check the first Button - Perform the Immediate AND Operation 0000010 With ACC value 1101111 B 1 1 0 1 1 1 1 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 If no zero Jump To sw1 ELECTRONIC QUIZ TABLE
  • 16. WORK FLOW SWITCH ON LED ONE move the data to Acc 1111 1110 B Call the Delay Program In Delay Move the Acc value to C Register And load the OF H (0000 11111 B)value to DE register Pair Perform the logical ORA Operation Then Jump Down ELECTRONIC QUIZ TABLE
  • 17. WORK FLOW In Jump Move C register Value to Accumulator Perform the Immediate AND Operation with the value(0F H) Finally Reset the Acc Value with 1101111 B Like Wise all the switches are tested. ELECTRONIC QUIZ TABLE
  • 18. Initially all LEDs set to off ELECTRONIC QUIZ TABLE
  • 19. Microprocessor Found the switch then the led will glow and buzzer is on ELECTRONIC QUIZ TABLE
  • 20. Microprocessor Found the pressed switch then the led will glow and buzzer is on the No shown the 7 – Segment LED SEVEN DEGMENT LED ELECTRONIC QUIZ TABLE