Atmel AVR Microcontroller discussion group.
New to the AVR - chalma_juice - Mar 9 21:49:00 2004
Hello Users,
I am a College student whom recently acquired my AS in Electronic
Technology. During the last courses of my semester I was introduced
to the Basic Stamp microcontroller. I fell in love with it because
of its ease of use and easy to learn language (pBasic). I started
going off on my own things using course materials supplied by
parallax (makers of the BasicStamp) and suggestions from my
instructor. However I started to notice limitations or barriers when
using the BS so I wanted to expand my horizons, and started doing my
own stuff. I didn't sign up for the university in time (for my 4
year degree) so I signed up for another class at my community
college, the new instructor told me that I shoudl use a new
microcontroller and start experimenting. I had the choice between
the new rabbitprocessors the superZ (offbranch of z80's) and the
atmel avr. I chose the avr because of the option when I get better I
can program with C (because I know C++). My instructor gave me an
assignment however I dunno if he has too much faith in me or I have
no faith in myself but I feel I don't know anything. I am lost, I
tried going to avrfreaks.com but I found that they don't have
anything for beginners. I mean like really beginner stuff. I saw
one link and it was good but not enough. I need basics to go through
of how to set a pin as I/O, and if its high or low to drive a led.
My instructor is forcing me to use Asembly language as well, which I
don't know, so I really need to learn a new language assembly and a
new microcontroller AT90S2313. Any helpful links or tutorials would
be extremely helpful. I look forward to frequenting this group and
many projects (if I chose to continue using this chip). Thank you
ahead of time.
Pedro Garcia
Chalma_Juice@Chal...

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )
Re: [AVR club] New to the AVR - James Washer - Mar 9 22:00:00 2004
Welcome to the group..
Personal opinions follow..
LEARN ASSEMBLY.. you'll never actually understand what is going on under the covers
unless you learn assembly. No, I'm not suggesting you program in assembly long term, but
learn the instruction set and how to do basic things in assembly. It will help you make
good decisions in your higher level programs later on.
The AVR is a RISC (reduced instruction set computer) chip and learning the assembly is
quite easy. There just aren't that many instructions.
Once you start 'thinking in assembly', you'll be amazed at how much easier it is to debug
problems with higher level languages.
- jim
On Wed, 10 Mar 2004 01:49:49 -0000
chalma_juice <no_reply@no_r...> wrote:
> Hello Users,
>
> I am a College student whom recently acquired my AS in Electronic
> Technology.

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )
RE: [AVR club] New to the AVR - Steven Chang-Lin Yu - Mar 9 22:12:00 2004
To learn embedded system from a beginner level (I am still at the level
despair after two and half years of playing with AVR and HC11), you really
have to start reading the datasheet of the uC you have been assigned. In
the datasheet, it have all the memory and port address in HEX format,
however the GNUAVR library already define the common name to those port
address, so for example u can use the name PORTA to use the pins on PORTA
straight always.
You mention you don't know about assembly language, I suggest you learn it
quickly. Although C is a easier way of writing a complex system, for speed
demanding job, assembly still the way to go (and you will find a lot of
university and college lecture only like student writing in ASM, cause they
didn't bother upgrading them self in to high level language :-) ). Here is
a link to an ASM tutorial for AVR, spend sometime to read it, once you grasp
the basic, the rest is easy.
HYPERLINK
"http://www.avr-asm-tutorial.net/avr_en/index.html"http://www.avr-asm-tutori
al.net/avr_en/index.html
To help you get on to the track, include in this email is my STK500 Demo
recoded in C from ASM. You can find the ASM version in the STK500 Manual or
the AVRStudio4 Help file on STK500.
Got more questions, just post on the email list, most of the question can be
reply within 24 hours!!!
Steven
__________________________________________________________________
Steven Chang-Lin Yu
UNSW - MEngSc, Telecommunications
ICQ#: 66369374
Current ICQ status: HYPERLINK
"http://web.icq.com/whitepages/online?icq=66369374&img=21"
* Home Tel#: 0401043641
* Work Tel#: 0401043641
* HYPERLINK "http://wwp.icq.com/66369374"More ways to contact me
HYPERLINK "http://wwp.icq.com/target="Get ICQ!
__________________________________________________________________
_____
From: chalma_juice [mailto:no_reply@no_r...]
Sent: Wednesday, 10 March 2004 12:50 PM
To: avrclub@avrc...
Subject: [AVR club] New to the AVR
Hello Users,
I am a College student whom recently acquired my AS in Electronic
Technology. During the last courses of my semester I was introduced
to the Basic Stamp microcontroller. I fell in love with it because
of its ease of use and easy to learn language (pBasic). I started
going off on my own things using course materials supplied by
parallax (makers of the BasicStamp) and suggestions from my
instructor. However I started to notice limitations or barriers when
using the BS so I wanted to expand my horizons, and started doing my
own stuff. I didn't sign up for the university in time (for my 4
year degree) so I signed up for another class at my community
college, the new instructor told me that I shoudl use a new
microcontroller and start experimenting. I had the choice between
the new rabbitprocessors the superZ (offbranch of z80's) and the
atmel avr. I chose the avr because of the option when I get better I
can program with C (because I know C++). My instructor gave me an
assignment however I dunno if he has too much faith in me or I have
no faith in myself but I feel I don't know anything. I am lost, I
tried going to avrfreaks.com but I found that they don't have
anything for beginners. I mean like really beginner stuff. I saw
one link and it was good but not enough. I need basics to go through
of how to set a pin as I/O, and if its high or low to drive a led.
My instructor is forcing me to use Asembly language as well, which I
don't know, so I really need to learn a new language assembly and a
new microcontroller AT90S2313. Any helpful links or tutorials would
be extremely helpful. I look forward to frequenting this group and
many projects (if I chose to continue using this chip). Thank you
ahead of time.
Pedro Garcia
Chalma_Juice@Chal...
_____
"Yahoo! Terms of Service.
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 5/03/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 5/03/2004
[Non-text portions of this message have been removed]

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )
Re: [AVR club] New to the AVR - Ron - Mar 9 23:33:00 2004
You can learn asm programming and see it in action without
spending a penny.
Go to http://www.atmel.com and download their latest development system,
I believe the most current is AVRSTUDIO 4.08. (do a search for it on the
site)
Load it up and start by looking for a tutorial (included in the package).
You can write the program, assemble it and use the built-in de-bugger to see
the
code in action. For example you can step through your code and watch it set
a port pin.
It will be confusing at first but very exciting when you begin to learn
what's
happening. Good luck, DRAIT
----- Original Message -----
From: "chalma_juice" <no_reply@no_r...>
To: <avrclub@avrc...>
Sent: Tuesday, March 09, 2004 8:49 PM
Subject: [AVR club] New to the AVR
> Hello Users,
>
> I am a College student whom recently acquired my AS in Electronic
> Technology. During the last courses of my semester I was introduced
> to the Basic Stamp microcontroller. I fell in love with it because
> of its ease of use and easy to learn language (pBasic). I started
> going off on my own things using course materials supplied by
> parallax (makers of the BasicStamp) and suggestions from my
> instructor. However I started to notice limitations or barriers when
> using the BS so I wanted to expand my horizons, and started doing my
> own stuff. I didn't sign up for the university in time (for my 4
> year degree) so I signed up for another class at my community
> college, the new instructor told me that I shoudl use a new
> microcontroller and start experimenting. I had the choice between
> the new rabbitprocessors the superZ (offbranch of z80's) and the
> atmel avr. I chose the avr because of the option when I get better I
> can program with C (because I know C++). My instructor gave me an
> assignment however I dunno if he has too much faith in me or I have
> no faith in myself but I feel I don't know anything. I am lost, I
> tried going to avrfreaks.com but I found that they don't have
> anything for beginners. I mean like really beginner stuff. I saw
> one link and it was good but not enough. I need basics to go through
> of how to set a pin as I/O, and if its high or low to drive a led.
> My instructor is forcing me to use Asembly language as well, which I
> don't know, so I really need to learn a new language assembly and a
> new microcontroller AT90S2313. Any helpful links or tutorials would
> be extremely helpful. I look forward to frequenting this group and
> many projects (if I chose to continue using this chip). Thank you
> ahead of time.
>
> Pedro Garcia
> Chalma_Juice@Chal...
>
>
> Yahoo! Groups Links

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )
Re: [AVR club] New to the AVR - Jan Weber - Mar 10 7:32:00 2004
You may have a look at the following website:
http://homepage.sunrise.ch/mysunrise/pfleury/avr-software.html
There's a ZIP file containing basic C source code to explain the usage of
AVR onchip hardware. You also learn something about using the C language
with microcontrollers.
In my opinion, you don't have to learn ASM to fully understand the AVR
processors, but you need to read the data sheets. Basically, every AVR
contains the same core and timer structures, they get more advanced with the
higher-end types, but the register names and bit flags remain the same for
every AVR.
Jan
----- Original Message -----
From: "Ron" <drait@drai...>
To: <avrclub@avrc...>
Sent: Wednesday, March 10, 2004 4:33 AM
Subject: Re: [AVR club] New to the AVR
> You can learn asm programming and see it in action without
> spending a penny.
> Go to http://www.atmel.com and download their latest development system,
> I believe the most current is AVRSTUDIO 4.08. (do a search for it on the
> site)
> Load it up and start by looking for a tutorial (included in the package).
> You can write the program, assemble it and use the built-in de-bugger to
see
> the
> code in action. For example you can step through your code and watch it
set
> a port pin.
> It will be confusing at first but very exciting when you begin to learn
> what's
> happening. Good luck, DRAIT
> ----- Original Message -----
> From: "chalma_juice" <no_reply@no_r...>
> To: <avrclub@avrc...>
> Sent: Tuesday, March 09, 2004 8:49 PM
> Subject: [AVR club] New to the AVR
> > Hello Users,
> >
> > I am a College student whom recently acquired my AS in Electronic
> > Technology. During the last courses of my semester I was introduced
> > to the Basic Stamp microcontroller. I fell in love with it because
> > of its ease of use and easy to learn language (pBasic). I started
> > going off on my own things using course materials supplied by
> > parallax (makers of the BasicStamp) and suggestions from my
> > instructor. However I started to notice limitations or barriers when
> > using the BS so I wanted to expand my horizons, and started doing my
> > own stuff. I didn't sign up for the university in time (for my 4
> > year degree) so I signed up for another class at my community
> > college, the new instructor told me that I shoudl use a new
> > microcontroller and start experimenting. I had the choice between
> > the new rabbitprocessors the superZ (offbranch of z80's) and the
> > atmel avr. I chose the avr because of the option when I get better I
> > can program with C (because I know C++). My instructor gave me an
> > assignment however I dunno if he has too much faith in me or I have
> > no faith in myself but I feel I don't know anything. I am lost, I
> > tried going to avrfreaks.com but I found that they don't have
> > anything for beginners. I mean like really beginner stuff. I saw
> > one link and it was good but not enough. I need basics to go through
> > of how to set a pin as I/O, and if its high or low to drive a led.
> > My instructor is forcing me to use Asembly language as well, which I
> > don't know, so I really need to learn a new language assembly and a
> > new microcontroller AT90S2313. Any helpful links or tutorials would
> > be extremely helpful. I look forward to frequenting this group and
> > many projects (if I chose to continue using this chip). Thank you
> > ahead of time.
> >
> > Pedro Garcia
> > Chalma_Juice@Chal...
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
>
>
>
> Yahoo! Groups Links

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )
Re: New to the AVR - Don Kinzer - Mar 11 20:35:00 2004
--- In avrclub@avrc..., chalma_juice <no_reply@y...> wrote:
> Hello Users,
>
> ... I really need to learn a new language assembly and a
> new microcontroller AT90S2313. Any helpful links or tutorials would
> be extremely helpful.
I have the book "Programming and Customizing the AVR Microcontroller"
and found it quite helpful to understand the innards of the AVR and
its assembly language. Here is a link to the book on Amazon:
http://www.amazon.com/exec/obidos/tg/detail/-
/007134666X/qid=1079051519/sr=1-2/ref=sr_1_2/102-1655735-7807306?
v=glance&s=books
Another book that looks like it might be helpful for beginners
is "AVR: An Introductory Course". I have not read it; just the
reviews.
http://www.amazon.com/exec/obidos/tg/detail/-
/0750656352/qid=1079051519/sr=1-1/ref=sr_1_1/102-1655735-7807306?
v=glance&s=books
Don

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )