Questions tagged [energia]

Energia is a fork of the Arduino IDE platform, specifically supporting TI LaunchPad (MSP430 and Stellaris)

Filter by
Sorted by
Tagged with
0 votes
1 answer
82 views

How to flash MSP430G2211 MCU?

After experimenting a light sensing tool on TI MSP430G2ET with MSP430G2553, I designed a real scheamatic and PCB with MSP430G2211. I used MSP430G2211 because it has less pinout and smaller than ...
user avatar
  • 1
1 vote
0 answers
19 views

Have to download Energia code multiple times for the code to update using MSP430F5529 Launchpad

I'm a beginner in robotics, so I just started playing around with my MSP430F5529 Launchpad. Ever since the first time I started using my launchpad, it seems like I have to click on the 'Download' ...
user avatar
0 votes
1 answer
25 views

MSP430 Energia Basics ReadAnalogVoltage output 11 Volt

I'm a beginner starting with the MSP430F5529 Launchpad. I'm just running the Basics code 'ReadAnalogVoltage' that comes in Energia to test the voltage value. I literally have all the wires and ...
user avatar
0 votes
0 answers
85 views

SPI communication using MSP-EXP430FF5529LP

I am using SPI communication for the first time using Energia IDE (similar to Arduino IDE) to a gas sensor. However I get FF's as output. I have tried connecting MISO to MOSI line to check what is ...
user avatar
0 votes
1 answer
1k views

HX711 chip not working

I'm working on an electronic weight scale using MSP430 and I need your help: I've written the code using Energia and I've used the HX711 module for testing and everything works just fine. The final ...
user avatar
0 votes
0 answers
35 views

Run Energia from SRAM / Memory (CC3200 Launchpad)

In the code composer Studio it is possible to "flash"/load your program straight into the LaunchPads SRAM memory and run it without touching the flash. Is there a way to do the same in Energia? PS: ...
user avatar
  • 73
-1 votes
1 answer
64 views

Energia/MSP-EXP432 Issue: Analog In Pin removing voltage from Voltage Divider

In the circuit below, I want to measure the voltage going to the ADC (output from the voltage divider consisting of a fixed resistor and photoresistor) using an MSP-EXP432; however, the MSP-EXP432 "...
user avatar
  • 33
0 votes
1 answer
280 views

MSP-EXP432 "Analog In" pin taking voltage from circuit [duplicate]

I am building a circuit consisting of a voltage divider (with a fixed resistor and a LDR or photoresistor) outputting voltage to an ADC. I want to measure the voltage going to the ADC using an MSP-...
user avatar
  • 33
1 vote
1 answer
132 views

Only one attachInterrupt works at a time

I am using the MSP430f5529 launchpad and coding in Energia. The goal is to make a program that can detect whether the onboard pushbutton is up or down (as part of an eventual Morse code decoder), ...
user avatar
  • 113
0 votes
0 answers
1k views

Using MSP430 with Energia

I've had a MSP430 for a very long time, but only recently got interested in it. The chip in my MSP430 is a MSP430G2231, which according to http://energia.nu/Guide_MSP430LaunchPad.html I should be ...
user avatar
  • 150
2 votes
2 answers
517 views

When do you release and re-aquire control over SDA around an i2c Ack?

I am having odd behavior with Energia's Wire library, so I figured that I would attempt to do i2c myself. I'm writing my own (bit-bang) implementation if i2c and keeping it pretty simple. For now, I ...
user avatar
  • 341
0 votes
1 answer
4k views

How do you restart the MSP430 Launchpad programmatically with Energia?

Can anybody tell me what Energia method I can call to programatically reset the MSP430 Launchpad. Under certain circumstances, I need it to power down and back up again. It needs to shut down power ...
user avatar
  • 341
0 votes
1 answer
376 views

How do you implement an Energia interrupt handler?

So, I have an application that needs to be very conservative with the power. I use the suspend() command to go into LPM4 and wait for an interrupt to occur. During the interrupt, I attempt to ...
user avatar
  • 341
0 votes
1 answer
342 views

Using Energia, how do I get around disableWatchDog() locking up my program?

Below is a short code chunk. The code locks up on the 'Serial.Begin(9600);' line. Can anybody tell me why? Also, can you tell me how to get around it? ...
user avatar
  • 341
2 votes
1 answer
960 views

How do you use low-power mode on an MSP430G2553 using an Energia sketch?

I am using an energia sketch to program my MSP430G2553 controller. I need to know how to use low-power mode. Do I leave the loop section of the sketch empty and set up an interrupt in the setup ...
user avatar
  • 341
3 votes
3 answers
435 views

How do you programmatically detect pin count on an MSP430G2553?

I am using a Launchpad to program an MSP430G2553 controller. I use it for debugging. This controller has 20 pins. However, the end goal here is to run my program on an MSP430G2553IPW28R controller. ...
user avatar
  • 341
