SlideShare a Scribd company logo
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

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
Chinaraja Baratam
 
Bcd to 7 segment display
Bcd to 7 segment displayBcd to 7 segment display
Bcd to 7 segment display
Maulik Sanchela
 
8051 MICROCONTROLLER
8051 MICROCONTROLLER 8051 MICROCONTROLLER
8051 MICROCONTROLLER
THANDAIAH PRABU
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
Sadiq Rahim
 
Interrupt programming with 8051 microcontroller
Interrupt programming with 8051  microcontrollerInterrupt programming with 8051  microcontroller
Interrupt programming with 8051 microcontroller
Ankit Bhatnagar
 
Object counter
Object counterObject counter
Object counter
suresh shindhe
 
8051 assembly programming
8051 assembly programming8051 assembly programming
8051 assembly programming
sergeiseq
 
Microprocessor Interfacing and 8155 Features
Microprocessor Interfacing and 8155 FeaturesMicroprocessor Interfacing and 8155 Features
Microprocessor Interfacing and 8155 Features
Srikrishna Thota
 
8051 programming in c
8051 programming in c8051 programming in c
8051 programming in c
Dr. Ritula Thakur
 
Simple Automatic Water Level Controller by using ic 555 timer.
Simple Automatic Water Level Controller by using ic 555 timer.Simple Automatic Water Level Controller by using ic 555 timer.
Simple Automatic Water Level Controller by using ic 555 timer.
PRASHANTH RAO
 
Automatic Night Lamp With Morning Alarm
Automatic Night Lamp With Morning AlarmAutomatic Night Lamp With Morning Alarm
Automatic Night Lamp With Morning Alarm
BhaskarSuryaNarayana Ilipilla
 
Password based door locking system
Password based door locking systemPassword based door locking system
Password based door locking system
Arjun Singh
 
Project report on the Digital clock using RTC and microcontroller 8051
Project report on the Digital clock using RTC and microcontroller 8051Project report on the Digital clock using RTC and microcontroller 8051
Project report on the Digital clock using RTC and microcontroller 8051
Maulik Sanchela
 
8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller NotesDr.YNM
 
DIGITAL VOLTMETER USING 8051 MICROCONTROLLER
DIGITAL VOLTMETER USING 8051 MICROCONTROLLERDIGITAL VOLTMETER USING 8051 MICROCONTROLLER
DIGITAL VOLTMETER USING 8051 MICROCONTROLLER
Chirag Lakhani
 
8051 timer counter
8051 timer counter8051 timer counter
8051 timer counter
vishalgohel12195
 
Intel 8051 Programming in C
Intel 8051 Programming in CIntel 8051 Programming in C
Intel 8051 Programming in C
Sudhanshu Janwadkar
 
7 segment led interfacing with 8051
7 segment led interfacing with 80517 segment led interfacing with 8051
7 segment led interfacing with 8051
Sam Patel
 
Relay interfacing with 8051
Relay interfacing with 8051Relay interfacing with 8051
Relay interfacing with 8051
Pratik Phadte
 
DAC Interfacing with 8051.pdf
DAC Interfacing with 8051.pdfDAC Interfacing with 8051.pdf
DAC Interfacing with 8051.pdf
Srikrishna Thota
 

What's hot (20)

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
 
Bcd to 7 segment display
Bcd to 7 segment displayBcd to 7 segment display
Bcd to 7 segment display
 
8051 MICROCONTROLLER
8051 MICROCONTROLLER 8051 MICROCONTROLLER
8051 MICROCONTROLLER
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
Interrupt programming with 8051 microcontroller
Interrupt programming with 8051  microcontrollerInterrupt programming with 8051  microcontroller
Interrupt programming with 8051 microcontroller
 
Object counter
Object counterObject counter
Object counter
 
8051 assembly programming
8051 assembly programming8051 assembly programming
8051 assembly programming
 
