Saturday, December 17, 2016

Move Over Arduino, There's a Cheaper Microcontroller Option in Town

I saw this post the other day about programming a MSP430 with the Arduino IDE and was like "wait what?". My biggest problem with the MSP430 and Tiva C series microcontrollers (uCs) to date has been having to use code composer studio or IAR. Both are difficult to use, very bloated with features most of us never use, and have a very high learning curve. Pretty much every maker has used or is currently using an Arduino in a project because they are so simple to learn how to use. So if the post was right and you could code in the Arduino IDE-esque Energia IDE and then upload it to the more powerful Tiva C or far cheaper MSP430, I am totally on board.

Here is a cost breakdown

uC Cost
Arduino UNO $22
Tiva C launchpad $12.99
MSP430 launchpad $4.30
MSP430 IC $1.85

The best part is that once you buy the MSP launchpad you can use it to program a chip then remove that chip and use it in your project! So for every project after the initial it will only cost you $1.85. Now mind you the MSP430 does have some drawbacks compared to the Arduino UNO, however there are a few flavors of the MSP430 with vary levels of performance. See this post for more a more detailed comparison.

So what is the main take away here? If a MSP430 series uC will work for your project why wouldn't you use it? You save money, can use it in your own PCB or breadboard, and if you break it, no biggy just swap another one in. Now some of you may note that you can bootload your Arduino ICs and move them to a breadboard or bootload them directly in the breadboard. Well you aren't wrong, but you will need a programmer, which is an added cost. Conversely you just need the launchpad board for the MSP430.

A final word of warning. It took me about an hour to realize that the latest version of the Energia IDE no longer supported the MSP430G2231 IC, so I had to download version 17 which still did. After that it only took about 2 minutes to upload blinky to both my MSP430G2231 and my TM4C123G.

1 comment:

  1. This is about how to fly a rocket.It is helpful to know about how to rocket work.And mini drone is similar to rocket.If we read carefully this post it will be more helpful to use Mimi drone.

    ReplyDelete