|Which Microcontroller suits you well|
Choosing the right Microcontroller can really be tricky and sometimes it become a uphill task for most of the embedded designers. When comes to selecting a perfect controller for your project there are numerous technical features to consider and also non technical issues such as cost, lifetime ,etc. And further the availability of variety of Microcontrollers in the market will make things further difficult. Here is a list of ” 10 steps to choose perfect microcontroller ” which every designer should perform before making the choice.
STEP 1: PREPARE THE BLOCK DIAGRAM OF HARDWARE INTERFACES:
This is the most important and primary action required before going to choose your controller. Make a simple block diagram listing all the hardware interface you are about to use in your project. There are two types of interfaces commonly available. The first one is communication interface where you need to look over the the peripherals such as I2C , SPI, UART and so on. The second one is Digital inputs or analog to digital inputs where you need to look over the ADC feature of your controller. These hardware interfaces will also help to decide the number of pins you need to dedicate for it.
STEP 2: ANALYSE THE SOFTWARE ARCHITECTURE:
Analyzing the software architecture can help you to design the system with much precision and avoid possibility of errors. Note down the requirements such as frequency of operation, time required to execute instructions, complexity of algorithm you about to use in your system and so on. This analysis will reveal how much processing power will be needed for your system, whether you go for a simple or robust controller.
STEP 3: REQUIREMENT OF MEMORY:
Memory plays a very critical part in any Microcontroller and you have to determine the memory requirements by your system. You should always make sure that your controller doesn’t run out of space and also leave some room for future development. The software architecture and hardware requirements will give you a idea how much of the Flash and RAM needed by application.
STEP 4: COST OF THE SYSTEM:
Microcontrollers generally vary in price depending on its features and peripherals inbuilt within. You have to consider the cost factor of a system seriously as people expect their system to be cost efficient providing it performs to the specification. So you must go for a cost efficient controller without comprising the performance of the system.
STEP 5: POWER REQUIREMENTS:
Power constraints can be real tricky as engineers should keep the power consumption of the system as low as possible. This also depends on the source from which the system obtains the power. Several companies have started to manufacture Ultra low power controller such as Si101x, MSP430 etc and you can use such controllers if it sits with other parameter requirements.
STEP 6: SUMMING UP ALL THE ABOVE:
Now you know all the parameters needed for your particular system. Its time to sum up all the above and prepare a list of requirements such as peripherals, architecture, cost, power constraints etc. Highlighting the most important requirements will further help you to find the most suitable controller by making the search easier.
STEP 7: SEARCH FOR THE RIGHT MICROCONTROLLER:
Now its the time to seek for the controller which suits all the above parameters without comprising the performance. Run searches in the internet seeking for the specifications by going through the datasheet or some sites do provide facility to narrow down the list of controllers for the user. Feed the peripherals, I/O, cost , power constraints to the search engine and it will narrow down the list of controllers meeting your demands. This will make your job easier.
STEP 8: GO FOR A DEVELOPMENT KIT:
The selection of Microcontroller doesn’t complete you job since you need to play with development boards to master the complete working of the controller. Development kit will help you to play, experiment things and will tweak your skills on a certain controller. And if you don’t find any development boards for your controller its probably get back to previous steps and choose another one. Most of the development boards cost under $100 and you can probably find one which fits in your budget.
STEP 9: TOOLS AND COMPILERS:
You are almost done with your Microcontroller selection and this is the last step you need to perform before finishing it. You must search for tools and compilers that are available for your microcontroller. Most controller have many compilers, debugging tools and programmers. You should make sure that all the above necessary tools are available, this makes the designing easy and inexpensive.
STEP 10: START EXPERIMENTING:
That’s it you have successfully completed the Microcontroller selection process and its time for experimenting with all the things you got. Build test circuits using the development board and it is advised to design the system by splitting it into several divisions. Experimentation will help you to getting rid of bugs and also to alter if any modifications needed to be done.
Latest posts by Frank Donald (see all)
- Pixel Stick – WiFi controlled multicolor light painting tool - January 15, 2018
- Creating Arduino web server and controlling things via WiFi – Tutorial - December 6, 2017
- Interfacing RGB LED with Arduino - November 1, 2017