Microprocessor Interfacing and 8155 Features
Microprocessor Interfacing and 8155 FeaturesMicroprocessor Interfacing and 8155 Features
Microprocessor Interfacing and 8155 Features
 
8051 programming in c
8051 programming in c8051 programming in c
8051 programming in c
 
Simple Automatic Water Level Controller by using ic 555 timer.
Simple Automatic Water Level Controller by using ic 555 timer.Simple Automatic Water Level Controller by using ic 555 timer.
Simple Automatic Water Level Controller by using ic 555 timer.
 
Automatic Night Lamp With Morning Alarm
Automatic Night Lamp With Morning AlarmAutomatic Night Lamp With Morning Alarm
Automatic Night Lamp With Morning Alarm
 
Password based door locking system
Password based door locking systemPassword based door locking system
Password based door locking system
 
Project report on the Digital clock using RTC and microcontroller 8051
Project report on the Digital clock using RTC and microcontroller 8051Project report on the Digital clock using RTC and microcontroller 8051
Project report on the Digital clock using RTC and microcontroller 8051
 
8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller Notes
 
DIGITAL VOLTMETER USING 8051 MICROCONTROLLER
DIGITAL VOLTMETER USING 8051 MICROCONTROLLERDIGITAL VOLTMETER USING 8051 MICROCONTROLLER
DIGITAL VOLTMETER USING 8051 MICROCONTROLLER
 
8051 timer counter
8051 timer counter8051 timer counter
8051 timer counter
 
Intel 8051 Programming in C
Intel 8051 Programming in CIntel 8051 Programming in C
Intel 8051 Programming in C
 
7 segment led interfacing with 8051
7 segment led interfacing with 80517 segment led interfacing with 8051
7 segment led interfacing with 8051
 
Relay interfacing with 8051
Relay interfacing with 8051Relay interfacing with 8051
Relay interfacing with 8051
 
DAC Interfacing with 8051.pdf
DAC Interfacing with 8051.pdfDAC Interfacing with 8051.pdf
DAC Interfacing with 8051.pdf
 

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 Project
Sneh Pahilwani
 
Microprocessor based Temperature Controller
Microprocessor based Temperature ControllerMicroprocessor based Temperature Controller
Microprocessor based Temperature Controller
Revanth 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 8085
Subash Sambath Kumar
 
microcontroller based temperature sensor
microcontroller based temperature sensormicrocontroller based temperature sensor
microcontroller based temperature sensorDerrick D'souza
 
Electronics Quiz
Electronics QuizElectronics Quiz
Electronics Quiz
Naveen Kumar
 
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 CONTROLLER
Tarek Erin
 
Applications of microprocessor
Applications of microprocessorApplications of microprocessor
Applications of microprocessor
Anjali Agrawal
 
Microprocessor-Based Automatic Door Opener
Microprocessor-Based Automatic Door OpenerMicroprocessor-Based Automatic Door Opener
Microprocessor-Based Automatic Door Opener
Jitendra 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
 
Quizbank quiz buzzer
Quizbank quiz buzzer Quizbank quiz buzzer
Quizbank quiz buzzer
Midhun Abraham
 
Microprocessor and Interfacing Lab Notes - Akshansh
Microprocessor and Interfacing Lab Notes - AkshanshMicroprocessor and Interfacing Lab Notes - Akshansh
Microprocessor and Interfacing Lab Notes - Akshansh
Akshansh 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 Blackjack
EPN
 
Instruction set of intel 8085 microprocessor
Instruction set of intel 8085 microprocessorInstruction set of intel 8085 microprocessor
Instruction set of intel 8085 microprocessor
Sumit Swain
 
College quiz buzzer
College quiz buzzerCollege quiz buzzer
College quiz buzzerviv3ksharma
 
Micro Processor Lab Manual!
Micro Processor Lab Manual!Micro Processor Lab Manual!
Micro Processor Lab Manual!
PRABHAHARAN429
 

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
 
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
 
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
 
College quiz buzzer
College quiz buzzerCollege quiz buzzer
College quiz buzzer
 
