A Quick Guide to Choosing a Microcontroller

The process of choosing a microcontroller for an embedded device can be one of the most challenging aspects of any project. With so many options to choose from, with different specifications and applications, it can feel like a monumental task.

While the right decision always depends on your specific project needs, there are a few general points to consider that can point you in the right direction.

Programming Language

Currently, Programmable Interface Controllers, or PIC Controllers, are among the most common microcontrollers in use thanks to their lower cost, but if you do not have experience in coding and programming, you will want to choose from the array of PIC microcontrollers that uses a user-friendly program like C or Basic. If you want to try working in a different language, some microcontrollers have resources such as user communities and free libraries of code you can use, but in general, it’s best to choose a microcontroller that uses a familiar programming language to limit frustration.

Review the Architecture

One of the most significant factors in choosing a microcontroller is the software architecture requirements. You need to understand exactly how much processing power will be required for your application so you can choose the microcontroller that’s powerful enough for your needs. Some of the considerations include the type of mathematics used to run algorithms (floating or fixed point), the sensors being used, and how long tasks will run. Without the right system architecture, your device could run slowly or inefficiently, negatively affecting user experience.

It’s also important to consider the future when evaluating the system architecture. Future versions of the system could have more features or require more processing, meaning that the 8-bit microcontroller you choose today will be inadequate in a year or two. Consider looking at more powerful microcontrollers now to make the process of scaling up and upgrades easier.

Memory

Choosing a microcontroller with adequate flash and RAM is vitally important so you don’t run out of space.  It’s always better to choose a microcontroller that has more memory than you actually need, since you will not be able to add more memory at the end of the design process. In fact, you should always include more memory than you think you need to allow for future versions of your device. You can often get an estimate of your memory needs using the software architecture and the peripherals in the application; use that estimate as a starting point.

Power

It’s also important to carefully look at the power requirements of the device and the microcontroller to find the one that will meet your needs. Mobile devices that are powered by a battery, for example, use more power than those that are “plugged in” and stationary, and therefore a microcontroller that uses more power is going to become a greater drain on that device. Carefully consider how the device will be used, and select accordingly.

Cost

Cost is always a concern, and while general processors can be found for around $1 apiece when purchased in volume, those lower priced processors may not be ideal for your project. The more specialized your device or the more processing power it needs, the more expensive the microprocessor.

Available Tools

When comparing microcontrollers, you need to evaluate the tools that come with the device, including the compiler, debugging tools, and code libraries. These tools make the development process much easier, so carefully compare your options and make sure it won’t be too difficult for you to program.

Parts Availability

Finally, once you have narrowed down your list of potential microprocessors, you should double check the availability of the parts you need. Can you easily access the microprocessors when you need them, or is there a significant lead time? Will you be able to acquire enough parts when you need them if you scale up? You should also consider the potential that the microprocessor you select will be obsolete in the near future, requiring you to start over. A relatively new microprocessor that you are reasonably certain will still be available in 10 to 15 years is a better choice than one that’s been on the market for a long time and is approaching obsolescence.

Evaluating all of these factors can lengthen the process of choosing a microcontroller, but are well worth the effort when you choose the right one and the design and manufacturing process proceeds without any difficulty.

Leave a Reply

Your email address will not be published.

You May Also Like
Read More

Logitech V550 Nano Wireless Notebook Mouse

The Logitech V550 Nano is an innovative new mouse that offers a few significant features that would be useful to anyone that uses an external mouse with a notebook. Most significantly is the 18+ month battery life, which is very handy for any wireless mouse. The battery is also USB-rechargeable. The mouse can be turned off to further conserve battery life, and boasts an auto-shutoff feature. Another important feature is the small "Plug-and-Forget Nano-Receiver". The receiver is so small that it barely protrudes from the notebook, making it practical and convenient to always leave in place, ready for use.

Shuttle D10 Desktop PC with 7-inch Touch Screen Display

Shuttle's small form factor desktop PCs have maintained a similar, rectangular design for years. The Shuttle D10 is no exception, other than the addition of a built-in 7-inch touch screen display! The D10 is Shuttle's first computer that boasts an integrated 7-inch (800x480) LCD touchscreen display. The display can be used to view photos, movies, music, video, etc. It was designed with surveillance and simple entertainment center functions in mind.

Thermaltake Xpressar RCS100

The Thermaltake Xpressar RCS100 Micro Refrigeration Cooling System is similar in concept to the VapoChill Vapor Phase-Change Cooling systems. Thermaltake's approach differs by utilizing a DC Inverter micro compressor for cooling the PC. Vapor-compression refrigeration has been the predominant method for air-conditioning large public buildings, residences, hotels, hospitals, theaters, restaurants, and vehicles. Thermaltake claims to be the first company to use this design for the PC. The system circulates a liquid refrigerant to absorb and remove heat from the area to be cooled and neutralizes the heat elsewhere. The Xpressar RCS100 cools a CPU 20 degrees lower than liquid cooling. Thermaltake's Xpressar RCS100 is also equipped with a custom controller to prevent condensation.
Read More

CyberPower Gamer Xtreme M1 Gaming Notebook

Recently, Alienware released their portable monster, the M17, easily topping the charts as the best laptop around. However, a few days ago, custom gaming PC builder CyberPower introduced a rival to the M1. The name of the PC is the Gamer Xtreme M1, and this gaming system can stand up to most Alienware machines that have been released.
Read More

Century Japan 4.3″ USB LCD Monitor and Photo Frame

Century Japan has released a handy 4.3" USB LCD monitor. The unit is designed as a secondary display. Imagine you've been hard at work all day, but you're expecting a specific email or IM. You're tired, and want to go sit in the recliner you have in the room. Rather than having to pop up to your desk every time you hear your email/IM notification sound, just look over at the small LCD display sitting beside you.