Microcontroller options

General Robotics Forum - All aspects of robots and their applications. 

Page 1 of 3       1 2 3 > last >> Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Microcontroller options Onesupermanone 05-25-2007
If you were  Registered and logged in, you could reply and use other advanced thread options
Posted by Onesupermanone on May 25, 2007, 3:11 pm
Hi!

I am looking for a microcontroller which will match my needs. I have
looked at tons of sites and have a huge number of microcontrollers
that I can use but since the options seem to be endless I can't pick
one. I am hoping someone here will be able to help me out.

I want to build a robot which can move around, have several digital
and analog sensor inputs. I want to set up my robot to have wireless
communication with my PC at home within a limited range. I want to
add small speakers and a microphone as well.

Eventually I want to add a small (color maybe) video camera. Also in
the end I want the robot to use a GPS system for navigation.

This doesn't seem like a lot so I suspect any number of
microcontrollers will do. In university (10 years ago) I used a
handyboard to build / program a robot. My preference it to use C
language.

Money though limited is not a big issue if I can get something which
is more or less plug and play. I want to spend more time programming
the controller and building the actual robot.

Your help is greatly appreciated.


Posted by Gordon McComb on May 25, 2007, 3:44 pm
Onesupermanone wrote:
> My preference it to use C language.

There are a lot of choices but I'd say the Atmel line is a good choice
for you. They offer some traditional 8-bit RISC controllers, and some
newer 32-bit ARM-based controllers. Funnily enough, one of my selection
criteria is whether the chip is available in a DIP package, so I don't
have to solder surface mount, or invest in an expensive breakout board.
If this matters to you be sure to note the package availability when
you're looking.

-- Gordon

Posted by Joe Strout on May 26, 2007, 5:51 pm

> Onesupermanone wrote:
> > My preference it to use C language.
>
> There are a lot of choices but I'd say the Atmel line is a good choice
> for you. They offer some traditional 8-bit RISC controllers, and some
> newer 32-bit ARM-based controllers. Funnily enough, one of my selection
> criteria is whether the chip is available in a DIP package, so I don't
> have to solder surface mount, or invest in an expensive breakout board.
> If this matters to you be sure to note the package availability when
> you're looking.

For what it's worth, I'm a newbie too, as anyone here will readily
attest from the way I constantly pester them with questions. :) I
recently went on just such a controller search myself, looking at
various boards under $50.

But, based in part on the advice of Gordon and others here, I've decided
to take the plunge and give a raw Atmel (AVR) chip a try. These are
electronically quite easy to use; the challenge may be setting up the
development environment, but if you use Windows then you'll probably
find that pretty easy too. If you don't, get back to me and we'll
suffer through setting up the GNU toolchain together. :)

Here's what I just ordered from Digikey:

Part#: ATAVRISP2-ND
Description: PROGRAMMER AVR IN SYSTEM
Price: $35.91

Part#: ATMEGA48-20PU-ND
Description: IC AVR MCU 4K 20MHZ 5V 28DIP
Price: $2.69

The programmer is a bit on the pricey side, but you get it once and use
it over and over. The controller itself, as you can see, is quite
cheap. So if you screw it up and turn it into a brick, you don't suffer
too much financially. :)

I chose this particular chip because the ATMega48 seems like a pretty
common AVR chip (it's used in one version of the Pololu Baby Orangutan
for example -- which BTW looks like a great board if you want something
with motor controllers built in). And it's a DIP package, as Gordon
points out (important for me since I use a prototyping breadboard a
lot). I don't know what the "20PU" or "ND" parts mean, so hopefully
they're not important!

Good luck,
- Joe

Posted by Wayne C. Gramlich on May 26, 2007, 6:58 pm
Joe Strout wrote:
>
>> Onesupermanone wrote:
>>> My preference it to use C language.
>> There are a lot of choices but I'd say the Atmel line is a good choice
>> for you. They offer some traditional 8-bit RISC controllers, and some
>> newer 32-bit ARM-based controllers. Funnily enough, one of my selection
>> criteria is whether the chip is available in a DIP package, so I don't
>> have to solder surface mount, or invest in an expensive breakout board.
>> If this matters to you be sure to note the package availability when
>> you're looking.
>
> For what it's worth, I'm a newbie too, as anyone here will readily
> attest from the way I constantly pester them with questions. :) I
> recently went on just such a controller search myself, looking at
> various boards under $50.
>
> But, based in part on the advice of Gordon and others here, I've decided
> to take the plunge and give a raw Atmel (AVR) chip a try. These are
> electronically quite easy to use; the challenge may be setting up the
> development environment, but if you use Windows then you'll probably
> find that pretty easy too. If you don't, get back to me and we'll
> suffer through setting up the GNU toolchain together. :)
>
> Here's what I just ordered from Digikey:
>
> Part#: ATAVRISP2-ND
> Description: PROGRAMMER AVR IN SYSTEM
> Price: $35.91
>
> Part#: ATMEGA48-20PU-ND
> Description: IC AVR MCU 4K 20MHZ 5V 28DIP
> Price: $2.69
>
> The programmer is a bit on the pricey side, but you get it once and use
> it over and over. The controller itself, as you can see, is quite
> cheap. So if you screw it up and turn it into a brick, you don't suffer
> too much financially. :)
>
> I chose this particular chip because the ATMega48 seems like a pretty
> common AVR chip (it's used in one version of the Pololu Baby Orangutan
> for example -- which BTW looks like a great board if you want something
> with motor controllers built in). And it's a DIP package, as Gordon
> points out (important for me since I use a prototyping breadboard a
> lot). I don't know what the "20PU" or "ND" parts mean, so hopefully
> they're not important!

If I recall correctly, "ND" is a digikey moniker and originally
stood for "No Discount". These days it just means it is a Digikey
part number. The "20PU" stands for 20Mhz in a "28P3" or 28-pin
plastic .30" skinny DIP. A good choice of part. Before you know
it, you and your friends will be buying them in tubes of 25 to
get them at the $1.69 price point.

Not got give you buyers remorse, but I am about to add AVR's
to my bag of tools and have been hunting around for AVR programmers.
The AVRDEVKIT1-ND is a combination of the ATSTK500 and the
ATAVRDragon from Digikey at $49.00. It is supposed to be a
combined programmer and debugger.

-Wayne

Posted by Joe Strout on May 26, 2007, 9:17 pm

> If I recall correctly, "ND" is a digikey moniker and originally
> stood for "No Discount". These days it just means it is a Digikey
> part number. The "20PU" stands for 20Mhz in a "28P3" or 28-pin
> plastic .30" skinny DIP. A good choice of part. Before you know
> it, you and your friends will be buying them in tubes of 25 to
> get them at the $1.69 price point.

No doubt. :)

> Not got give you buyers remorse, but I am about to add AVR's
> to my bag of tools and have been hunting around for AVR programmers.
> The AVRDEVKIT1-ND is a combination of the ATSTK500 and the
> ATAVRDragon from Digikey at $49.00. It is supposed to be a
> combined programmer and debugger.

That's OK. I knew this wasn't a debugger when I bought it, and I'm
assuming that if I stick with AVR development, it won't be the last
programmer I buy. But I think it's a good starter unit -- it saves me
from the temptation to try and figure out debugging while also figuring
out the rest of it!

Best,
- Joe

Page 1 of 3       1 2 3 > last >>

The site map in XML format XML site map
other useful resources:
Official Robosapien Website
Lego Mindstorms Website

Contact Us | Privacy Policy