Beginner’s Guide – AVR Programming

Jun 25, 2012 by


You will get this done in 30 min.

circuit board Beginners Guide   AVR Programming

Step 1: Parts

1. 1 X  any type of circuit board
2. 1 X Atmel AVR Atmega16 microcontroller
3. 8 X 330 ohms Resistors
4. 8 X LEDs
5. 1 X AVR Programmer (just use for download the code, i used a STK500)

Step 2: Build the circuit

circuit1 Beginners Guide   AVR Programming

It’s very simple, just follow the diagram that i attached.

program Beginners Guide   AVR Programming

 

Now you can download the code. I am using the AVR Studio to download the code. You may copy and past this code to AVR studio:

#include

int main(void)
{
DDRD = 0xff;
while(1)
{
PORTD = 0b11100110;
}
}

For more details, click: Beginner’s Guide – AVR Programming

This free embedded project also found using:

  • avr programming
  • atmega32 programming
  • circuit boards for beginners
  • atmega16 microcontroller
  • programming atmega16
  • atmega 32 programming

Leave a Comment

You must be logged in to post a comment.

Recent Posts

Ahhhh...BIU! video game Using Atmega1284

Ahhhh...BIU! video game Using Atmega1284

Introduction EVERYONE LOVES GAMES! In this project, I built a video game controlled by people’s [...]
Wireless, web-based, cardiac monitor Using Atmega644

Wireless, web-based, cardiac monitor Using Atmega644

Introduction "A composite personal health monitor solution bridges the gaps between patients an[...]
A Portable, Automated, web-based Bird Trapping Mechanism Using Atmega644

A Portable, Automated, web-based Bird Trapping Mechanism Using Atmega644

Background We designed and implemented an automated, portable bird-trapping mechanism, along with [...]
Autonomous visually steered car Using Atmega644

Autonomous visually steered car Using Atmega644

Introduction For our final project, we re-engineered a remote control car to autonomously navigate [...]
CO2 meter and Xively logger with NDIR infrared sensor built on AVR ATmega328

CO2 meter and Xively logger with NDIR infrared sensor built on AVR ATmega328

This is an AVR ATmega328 based CO2, temperature and humidity logger and meter. It logs data feed,[...]

Read more:
Team shows how rivers creep and flow to shape landscapes over time
Close