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
1answer
188 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 ...
0
votes
0answers
30 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: ...
-1
votes
1answer
52 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 "...
0
votes
1answer
124 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-...
1
vote
1answer
112 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), ...
0
votes
0answers
976 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 ...
2
votes
2answers
380 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 ...
0
votes
1answer
3k 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 ...
0
votes
1answer
336 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 ...
0
votes
1answer
305 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? ...
1
vote
1answer
758 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 ...
3
votes
3answers
396 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. ...
0
votes
1answer
248 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 ...
1
vote
1answer
499 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 ...
4
votes
1answer
690 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: ...
0
votes
1answer
588 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 ...
3
votes
1answer
2k 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 ...
0
votes
2answers
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 '...
0
votes
2answers
179 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, ...
1
vote
1answer
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 ...
1
vote
1answer
3k 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 ...
1
vote
3answers
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: ...
2
votes
1answer
157 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....
0
votes
1answer
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 ...
-1
votes
1answer
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 ...
1
vote
1answer
748 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 ...
2
votes
2answers
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-...
1
vote
2answers
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 ...
1
vote
1answer
969 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) ...