Top 13 Most Asked Questions per Unit
UNIT 3 – Timers and Counters
1. Draw and explain TMOD register with functions of each bit.
2. Draw and explain TCON register in 8051.
3. Write a C program to generate square wave (e.g., 50 Hz or 2 kHz) using Timer
0 in Mode 1.
4. Write a short note on C data types used in 8051.
5. Write steps to configure Timer 0 in Mode 1.
6. Write a C program to toggle bit P1.5 every 50 ms using Timer 0.
7. Explain Timer Modes (0, 1, 2, 3) in 8051.
8. Write a program to toggle P2.4 continuously without affecting other bits.
9. Write a program to toggle all bits of Port 0, 500 times.
10. Explain TF0 bit in TCON and write a program to start Timer 0.
11. Write a C program to configure Port 1 as input and P2.0 as input pin.
12. Write a program to toggle Port 1 continuously.
13. Write a program to start Timer 0 in Mode 2 using 8051 XTAL.
UNIT 4 – Interrupts and ADC
1. Explain interrupt structure of 8051 with priority and vector address diagram.
2. Draw and explain IE (Interrupt Enable) register.
3. Draw and explain IP (Interrupt Priority) register.
4. Write a program to turn ON/OFF LED using INT0 (connected to P2.4 or P0).
5. Write a C program to enable INT0 and INT1.
6. Write steps for interrupt execution cycle in 8051.
7. Explain SOC, EOC, OE pins of ADC 0809.
8. Draw interfacing diagram of ADC 0809 with 8051.
9. Write steps to program ADC 0809.
10. Explain ADD A, ADD B, ADD C pins of ADC 0809.
11. Write a program to toggle LED OFF on INT0 and ON on INT1.
12. Assign highest priority to INT1, explain effect with example.
13. Draw flowchart to read ADC data via 8051.
UNIT 5 – Serial Communication and GSM
1. Draw and explain SCON register in 8051.
2. Explain steps to transfer data serially in 8051.
3. Explain steps to receive data serially in 8051.
4. Write a program to transfer letter ‘T’ serially 10 times at 4800 baud, Mode
1.
5. Write a program to transmit character ‘A’ at 4800 baud, Mode 1.
6. Write a program to receive data serially and display it on Port 1.
7. Explain baud rate calculation using Timer 1.
8. Calculate TH1 values for baud rates 9600, 2400, 1200 (XTAL = 11.0592 MHz).
9. Write a program to receive serial data and put it in Port 2.
10. Explain serial port structure of 8051.
11. Explain SBUF, TxD, RxD in serial communication.
12. Explain GSM interfacing with 8051 using diagram.
13. List and explain AT commands for GSM module.
UNIT 6 – Interfacing Applications
1. Draw and explain stepper motor interfacing with 8051.
2. Write a program to rotate stepper motor 360° (step angle 1.8°) in
anticlockwise direction.
3. Write a program to rotate stepper motor 7.2° using suitable step sequence.
4. Write a program to rotate stepper motor continuously in anticlockwise
direction.
5. Explain LED interfacing with common cathode/anode diagrams.
6. Write a C program to blink LED at P1.0 with suitable delay.
7. Explain relay interfacing with 8051 and driver circuit.
8. Explain working of electromechanical relay with diagram.
9. Write a program to control LED using switch (position A: ON, B: OFF).
10. Explain block diagram for power measurement using 8051.
11. Explain voltage & current measurement using 8051.
12. Explain key (keyboard) interfacing with 8051.
13. Define step angle and calculate steps for 1.2° motor for full revolution.