Energia brings Arduino IDE to the TI Launchpad

The Arduino IDE is an abstraction layer for the AVR chip which the board is based around. So it’s no surprise that it is now possible to use the Arduino IDE with the TI Launchpad board. This makes it dead simple for beginners to play around with the inexpensive and low-power MSP430 platform. This is all thanks to a lot of hard work on part of the Energia developers.

The project branches from Arduino so the look, feel, and function are all about the same. Most notably, the color scheme has migrated to red to match the board color of the Launchpad. You can configure the hardware the same way by selecting a COM port and target board. Almost everything is already working, but you should check the known issues page so that you don’t try to use a function that hasn’t been ported. Right now the list includes the random and random seed functions, as well as tone, notone, and micros. There is also an issue with analogWrite; it will only produce half the requested frequency and duty cycle can only be set from 0-50%. Still this is a great development if you’re most comfortable working from this IDE.

Comments

  1. radicalbiscuit says:

    And it’s none too small of an announcement that there is finally a freely-available IDE for the LaunchPad on OS X! Excited I am.

  2. Galane says:

    Is there a TI 99-4/A emulator for the TI Launchpad?

    • markey1979 says:

      @Galane

      Yo, that is really funny….

      I was looking @ my 99/4a yesterday, thinking “Man what if I could make a hardware replica of the TI-99/4a by stringing a couple of launchpads logether?”

      I do not think one would be enough. I think you would need one just to handle the sub-qvga video, one to translate the storage, and one for the keyboard.

      … unless you figure out how to add the f1612 into the mix? Then you could just use one board, and an i/o expander.

      I actually was looking @ the 99/4a, because I want to get it onto the hackaday retro site. I think the Arduino + Ethernet shield should work nicely. I have just be overwhelmed with my schoolwork.

      This reminds me, Is there a linux binary for this IDE, or source somewhere?

  3. trialex says:

    AWESOME

  4. macegr says:

    Heroes. Please, please drag TI kicking and screaming into the world of free and cross-platform tools.

  5. This is great. I bought a couple of Launchpads when they first came out, but they’ve been collecting dust since I mainly use a Mac. I did install a Windows-based IDE using Parallels, but I found it bloated for just playing around with the boards.

    I’ll have to dig them out and see how they work with this.

  6. Dino says:

    I got this link the other day via Twitter. This will make the two MSP430s I have actually useful!!!

  7. jimbo says:

    Finally will be able to use my two launchpad’s I bought last year.

  8. Necromant says:

    Crap. arduino is spreading like plague. Another platform infected.

  9. smoketester says:

    Welcome to the party TI!

  10. Ren says:

    Okay, now lets get the STM -Discovery boards working with this!

  11. Gabe says:

    More blinking leds projects to come.

    Also this post fails to explain what it adds.

    Is arduino now a language as well and it will be complied into msp430 code? Is this just a text editor?

  12. Necromant says:

    @DanJ: At least it has a nice&shiny cc-mode, which is a lot more comfortable to use then crippled arduino editor.

  13. Oh wow. Just the other day I was lamenting the fact that I haven’t really done anything with the 6 launchpad kits I have, mostly because I haven’t taken the time to learn to code for it.

    But being able to run Arduino code on an MSP430? That sure changes things!

  14. Energia says:

    Thank you all for the kind word! A special thanks to the Energia contributors RickKimball, rei-vilo, pbrier and StefanSch for making this possible!

    robertinant

    • jimbo says:

      Again Thank you guys for lettin’ me (and from the comments, as well as many others) who brought the Launchpad and never used it cuz we didn’t get around learnin’ how to program it.
      Keep it up

  15. jc says:

    if someone made a proper mmapped i/o viewer for Eclipse instead of doing all this useless crap, the world would seriously be a better place.

  16. DjKiDD says:

    I guess it’s a step in the right direction…

  17. Necromant says:

    @Neil Cherry: Than what’s the point of using a crippled abstraction layer with a huge overhead, supporting very few devices and pulling in a very weird buildsystem?

    • Neil Cherry says:

      Emacs is not crippled … oh Arduino. ;-) I don’t know actually, I thought about that very thing after I posted the reply.

      The only answer I could come up with was that it’s easy for beginners or if you want to get something done quickly. As a friend pointed out recently, if I could buy time that would be a product worth marketing! In a way the Arduino system does that, buys you a little time.

  18. NateOcean says:

    Now if we could just convince the Arduino fans to start calling “sketches” what they are: programs. And that “shields” are just boards. Oh, and to align their pins to a 100 mil grid. And why such wierd board shapes?

    The software TI supplied was more than reasonable, but the Arduino based stuff is welcome.

    On the other hand, the ST Discovery has been a disappointment. Great board! Powerful processor! Then they just dump a list of vendors that you may be able to piece together a tool-chain from. Come on ST, you can do better.

  19. markey1979 says:

    So, now that we have this sweet, new ide for the launchpad, how about shields?

    When is someone going to design an adapter, of sorts, so we can install arduino shields on the launchpad.

    Also, I know I asked already, but is there a linux version for this? Or maybe source to compile one?

  20. Nick says:

    Any idea if this can be applied to the FRAM models ie. MSP-EXP430FR5739? I’m just not sure how to add the drivers/libraries to the Energia interface.

    -Nick

  21. onaclov2000 says:

    I was having trouble setting this program up on my machine (I’m not a “super” ubuntu user per se). I did figure out how to get it going, eventually. Using the linux version (found in the issues section of the github page) required compiling msp430g++ which was not as hard as I had made it out to be in my head.

    If you’re having trouble you are welcome to check out my blog about it.

    http://blog.onaclovtech.com/2012/07/energia-setup.html

  22. butchalline says:

    My thanks to the folks who made this happen!

    We need more people who just do it!

  23. Dan Overholt says:

    CUI32Stem, write in whatever language you prefer. BASIC (StickOS), Arduino (MPIDE), or C (MPLAB-X).

    http://www.seeedstudio.com/wiki/CUI32Stem

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

Follow

Get every new post delivered to your Inbox.

Join 97,511 other followers