Micro Processor Lab Manual!
Micro Processor Lab Manual!Micro Processor Lab Manual!
Micro Processor Lab Manual!
 

Similar to Micro Processor Mini Project,Electronic Quiz Table

Dee2034 chapter 5 counter
Dee2034 chapter 5 counterDee2034 chapter 5 counter
Dee2034 chapter 5 counter
SITI SABARIAH SALIHIN
 
Dee2034 chapter 6 register
Dee2034 chapter 6 registerDee2034 chapter 6 register
Dee2034 chapter 6 register
SITI SABARIAH SALIHIN
 
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
Abrar 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 Counter
Katrina 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 afaf
phong279
 
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 laboratory
recarunkumar
 
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 part
SITI SABARIAH SALIHIN
 
L544
L544L544
L544
M45t3R16
 
MPMC LAB MANUAL EEE
MPMC LAB MANUAL EEEMPMC 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
Georgage Zim
 
Appron feeder common ckt-diagram
Appron feeder common ckt-diagramAppron feeder common ckt-diagram
Appron feeder common ckt-diagram
yogagivananda
 
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

Christina's Baby Shower Game June 2024.pptx
Christina's Baby Shower Game June 2024.pptxChristina's Baby Shower Game June 2024.pptx
Christina's Baby Shower Game June 2024.pptx
madeline604788
 
Snoopy boards the big bow wow musical __
Snoopy boards the big bow wow musical __Snoopy boards the big bow wow musical __
Snoopy boards the big bow wow musical __
catcabrera
 
Skeem Saam in June 2024 available on Forum
Skeem Saam in June 2024 available on ForumSkeem Saam in June 2024 available on Forum
Skeem Saam in June 2024 available on Forum
Isaac More
 
DIGIDEVTV A New area of OTT Distribution
DIGIDEVTV  A New area of OTT DistributionDIGIDEVTV  A New area of OTT Distribution
DIGIDEVTV A New area of OTT Distribution
joeqsm
 
Treasure Hunt Puzzles, Treasure Hunt Puzzles online
Treasure Hunt Puzzles, Treasure Hunt Puzzles onlineTreasure Hunt Puzzles, Treasure Hunt Puzzles online
Treasure Hunt Puzzles, Treasure Hunt Puzzles online
Hidden Treasure Hunts
 
高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样
高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样
高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样
9u08k0x
 
Meet Dinah Mattingly – Larry Bird’s Partner in Life and Love
Meet Dinah Mattingly – Larry Bird’s Partner in Life and LoveMeet Dinah Mattingly – Larry Bird’s Partner in Life and Love
Meet Dinah Mattingly – Larry Bird’s Partner in Life and Love
get joys
 
Emcee Profile_ Subbu from Bangalore .pdf
Emcee Profile_ Subbu from Bangalore .pdfEmcee Profile_ Subbu from Bangalore .pdf
Emcee Profile_ Subbu from Bangalore .pdf
subran
 
Modern Radio Frequency Access Control Systems: The Key to Efficiency and Safety
Modern Radio Frequency Access Control Systems: The Key to Efficiency and SafetyModern Radio Frequency Access Control Systems: The Key to Efficiency and Safety
Modern Radio Frequency Access Control Systems: The Key to Efficiency and Safety
AITIX LLC
 
Young Tom Selleck: A Journey Through His Early Years and Rise to Stardom
Young Tom Selleck: A Journey Through His Early Years and Rise to StardomYoung Tom Selleck: A Journey Through His Early Years and Rise to Stardom
Young Tom Selleck: A Journey Through His Early Years and Rise to Stardom
greendigital
 
_7 OTT App Builders to Support the Development of Your Video Applications_.pdf
_7 OTT App Builders to Support the Development of Your Video Applications_.pdf_7 OTT App Builders to Support the Development of Your Video Applications_.pdf
_7 OTT App Builders to Support the Development of Your Video Applications_.pdf
Mega P
 
