Need microcontroller recommendation

Click For Summary
SUMMARY

The discussion centers on selecting a microcontroller for measuring distance using ultrasonic transducers. The Atmel AVRTiny13, a low-cost 8-pin DIP microcontroller, is recommended for its ease of use and affordability. The Texas Instruments MSP430F2131 is also considered due to its user-friendly documentation and student discounts. Participants agree that both TI and Atmel microcontrollers are viable options, with TI being noted for excellent support.

PREREQUISITES
  • Understanding of ultrasonic distance measurement techniques
  • Familiarity with microcontroller programming and development kits
  • Knowledge of analog comparators and timing mechanisms
  • Basic electronics skills for prototyping with DIP packages
NEXT STEPS
  • Research the Atmel AVRTiny13 specifications and programming resources
  • Explore the Texas Instruments MSP430F2131 documentation and development tools
  • Investigate community forums for support on TI and Atmel microcontrollers
  • Learn about ultrasonic transducer interfacing with microcontrollers
USEFUL FOR

Electronics hobbyists, embedded systems developers, and students working on projects involving distance measurement and microcontroller applications.

Lagomorph
Messages
19
Reaction score
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 occurrence 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
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
 
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?
 
Lagomorph said:
Do you think that the Atmel ones are better in some way?

Not necessarily. Sounds like you've found a good fit.
 
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!
 
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.
 
Thanks for the reassurance. I guess I'll be ordering the kit then.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
Replies
1
Views
7K
Replies
1
Views
3K
  • · Replies 16 ·
Replies
16
Views
11K
  • · Replies 2 ·
Replies
2
Views
10K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
5
Views
5K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 131 ·
5
Replies
131
Views
26K