Assignments
Assignment-1
· Convert Binary Numbers into Decimal, Octal and Hexadecimal:
1. (11011001) 2. (101010) 3. (10111001) 4. (10110) 5. (10111111)
· Convert Decimal Numbers into Binary, Octal and Hexadecimal:
1. (38) 2. (28) 3. (30) 4. (45) 5. (55)
· Convert Hexadecimal Numbers into Binary, Octal and decimal:
1. (38) 2. (FF) 3. (A0) 4. (CF) 5. (55)
· Binary Number Addition:
1. (11011001)2+ (11011001)2
2. (11001100)2+ (01010101)2
3. (10101010)2+ (11110000)2
4. (11110011)2+ (11001100)2
5. (11001100)2+ (10101010)2
· Hexadecimal Number Addition:
1. (12)16+ (19)16
2. (FF) 16+ (10)16
3. (1C) 16+ (1B) 16
4. (0F) 16+ (1F) 16
5. (AB) 16+ (CD) 16
Assignment-2
1. Write a C Program to Send and receive serial communication with computer at 19200 Baud.
2. Write a C Program to read external interrupts INT0-1 and turn ON led if INT0 is raised and OFF led if INT1 is raised. (use Falling Edge Triggering)
3. Write a C program to control DC motor speed using PWM.
4. Write a C program to generate square wave of 1 KHz using timer1. (Crystal freq:8MHz)
5. Write a C program to blink 4 led’s of PORTD with 10 KHz frequency. Use for loop.
Assignment-3
1. Write a C Program to display “Biomedical” in 1st line and your name in 2nd line of LCD.
2. Write a C Program to read analog input connected at A0 pin and display lower 8 bit on PORTD and higher 2 bit on PORTB. Use LED.
3. Write a C Program to interface Stepper Motor.
4. Write a C Program to turn bulb on and off using relay.