G
Guest
What is the best (not expensive) microcontroller development environment
with C/C++ compiler support for a freshman mechatronic student?
with C/C++ compiler support for a freshman mechatronic student?
In said:What is the best (not expensive) microcontroller development environment
with C/C++ compiler support for a freshman mechatronic student?
In aus.electronics Wing Fong Wong said:I personally like Microchips PICs and I've been using them for yonks but
unless you go for low end chips, C compilers cost a fair bit. I don't know
how much dev kits cost for these chips cos I only ever buy just the
microcontrollers.
There are these new PICAXE chips. Extremely easy to use. It doesn't
support C or C++ only its own BASIC variant. But interms of learning
curve, this chip is definately the easiest. The smallest chip(picaxe08) +
dev board costs $30 at altronics or for something bigger, the picaxe18 set
cost $50.
Finally there are the AVRs. There is a free C compiler available for this
chip dev boards for these chips aren't really all that expensive either.
You probably can get started on AVRs for well under $100.
Nico said:What is the best (not expensive) microcontroller development environment
with C/C++ compiler support for a freshman mechatronic student?
In aus.electronics David L. Jones said:The C compilers for the PICs are very good, but they are relatively
expensive. There isn't much at the low cost end. Forget any rubbish you
hear about the PIC not being suitable for C.
According to the offical SDCC site:
AVR and gbz80 ports are no longer maintained.
Does it work well enough for AVR, or is it hopeless?
Wing Fong Wong <wing@tartarus said:I personally like Microchips PICs and I've been using them for yonks
but
unless you go for low end chips, C compilers cost a fair bit.
I don't know
how much dev kits cost for these chips cos I only ever buy just the
microcontrollers.
There are these new PICAXE chips. Extremely easy to use. It doesn't
support C or C++ only its own BASIC variant. But interms of learning
curve, this chip is definately the easiest. The smallest chip(picaxe08) +
dev board costs $30 at altronics or for something bigger, the picaxe18 set
cost $50.
Finally there are the AVRs. There is a free C compiler available for this
chip dev boards for these chips aren't really all that expensive either.
You probably can get started on AVRs for well under $100.
As always, it depends on your needs.
The C compilers for the PICs are very good, but they are relatively
expensive. There isn't much at the low cost end. Forget any rubbish you
hear about the PIC not being suitable for C.
The Atmels
There are others like say the Zilog series which offer very cheap
development systems with C compilers, but these aren't as popular.
The PIC and Atmel are the two hottest 8bit solutions at the moment, and
you'll get plenty of online forum support for both.
If you are after more horsepower than an 8bit micro can provide and
think you might need a real-time C kernel, then you might like to look
at the Rabbit series of processors. The developments kits are
reasonably low cost and the come with a real-time C compiler which is
easy to use.
David said:As always, it depends on your needs.
The C compilers for the PICs are very good, but they are relatively
expensive. There isn't much at the low cost end. Forget any rubbish you
hear about the PIC not being suitable for C.
The Atmels have a slightly bigger range of lower cost C compilers, but
you get what you pay for. A lot of people recon that because the Atmels
have a GCC compiler for free that makes this the platform of choice. In
reality it isn't easy to use and you have to know what you are doing.
Unless you have a lot of GCC C experience (like writing scripts etc
yourself), I'd go for one of the commercial compilers like CodeVision.
Infinitely easier to use and you get results from day one.
Chris said:8051, AVR or ARM?
You have got to be joking... They are both limited range single source
compared to the 600+ version of the 51 family from the 30+ silicon
vendors.
Not only are there free c compilers for the 51 there are also free/cheap
academic versions of the commercial compilers.
Or go to the industry standard ARM7. ARM is so comon it has been called
"the 32bit 8051" (not the 32 bit PIC or AVR)
David L. Jones said:Sorry, I meant AVR.
No I am not joking. The PICs and the AVRs are two of the most poplaur
8bit solutions going around, especially for those starting out with
micros.
I am not saying that the PICs or AVRs are better than any other device,
that can be debated forever. Last I checked the PIC was the worlds #1
selling 8bit micro.
Newbies don't care about having 30+ silicon vendors, they care about
what's popular, what's easy to use, and what support they are going to
get.
You can get support for any micro of course, but the PICs and AVRs seem
to be the two micros of choice for beginners these days, with tons of
new books, beginners development tools, traning systems, web sites,
forums, and other support available.
The 51 family is just not a popular solution for first timers any more.
In fact, the "PIC" has almost become synonomous with microcontrollers
these days to those not entirely in the know.
Yes there are, just like many other micros as well.
The ARM is not common at the low end of the market, esp for beginners.
Dave![]()
Richard said:According to the offical SDCC site:
AVR and gbz80 ports are no longer maintained.
Does it work well enough for AVR, or is it hopeless?
An indirect reply:
I know that SDCC works well for 8051, and I know that WinAVR (GCC) works
well for AVR. There will be little code that cannot be compiled with both
and nearly all such code will be processor specific anyway (the IO routines
for example) - it should be easy to switch between compilers with the same
code base [I already do this].
Regards,
Richard.
http://www.FreeRTOS.org
Olimex sells come AVR dev boards too. For about the same price also,DS said:Hi
I am just a newbie, but I know of a new e-book for sale ( USD$ 29.95 ) that
uses the AVR Butterfly board ( USD$20 from Digi-key.com ), I bought 3 of
them! which is a credit card sized board AVR 169 that has a 5-way joystick,
lightsensor, 4 Mbit flash memory, temperature sensor, speaker, LCD, and
RS-232.
I am waiting for the hard-copy version to be released. The author teaches
you how to install and use the free WinAVR C-based development environment.
All you need is some additional components from an electronics store (
listed at the back of the book) and you have all you need to get started.
Check it out at:
http://www.smileymicros.com/
For Microchip PICmicro, there are free (limited to 2kB hex code) C (new),
BASIC and Pascal compilers from
http://www.mikroelektronika.co.yu/english/product/compilers/compilers.htm
There are also free online books ( a good one for assembler ). A very good
online forum for the BASIC and Pascal compilers.
Hope this helps.
Cheers
Dale
What is the best (not expensive) microcontroller development environment
with C/C++ compiler support for a freshman mechatronic student?
What is the best (not expensive) microcontroller development environment
with C/C++ compiler support for a freshman mechatronic student?
In aus.electronics David L. Jones said:No I am not joking. The PICs and the AVRs are two of the most poplaur
8bit solutions going around, especially for those starting out with
micros.
In aus.electronics Roger Lascelles said:1. Do you need ICE : In Circuit Emulator ? This is hardware which lets you
stop your program at the places you choose and look at your variables. If
you are a newbie or in a hurry, or need insurance, an ICE is required. The
alternative is "Crash and Burn", where you write some code, fiddle until it
works, write some more. People say they don't need an ICE, but I would not
pay someone to spend days finding a bug by trial and error.
The ARM is not common at the low end of the market, esp for beginners.
Dave![]()