Line 1: Line 1:
 
[[category:Atmega32 Breakout]]
 
[[category:Atmega32 Breakout]]
 +
In this tutorial we will get hands on with AVR breakout board. Here we will interface simple LED with one of the port pins. For this tutorial we will require a breadboard, LEDs and resistors.
 
=Basics=
 
=Basics=
 +
All the port pins of the Atmega 32 are taken out on breakout board so that you can easily interface any peripheral with it. We will connect the LED to PORT C0 as shown below.Usually 220,470 or 1k ohm resisitor is used as a current limiting resistor to prevent the LED from blew up.
 +
 +
Refer the [[AVR I/O Register Configuration]] tutorial for basics of GPIO register configuration.
 +
 +
 +
 +
 
=Hook up=
 
=Hook up=
 
=Code=
 
=Code=
 
=Demo=
 
=Demo=
 
=Downloads=
 
=Downloads=

Revision as of 16:05, 30 March 2016

In this tutorial we will get hands on with AVR breakout board. Here we will interface simple LED with one of the port pins. For this tutorial we will require a breadboard, LEDs and resistors.

Basics

All the port pins of the Atmega 32 are taken out on breakout board so that you can easily interface any peripheral with it. We will connect the LED to PORT C0 as shown below.Usually 220,470 or 1k ohm resisitor is used as a current limiting resistor to prevent the LED from blew up.

Refer the AVR I/O Register Configuration tutorial for basics of GPIO register configuration.



Hook up

Code

Demo

Downloads