The document contains 24 questions about microcontroller programming and the 8051 microcontroller. It covers topics like the internal RAM and ROM size, features, data types, development tools, memory organization, power saving modes, registers, interfacing examples, and timing modes. The questions require explaining concepts and developing C programs to demonstrate interfacing and programming capabilities of the 8051 microcontroller.
The document contains 24 questions about microcontroller programming and the 8051 microcontroller. It covers topics like the internal RAM and ROM size, features, data types, development tools, memory organization, power saving modes, registers, interfacing examples, and timing modes. The questions require explaining concepts and developing C programs to demonstrate interfacing and programming capabilities of the 8051 microcontroller.
The document contains 24 questions about microcontroller programming and the 8051 microcontroller. It covers topics like the internal RAM and ROM size, features, data types, development tools, memory organization, power saving modes, registers, interfacing examples, and timing modes. The questions require explaining concepts and developing C programs to demonstrate interfacing and programming capabilities of the 8051 microcontroller.
The document contains 24 questions about microcontroller programming and the 8051 microcontroller. It covers topics like the internal RAM and ROM size, features, data types, development tools, memory organization, power saving modes, registers, interfacing examples, and timing modes. The questions require explaining concepts and developing C programs to demonstrate interfacing and programming capabilities of the 8051 microcontroller.
Sub: Microcontroller Programming (22471) MK4I Staff: Mr. Gaikwad R S
1. State the size of internal RAM and ROM in 8051
2. Compare embedded ‘c’ programming and assembly language programming. 3. Sketch pin diagram of 8051 IC. 4. State any four features of 8051 microcontroller. 5. State any four embedded c data types. 6. State & explain any two development tools in brief. 7. Draw internal memory organization of 8051 and explain. 8. Explain Boolean processor of 8051 microcontroller. 9. Explain Power saving modes of 8051 microcontroller. 10. Draw & explain format of TMOD Register. 11. Draw & explain format of TCON Register. 12. Develop c language program to get a byte of data from port P0. If it is less than 100, send it to P1 otherwise send it to P2. 13. Write C language program to toggle all bits of port2 continuously with 500 ms delay. Use timer 1 mode 1 14. Develop c language program to display digits from 9 to 0 with 5 ms delay in 7 segment LED display interfaced with 8051. 15. A key is connected at P3.2 and 8 LEDs are connected to P1 of 8051. Write C program to display 0 t0 255 in binary on LEDs, when a key is pressed. 16. Write logical operators in C for AND, OR, EX-OR and NOT for 8051 and state one example each. 17. Interface a switch to P1.0 and eight LEDs to Port 0 of 8051 microcontroller. Write a C language program to operate 8 LEDs. When switch is ON first 4 LEDs should blink five times and when switch is OFF remaining 4 LEDs should blink five times. Draw interfacing diagram. 18. Write C program to turn ON and OFF the LED connected to P2.1 of microcontroller after some delay. 19. Write C language program to generate square wave of 200 µS period on P2.5. 20. Write the functions of following pins: 1) PSEN 2) EA 3) XTAL1 4) XTAL2 5) ALE 6) Reset 21. Develop c language program to read P0 and P1. Add the content of P0 and P1 and store the result to P2. 22. List the various interrupts in 8051 microcontroller along with their priorities and vector locations. 23. Explain software development tools related to 8051: 1) Compiler 2) Assembler 3) Debugger 4) Emulator 5) Editor 6) Cross-Compiler. 24. Explain different time modes of 8051 microcontroller.