AVR

 

Order the book from Amazon

 

Book Errata

Sending Suggestions:

If you have any suggestions about the book, or you have faced any mistakes in the book, please send them to the following email: NicerBooks@gmail.com

Chapter 0: Introduction to Computing

Power Point

Chapter 0: Introduction to Computing

Lab 0: Numbering Systems

Chapter 1: The AVR Micro-controller: History and Features

Power Point: Computer History

Power Point: Introduction to AVR

Additional Resources:

AVR and AVR32 Quick Reference Guide  Microchip download link

Chapter 2: AVR Architecture and Assembly Language Programming

Power Point

Source Codes

Assembly Programming in Atmel Studio 7.0 (step by step tutorial)

Assembly programming in MPLAB X (step by step tutorial)

Lab: Simulator

Lab: Flags

Chapter 3: Branch, Call, and Time Delay Loop

Power Point

Source Codes

Lab: Stack

Chapter 4: AVR I/O Port Programming

Power Point

Source Codes

Appendix C: IC Interfacing and System Design Issues

AVR Simulation in SimulIDE Step by Step Tutorial (Case Study)

Lab: Simulating I/Os

Lab: I/O Ports

Lab: Counter

Chapter 5: Arithmetic, Logic Instructions, and Programs

Power Point

Source Codes

Lab: Arithmetic

Chapter 6: AVR Advanced Assembly Language Programming

Power Point

Source Codes

Lab: Data transfer

Lab: Look-up and 7-segment

Lab: Arithmetic instructions & BCD

Lab: Logic instructions & Bit Manipulation

Lab: EEPROM

Chapter 7: AVR Programming in C

C programming in Atmel Studio 7 step by step tutorial

Power Point

Source Codes

Lab: AVR C Programming

Chapter 8: AVR Hardware Connection, Hex File, and Flash Loaders

Power Point

Source Codes

Arduino Uno Schematics

Using Arduino Boards in Atmel Studio 7

Appendix F: ATmega328 Fuse Bits

AVR Simulation in SimulIDE Step by Step Tutorial

 

Extra Resources (Case Study):

AVR Hardware Design Considerations

Chapter 9: AVR Timer Programming in Assembly and C

Power Point

Source Codes

Lab: Timers & Counters

Chapter 10: AVR Interrupt Programming in Assembly and C

Power Point

Source Codes

Lab: Interrupt

Chapter 11: AVR Serial Port Programming in Assembly and C

Power Point

Source Codes

Lab: Serial Port

Simulating the AVR UART in SimulIDE

Terminal bpp software

Chapter 12: LCD and Keyboard Interfacing

Power Point

Source Codes

Lab: Character LCDs

Lab: matrix Keyboards

Simulation: LCD Simulation in SimulIDE

Simulation: Keypad Simulation in SimulIDE

Chapter 13: ADC, DAC, and Sensor Interfacing

Power Point

Source Codes

Lab: ADC & LM35

Simulation: ADC simulation in SimulIDE

Chapter 14: Relay, Optoisolator, and Stepper Motor Interfacing with AVR

Power Point

Source Codes

Lab: Stepper motor

Chapter 15: Input Capture and Wave Generation in AVR

Power Point

Source Codes

Lab: Measuring duty cycle & Frequency using Capturing

Simulation: Using Oscope in SimulIDE to Monitor Waves

Chapter 16: PWM Programming and DC Motor Control in AVR

Power Point

Source Codes

Lab: PWM

Lab: DC Motors

Simulation: DC-motor and PWM Simulation in SimulIDE

Chapter 17: SPI Protocol and MAX7221 Display Interfacing

Power Point

Source Codes

Lab: SPI

Chapter 18: I2C Protocol and DS1307 RTC Interfacing

Power Point

Source Codes

Lab: RTC

Appendix A: ASCII Codes

Appendix A: ASCII Codes

Appendix B: AVR Instructions Explained

Appendix B: AVR Instructions

Appendix C: IC Interfacing and System Design Issues

Appendix C: IC Interfacing and System Design Issues

Appendix D: Flowcharts and Pseudocode

Appendix D: Flowcharts

Appendix E: Basics of Wire Wrapping

Appendix E: Wire Wrapping

Appendix F: ATmega328 Fuse Bits

Appendix F: ATmega328 Fuse Bits

Appendix G: AVR Primer for 8051 Programmers

Appendix G: AVR Primer for 8051 Programmers

Appendix H: Graphic LCDs

Appendix H: Graphic LCDs

Appendix I: Passing Arguments into Functions 

Appendix I: Passing Argument into Functions

Mixing Assembly and C (Atmel doc42055)