(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
8051 C Assignments with all examples covered
1. 8051 ASSIGNMENTS
1. WAP to Add, Sub, Mul, Div Two 8-bit Numbers?
2. WAP to Add, Sub, Mul, Div Two 8-bit Numbers Using Switch Case and place the
result on P2?
3. WAP to multiply two 8-bit Numbers using functions?
4. WAP to Add, Sub, Mul, Div Two 8-bit Numbers Using Switch Case and using
functions, call the Arithmetic Operations place the result on P2?
5. WAP to Get the ‘X’ value from P1 and send ‘X^2’ to P2, continuously?
6. WAP to add numbers from 1 to 10 and place the result on P1?
7. WAP to find a factorial of a number (input from P1 and continuously read input from
P1) and place the result on P2?
8. WAP to blink Port pins of P1 (infinite times) using time delay?
9. WAP to blink alternate Port pins of P1 (infinite times) using time delay?
10. WAP to find a factorial of a number (input from P1 and continuously read input from
P1) and place the result on P2 Using Functions?
10. 8051 ASSIGNMENTS
1. WAP to send values 00-FF to port P1?
2. WAP to send Hex values for ASCII characters of 0,1,2,3,4,5,A,B,C, and D
to port P1?
3. WAP to toggle all the bits of P0,P1, and P2 continuously with some time
delay. Use the sfr keyword to declare the port addresses?
4. WAP to perform logical operations and send result to ports P0,P1, and P2?
5. WAP to convert packed BCD 0x29 to ASCII and display the bytes on P1 and
P2?
6. WAP to convert ASCII digits of ‘4’ and ‘7’ to packed BCD and display
them on P1?
7. WAP to convert FD (hex value) to Decimal and display the digits on P0,P1,
and P2?
8. WAP to Add Two 16 bit numbers in Assembly?
9. WAP to find number of 1s and 0s in given byte in Assembly?
10. WAP to generate a Fibonacci series up to 10 numbers and store the series
from 40H Location in Assembly?
11. (1)
void Delay(unsigned int);
unsigned char i;
for(i=0;i<=255;i++)
{
P1 = i;
Delay(1000);
}
void Delay(unsigned int itime)
{
unsigned int i, j;
for(i=0;i < itime; i++)
for(j=0;j<2000;j++);
}
20. 8051 ASSIGNMENTS
1. WAP to toggle alternate bits of port P1 continuously with some
delay in between. Use Timer 0, 16-bit mode to generate the delay?
2. WAP to toggle only one bit P1.5 continuously for every 50ms. Use
Timer 0, mode 1 (16-bit) to create the delay?
3. WAP to toggle alternate bits of port P2 continuously for every
500ms. Use Timer 1, mode 1 to create the delay?
4. WAP to create frequency of 2500Hz on pin P2.5. Use Timer 1,
mode 2 to create the delay?
5. WAP to generate a square wave of 2KHz frequency on pin P1.5?
6. WAP to generate a square wave of 50Hz frequency on pin P2.5?
7. WAP to find a largest number in an array (in Assembly)?
8. WAP to find a smallest number in an array (in Assembly)?
9. WAP for Ascending Order (in Assembly)?
10. WAP for Descending Order (in Assembly)?
31. 8051 ASSIGNMENTS
1. WAP to transfer the letter “A” serially at 4800 Baud Rate
continuously. Use serial communication mode 1?
2. WAP to transfer the word “CBIT” at 9600 Baud Rate
continuously. Use serial communication mode 1?
3. WAP to receive bytes of data serially and put them in P1. Set
the Baud Rate at 4800. Use serial communication mode 1?
4. WAP to send two different strings to the serial port .Assuming
that SW is connected to pin P2.0, monitor its status and make
decision as follows:-
(i) SW = 0: send your first name,
(ii) SW= 1: send your last name. Use serial communication
mode 1?
5. WAP to send the two messages “Normal Speed” and “High
Speed” to the serial port. Assuming that SW is connected to
pin P2.0, monitor its status and set the baud rate as follows:-
(i) SW = 0: 28,800 baud rate,
(ii) SW= 1: 56K baud rate. Use serial
communication mode 1?
32. 8051 ASSIGNMENTS
1. WAP to read the KeyBoard and send it to the serial port. Use
baud rate 9600?
2. Write the above program in Assembly
3. WAP to get data from P2 and send it to P1, while simultaneously
creating a square wave of 200us period on pin P0.5. Use timer 0
mode 2 to create the square wave?
4. WAP to get data from P2 and send it to P1, while simultaneously
creating,
(i) Square wave of 200us period on pin P0.5,
(ii) Sending a letter ‘A’ to the serial port. Use timer 0 mode 2 to
create the square wave and use 9600 baud rate?
5. WAP using interrupts to do the following :-
(a) Receive data serially and send it to P0,
(b) Read port P1,transmit data serially, and give a copy to P2.
(c) Make timer 0 mode 2 generate a square wave of 5KHz
frequency on pin P0.5. Set baud rate at 4800.
46. 8051 ASSIGNMENTS
1. WAP to enter user name and password it is correct print Access
granted otherwise print Access Denied, use serial communication.
Use 9600 baud rate?
2. WAP to blink Port pins of P2 (infinite times) using time delay and
execute on Proteus?
3. WAP to blink alternate Port pins of P2(infinite times) using time
delay and execute on Proteus?
4. WAP to display the single character on LCD and execute in Proteus?
5. WAP to display the single character on LCD and Scroll it
continuously and execute in proteus?
6. WAP to display the string on LCD and execute in Proteus?
7. WAP to display the string on LCD and Scroll it continuously and
execute in proteus?
8. WAP to read the Keyboard and display on serial port and LCD?
9. WAP to read the Keypad Key and display on LCD?
10. WAP to read the Keypad Key and display on LCD and also on serial
port?
58. 8051 ASSIGNMENTS
1. WAP to rotate stepper motor in clockwise and
execute in proteus?
2. WAP to rotate stepper motor in anticlockwise and
execute in proteus?
3. WAP to monitor the status of SW and perform the
following :-
(a) If SW = 0, the stepper motor rotates
clockwise.
(b) If SW = 1, the stepper motor rotates
anticlockwise, and execute in proteus?
4. WAP to rotate stepper motor in clockwise in
Assembly and execute in proteus?
5. WAP to ADC and Display on LCD and execute in
proteus?