240529_Teleprotection Global Market Report 2024.pdf
240529_Teleprotection Global Market Report 2024.pdf240529_Teleprotection Global Market Report 2024.pdf
240529_Teleprotection Global Market Report 2024.pdf
Madhura TBRC
 
This Is The First All Category Quiz That I Made
This Is The First All Category Quiz That I MadeThis Is The First All Category Quiz That I Made
This Is The First All Category Quiz That I Made
Aarush Ghate
 
Matt Rife Cancels Shows Due to Health Concerns, Reschedules Tour Dates.pdf
Matt Rife Cancels Shows Due to Health Concerns, Reschedules Tour Dates.pdfMatt Rife Cancels Shows Due to Health Concerns, Reschedules Tour Dates.pdf
Matt Rife Cancels Shows Due to Health Concerns, Reschedules Tour Dates.pdf
Azura Everhart
 
哪里买(osu毕业证书)美国俄勒冈州立大学毕业证双学位证书原版一模一样
哪里买(osu毕业证书)美国俄勒冈州立大学毕业证双学位证书原版一模一样哪里买(osu毕业证书)美国俄勒冈州立大学毕业证双学位证书原版一模一样
哪里买(osu毕业证书)美国俄勒冈州立大学毕业证双学位证书原版一模一样
9u08k0x
 
I Know Dino Trivia: Part 3. Test your dino knowledge
I Know Dino Trivia: Part 3. Test your dino knowledgeI Know Dino Trivia: Part 3. Test your dino knowledge
I Know Dino Trivia: Part 3. Test your dino knowledge
Sabrina Ricci
 
A TO Z INDIA Monthly Magazine - JUNE 2024
A TO Z INDIA Monthly Magazine - JUNE 2024A TO Z INDIA Monthly Magazine - JUNE 2024
A TO Z INDIA Monthly Magazine - JUNE 2024
Indira Srivatsa
 
Hollywood Actress - The 250 hottest gallery
Hollywood Actress - The 250 hottest galleryHollywood Actress - The 250 hottest gallery
Hollywood Actress - The 250 hottest gallery
Zsolt Nemeth
 
The Ultimate Guide to Setting Up Eternal IPTV on Your Devices.docx
The Ultimate Guide to Setting Up Eternal IPTV on Your Devices.docxThe Ultimate Guide to Setting Up Eternal IPTV on Your Devices.docx
The Ultimate Guide to Setting Up Eternal IPTV on Your Devices.docx
Xtreame HDTV
 
Scandal! Teasers June 2024 on etv Forum.co.za
Scandal! Teasers June 2024 on etv Forum.co.zaScandal! Teasers June 2024 on etv Forum.co.za
Scandal! Teasers June 2024 on etv Forum.co.za
Isaac More
 

Recently uploaded (20)

Christina's Baby Shower Game June 2024.pptx
Christina's Baby Shower Game June 2024.pptxChristina's Baby Shower Game June 2024.pptx
Christina's Baby Shower Game June 2024.pptx
 
Snoopy boards the big bow wow musical __
Snoopy boards the big bow wow musical __Snoopy boards the big bow wow musical __
Snoopy boards the big bow wow musical __
 
Skeem Saam in June 2024 available on Forum
Skeem Saam in June 2024 available on ForumSkeem Saam in June 2024 available on Forum
Skeem Saam in June 2024 available on Forum
 
DIGIDEVTV A New area of OTT Distribution
DIGIDEVTV  A New area of OTT DistributionDIGIDEVTV  A New area of OTT Distribution
DIGIDEVTV A New area of OTT Distribution
 
Treasure Hunt Puzzles, Treasure Hunt Puzzles online
Treasure Hunt Puzzles, Treasure Hunt Puzzles onlineTreasure Hunt Puzzles, Treasure Hunt Puzzles online
Treasure Hunt Puzzles, Treasure Hunt Puzzles online
 
高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样
高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样
高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样
 
Meet Dinah Mattingly – Larry Bird’s Partner in Life and Love
Meet Dinah Mattingly – Larry Bird’s Partner in Life and LoveMeet Dinah Mattingly – Larry Bird’s Partner in Life and Love
Meet Dinah Mattingly – Larry Bird’s Partner in Life and Love
 
Emcee Profile_ Subbu from Bangalore .pdf
Emcee Profile_ Subbu from Bangalore .pdfEmcee Profile_ Subbu from Bangalore .pdf
Emcee Profile_ Subbu from Bangalore .pdf
 
Modern Radio Frequency Access Control Systems: The Key to Efficiency and Safety
Modern Radio Frequency Access Control Systems: The Key to Efficiency and SafetyModern Radio Frequency Access Control Systems: The Key to Efficiency and Safety
Modern Radio Frequency Access Control Systems: The Key to Efficiency and Safety
 
Young Tom Selleck: A Journey Through His Early Years and Rise to Stardom
Young Tom Selleck: A Journey Through His Early Years and Rise to StardomYoung Tom Selleck: A Journey Through His Early Years and Rise to Stardom
Young Tom Selleck: A Journey Through His Early Years and Rise to Stardom
 
_7 OTT App Builders to Support the Development of Your Video Applications_.pdf
_7 OTT App Builders to Support the Development of Your Video Applications_.pdf_7 OTT App Builders to Support the Development of Your Video Applications_.pdf
_7 OTT App Builders to Support the Development of Your Video Applications_.pdf
 
240529_Teleprotection Global Market Report 2024.pdf
240529_Teleprotection Global Market Report 2024.pdf240529_Teleprotection Global Market Report 2024.pdf
240529_Teleprotection Global Market Report 2024.pdf
 
This Is The First All Category Quiz That I Made
This Is The First All Category Quiz That I MadeThis Is The First All Category Quiz That I Made
This Is The First All Category Quiz That I Made
 
Matt Rife Cancels Shows Due to Health Concerns, Reschedules Tour Dates.pdf
Matt Rife Cancels Shows Due to Health Concerns, Reschedules Tour Dates.pdfMatt Rife Cancels Shows Due to Health Concerns, Reschedules Tour Dates.pdf
Matt Rife Cancels Shows Due to Health Concerns, Reschedules Tour Dates.pdf
 
哪里买(osu毕业证书)美国俄勒冈州立大学毕业证双学位证书原版一模一样
哪里买(osu毕业证书)美国俄勒冈州立大学毕业证双学位证书原版一模一样哪里买(osu毕业证书)美国俄勒冈州立大学毕业证双学位证书原版一模一样
哪里买(osu毕业证书)美国俄勒冈州立大学毕业证双学位证书原版一模一样
 
I Know Dino Trivia: Part 3. Test your dino knowledge
I Know Dino Trivia: Part 3. Test your dino knowledgeI Know Dino Trivia: Part 3. Test your dino knowledge
I Know Dino Trivia: Part 3. Test your dino knowledge
 
A TO Z INDIA Monthly Magazine - JUNE 2024
A TO Z INDIA Monthly Magazine - JUNE 2024A TO Z INDIA Monthly Magazine - JUNE 2024
A TO Z INDIA Monthly Magazine - JUNE 2024
 
Hollywood Actress - The 250 hottest gallery
Hollywood Actress - The 250 hottest galleryHollywood Actress - The 250 hottest gallery
Hollywood Actress - The 250 hottest gallery
 
The Ultimate Guide to Setting Up Eternal IPTV on Your Devices.docx
The Ultimate Guide to Setting Up Eternal IPTV on Your Devices.docxThe Ultimate Guide to Setting Up Eternal IPTV on Your Devices.docx
The Ultimate Guide to Setting Up Eternal IPTV on Your Devices.docx
 
Scandal! Teasers June 2024 on etv Forum.co.za
Scandal! Teasers June 2024 on etv Forum.co.zaScandal! Teasers June 2024 on etv Forum.co.za
Scandal! Teasers June 2024 on etv Forum.co.za
 

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