(Created page with "category:Atmega128 Breakout In this tutorial we will get hands on with Atmega128 breakout board. Here we will interface simple LED with one of the port pins. For this tuto...")
 
Line 16: Line 16:
 
=Demo=
 
=Demo=
  
[[none]]
+
[[File:0Blinky with Atmega128 Breakout.gif|none]]
  
 
=Downloads=
 
=Downloads=

Revision as of 11:59, 5 April 2016

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

Basics

All the port pins of the Atmega128 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

ATmega128breakout blinky.png

Code

Demo

0Blinky with Atmega128 Breakout.gif

Downloads