0% found this document useful (0 votes)
42 views1 page

Assignments Part II

The document contains 12 AVR microcontroller programming assignments involving tasks like storing and transferring data between program space, EEPROM, and SRAM memory; checking data integrity; blinking LEDs in incrementing and decrementing order; printing text to an LCD display; reading switches and buzzers; and using timers and interrupts to toggle LEDs and display a digital clock.

Uploaded by

Sumit Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views1 page

Assignments Part II

The document contains 12 AVR microcontroller programming assignments involving tasks like storing and transferring data between program space, EEPROM, and SRAM memory; checking data integrity; blinking LEDs in incrementing and decrementing order; printing text to an LCD display; reading switches and buzzers; and using timers and interrupts to toggle LEDs and display a digital clock.

Uploaded by

Sumit Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

AVR Assignments Part II

1. Write an assembly program to burn 10 bytes of data in program space and then call a subroutine to copy these bytes of data in EEPROM at starting address of 0x0100. 2. Write an assembly program to write some data in EEPROM memory locations 0x0000 to 0x0100. Then perform a block data transfer to copy the data from EEPROM to SRAM location 0x100 onwards. 3. Write a Program to store some 5 bytes of data in EEPROM along with data store the checksum byte also. Now after storing the data read the data back from EEPROM and perform a data integrity check. If data is OK then store 0x10 in r25 else store 0x20 in r25. 4. Repeat the above three programs with interrupt programming. 5. Write an assembly program to glow the LEDs in the incrementing order. 6. Write an assembly program to glow the LEDs in the decrementing order. 7. Write a C Program to print C-DAC on the first line & Bangalore on the second line of the LCD panel. 8. Write a program to read switches SW1 and SW2 & print on the LCD if the switches are pressed the respective message also blow the buzzer on switch press.. 9. Write a program to read switches SW3 & SW4 & print on the LCD if the switches are pressed and blow the buzzer. This has to be done using Interrupts. 10. Write a program in C to toggle the LEDs at 1 sec using non auto reload timer interrupts. 11. Write a program in C to toggle the LEDs at 1 sec using auto reload timer interrupts. 12. Write a program in C to display a digital clock on LCD in 24 hr. format. HH:MM:SS. Make use of timer interrupts.

You might also like