0 votes
1 answer
288 views

How do I store analog input into the msp430 nonvolatile memory?

I am using Energia to program MSP430G2553 chip in a BristleBot circuit and I would like to store data in the nonvolatile memory, so next time I turn it on it remembers the inputs. How do I define this ...
user avatar
  • 11
1 vote
1 answer
575 views

interfacing external push button to msp430 using energia

I am writing code in Energia using the mso430g2553 launchpad and an external pushbutton with a pullup resistor. The code should simply display the state of the button on the serial monitor, 1 for ...
user avatar
  • 11
4 votes
1 answer
759 views

Using the right pins for keypad

I am using msp430g2553 microcontroller and a 4x4 HC543 keypad. I am using Energia IDE. I have connected the keypad from pin 2 through 9. My code is as follows: ...
user avatar
0 votes
1 answer
614 views

Code Composer Studio + Energia + CC3200 LAUNCHPAD - Energia Sketch Build Errors

I have a CC3200 LAUNCHPAD and I saw the Code Composer Studio + Energia integration and thought it was sweet. From the tutorials, it looked like it was super easy to use an Energia Sketch in Code ...
user avatar
  • 217
3 votes
1 answer
3k views

What benefits are there to programming an MSP430 in C/C++ over Energia?

I'll start by saying I'm new to micro-controller programming. I've had some (ca. 30 years) experience programming, and some of that was writing C/C++ but those days are long behind me now. Since I'm ...
user avatar
0 votes
2 answers
1k views

MSP430G2231 Serial out using Energia

I am trying to read an analog signal using the Analog.Read() function and output 1 or 0 depending on the value of the analog signal. While testing using a serial monitor, I always get the symbol for '...
user avatar
0 votes
2 answers
194 views

Peculiar behaviour of code displaying button presses using MSP430

I have created a simple program in MSP430 using Energia for counting the button presses from 0 up to 9 and displaying them in a Seven Segment Display. The code including the definitions of the pins, ...
user avatar
  • 905
1 vote
1 answer
4k views

Display digits on 7 segment 3 digit LED display with Launchpad

I have a 7 segment led display with 3 digits (BT-M512RD-DR1 ) and Valueline Launchpad MSP-EXP430G2 I connected LED display according to this answer and here is my version of the sketch But I am ...
user avatar
  • 111
1 vote
1 answer
4k views

Internal temperature sensor for the MSP430 - energia

I'm trying to use the internal temperature sensor for the MSP430G2553 with energia (a branch of arduino for the TI MSP430 microcontrollers) but to I'm having trouble calibrating it. The solution I've ...
user avatar
  • 679
1 vote
3 answers
2k views

Good flag practices - energia msp430

I'm making a program for the msp430 using energia launchpad, the first code that I had is the following: ...
user avatar
  • 679
2 votes
1 answer
159 views

Power consumption - Energia Launchpad

I'm working with energia for the launchpad 430 and have a rather specific question to make: is example A the equivalent in power consumption has example B, or is it that B drains more power? Thank you....
user avatar
  • 679
0 votes
1 answer
1k views

Launchpad MSP430 incremental blink with button

I'm new with this. I'm trying to make an incremental blinking LED with every time that I push the button, I'm using Energia and Launchpad MSP430, I don't know if somebody can give a example code to do ...
user avatar
-1 votes
1 answer
2k views

How to make a digital clock using MSP430G2553?

I want to make a digital wall-clock as a small electronics project. Since I am very new to this stuff I want to just try to imitate some already completed projects so that I can learn from them. I ...
user avatar
1 vote
1 answer
775 views

Transfering my arduino/TI-MSP430 Launchpad/Energia skills to real world projects and C

I'm learning electronics/microcontroller programming through TI-MSP430 Launchpad(Energia) and Arduino. Both are based on wiring framework, and very good place to start for a beginner like me. Now as ...
user avatar
2 votes
2 answers
3k views

MPS430 Launchpad Keypad

I tried to use my MSP430G2553 launchpad with a keypad using http://www.pjrc.com/teensy/td_libs_Keypad.html http://bildr.org/2011/05/arduino-keypad/ http://www.instructables.com/id/Using-the-sparkfun-...
user avatar
1 vote
2 answers
2k views

Launchpad blink with button

I am trying to make LED in MSP430G2 Launchpad keep blinking / off with button like Switch example (http://www.arduino.cc/en/Tutorial/Switch) in Arduino/Energia but I seem to miss something stupid and ...
user avatar
1 vote
1 answer
1k views

msp430 using Button as switch

I am trying to do this(http://www.arduino.cc/en/Tutorial/Switch) without using any external parts because I was able to use button example from same site with this code: http://en.textsave.org/VjL) ...
user avatar