Energia + MSP430 = Arduino!!! in PDIP :D


EnergiaHello everyone. This post is regarding an IDE called Energia, for msp430 launchpad. There are millions of arduino fans out there, who love the inbuilt libraries and functions for making projects easily. Hobbyists have the natural tendency to use arduino for their projects. This is justified by the large number of  *shields that are available for arduino and the awesome arduino community.  This is a good news for them as Energia enables coding msp430 microcontrollers using the arduino libraries and functions. In fact Energia has inbuilt example ‘sketches’ just like the arduino IDE which you can build and burn in the controller.

energia-ide

Yes the blink led sketch and all others, you can directly set the microcontroller you want to use and get the fun started. Energia is an open source project just like arduino. It was launched in 2012 i.e last year. There have been a few updated to improve the stability. The color of Energia is red (launchpad!!) unlike arduino which is blue. Now to talk about the code efficiency and the IDE stability. Since it uses another processors IDE libraries and functions and converts it into those which are compatible with our launchpad controllers, it is slower as compared to CSS,IAR and other development environments. It may seem to test your patience, but then you are getting best of both worlds right? So one shouldn’t complain about it. So now you have various methods to reduce your coding time. If you want to interface an 16x2LCD just import the lcd library and use the inbuilt functions to perform the tasks that you require. So if a LCD is like ABCD.. type basic thing in your project you can avoid initializing those peripherals manually via control signals and command words. Makes our life easy, isn’t it?

This is the link to the Energia website if you are interested.

http://www.energia.nu

Here you can download the latest Energia version. There is help page as most sites have. The most important advantage of Energia is that you’ll open up the gate to a humongous community i.e arduino community.

Hope this post was informative. Thank you for reading this.

* Shield refers to a hardware that performs a specific set of tasks and can be mounted onto the arduino board. On that note I’ll like to introduce the booster packs of launchpad. Booster pack is the launchpad version of the name shield.

Advertisements

4 thoughts on “Energia + MSP430 = Arduino!!! in PDIP :D

  1. Check the program size of blink on CCS and Energia, and you will see that Energia Needs more space on the Microcontroller for the same Task. CCS is the harder way, but i think in the end you learn more with CCS than just including millions of libs to get things work. I have seen in your Video about Interrupts that you are using Software delays in the Interrupt handler. That is not recommended. I would take a variable that counts down to Zero. reduced in the timer interrupt handler. Thank you for showing grace. I think it will help me to get my i2c Display running.

    • I know that the code efficiency is less, but I mentioned this as an option. About the timer, I’ll use it once I get the hang of it. Well footprint is a very important aspect I completely agree on that point. Software delays consume power agreed, I’ll try to avoid that.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s