# Choosing the right micro controller

I am an Electrical & Electronic Engineering student who has previously used a PIC micro controller for one of my previous college's projects, in that case we didn't have a choice we had to use that particular micro controller, partly because all the class using the same would be easier to teach the class and help individual projects.

Now in university I am required to do a project which I have some ideas for, but how do I choose the right micro controller?

The previous micro controller I used was bulky (40-pin IC) and had a million of features I will most definitely not use.

What would be the easiest way to compare the actual size, prize and features of the micro controllers in the market and thus help me find the perfect one for my application?

Any help will be most appreciated.

berkeman
Mentor
I am an Electrical & Electronic Engineering student who has previously used a PIC micro controller for one of my previous college's projects, in that case we didn't have a choice we had to use that particular micro controller, partly because all the class using the same would be easier to teach the class and help individual projects.

Now in university I am required to do a project which I have some ideas for, but how do I choose the right micro controller?

The previous micro controller I used was bulky (40-pin IC) and had a million of features I will most definitely not use.

What would be the easiest way to compare the actual size, prize and features of the micro controllers in the market and thus help me find the perfect one for my application?

Any help will be most appreciated.
The EE trade magazine "EDN" puts out an annual uP/uC Directory which is quite comprehensive. Your school library probably has back issues of EDN, and here is a link to the online version of the Directory from 2008:

http://www.edn.com/index.asp?layout=MPD&industryid=48902&year=2008&referralid=93 [Broken]

.

Last edited by a moderator:
Thank you berkeman, that looks like a great help.

For hobbyists, the two most popular processors cores are probably the PIC and Atmel's. If you drop by hackaday.com, you'll see many examples using these parts. I'm also seeing growing interest in Ti's MPS part and from the Silicon Labs core.

You can get plenty of tiny parts from these mfg. I think PIC even makes some 8 pin through hole types. You can check at microchip.com.

Thank you Mike.

Excuse me, one other question. When in college, I remember having to obviously connect the PIC to a computer, this was done through a device that look rounded. While the Atmel and PIC websites offer free programming software, I can't see anything about this piece of kit, how would you get your hands on one? Are they expensive? Is it strictly necessary/are there other direct ways of programming the uC?

That's one thing I wish they taught us at college (or maybe I should say, I wish I had listened more), sure they showed us how to program the chips in C and how to design PCBs round them, never explained basic sourcing techniques and advice on things to look out for in the market.

Pic has development kits (sample processor board + In Circuit Emulator) for $35 to$70. For a real time In Circuit Emulators, you have to fork out $500 -$2000. These are for the pros, and I've gotten along without them for about 10 years.

Check digikey.com search PIC for details.

- Mike

This developer sells 14, 18, 28, and 40 pin PIC parts with a simplified instruction language, communication tools, and custom commands pre-installed. You pay a little more for each chip and need a USB to serial port converter cable, but it could cut your development time significantly depending on your needs. Cost is low to get started:

http://www.kronosrobotics.com/xcart/home.php

The low pin count chips are called Athena, Perseus, and Nemesis (appear to be PIC parts w/custom software installed).

Excuse me, one other question. When in college, I remember having to obviously connect the PIC to a computer, this was done through a device that look rounded. While the Atmel and PIC websites offer free programming software, I can't see anything about this piece of kit, how would you get your hands on one? Are they expensive? Is it strictly necessary/are there other direct ways of programming the uC?
http://www.atmel.com/dyn/products/tools.asp?family_id=607
Specifically, this is their in-system programmer: http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3808
$34 from Mouser and most other places, and for some reason currently$35.36 from DigiKey. It's pretty simple to build your own programmer, but I'd suggest just paying the \$30-some for the programmer in the nice case that's supported by all the programming tools. There's also some breakout boards for the versions with USB that can be programmed without a programmer, but they're also more expensive than plain unprogrammed chips in DIP packages:
http://fletchtronics.net/bumble-b
http://www.pjrc.com/teensy/index.html

Check out their parametric product table to see what suits your needs. I like the tiny261/461/861 for a general purpose small processor, the tiny2313 is also popular, and the tiny4, 5, 9, and 10 are truly tiny, coming in 6-pin surface mount packages. The tiny25/45/85 are available in a more usable 8-pin DIP package. And for something a little bigger, you might look at the ATmega88, which comes in a 28-pin DIP package.

Don't bother with those "simplified" pre-programmed chips. You pay more and get less. They limit what you can do more than they simplify things, and you'll end up going through extra effort or buying different chips and re-learning things later to get around those limitations.

Thanks a lot to everyone, all the answers have been what I was looking for and extremely helpful.

chroot
Staff Emeritus