Search the Community

Showing results for tags 'arduino'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News
    • Announcements
    • Suggestions
    • New users say Hi!
  • Spotlight!
    • Sponsor Spotlight
    • Sponsor Giveaways
  • Energia
    • Energia - MSP
    • Energia - TivaC/CC3XXX
    • Energia - C2000
    • Energia Libraries
  • MSP Technical Forums
    • General
    • Compilers and IDEs
    • Development Kits
    • Programmers and Debuggers
    • Code vault
    • Projects
    • Booster Packs
    • Energia
  • Tiva-C, Hercules, CCXXXX ARM Technical Forums
    • General
    • SensorTag
    • Tiva-C, Hercules, CC3XXX Launchpad Booster Packs
    • Code Vault
    • Projects
    • Compilers and IDEs
    • Development Kits and Custom Boards
  • Beagle ARM Cortex A8 Technical Forums
    • General
    • Code Snippets and Scripts
    • Cases, Capes and Plugin Boards
    • Projects
  • General Electronics Forum
    • General Electronics
    • Other Microcontrollers
  • Connect
    • Embedded Systems/Test Equipment Deals
    • Buy, Trade and Sell
    • The 43oh Store
    • Community Projects
    • Fireside Chat
  • C2000 Technical Forums
    • General
    • Development Kits
    • Code Vault
    • Projects
    • BoosterPacks


  • Community Calendar

