Skip to main content
All CollectionsTechnical Resources
Setting up the Energia IDE for Ubidots
Setting up the Energia IDE for Ubidots

This guide will demonstrate how to setup the Energia IDE, how to manage libraries, how to install boards, and how to build your project.

Sergio M avatar
Written by Sergio M
Updated over 2 months ago

The Energia IDE is a cross-platform application (for Windows, macOS, Linux) which provides a simple one-click mechanisms to compile and upload codes to the IoT boards it supports. 

Energia is an open-source electronic prototyping platform which provides the Wiring and Arduino Framework to the Texas Instruments boards (MSP430, MSP432, TM4C, C2000, and CC3200 LaunchPad). Similar the popular Arduino IDE, the Energia IDE is a code editor with multiples features, including text cutting and pasting, searching and replacing text, automatic indenting, syntax highlighting and much more. It also provides a message area which will let you debug all the processes of firmware during construction.

For a detailed explanation of all the features that the Energia IDE brings check out the official documentation here.

Step-by-Step

  1. Energia IDE Installation 

  2. Library Management 

  3. Board & Platform Management

  4. Verify, Upload, & Debug the Code

1. Energia IDE Installation

  1. To begin working with the Energia IDE, first download and install the software onto your computer based on your operating system (OS) using the links provided below:

2. Library Management

Ubidots along with hundreds of other software and hardware enterprises have pre-configured libraries available for your project already uploaded in the Energia IDE software. These available libraries provide extra methods and functionality to our
Energia projects. For example, the Ubidots Library contains multiple methods to SEND and GET data (values, contexts, and timestamps) to/from the Ubidots platform without being an advance programmer. 

1. Below is a list with Ubidots Libraries supported and available in the Energia IDE library catalogs, at this time.

IMPORTANT NOTE:  Ubidots libraries available in the Energia IDE do not warrant the full functionality of a multi-thousand device IoT solutions. If your solution will utilize 50+ devices, Ubidots recommends that you compile your own library utilizing one of theses IoT optimized communication protocols: HTTP, TCP/UDP, or MQTT.

  • Ubidots Libraries License 

Copyright (c) 2018, Ubidots.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

 
2.  To install a library using the Energia IDE use the followings steps:

2.1. Go to the Github repository of the desired library (list provided above) and download the library. To download the library click the green button called "Clone or download" and select "Download ZIP".

2.2. Now, back in the Energia IDE, click Sketch > Include Library > Add .ZIP Library
2.3. Then, select the .ZIP file recently saved and then “Accept” or “Choose
2.4. Close and reboot the Energia IDE to continue working.

3. Board & Platform Management 

The Energia IDE also supports third-party hardware platforms. Follow the steps below to include a piece of hardware or platform in your IDE.

1. Open the Energia IDE, select Files > Preferences and enter the URL of the hardware platform desired into Additional Board Manager URLs field.

NOTE: You can add multiple URLs by separating them with commas.

2. Now, based on the hardware platform included, go to Boards Manager from Tools > Board > Boards Manager and install the platform previously included. To simply find the correct device, search the brand of the respective device within the search bar.

3. Confirm if the hardware platform previously installed now exists in your list of available boards. Go to Tools > Board and note that the brand of the hardware you uploaded now appears. Select the board to continue working.

4. Verify, Upload, & Debug the Code

As we mentioned above, the Energia IDE provides a simple one-click mechanisms to compile and upload codes to any boards supported by the Energia IDE. 

1. To verify/compile the code, press the "Check Mark" icon located in the top left corner of the Energia IDE:

Once the code is verified, you will receive a "Done compiling" message in the Energia IDE.

2. To upload the code into the board, press the "Right-Arrow" icon beside the check mark icon:

Once the code is uploaded, you will receive a "Done uploding" message in the Energia IDE.

3. Now with the code uploaded in the board, you can debug the messages being passes on to/from the board. To do this, open the Serial Monitor of the Energia IDE by pressing the "Magnifying Glass" icon located in the top right corner of our Energia IDE:

Other users have also found helpful: 

Did this answer your question?