Several Steps to Choose a Microcontroller MCU

Published: 17 June 2022 | Last Updated: 17 June 20223993
Nice to meet you. It can be difficult to choose the proper microcontroller for a product. There are numerous technical elements to consider, as well as commercial issues such as cost and lead time, which might influence a project's success or failure. What factors should be considered when selecting a microcontroller? At this point, follow these ten simple steps to guarantee you're making the best decision possible.
This video explains what is a microcontroller, from what microcontroller consists and how it operates.

What is a microcontroller and how microcontroller works

Topics covered in this article:
Ⅰ. Make a Hardware Interface List
Ⅱ. Check Software Architecture
Ⅲ. Choose Architecture
Ⅳ. Determine Memory Requirements
Ⅴ. Start Looking for a Microcontroller
Ⅵ. Check Price and Power Constraints
Ⅶ. Check Device Availability
Ⅷ. Choose a Development Kit
Ⅸ. Investigate Compilers and Tools and Start the Experiment


Ⅰ. Make a Hardware Interface List

Make a list of all the external interfaces that the microcontroller needs to handle using the preliminary hardware block diagram. There are two types of common interfaces that should be mentioned.

Figure. 1.jpg

Figure. 1

The communication interface is the first.

USB, I2C,  SPI , and  UART  are common peripherals utilized in the system. If the application requires USB or Ethernet, add a special remark in the notes section. These interfaces have a significant impact on the amount of program space required by the microcontroller.

Digital input and output, analog to digital input,  PWM , and other digital interfaces are available. The number of pins required by the microcontroller will be determined by these two types of interfaces. Figure 1 illustrates a typical block diagram and includes the I/O requirements.

 

Ⅱ. Check Software Architecture

Microcontroller selection is heavily influenced by software architecture and requirements. The amount of processing power required will determine whether an 80MHz DSP or an 8MHz 8051 is used. It's just as critical to document all needs as it is to detail hardware.

Figure. 2.jpg

Figure. 2

Are there any algorithms that require floating-point arithmetic, for example? Is there a sensor or a high-frequency control loop? Also, figure out how long and how often each task should be completed. Then calculate the number of orders of magnitude in processing power required. One of the most important factors in selecting the architecture and frequency of a microcontroller is its computing power.

 

Ⅲ. Choose Architecture

An engineer should be able to start identifying the appropriate architectural ideas using the information from 1 and 2. Is this application compatible with an 8-bit architecture? Is it necessary for me to use a 16-bit architecture? Or do you need a 32-bit ARM processor? A remedy to these issues will be found by examining the application and the appropriate software algorithm on a regular basis.

Figure. 3.jpg

Figure. 3

Keep in mind that future requirements and functional enhancements might be necessary. Even though an 8-bit microcontroller can handle your application now, you should consider a 16-bit microcontroller for future feature expansion and even simplicity of use.

It's important to remember that choosing a microcontroller is a procedure that must be repeated. In this phase, you may have chosen a 16-bit device, but later discovered that a 32-bit ARM device would be better. This is merely a suggestion for the engineer to consider.


Ⅳ. Determine Memory Requirements

A microcontroller's flash memory (flash) and RAM are two key components. Having enough program or variable space is, without a doubt, the most important consideration. It is normally simple to select a flash and RAM that is far more than adequate.

Figure. 4.jpg

Figure. 4

It's no laughing matter if you discover at the end of the design that you require 110 percent extra room or that some elements must be eliminated. In fact, inside the same chip system, you can start with a larger device and subsequently switch to a smaller device.

Engineers can estimate how much flash and RAM space the application will take using the software architecture and connectivity peripherals included in the application. Remember to make room for extensions and new releases! This will eliminate many future headaches.

 

Ⅴ. Start Looking for a Microcontroller

Now that you have a better idea of what your microcontroller needs, it's time to start looking for the right microcontroller! Microcontroller suppliers like Arrow, Avnet, and Future Electronics are a good place to start looking for microcontrollers.

Figure. 5.jpg

Figure. 5

Discuss your application and requirements with these providers' field application engineers, and they will almost always offer a new gadget that is technologically sophisticated and satisfies your needs. Keep in mind that they might feel compelled to market an entire family of microcontrollers!

A chip source you're already familiar with is the second-best option. Go to Microchip's website, for example, if you've used their devices before and have a lot of familiarity with them.

Most chip providers have a search engine where you may enter your peripheral mix, I/O, and power requirements, and the search engine will gradually filter down the device selection until it finds a list of devices that meet your needs. Engineers can then choose the most appropriate microcontroller from this list with caution.

 

Ⅵ. Check Price and Power Constraints

