Need microcontroller recommendation

In summary, the ultrasonic distance measurement project is difficult and requires a microcontroller with an analog comparator. It is possible to use a PIC, Atmel, or TI microcontroller, but the development kit for each is difficult to find and expensive.
  • #1
19
0
Hi,
I'm measuring distance using ultrasonic transducers. I will start timing, send a 40kHz pulse from the source and will return the pulse from the target (which will also contain a receiver and transmitter). I need a microcontroller with an analog comparator so that it will detect a certain threshold voltage and will be able to time the occurence of the high edge of the returning 40kHz square wave.

I know there are a ton of microcontrollers out there that can do this. The issue here is cost of the deveopment kit, ease of use and documentation/support/community. I'd really appreciate any input.

Thanks
 
Engineering news on Phys.org
  • #2
Normally I'd suggest the PIC uCs from Microchip. But on my last project, the softies did an example device and code using the Atmel AVRTiny13 in an 8-pin DIP package, and those little Tiny devices are cheap! Using the through-hole DIP package let's you wire up a prototype by hand pretty easily, and the debugger/programming cable arrangement is pretty inexpensive as well.

Check out this selection table to see if one of the TinyXX uCs has what you want, and then you can use findchips.com to see if it's easy to buy from Digikey or Mouser, etc.

http://www.atmel.com/dyn/products/param_table.asp?family_id=607&OrderBy=part_no&Direction=ASC
 
  • #3
Thanks for the suggestion. Frankly, I've leaning toward TI just because they have an excellent website that is easy to search through and I feel like I'll know what I'm getting. They also have small student discounts on parts that aren't very expensive.

What do you think about this?
http://focus.ti.com/docs/prod/folders/print/msp430f2131.html

The development kit for it is here:
http://focus.ti.com/docs/toolsw/folders/print/msp-fet430u14.html

Atmel and Freespace don't make it very easy to figure out what microcontroller to use. I'm very new at this, so ease is key. Have you used any TI uC's? Do you think that the Atmel ones are better in some way?
 
  • #4
Lagomorph said:
Do you think that the Atmel ones are better in some way?

Not necessarily. Sounds like you've found a good fit.
 
  • #5
For my Capstone project (4th year EE project) we ended up using a Motorola micro -- it was the one we learned in our class, and they had them in the department.

Bad move. The manual is confusing as hell (the instructions were clearly translated from Japanese to English by Babelfish or something). It was quite a struggle... :)

PIC's, Amtel, or TI all seem like good choices!
 
  • #6
I've programmed some TI DSP's: great support from TI.

Their micros should be the same way.

You can't go wrong with TI.
 
  • #7
Thanks for the reassurance. I guess I'll be ordering the kit then.
 

Suggested for: Need microcontroller recommendation

Replies
19
Views
1K
Replies
2
Views
879
Replies
10
Views
1K
Replies
8
Views
2K
Replies
19
Views
2K
Replies
4
Views
1K
Back
Top