This document outlines a microcontroller lab exam with 4 questions worth a total of 30 marks to be completed within 45 minutes. Question 1 is worth 5 marks and involves toggling the upper nibble of PORT C with a 50ms delay using Timer 0. Question 2 is worth 5 marks and uses Timer 0 to generate a square wave on PORT A.5 while transferring data from PORT C to PORT D. Question 3 is worth 10 marks and involves continuously transmitting the string "Embedded" serially at 9600 baud rate. Question 4 is worth 10 marks and displays the string "AVR" on an LCD using 8-bit, 4-bit and serial modes.
This document outlines a microcontroller lab exam with 4 questions worth a total of 30 marks to be completed within 45 minutes. Question 1 is worth 5 marks and involves toggling the upper nibble of PORT C with a 50ms delay using Timer 0. Question 2 is worth 5 marks and uses Timer 0 to generate a square wave on PORT A.5 while transferring data from PORT C to PORT D. Question 3 is worth 10 marks and involves continuously transmitting the string "Embedded" serially at 9600 baud rate. Question 4 is worth 10 marks and displays the string "AVR" on an LCD using 8-bit, 4-bit and serial modes.
This document outlines a microcontroller lab exam with 4 questions worth a total of 30 marks to be completed within 45 minutes. Question 1 is worth 5 marks and involves toggling the upper nibble of PORT C with a 50ms delay using Timer 0. Question 2 is worth 5 marks and uses Timer 0 to generate a square wave on PORT A.5 while transferring data from PORT C to PORT D. Question 3 is worth 10 marks and involves continuously transmitting the string "Embedded" serially at 9600 baud rate. Question 4 is worth 10 marks and displays the string "AVR" on an LCD using 8-bit, 4-bit and serial modes.
QNo.1 Write a program to toggle upper nibble of PORT C with delay of 50ms.Use Timer0,Normal mode, No Prescalar options to generate delay. 5 Marks QNo.2 Use Timer 0 generate a square wave on pin PORT A.5 while at the same time transferring data from PORTC TO PORTD. 5 Marks QNo.3 Write a program to transfer string Embedded serially at 9600 baud rate continuously. Use 8bit data & 1 stop bit. Assuming XTAL=8MHz. 10 Marks QNo.4 Write a program to display string AVR using 8bit mode,4bit mode and serially on LCD. 10 Marks