The selection procedure should provide a large number of candidates at this time. Their power requirements and price should be thoroughly examined at this time. If the device is to be powered by batteries or mobile devices, it must consume as little power as possible.

Figure. 6.jpg

Figure. 6

If you can't meet the power consumption requirements, go through the list one by one until you find anything that works. Don't forget to look at the processor's unit price. While many devices are close to $1 when purchased in large quantities, pricing can matter if it's a highly specialized or high-end processor. This is an important point to remember.

 

Ⅶ. Check Device Availability

Now that you've compiled a list of suitable devices, it's time to see how readily each one is available. There are a few things to keep in mind, such as what is the device's lead time? Is there stock accessible from multiple wholesalers, or will it take 6 to 12 weeks to arrive? What are your availability requirements? You don't want to place a large order and then have to wait three months for it to arrive.

Figure. 7.jpg

Figure. 7

 

Ⅷ. Choose a Development Kit

Finding a compatible development kit and studying the controller's inner workings is a key step in selecting a new microcontroller. When engineers get interested in a product, they should check for available development kits.

Figure. 8.jpg

Figure. 8

 

Ⅸ. Investigate Compilers and Tools and Start the Experiment

The microcontroller options are largely limited by the development kit. The last thing to think about is the compilers and tools that are available. Compilers, routine code, and debugging tools are all available on most microcontrollers.

Things aren't set in stone even if you choose a microcontroller. Long before the first hardware prototypes are developed, development kits are frequently accessible. Build test circuits and connect them to the microcontroller using the development kit

Select high-risk devices and attempt to integrate them with the development kit,  Then you may discover that the device you believed would function well has unexpected issues, forcing you to choose a different microcontroller.

In any case, early experimentation will ensure that you make the best decision possible and that any necessary modifications will have the least impact possible!


UTMEL

We are the professional distributor of electronic components, providing a large variety of products to save you a lot of time, effort, and cost with our efficient self-customized service. careful order preparation fast delivery service

Frequently Asked Questions

What is a microcontroller used for?

The microcontroller is a compressed microcomputer manufactured to control the functions of embedded systems in office machines, robots, home appliances, motor vehicles, and a number of other gadgets. A microcontroller comprises components like - memory, peripherals and most importantly a processor.

What is difference between microprocessor and microcontroller?

Ultimately, microcontrollers and microprocessors are different ways of organizing and optimizing a computing system based on a CPU. While a microcontroller puts the CPU and all peripherals onto the same chip, a microprocessor houses a more powerful CPU on a single chip that connects to external peripherals.

Which circuit uses microcontroller?

Microcontrollers are used in automatically controlled products and devices, such as automobile engine control systems, implantable medical devices, remote controls, office machines, appliances, power tools, toys and other embedded systems.
Related Articles

  • Getting Started with Arduino: What is Arduino and How to Use Arduino Boards
    Getting Started with Arduino: What is Arduino and How to Use Arduino Boards
    UTMEL28 September 20234050

    Arduino is an open-source electronics platform that includes software and programmable circuit boards, allowing beginners to build electronic projects by writing simple code. The article provides an overview of Arduino, including different board types, basic components, how to use the boards, and project ideas like an automated plant watering system.

    Read More
  • Arduino vs. Raspberry Pi: A Detailed Comparison
    Arduino vs. Raspberry Pi: A Detailed Comparison
    UTMEL24 April 20253012

    Hello everyone, welcome to the new post today.This guide is going to talk in detail about Arduino vs. Raspberry Pi to clarify their differences and help you pick the right board based on your needs.

    Read More
  • Electronic Components in the Smart Home System
    Electronic Components in the Smart Home System
    UTMEL24 April 2025945

    Electronic parts are the heart of every smart home system. These parts help devices talk, do tasks, and save energy. For instance, sensors notice motion or temperature changes. Microcontrollers use this data to do things like dim lights or turn on alarms.

    Read More
  • Software Tools for NXP Microcontroller Development
    Software Tools for NXP Microcontroller Development
    UTMEL06 June 2025522

    Discover how NXP microcontroller tools like MCUXpresso IDE, SDK, and Config Tools streamline coding, debugging, and hardware setup for embedded systems.

    Read More
  • VFD Driving Guide: What to Do When Your MCU Runs Out of Pins?
    VFD Driving Guide: What to Do When Your MCU Runs Out of Pins?
    UTMEL22 July 2025503

    This comprehensive guide addresses a common challenge faced by electronics enthusiasts: driving Vacuum Fluorescent Displays (VFDs) when microcontrollers have insufficient pins. Sparked by a Reddit user's question about controlling a VFD with more segments than available MCU pins, the article explores the elegant solution of multiplexing technology.

    Read More