Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help :I want to start now with ATMEL AVR microcontroller ..

Status
Not open for further replies.

ahmad_abdulghany

Advanced Member level 4
Joined
Apr 12, 2005
Messages
1,209
Helped
102
Reputation
206
Reaction score
21
Trophy points
1,318
Location
San Jose, California, USA
Activity points
11,799
kamavr

AA..

How are you all .. I had just finished a project about Infrared Remote control receiver and programmable secret code lock controlled via this remote control, this project was based on the PIC16F84A microcontroller .. and i had learnt many things during this project ... almost all feautures of this PIC ( they may be few ) .. and now i want to start with the AVR microcontrollers .. what is your advice to me to start with .. assembly or C ? and which AVR microcontroller ? and any other usefull recommendations you see ..

Please help me to learn it .. thank you very mcuh ..
 

eng_abdALLA

Newbie level 4
Joined
Jun 21, 2005
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,331
getting start learn avr

el slamo 3lkem

Really i`m new too in AVR world but i`m saying a truth avr has some goods
it satisfy me to have very cheap burner that u can made with ur self at home (STK 200)i got Atmega8515 nice one huge one (32 i/o pin) and work initialy without crystal(contain internal oscillator u choose its speed 1,2..8MHZ) very nice
if u will use it then use codevision very powerful programmer and AvrStudio is very nice simulator..really test it free from atmel site...
el slamo 3lekom
 

oddbudman

Member level 5
Joined
Oct 20, 2004
Messages
89
Helped
12
Reputation
24
Reaction score
0
Trophy points
1,286
Activity points
873
text operations atmel avr c

If you want to get started with AVRs you really should pay a visit to
https://www.avrfreaks.net and have a look around there (especially their forum section). It is full of advice and get start guides. I highly recommend using Winavr compiler, it is reliable and there is a heap of advice on how to use it in the Avrfreaks forum.

As the Above Poster mentioned, getting a STK500 is a good idea as put simply, they are one of the best devboards out there.
 

Navid T

Full Member level 3
Joined
Jan 21, 2005
Messages
186
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,296
Location
Iran
Activity points
1,385
best atmel avr library

Hello
i think its better you start with assembly to understand hardware good. you can learn from this link for start:
www.avrbeginners.net
good luck
 

ahmad_abdulghany

Advanced Member level 4
Joined
Apr 12, 2005
Messages
1,209
Helped
102
Reputation
206
Reaction score
21
Trophy points
1,318
Location
San Jose, California, USA
Activity points
11,799
avr 369

oddbudman said:
If you want to get started with AVRs you really should pay a visit to
h**p://www.avrfreaks.net and have a look around there (especially their forum section). It is full of advice and get start guides. I highly recommend using Winavr compiler, it is reliable and there is a heap of advice on how to use it in the Avrfreaks forum.

As the Above Poster mentioned, getting a STK500 is a good idea as put simply, they are one of the best devboards out there.


Thank you .. But I don't know where to get the 'win AVR' and also don't know what it ? :) thank you very much
 

metal

Full Member level 6
Joined
Dec 21, 2004
Messages
364
Helped
19
Reputation
38
Reaction score
6
Trophy points
1,298
Activity points
3,833
which avr choose start to learn

Hello Guys

It seems we have hidden AVRers in the forum, I think I am going to abandon PICs and start my journey again with AVRs.

Free C compiler, which is built under GPL "General Public Lice
nse", which means its free as long as there is electricity.

Nice powerful forums, I had no idea that AVRers had powerful tools and compilers, especially those free ones.

By the way, I am not sure if GCC works on windows, cuz simply I have not downloaded yet :)

By the way, if any can post a link for a like powerful free C compiler for PICs.

Regards
 

oddbudman

Member level 5
Joined
Oct 20, 2004
Messages
89
Helped
12
Reputation
24
Reaction score
0
Trophy points
1,286
Activity points
873
atmel avr microcontroller how to start

Winavr is the windows port for AVR-GCC. It really is a nice package to get started on the AVR with. It is basically a free C compiler for AVRs that comes with a debugger, a makefile creater, a microcontroller programmer and a Text Editor (close to what you could call an IDE- programmers notepad).

https://winavr.sourceforge.net/

