0% found this document useful (0 votes)
102 views3 pages

T3 Paper Even-2011: Q.1 (25 Marks)

The document describes the design of an electronic voting machine and a train fire alarm system using microcontrollers 8086 and 8051 respectively. For the voting machine: 1) It works by verifying voter ID, casting a vote by pressing a keyboard button which increments the vote count, and indicating the vote is cast with an LED. 2) It involves interfacing 8086 with memory, an 8255 for I/O, and a keyboard and LEDs. Address decoding and software flowcharts are required. For the train fire alarm: 1) The train is divided into 8 zones each with 2 fire sensors to detect fires 2) On detecting a real fire, an LED for

Uploaded by

harshi2021
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
102 views3 pages

T3 Paper Even-2011: Q.1 (25 Marks)

The document describes the design of an electronic voting machine and a train fire alarm system using microcontrollers 8086 and 8051 respectively. For the voting machine: 1) It works by verifying voter ID, casting a vote by pressing a keyboard button which increments the vote count, and indicating the vote is cast with an LED. 2) It involves interfacing 8086 with memory, an 8255 for I/O, and a keyboard and LEDs. Address decoding and software flowcharts are required. For the train fire alarm: 1) The train is divided into 8 zones each with 2 fire sensors to detect fires 2) On detecting a real fire, an LED for

Uploaded by

harshi2021
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

T3 Paper Even-2011

Q.1 [25 Marks] It is election time in India. You are to develop an Electronic Voting Machine using 8086 with 64 KB memory and support chips. It works in the following way: After verification of voter ID, the supervisor sends a signal on port line B7 of 8255(interfaced at 0800H). The m/c on receipt of this signal glows an LED connected to port C0 line. This indicates m/c is now ready for voting. The voter can now cast his/her vote by pressing any key of a 4 x 4 keyboard connected to lines A0 to A3 of port A of 8255 for rows and lines B0 to B3 of port B of 8255 for columns. Each candidate is represented by a specific key of keyboard. As soon as voter has casted the vote the vote, the no. of votes casted for candidate are incremented in the memory. The m/c then glows the LED connected to port line C1 of 8255. This is voting complete indication to supervisor. All LEDs are connected in common anode fashion. The memory is interfaced from 0000H location onwards. It is assumed that total no. of voters in the polling booth is less than 50000 and no. of candidates are limited to 16. a. Draw hardware schematic diagram with 8086, support chips, memory, 8255, keyboard and LEDs. [5] b. Work out the memory and 8255 address decoding strategy and draw schematic diagram. [5] c. Draw flowchart for the software. [5] d. Develop program using 8086 assembly language having 2 modules one for keyboard scanning and other as main module. [5+5] Q.2 [7 Marks]Recently there was fire accident in Rajdhani Exp. You are to develop a fire alarm system for a train using 8051. Following is the way the system operates: The whole train is divided in to 8 zones. Each zone is fitted with two fire sensors. These fire sensors send logic High signal if they sense fire, else they send logic Low signal. When there is High signal from both the sensors in a zone, 8051 accepts it as real fire otherwise false alarm. On recognizing real fireIt sends indication to Guard of train by glowing LED specified for a zone. Guard will talk to driver to stop the train. It sends audio alarm signal to the zone of train for passengers to evacuate the zone.

The fire sensors are connected to port P0 and P1. The 8 LEDs for indication to Guard are connected to port P2. The lines to audio alarm systems are connected to port P3. Audio alarm system accepts logic High signal to sound the alarm. All LEDs are connected in common anode fashion. Draw schematic diagram and develop software. Q. 3 [3 Marks]Compare 8086 and 8051 and write at least 6 differences between them. [3] [7]

Q. 4 [5+2 Marks] of T2 a. Code a global description table entry that describes a memory segment that begins at location 00FF 0000H and ends at location 0F05 7FFFH. The privilege level is 01. This memory segment is stack segment which grows downwards. Data may not be written. Describe the steps in coding of descriptor. b. For above descriptor if segment register contains 0100H then will the access be granted or not? Give reason.

You might also like