67Views2Replies

Author Options:

Advice on microcontroller selection Answered

Hello
I am a newbie to the world of microcontrollers and would be really grateful for some advice about choosing one. Basically, I’m doing a final year university engineering project that requires an MCU to take a number of analogue inputs, do some processing, and spit out an analogue output that will drive a loudspeaker. My supervisor has recommended looking at the Philips LPC2148 and associated development kits (http://www.olimex.com/dev/lpc-h2148.html) because it is cheap and looks able to fulfil the following requirements:
I/O – three analogue inputs (so 3 ADCs), 3 digital inputs (two servos and a bus for programming the controller), and one analogue output (requiring a DAC either built into the development board, or one I could connect on an add-on board)
Speed – a program size of about 500 floating pt operations, processing samples at a rate of up to 400/second, hence of the order 200,000 floating pt operations per second. I think the LPC2148 uses fixed pt arithmetic so would need to perform the equivalent of this in fixed pt.
Support – in place debugging support would be desirable; ability to be run on Windows; overall hardware and software cost of £100 or less.
Does this chip and its development tools look up to the job? If not, would you recommend an alternative? Are there any other major criteria I’m neglecting in the process of selecting a MCU?
Many thanks,
Sam

Discussions

0
None
shafikmirza

7 years ago

LPC 2148 is the best microcontroller as suggested by your supervisor.
Get the Olimex kit along with the free sample codes and understand them thoroughly. You would feel great to use it.

0
None
Hussam

8 years ago

I have never worked with the Phillips controllers but the project of your magnitude will require a controller with large computing capabilities .. other things you need to consider while choosing the controller are number of i/o ports required by u .. also the power consumption is important .. you'll have to keep in mind how much power ur circuit will need .. usually u should choose a controller which is cheap and its resources are available easily .. like PIC or AVR .. PIC has an 80 pin version but im not sure if it does floating point arithematic .. some versions of AVR can do float point arithmetic calculations so u can check them!