ahmad_abdulghany, please learn to use google (https://www.google.com) and read the links I gave you. I went out of my way to help you but you don't even seem to be able to help yourself.

metal: I highly recommend the AVRs, they are a fairly straight foward microcontroller to work with and the gcc forum at avrfreaks is second to none.

If your getting started with Winavr, probably the most important link I can give you is
https://www.nongnu.org/avr-libc/user-manual/index.html
The AVR Libc package provides a subset of the standard C library for Atmel AVR 8-bit RISC microcontrollers. In addition, the library provides the basic startup code needed by most applications.
 

metal

Full Member level 6
Joined
Dec 21, 2004
Messages
364
Helped
19
Reputation
38
Reaction score
6
Trophy points
1,298
Activity points
3,833
profile floating point avr

Hello oddbudman

Anyway, I have not downloaded the GCC compiler yet, but before I do, do the compressed files contain executables, or just the source files from which I have to build executables, cuz I had SDCC free compiler for PICs, that only contained source files, and I could not find the executables.

If any one can redirect me to find executables for both GCC, and SDCC C Compilers, I will appreciate that.

Regards
 

ahmad_abdulghany

Advanced Member level 4
Joined
Apr 12, 2005
Messages
1,209
Helped
102
Reputation
206
Reaction score
21
Trophy points
1,318
Location
San Jose, California, USA
Activity points
11,799
start avr microcontroller

AA..
I think that you started strongly with me.. i told you that i want to start learning AVR approximately from scratch .. i.e. I need start up tutorials, book, ... or anything else ..

thank you very much for your help .... Ahmad ..
 

metal

Full Member level 6
Joined
Dec 21, 2004
Messages
364
Helped
19
Reputation
38
Reaction score
6
Trophy points
1,298
Activity points
3,833
choose atmel avr

Salam Ahmad

You can go to www.avrfreaks.net and login there to download the free IDE "KamAVR" and search for "WinAVR" and downlaod tht one for windows.

When you finish installing, search inside the folder of WinAVR for *.PDF and you will find the manual from which you can start with AVRs directly, of coudrse you will need some AVR datasheets so you read about the hardware :)

My self, I wish that these tools I mentioned above where for PICs, cuz when I downloaded SDCC, I discovered that its not supporting PICs yet, just underdevelopment :( and there is no IDE text editor :(:( So I had to downlaod syn editor, after all, as I said, SDCC does not support PICs yet.

Of course, Programmers editor that comes with WinAVR setup file is the latest version of this editor, its nice also, but I did like KamAVR much more because of the pretty interface, error & warnings is much improved over Programmers editor.

I have taken a look at some Atmel AVRs datasheets, they look good indeed, more timers, and more free user registers I remember 32X8 , but my destiney was to start with PICs, so I will stick with PICBasic Pro, and Microchip. I don't think that I need to go to another product line, although AVRs worth the trial, but I had no problems at all using PICs neither PICBasic Pro compiler, except for floating point vriables and true floating point math operations support that PICBasic Pro lacks to.

Regards
 

omara007

Advanced Member level 4
Joined
Jan 6, 2003
Messages
1,238
Helped
50
Reputation
102
Reaction score
16
Trophy points
1,318
Location
Cairo/Egypt
Activity points
9,747
syn compiler avr

metal said:
Hello Guys

By the way, I am not sure if GCC works on windows, cuz simply I have not downloaded yet :)

Regards

GCC works on windows .. just download Cygwin and it check for the GCC to be downloaded within .. then u will get everything once u install the cygwin .. exactly as if u r running ur own linux
 

metal

Full Member level 6
Joined
Dec 21, 2004
Messages
364
Helped
19
Reputation
38
Reaction score
6
Trophy points
1,298
Activity points
3,833
floating point v atmel avr

Hello

GCC works on windows .. just download Cygwin and it check for the GCC to be downloaded within .. then u will get everything once u install the cygwin .. exactly as if u r running ur own linux

There is no need to downlaod neither use CyGwin, WinAVR guys have already made very nice things for windows, that you can download the setup, and only double click :)

Have a nice day
 

omara007

Advanced Member level 4
Joined
Jan 6, 2003
Messages
1,238
Helped
50
Reputation
102
Reaction score
16
Trophy points
1,318
Location
Cairo/Egypt
Activity points
9,747
how to start with avr atmel

metal said:
There is no need to downlaod neither use CyGwin, WinAVR guys have already made very nice things for windows, that you can download the setup, and only double click :)

Have a nice day


Is it a complete design environment ? .. Compiler/Debugger and so on ?
 

metal

Full Member level 6
Joined
Dec 21, 2004
Messages
364
Helped
19
Reputation
38
Reaction score
6
Trophy points
1,298
Activity points
3,833
best avr microcontroler to start

Hello

Yes I have seen all necessary executables in the WinAVR folder, but I don't know if there is any thing missing.
 

ahmad_abdulghany

Advanced Member level 4
Joined
Apr 12, 2005
Messages
1,209
Helped
102
Reputation
206
Reaction score
21
Trophy points
1,318
Location
San Jose, California, USA
Activity points
11,799
avrfreaks ide

Metal said:
Yes I have seen all necessary executables in the WinAVR folder, but I don't know if there is any thing missing.

Ok .. you are speaking about this program but no one tell us about where to get it !
 

oddbudman

Member level 5
Joined
Oct 20, 2004
Messages
89
Helped
12
Reputation
24
Reaction score
0
Trophy points
1,286
Activity points
873
get to start with avr

ahmad_abdulghany
Ok .. you are speaking about this program but no one tell us about where to get it !

Didn't I, along with other helpful posters tell you where to get it in a previous post, along with a description on what it is? I also gave you a link to a website that describes all things avr and you come back to this thread saying stuff like this?

I suggest you read through this thread again, check all the links that were posted, read some guides on avrfreaks and avrbeginners then come back with your questions.
 

metal

Full Member level 6
Joined
Dec 21, 2004
Messages
364
Helped
19
Reputation
38
Reaction score
6
Trophy points
1,298
Activity points
3,833
best avr to start with

Hello

I think you are definitly right, please ahmad, read the threads more thouroghly.

Regards :)
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top