AVR Tutorials
The Best AVR Microcontroller Tutorials on the Web

AVR Tutorials

About AVR Tutorials


AVR Tutorials aims to provide information and tutorials for the Atmel AVR 8-bits series of microcontrollers such as the ATMega8515, ATMega16, ATMega32, ATTiny2313, ATTiny13, etc. The information on AVR Tutorials is geared towards assisting students in understanding concepts related to the exciting technology around embedded systems through the development of simple programs and building simple electronic circuits utilizing Atmel AVR microcontrollers.


New tutorials are posted as they become available so please visit frequently. The topics AVR Tutorials aims to cover include:
  1. Assembly Language for AVR Microcontrollers
  2. Embedded C Language for AVR Microcontrollers
  3. AVR Microcontroller Analog Comparator
  4. AVR Microcontroller AD Converter
  5. AVR Microcontroller Interrupt Sub-system
  6. AVR Microcontroller Timer/Counter
  7. AVR Microcontroller Serial USART
  8. AVR Microcontroller Interfacing
  9. AVR Microcontroller Projects

AVR Assembly Code looks like this:

; This is an AVR assembly code
.include "m8515def.inc"
.org $00
 
            ADD     R16, R17       ; Add value in R16 to value in R17
            DEC     R17            ; Minus 1 from the value contained in R17
            MOV     R18, R16       ; Copy the value in R16 to R18
END:        JMP     END            ; Jump to the label END

AVR C Code looks like this:

/*This is an AVR C code*/
int main() 
{ 
  int i = 0;
  for (i = 0; i < n; i++) 
  { 
     USARTWriteChar(string[i]);
  } 
}

Some AVR Chips:

AVR Tutorials microcontroller images

AVR Tutorials hopes these tutorials are beneficial to you and looks forward to your continued visits for all your microcontroller tutorial needs.