Subject: Microcontroller Application (suggestion for 2nd internal)
Answer all the questions:
1. What are the data types used in C-programming of 8051 microcontroller?
2. Write C- program for 8051 microcontroller – a) Toggle port pin P1.4 keeping all other pins of the port unaffected. b) Toggle the port pin P1.4 whenever the input is coming from P 1.5 pin. c) Design a bi stable multivibrator using P1.1 and P1.2 as input and P1.4 and P1.5 as output of the multivibrator. d) Show how 50Hz square wave can be generated by port pin P 0.3. e) To get the ASCII value for pre-loaded array in the program itself by port P 1. 3. Write assembly language program for 8051 microcontroller- a) Write a 500 ms delay program. b) Create a square wave of 66% duty cycle on bit 3 of port 2. 4. Interface a 2KB RAM chip with 8051 microcontroller as a data memory such that the starting address is 9000H.