Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: How to learn AVR

2007-10-26 by brewski922

--- In AVR-Chat@yahoogroups.com, "kamalkumarkalra" 
<kamalkumarkalra@...> wrote:
>
> hello i want to know that how to go about AVR. where to start 
> learning AVR. i know 8051/52 programming. now i want to know what is 
> the first step to learn AVR.
>

There are several responses already. If I was to start over again here 
is how "I" would do it...

The programming, experimenting and development platform I would start 
with is the STK500, available from many venders, Digi Key 
www.digikey.com has it for about $84. I comes with a microprocessor to 
learn with, a board to program and experiment with. It has 8 PB 
switches for inputs and 8 LEDs for output, two RS232 ports, one for 
porgramming and one for communications. Drawback - uses the good ol 
RS232 port for programming and on the newer computers those are 
getting hard to find. A USB port would be better.

To programming and experiment in assembly there is AVR Studio 4. You 
can DL, install software and print out some of the manuals while you 
wait of the STK500 to arrive.

To program in C CodeVisionAVR 
www.hpinfotech.ro/index.html
has a nice demo version that has many great features including their 
CodeWizard. With it you use dialogs to pick your processor, freq, 
input and output ports, what other features to set up and it will 
write the initialization code. A GREAT feature for newbies and people 
like myself.

Later on you may want to try hee GNU C compiler. Using Windows there 
is WinAVR.

As mentined before, a great support location is www.avrfreaks.net

You can save some money by making your own support board but you will 
spend a lot of time doing it and if there is one mistake, is it 
hardware, software or both or several times is each. Thats why the 
STK500 will save you lots of headaches.

Mike

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.