Found 32 results

  1. I am interfacing LM35 and SIM900 using MSP430F5529 board . For this purpose i am using Energia software . As we all know arduino code is compatible in Energia . Hence , I have used the same code that i used in Arduino Uno . The code works fine and i get my thingspeak channel updated with every HTTP request however , when i use Energia , it doesnt show any error , neither does it show/update my thingspeak channel . I had used Pin 7 and 8 for receiving and transmitting in Arduino . In Msp430 , I have used Pin P3.4 and P3.3 for receiving and transmitting . My Energia code is as follows - #include <SoftwareSerial.h> #include <String.h> SoftwareSerial mySerial(P3_4, P3_3); boolean pin2=LOW,pin3=LOW,pin4=LOW,pin5=LOW,pin6=LOW; float temp=0.0; void setup() { mySerial.begin(9600); // the GPRS baud rate Serial.begin(9600); // the GPRS baud rate pinMode(2,INPUT); pinMode(3,INPUT); pinMode(4,INPUT); pinMode(5,INPUT); pinMode(6,INPUT); delay(1000); } void loop() { temp=analogRead(A0); temp=temp*0.4887; delay(2); Send2Pachube(); if (mySerial.available()) Serial.write(; } void Send2Pachube() { mySerial.println("AT"); delay(1000); mySerial.println("AT+CPIN?"); delay(1000); mySerial.println("AT+CREG?"); delay(1000); mySerial.println("AT+CGATT?"); delay(1000); mySerial.println("AT+CIPSHUT"); delay(1000); mySerial.println("AT+CIPSTATUS"); delay(2000); mySerial.println("AT+CIPMUX=0"); delay(2000); ShowSerialData(); mySerial.println("AT+CSTT=\"aircelgprs\"");//start task and setting the APN, delay(1000); ShowSerialData(); mySerial.println("AT+CIICR");//bring up wireless connection delay(3000); ShowSerialData(); mySerial.println("AT+CIFSR");//get local IP adress delay(2000); ShowSerialData(); mySerial.println("AT+CIPSPRT=0"); delay(3000); ShowSerialData(); mySerial.println("AT+CIPSTART=\"TCP\",\"\",\"80\"");//start up the connection delay(6000); ShowSerialData(); mySerial.println("AT+CIPSEND");//begin send data to remote server delay(4000); ShowSerialData(); String str="GET" + String(temp); mySerial.println(str);//begin send data to remote server delay(4000); ShowSerialData(); mySerial.println((char)26);//sending delay(5000);//waitting for reply, important! the time is base on the condition of internet mySerial.println(); ShowSerialData(); mySerial.println("AT+CIPSHUT");//close the connection delay(100); ShowSerialData(); } void ShowSerialData() { while(mySerial.available()!=0) Serial.write(; }
  2. Hi. I'm new to 43oh. My team is building a platform for the breadboard for software developers. It allows you to configure prototypes without wires or other components. How? Connect the controller board to your breadboard and PC. Connect channels to IO pins in the user interface. The user interface will interact with the hardware and implement your configuration on a breadboard via a programmable switch matrix, thereby replacing wires. Then, if you want the user interface to interact with the ADC onboard the controller board: Connect the GPIO channel to the ADC channel on the same IO pin. Set the ADC channel on. Then you can analyse the signal, as shown here: There is also an interface on the controller board for custom shields, which can replace other components, such as higher precision ADC, a DAC, a MIDI controller, an SoC, wifi adapter or an FPGA. This feature is still in development. Tell what you think about this tool kit. You can follow this project at to get updated as we prepare for a crowdfunded manufacturing run.
  3. Hey everyone, I'm trying to interface an MSP-EXP430FR5969 with a GPS+GSM module ( I've been able to send a text message to my mobile using the Arduino, but when I try on Energia 1.6 with the module now plugged into the MSP430 I get compilation errors (mainly due to atof not being declared). Here's the code I am using: #include <stdlib.h> #include <stdio.h> #include "Adafruit_FONA.h" #define FONA_RX 4 #define FONA_TX 3 #define FONA_RST 5 #include <SoftwareSerial.h> SoftwareSerial fonaSS = SoftwareSerial(FONA_TX, FONA_RX); SoftwareSerial *fonaSerial = &fonaSS; Adafruit_FONA_3G fona = Adafruit_FONA_3G(FONA_RST); void setup() { while (!Serial); Serial.begin(115200); fonaSerial->begin(4800); fona.begin(*fonaSerial); sendText(); } void loop() { } void sendText () { char sendto[21]= "04XXXXXXXX"; char message[141] = "Text Text Text Text Text Text Text Text Text Text Text Text"; fona.sendSMS(sendto,message); if (!fona.sendSMS(sendto, message)) { Serial.println(F("Sending message")); } else { Serial.println(F("Sent!")); } } "C:\Users\...\Adafruit_FONA.cpp:909:30: error: 'atof' was not declared in this scope" is the main error I am getting. Any suggestions on how to have this compile please? Thanks in advance
  4. Hi, I'm doing my Senior design for undergraduate school which is developing an open source medical device using a microcontroller (Arduino or MSP432) with attached ECG, etc. circuits. Also, I am planning of including a LCD touchscreen that will display the recorded ECG signal. The main goal of this project is developing an open source medical device such that the user can add circuits to the microcontroller following the specification that I will develop. The circuits will be built up on top of each other using assigned pins. So, for this kind of project which microcontroller you think is better, in terms of the popularity of the platform and reputation-consider the market. Please make sure to specify which Arduino is suitable. Thanks.
  5. - INTRODUCTION Hi everybody, I want to share a library for controlling a 4-pins PING sensor (HC-SR04 ICStation) basically, although you can also control the 3-pins PING))) sensor conventional of Parallax (URL). This library is a modification of the Caleb Zulawski's library for PING))) sensors. I made basic improvements in calculations, I added a function to calculate the distance in millimeters and added the option to change the "input trigger signal" [10uS for HC-SR04 and 5uS for PING)))] - CHANGE LOG v2.1 (26/08/2014) * Fixed calculations of distance in inches. v2.0 (25/08/2014) * Fixed problems with measurements adjustments. * New function for modification of a single unit. v1.0 (24/08/2014) * Basic modification of Caleb Zulawski's library. * Added the calculation of distace in millimeters. * Identified problems with measurements adjustments. - TESTING Tested on: Tiva C (TM4C123GXL) & Arduino UNO R3 - COMPARISON SECTION A small comparison between the 2 sensors is: * HC-SR04 sensor: 1. Working Voltage: 5V (DC) 2. Output signal: Electric frequency signal, high level 5V, 0V low level. 3. Sensor angle: Not more than 15 degrees. 4. Detection distance: 2cm-450cm. 5. High precision: Up to 0.3cm 6. Input trigger signal: TTL impulse 10uS 7. Mode of connection: 1. VCC 2. TRIG ( T ) 3. ECHO ( R ) 4. GND * PING))) sensor: 1. Working Voltage: 5V (DC) 2. Output signal: Electric frequency signal, high level 5V, 0V low level. 3. Sensor angle: Not more than 15 degrees. 4. Detection distance: 2cm-300cm. 5. High precision: Up to 0.3cm 6. Input trigger signal: TTL impulse 5us 7. Mode of connection: 1. GND 2. VCC 3. SG - DOWNLOAD SECTION v2.1: Ping4Pins v2.0 (Not recommended): Ping4Pins v1.0 (Not recommended): Ping4Pins - INSTRUCTIONS OF INSTALLATION 1. Download the latest version of the library 2. Unzip the zip-folder. 3. Copy the "Ping4Pins" folder in the location of the libraries depending of your trainer: * For Arduino: <Arduino IDE directory>\hardware\libraries\ * For Tiva C: <Energia IDE directory>\hardware\lm4f\libraries\ Note: If you used an older version of the library, I recommend deleting the folder and copy the new folder "Ping4Pins". - EXAMPLES SECTION In the "examples" folder are 5 examples for Arduino and 5 examples for Tiva. I'll post the example # 1: /*Example # 1 for TivaC / ArduinoCreated by Jeyson Zu
  6. One of the new features of the beta EnergiaNG is that fact that it is now using the standard Arduino 1.6.x IDE. Unfortunately, it doesn't look like it is ready to work as a boards manager package with the standard Arduino IDE. Energia/TI likes their branding and it seems they want to keep TI boards and Arduino board from ever meeting in the same program. At the same time, I noticed a few things that are missing and instead of trying to push those into Energia. I decided to fork the tivac-core and make the changes there. I also moved away from the proprietary dslite uploader in favor of using openocd. This gives you a better chance of running this code on any platform you might like. Did you know Arduino is now running on Raspberry PI boards? Anyways, you can find this new version here: There is a list of things that I've changed in the This port also makes a couple of assumptions. It assumes you have both an arm-none-eabi-gcc toolchain in your path along with a recent version of openocd. If you are running linux you can just do: $ sudo apt-get install arm-none-eabi-gcc arm-none-eabi-g++ openocd Give this port a whirl and let me know how it works for you. -rick
  7. So I'm working on a fingerprint scanner project with this repo written for arduino for the scanner I'm using. I am trying to make it work with an MSP430G2553 instead of the Arduino Uno. When I try using this library in Energia, it can't find the scanner despite being wired on the launchpad the same way that it is wired on the Arduino (External 5V source, Arduino pin 2 --> MSP430 pin 1.1, Arduino pin 3 --> MSP430 pin 1.2). The code compiles and the serial monitor outputs the test looking for the scanner, but it has yet to be able to find it. If anyone could give me any help with this, it would be greatly appreciated. Energia ino sketch is attached. EDIT: So after making myself more familiar with the code and the C++ imports, it seems the scanner works in 4 phases: 1) Take image 2) If image is a finger, convert it to digital features 3) Compare fingerprint features against features of enrolled fingerprints 4) Able to return result for the comparison and if its a match, return the ID# These lines: SoftwareSerial mySerial(5, 6); //Define serial communication on two pins Adafruit_Fingerprint finger = Adafruit_fingerprint(&mySerial); Seem to be whats handling all the fingerprint logic. So the issue isn't with the scanner, its with the communication between scanner and the MSP, most likely that I'm somehow defining output pins 5 and 6 (P1_3 and P1_4) incorrectly so they are not handling the scanner at all. fingerprint.ino
  8. Since my only 5529LP was confirmed no longer functioning properly and the likely cause is the USB hub module, there have been some thoughts going through my mind to salvage the core 5529 device on the LP for some good use. And this weekend I have decided to give it a try. As the USB host part is confirmed not functioning, the first step is to verify the F5529 is still good. The easiest way is to try program it and check if it can run new program. With a good F5529 LP (the new replacement board ordered after the old one retired), I removed all the jumpers between the ez-FET and the target device, and then wired the GND, 5V, 3V3, RXD, TXD, SBW RST, and SBW TST from the good ez-FET to the 5529 side of the old LP. This will also power up the old board from the new one as the USB host on the old board is dead and no longer powering it. Soon after an example Energia sketch of SerialCallResponseASCII is uploaded through the new, good board, the good news is displayed on the Serial console confirming the 5529 device is still working flawlessly. At this point, I came into realization that this board can no longer be a handy development board as it once was but only good for deployment, possibly permanently, to some project because I have to rely on that good LP every time for programming. But wait, I recall recently from the forum there are some posts mentioning Forth interpreter for MSP430, one of which by monsonite with comprehensive information on various Forth offerings. However, a common requirement for Forth is serial communication for the console that my old LP is no longer capable to provide with a dead USB hub. Even though I don't have serial to usb converter to bypass the on-board hub for direct serial connection, I remember there is an old Arduino Pro Mini laying around without much used. Combining these two, I could probably build a utility development board that provide ad hoc programming capability (in Forth) on the 5529LP provide the console access required by Forth on the 5529LP via the Arduino Pro Mini (forward the serial communication from the Arduino UART to the 5529LP TX/RX) power the 5529LP via the 5V and 3V3 pin from the Arduino Pro Mini All in all, the goal is to take the Arduino Pro Mini as the controller or programmer of the 5529LP that is programmed to run Forth only. I picked the Mecrisp as it provided out of the box support for the 5529LP and pre-compiled hex file. So the build begin by first flashing the Forth hex file to the 5529LP. Again it required a good 5529LP and I used the latest MSPFlasher for the job. The following is the command line (for Windows). MSP430Flasher.exe -w "forth-mecrisp-5529.hex" -v -g -z [VCC] For a more decent looking of this utility development board, the Pro Mini is mounted to a medium sized breadboard on one end, and with four metal pins (pulled from left over connectors), the 5529LP is somehow "mounted" to the other end. This is enough for some structural support for the 5529LP Now for the Arduino side. Since there is only one set of UART on the Pro Mini, the program on it make use of the SoftSerial library that will emulate another serial port by two digital pins to relay the serial messages from the real UART to the 5529LP. Finally the moment of truth, the serial console to the Arduino is opened for a test. Apart from the line feed being weird, the expression run (1 2 + .<cr>) is successful, so is the programming of the blinky program Moving forward, the Arduino can be programmed in such a way that not only merely relaying serial message, but parse special commands to initiate specific Forth programming to the 5529LP (the Forth programs themselves stored as program in the Arduino). Hopefully this will make the whole package more versatile and practical.
  9. Hi, Can someone help me to implement an internal RTC module code in TIVA TM4C1294NCPDT using Energia? Thanks.
  10. Hello, I'm not sure of what the update cadence for Energia is. However, I did find that the Wire.h library in Arduino has been updated since the Energia version. The Arduino's Wire.h library have a method - Wire.setClock() that allows setting the I2C bus speed. By default I believe it is 100KHz. On an Arduino Zero board I was able to bump it up to 3MHz (limited by the I2Cdevice I'm using) and the performance is incredible. However, since in Energia we don't have this method, the performance of the I2C device is extremely slow. So I'm wondering when/if there is a plan to upgrade the Wire.h library in Energia with the latest version. Also using the MSP432 I believe there is a hardware I2C option. Will this be faster? I used pins 9 & 10 on my MSP432 but the Wire.h library was included.
  11. Hello everyone, I'm basically trying to port over Arduino's SD card library (which utilizes SPI communication) to Energia, and am starting by testing whether I am able to properly initialize the SD card or not. First, I made sure that the Arduino library worked on an AT Mega 2560 and SD card that I have (it did). I then moved on to porting the library for Energia. I changed the pin mapping and the SPI settings to work for the F5529 and so far I can prove with a logic analyzer that the SD initialization function commands the CS, SCLK, MISO, and MOSI SPI lines in the exact same manner for the MSP430 as for the Atmel, byte for byte. Basically, the information coming in to and out of each mircrocontroller is exactly the same so I know that all the SD card information is there for me However, the problem is that the information does not seems to be received by the MSP430 in the same manner as the Atmel and causes the initialization to fail. I think the roots of this issue involve differences between the way the Atmel device
  12. Hello, There used to be a document on this forum, or stellaristi forum, like general guidelines for porting from arduino to energia. It had explained all the caveats and includes you have to do and change, and was a nice document. Unfortunately, i can not find it anymore. and it seems that stellaristi has been shut down. Anyone remembers where I can find this document? I googled for a while, but failed. Any ideas/help/recomendations greatly appreciated, Best,
  13. Hi, I have downloaded some libraries which have been created for arduino(Modbus Master / Slave). I want to use them with TIVA Launchpad 129. I have compiled them in Arduino IDE successfully. However, when I compile them using Energia after selecting Launchpad 129, I get some errors related to Hardware_Serial.h. I would like to know what changes are to be done in Energia to compile without errors. I have attached Modbus Master library for reference. SimpleModbusMasterV12.rar
  14. I apologize in advance as the answer to this may be obvious, but I've looked around the forums and haven't found an answer yet. I'm trying to use a Bosch BME280 sensor with a MSP430FR5969 to do some handy datalogging. I found a library for it located here originally for Arduino implementation, and it works fine on that platform. There's no obvious requests for avr based libraries etc... but where should I start in attempting to get this to work with an MSP430?
  15. Hi All, This my first prototype for Booster Pack that connect LaunchPad XL to Arduino Shields It convert 3.3V to 5 Bidirectionaly, I just test it with my own Arduino Shield with SPI works fine. I know board is too long and jumpers are not necessary, I will removed them. It will help Arduino Shields as BoosterPack. Thanks, Ali
  16. I want to make a connection Modbus TCP slave. For this I use a Arduino libraries. I am using the EK-TM4C1294XL Kit The could enter and take the example they have in the library, the example compiles correctly. Board is connected to a switch and a PC is connected also has disabled the Windows firewall. I use a Modbus TCP client program on the PC to read the records of the kit through Modbus. I can not read the values, tells me it can not connect to the target computer, the connection was denied. If I make ping the IP of the plate answer me well. Someone can help me solve the problem The code is as follows: #include <SPI.h> #include <Ethernet.h> #include "MgsModbus.h" MgsModbus Mb; int inByte = 0; // incoming serial byte // Ethernet settings (depending on MAC and Local network) byte mac[] = {0x90, 0xA2, 0xDA, 0x0E, 0x94, 0xB5 }; IPAddress ip(192, 168, 100, 109); IPAddress gateway(192, 168, 100, 1); IPAddress subnet(255, 255, 255, 0); void setup() { // serial setup delay(5000); Serial.begin(9600); Serial.println("Serial interface started"); // initialize the ethernet device Ethernet.begin(mac, ip, gateway, subnet); // start etehrnet interface Serial.println("Ethernet interface started"); // print your local IP address: Serial.print("My IP address: "); for (byte thisByte = 0; thisByte < 4; thisByte++) { // print the value of each byte of the IP address: Serial.print(Ethernet.localIP()[thisByte], DEC); Serial.print("."); } Serial.println(); // Fill MbData // Mb.SetBit(0,false); Mb.MbData[0] = 0; Mb.MbData[1] = 0; Mb.MbData[2] = 0; Mb.MbData[3] = 0; Mb.MbData[4] = 0; Mb.MbData[5] = 0; Mb.MbData[6] = 0; Mb.MbData[7] = 0; Mb.MbData[8] = 0; Mb.MbData[9] = 0; Mb.MbData[10] = 0; Mb.MbData[11] = 0; // print MbData for (int i=0;i<12;i++) { Serial.print("address: "); Serial.print(i); Serial.print("Data: "); Serial.println(Mb.MbData[i]); } // print menu Serial.println("0 - print the first 12 words of the MbData space"); Serial.println("1 - fill MbData with 0x0000 hex"); Serial.println("2 - fill MbData with 0xFFFF hex"); Serial.println("3 - fill MbData with 0x5555 hex"); Serial.println("4 - fill MbData with 0xAAAA hex"); } void loop() { if (Serial.available() > 0) { // get incoming byte: inByte =; if (inByte == '0') { // print MbData for (int i=0;i<12;i++) { Serial.print("address: "); Serial.print(i); Serial.print("Data: "); Serial.println(Mb.MbData[i]); } } if (inByte == '1') {for (int i=0;i<12;i++) {Mb.MbData[i] = 0x0000;}} if (inByte == '2') {for (int i=0;i<12;i++) {Mb.MbData[i] = 0xFFFF;}} if (inByte == '3') {for (int i=0;i<12;i++) {Mb.MbData[i] = 0x5555;}} if (inByte == '4') {for (int i=0;i<12;i++) {Mb.MbData[i] = 0xAAAA;}} } // Mb.MbmRun(); Mb.MbsRun(); } The files are: modbus_slave.rar The ModbusTCP Client PC program is:EasyModbusClient.rar modbus_slave.rar EasyModbusClient.rar
  17. Hi Guys, My name is Nathan. I've lurked around here on 43oh a bit, but this is my first official post. I've been working with the MSP430FR5969 for several months now and I've quickly grown to really like it. It seems to me TI's FRAM processors should really be getting more exposure for battery powered development in both professional and maker communities. To that end - I was hoping to get some feedback on a product idea. We've packaged the FR5969 into a tiny coin-cell powered module. The module can operate as a stand-alone processor or it can plug into an UNO-form-factor breakout board with an eZ-FET lite programmer, allowing you to program it with CCS or Energia. We're waiting on the first PCB's to debug the base product right now, but the goal would eventually be to offer with with a handful of matching small daughter-boards to add WiFi, BTLE and either the Sharp LS013B4DN04 hybrid screen or an e-ink display - all except the WiFi would be powered directly by the coin cell (WiFi would require a couple AAA's). It might make sense to have a few sensor boards too depending on interest level (humidity/temp, compass, GPS, accel, gyro, prox, etc.) Does that make sense? Any thoughts? Is this a product you think people would be interested in? It doesn't seem like anyone is offering really well-packaged small, ULP, battery powered MCU modules, especially with Arduino code compatibility and this would fill a good niche (certainly one I have some uses for anyway). Anyway - I'd appreciate any feedback or suggestions. Thanks. NC
  18. Hi I am currently porting from Arduino to MSP430 platform. I want to port to attached Modbus Master and slave library to Energia. In modbus we have to set parity of serial communication, parity function is not there in MSP430 HardwareSerial.ccp library can anyone help me to add this function in energia library? Problem is not with modbus library but with Energia core library. Thanks SimpleModbusMasterV12.rar SimpleModbusSlaveV9.rar
  19. Hi All, A few days ago we release a new version of the free Visual Micro plugin for Energia 0014 and Visual Studio 2013 Community Edition. Currently build and upload appears to work identically to the Energia Ide but it would be useful for others to test. One windows users report the upload not working which we guess is related to the start path that Visual Micro uses when running the upload command. It would be really useful for a few others to test especially with the cc3200. Here is a screen-shot from earlier Energia releases in Visual Studio 2010. We will make some new screen shots for 0014 and VS2013 as soon as we get the thumbs up from a few users. Some historic notes from earlier Energia releases are here Your help will really be appreciated. Either in this forum or in the Visual Micro forum. Thanks The Visual Micro Team
  20. Dear colleagues, I'm more than happy to announce the release of panStamp NRG, our new Wireless ISM (868/915 MHz) module based on the CC430F5137 MCU and programmable from the Arduino 1.5 IDE. panStamp NRG is pin, radio and software compatible with our classic AVR modules but entirely relies on a Texas Instruments CC430F5137 MCU instead of our old Atmega + CC1101 approach. As result, we are getting a more robust module providing more features, more speed and consuming less power. Wiki page Commercial website Webstore panStamp NRG can be programmed serially from the Arduino IDE or even wirelessly from our Python tools. All related to panStamp is open source, including hardware designs, cores, libraries and software tools so our users don't need to invest in development toolchains or configuration applications. We also provide sample applications, an open protocol called SWAP and software IP gateway to start deploying WSN (Wireless Sensor Networks) and developing IoT applications from the first day. Another nice feature of NRG is that it can host multiple sensors on-board. There is then no need to develop or buy additional boards for measuring temperature, humidity or 3-axis acceleration since all these sensors can be hosted by this tiny module. Simply grab your application, power the module from a 3V coin battery and display the readings from any of the software applications compatible with panStamp. panStamp NRG is already on sale and we are offering a 15% discount in all our products for the members of the 43oh community until 15 January 2015. You just have to fill your cart and send us an e-mail asking for the discount before completing the payment.
  21. Hello All! This is my first post on this forum. So kindly excuse me if i do any faux pas! I am planning to shift to MSP430 after using arduino for long time. I have written a small code to read ADC value and when i press a button adc value gets stored in a variable. Now want I want is to make available this value even after microcontroller restarts. Can anyone tell me how to store variable in Non volatile FRAM? I am using MSP430FR5969 launchpad. I have looked into following examples but they are of not helping me. I am using Energia to program my launchpad.
  22. In the Energia port for the CC3200, will there be an avr/pgmspace.h replacement to help manage access to the program memory? If it is not already in the works, would such a thing be workable? As I understand it, the CC3200 stores program in an external memory, and loads it into RAM for execution. The AVR has two memory spaces (program and data), and on Arduino, avr/pgmspace.h defines various macros, etc. for using data in program space. Seems like it might be possible to create a pgmspace.h (and accompanying library) which would allow use of data stored in the CC3200 external memory in a way compatible with some Arduino libraries. Just a thought at this point, I have not studied the CC3200 architecture, and my familiarity with pgmspace.h is mostly in finding ways to work around it when porting AVR Arduino libraries to ARM. (Got started thinking about this because I was thinking it would be nice if Energia included a avr/pgmspace.h for MSP430 and for Tiva, similar to what TeensyDuino does. )
  23. Hi, I am designing a remote controlled system using an arduino uno board and a msp430 launchpad with the ASK RF module (HT12E and HT12D ICs). I am using the msp430 as the transmitter and the arduino uno for the reciever because of requirements of my application. Being familiar with Arduino, i am trying to use energia to program the msp430 with the VirtualWire library. #include <VirtualWire.h> int button = P2_2; int transmit_pin = P2_1; int a,counter=0; char msg[4]; void setup() { vw_set_tx_pin(transmit_pin); vw_setup(2000); // Bits per sec pinMode(button,INPUT); } void loop() { Serial.begin(9600); a=digitalRead(button); itoa(a,msg,10); Serial.println(a); if(a==1) counter=counter+1; vw_send((uint8_t *)msg, strlen(msg)); vw_wait_tx(); Serial.println("success"); delay(1000); } This code, when used on the arduino, compiles, uploads and executes succesfully. The transmitter board LED blinks to indicate successful transmission of data. But when i use it on energia, there is an error- any suggestions to get through with this error. Or if the same code can be implemented using another library. Cheers!
  24. Hello! I was wondering if anyone would be able to help me with starting off with the Msp430 Launchpad, as I just got it less than an hour ago and i uploaded "blink" onto it using Energia. I was wondering if anyone could provide a link/give me a course on programming with Energia, but please bear in mind that i am only 14 . And how do the "pins" in a sketch copied from Arduino correspond to those on the Launchpad? Would Pin0 on Arduino be Pin1.0 on Launchpad? you can contact me at hope to hear from you (43oh community) soon! Short
  25. Just gauging interest, but would anyone like to see an BBB Arduino Cape? Or does one already exist?