Difference between revisions of "Blinky with AVR Breakout"
Raghavendra (Talk | contribs) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
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. | 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 B0 as shown below.Usually 220,470 or 1k ohm resistor is used as a current limiting resistor to prevent the LED from | + | 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 B0 as shown below.Usually 220,470 or 1k ohm resistor is used as a current limiting resistor to prevent the LED from blowing up. |
Refer the [[AVR I/O Register Configuration]] tutorial for basics of GPIO register configuration. | Refer the [[AVR I/O Register Configuration]] tutorial for basics of GPIO register configuration. | ||
Line 19: | Line 19: | ||
=Downloads= | =Downloads= | ||
+ | Download the complete project folder from the below link: | ||
+ | https://github.com/ExploreEmbedded/AVR-MCU-Breakout-Board/archive/master.zip<br> | ||
+ | |||
+ | |||
+ | |||
+ | Have a opinion, suggestion , question or feedback about the article let it out here! | ||
+ | {{DISQUS}} |
Latest revision as of 10:11, 20 April 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.
Contents
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 B0 as shown below.Usually 220,470 or 1k ohm resistor is used as a current limiting resistor to prevent the LED from blowing up.
Refer the AVR I/O Register Configuration tutorial for basics of GPIO register configuration.
Hook up
Code
Demo
Downloads
Download the complete project folder from the below link:
https://github.com/ExploreEmbedded/AVR-MCU-Breakout-Board/archive/master.zip
Have a opinion, suggestion , question or feedback about the article let it out here!