Jump to content

Search the Community

Showing results for tags 'launchpad'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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

Calendars

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Location


Interests


Sparkfun


Github

Found 152 results

  1. Hi, Is it possible to add a custom board/ circuit to energia? If yes, please guide me with the procedure for the same. Thanks
  2. Hello! I recently bought a MetaWatch FRAME, with the intention of messing around with it as an inexpensive, portable MSP development platform. Meta open-sourced the watch's firmware and *used* to sell JTAG programming clips for the watch. Now, however, they've discontinued both my model of watch and its programming clips, and I'm out some cash on a less-than-fully-functional smartwatch. The watch uses an MSP430F5438A microcontroller and is programmable using the Spy-Bi-Wire protocol, according to this SparkFun teardown. I found the sticky post about programming MSPs with Launchpads, but I was wondering if anyone had tried programming a F5438A (or a complete MetaWatch, for that matter) with one. I'm new to the MSP chips, so if anyone had any suggestions I'd greatly appreciate it. Thanks, John
  3. Hello all. I'm new to CC3200 and trying to develop an application for the launchpad using a Timer. Energia has the timer.h module, and I've found TI's documentation for the General Purpose Timer module, along with a few code snippets. My code dies when calling TimerConfigure(base, type). I think that this is because the timer peripherals need need to be enabled as a system peripheral before they can be manipulated. It looks like SysCtlPeripheralEnable(SYSCTL_PERIPH_TIMERx) is what you'd call before calling the TimerXxx functions. However, the cc3200 driverlib doesn't have a sysctl.h (or .c), and thus the method is not available. Is there an alternate approach to using the timer facilities? Thanks for any insights! - eric
  4. Adnan

    Implementing WSN

    I want to implement wireless sensor network programmed with my own protocol suite. The memory size of Launchpad should be: RAM size 4 KB FLASH or FRAM 64 KB I plan to use MSP-EXP430FR5969 with CC1120. The resulted hardware is operated as standalone so it powered by energy harvesting circuit or battery. I'm not sure that I chose the right product for my project. Thanks in advance for any help or suggestion.
  5. Hi all, Over at Temboo, we've just released a new feature called Streaming. It short, Streaming makes it simple to connect your MSP430 LaunchPad to cloud data storage and visualization services. You can learn all about it at the link below, and let me know if you have any questions! https://temboo.com/streaming
  6. I want to update the code for my MSP430F5529 but want an easy way to re-flash the old code if I mess something up. Does Energia (or some other utility) provide a way to download and save the ROM contents, and restore them from an image file?
  7. Lauszus

    LaunchPad Flight Controller

    Hi everyone, Just wanted to share my flight controller I wrote some time ago Here is a video of it: The code is available here: https://github.com/Lauszus/LaunchPadFlightController. You can read more about it at my blog: http://blog.tkjelectronics.dk/2015/01/launchpad-flight-controller/. Regards Kristian Sloth Lauszus
  8. KaruppuSwamy

    MSP430 based Distance Meter

    Here I summarize the hardware connections (schematic given below) and source code (attached) to build a Distance meter using MSP430 Launchpad and Ultrasonic Sensor HC-SR04. Project: Ultrasonice based Distance Meter with LCD Display Microcontroller: MSP430G2231 on MSP-EXP430G2 Launchpad Ultrasonic Ranging Module: HC-SR04 16 msp_dist.c
  9. weirdnerd10

    1.8V Power for MSP430

    Hello All, I am a beginner to MSP430G2553, however all I am trying to do is get the MSP430 to execute the blink code while on 1.8V power supply. I have tried it on the launchpad board and it seems to stop working around 2.1V power supply. I then tried the barebones method by only using a bypass capacitor, pull up resistor for reset, and LED/current limiting resistor on a breadboard, but it seems that again the circuit only works down to around 2.0V. I measured the output pin while at 1.8V and it is in 10's of mV so it is not a problem of the LED getting degraded voltage levels but the fact that its barely getting any voltage. Is there something special I need to set on the chip before using this at 1.8V? Thank you for your time!
  10. Hello, my plan is to use the built in serial flash memory of the CC3200 launchpad board (it holds 8 mbit, its a 25PE80VP from ST) for storing multiple GIF files. Can anyone give me a hint how to save/load from the serial flash and what is the type of file system? Sorry if its a nonsense question, i am quite new to CC3200... Cheers, Max
  11. I'm using CC110L Boosterpack with TIva C. I tried example codes provided in Energia. I want to use this boosterpack for my project. And I'm using Keil for programming. So any one can provide CC110L and SPI libraries for Keil???????
  12. 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. http://forum.43oh.com/topic/4148-reduce-startup-time-on-msp430fr5739/ http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/258443 http://processors.wiki.ti.com/index.php/Creating_MSP430_FRAM_Variables_Using_CCS#Example_Test_Code
  13. Hi 43oh! It seemed like there was some interest in my solid state relay board, so I figured I'd post up the design files. Because of liability reasons (being high voltage and what not) I can't produce this, but your welcome to get some boards made and solder them yourself. Be warned, soldering the heat-sinks to the board is VERY DIFFICULT! You'll need a board pre-heater, hot air, and some good flux. Schematic: triac_board.pdf Design package (in EAGLE 6.5): triac_board.zip Cheers!
  14. Hey guys! So I have 2 msp430g2553 launchpads and I am trying to build a IR line of sight communication system. Basically I have a IR led and IR photo transistor on both the launchpads including a visible led. So what i want to do is: Press the push button on one launchpad The IR signal from that launchpad goes to launchpad2 The visible led on launchpad2 lights up And vice versa So far I have created a program on Energia that turns the led on after pressing and releasing the push button. Then turns it off after pressing and releasing it again. But now I am stuck. I don't know how to use the analogRead() function in order to sense when the photodiode is illuminated and through that turning on the visible led on the protoboard.
  15. rdufrene

    MSP430 Nothing on Serial Monitor

    Hello, I am trying to have my MSP430G2553 on a launchpad (Rev.1.5) show anything on the serial monitor using the following code: void setup() { Serial.begin(9600); } void loop() { Serial.println("Test"); delay(1000); } I have downloaded the drivers http://energia.nu/Guide_Windows.html I have switched the jumpers http://energia.nu/img/LaunchPadMSP430G2553-V1.5.jpg I'm just not sure what is wrong. I can load the Blink example and get it to work and even making it do other things but when it comes to reading values and serial the launchpad doesn't want to do anything.
  16. rdufrene

    MSP430 with CC2530

    I have the MSP430G2553 on the launchpad and a CC2530DK_EM on an EM Adapter BoosterPack (BOOST-CCEMADAPTER). I was wondering what is the best way to code these devices. Should I be using CCStudio or Energia, and where can I find more information about programming these devices so they can use Zigbee communication?
  17. Hi, I have a Mac desktop app that connects to a Connected Launchpad via USB serial. I decided to try to add ethernet port connection. I got tantalizing close but no cigar! I've been stuck on this for a week now so I need help. I had no problems adding the Ethernet.h library except for something very weird trying to do a conditional import. I have been using directives to compile for either the LaunchPad or the Connected LaunchPad: #ifdef PART_TM4C1294NCPDT // Connected LaunchPad #include "Ethernet.h" #elif defined( PART_LM4F120H5QR ) // LaunchPad #endif This seems to have been working, but it doesn't work for the above code. I have to comment out the #include "Ethernet.h" to compile for the EX-TM4C123GXL, but this is only a minor inconvenience. I set up a Telnet socket and was able to connect to it using the Unix Telnet program. I could connect, disconnect and reconnect, but the server does not recognize the disconnection. The client.connected() function continues to return true so I only get my sign message with the first connection. Still, I thought I was ready to go so I added NSStream to my app. It could connect and exchange a few messages before giving me a Stream Code 54: The operation couldnz6MainEthernet.ino
  18. I found an adaptation of a cap-sense sketch that uses port manipulation to create a capacitive sensor for Arduino to a MSP430. My question is that when I was using the sketch and adjusting it to use a tm4C123 device, I got these errors: TouchSensor.ino: In function 'uint8_t readCapacitivePin(int)': TouchSensor.ino:58:24: error: 'P1OUT' was not declared in this scope TouchSensor.ino:59:23: error: 'P1DIR' was not declared in this scope TouchSensor.ino:61:23: error: 'P1IN' was not declared in this scope I looked into this and found out on this post: http://forum.43oh.com/topic/5166-need-advice-porting-arduino-code-to-energia/ That this is using peripheral names on the MSP430 regarding registers P1DIR - to set direction P1OUT - to set an output bit P1IN - to read an input bit I remembered that wiring.c defined the port, pin and ddr. And if I commented out port = (uint8_t*) &P1OUT; ddr = (uint8_t*) &P1DIR; bitmask = 1 << pinToMeasure; pin = (uint8_t*) &P1IN; It would compile but I feel I am missing something My problem is that I was looking into how to change the peripheral names for tm4c123 instead of the MSP430 so I can use the sketch on my tm4c123. Here is the link to the sketch: https://gist.github.com/thecodemaiden/6040927
  19. I have an issue when using the Capacitive Sensing Library from Arduino. I used the ver. 5 that allows non-AVR boards to use the library. My problem is when I complied it in Energia, I get these errors: /Users/apple/Documents/Energia/libraries/CapacitiveSensor/CapacitiveSensor.h:94:2: error: 'IO_REG_TYPE' does not name a type /Users/apple/Documents/Energia/libraries/CapacitiveSensor/CapacitiveSensor.h:95:11: error: 'IO_REG_TYPE' does not name a type /Users/apple/Documents/Energia/libraries/CapacitiveSensor/CapacitiveSensor.h:96:2: error: 'IO_REG_TYPE' does not name a type /Users/apple/Documents/Energia/libraries/CapacitiveSensor/CapacitiveSensor.h:97:11: error: 'IO_REG_TYPE' does not name a type I am not that strong in coding and I would like some assistance into how to solve this problem. Thanks. here is the h file where the error is coming from: #ifndef CapacitiveSensor_h #define CapacitiveSensor_h #if ARDUINO >= 100 #include "Arduino.h" #else #include "WProgram.h" #endif // Direct I/O through registers and bitmask (from OneWire library) #if defined(__AVR__) #define PIN_TO_BASEREG(pin) (portInputRegister(digitalPinToPort(pin))) #define PIN_TO_BITMASK(pin) (digitalPinToBitMask(pin)) #define IO_REG_TYPE uint8_t #define DIRECT_READ(base, mask) (((*(base)) & (mask)) ? 1 : 0) #define DIRECT_MODE_INPUT(base, mask) ((*((base)+1)) &= ~(mask), (*((base)+2)) &= ~(mask)) #define DIRECT_MODE_OUTPUT(base, mask) ((*((base)+1)) |= (mask)) #define DIRECT_WRITE_LOW(base, mask) ((*((base)+2)) &= ~(mask)) #define DIRECT_WRITE_HIGH(base, mask) ((*((base)+2)) |= (mask)) #elif defined(__MK20DX128__) || defined(__MK20DX256__) #define PIN_TO_BASEREG(pin) (portOutputRegister(pin)) #define PIN_TO_BITMASK(pin) (1) #define IO_REG_TYPE uint8_t #define IO_REG_ASM #define DIRECT_READ(base, mask) (*((base)+512)) #define DIRECT_MODE_INPUT(base, mask) (*((base)+640) = 0) #define DIRECT_MODE_OUTPUT(base, mask) (*((base)+640) = 1) #define DIRECT_WRITE_LOW(base, mask) (*((base)+256) = 1) #define DIRECT_WRITE_HIGH(base, mask) (*((base)+128) = 1) #elif defined(__SAM3X8E__) #define PIN_TO_BASEREG(pin) (&(digitalPinToPort(pin)->PIO_PER)) #define PIN_TO_BITMASK(pin) (digitalPinToBitMask(pin)) #define IO_REG_TYPE uint32_t #define IO_REG_ASM #define DIRECT_READ(base, mask) (((*((base)+15)) & (mask)) ? 1 : 0) #define DIRECT_MODE_INPUT(base, mask) ((*((base)+5)) = (mask)) #define DIRECT_MODE_OUTPUT(base, mask) ((*((base)+4)) = (mask)) #define DIRECT_WRITE_LOW(base, mask) ((*((base)+13)) = (mask)) #define DIRECT_WRITE_HIGH(base, mask) ((*((base)+12)) = (mask)) #elif defined(__PIC32MX__) #define PIN_TO_BASEREG(pin) (portModeRegister(digitalPinToPort(pin))) #define PIN_TO_BITMASK(pin) (digitalPinToBitMask(pin)) #define IO_REG_TYPE uint32_t #define IO_REG_ASM #define DIRECT_READ(base, mask) (((*(base+4)) & (mask)) ? 1 : 0) //PORTX + 0x10 #define DIRECT_MODE_INPUT(base, mask) ((*(base+2)) = (mask)) //TRISXSET + 0x08 #define DIRECT_MODE_OUTPUT(base, mask) ((*(base+1)) = (mask)) //TRISXCLR + 0x04 #define DIRECT_WRITE_LOW(base, mask) ((*(base+8+1)) = (mask)) //LATXCLR + 0x24 #define DIRECT_WRITE_HIGH(base, mask) ((*(base+8+2)) = (mask)) //LATXSET + 0x28 #endif // some 3.3V chips with 5V tolerant pins need this workaround // #if defined(__MK20DX256__) #define FIVE_VOLT_TOLERANCE_WORKAROUND #endif // library interface description class CapacitiveSensor { // user-accessible "public" interface public: // methods CapacitiveSensor(uint8_t sendPin, uint8_t receivePin); long capacitiveSensorRaw(uint8_t samples); long capacitiveSensor(uint8_t samples); void set_CS_Timeout_Millis(unsigned long timeout_millis); void reset_CS_AutoCal(); void set_CS_AutocaL_Millis(unsigned long autoCal_millis); // library-accessible "private" interface private: // variables int error; unsigned long leastTotal; unsigned int loopTimingFactor; unsigned long CS_Timeout_Millis; unsigned long CS_AutocaL_Millis; unsigned long lastCal; unsigned long total; IO_REG_TYPE sBit; // send pin's ports and bitmask volatile IO_REG_TYPE *sReg; IO_REG_TYPE rBit; // receive pin's ports and bitmask volatile IO_REG_TYPE *rReg; // methods int SenseOneCycle(void); }; #endif
  20. pallala1806

    How to: MQ 6 LPG sensor to MSP430G2553

    Hi All, I am trying to connect MQ-6 LPG Gas sensor to MSP430G2553 launchpad. I am having trouble to interface the sensor to launchpad. From the inernet forums i understood that we can use launchpad TP1/TP3 pins for 5v supply but i am still not clear about the other pins. Can someone help me on the connections and wiring? MQ 6 sensor: https://www.fabtolab.com/MQ6-LPG-propane-butane-sensor Thanks in advance.
  21. Hi all, I've been lurking for a while but I finally joined up! I recently received the MSP430FR5969 FRAM Launchpad with EnergyTrace, and I'm trying to upload code to it with OS X 10.9.4 and mspdebug. I am successfully able to upload code to the standard Launchpad with the MSP430G2553 but I cannot upload to the FRAM Launchpad. Looking at this makes me think that a work around has not been found yet, is this true? Or has someone gotten the new FRAM Launchpads working with OS X? Thanks in advance for any help!
  22. This code example works with Anaren and CC2500 BoosterPacks, (and of course with many other CCxxxx boards, like eZ430-RF2500,) and with G2553 LaunchPad. The code was based on slaa325 from TI (I am using same RF configs.) To use it, just un-comment one of the following lines in msp.h: //#define HARDWARE 2500 // CC2500 BoosterPack SPI1 G2553 LP //#define HARDWARE 915 // Anaren (915MHz) G2553 LP //#define HARDWARE 4302500 // EZ430-RF2500 CCxxxx.zip
  23. Programming a microcontroller for the first time can be a daunting task. What if you can remotely control your microcontroller by simply clicking few buttons on a PC GUI? With Energia support, I was able to port existing Firmata code used for Arduino onto LaunchPads. Firmata is a serial communication protocol that allows a host (PC) sending commands to the microcontrollers (MSP430). You can use it to toggle pins and LEDs, or read digital and analog inputs without writing any C code. This makes it super easy to test out your new sensor or debug your circuit. Bluetooth simply creates a virtual serial port that emulates a physical serial port wire, so you can control and monitor your board remotely. Here is a demo video: The application GUI is written in NodeJS. The browser is connected to the Node server using web socket. Whenever the user clicks a button, a message is sent to the server and the server will send Firmata commands to the LaunchPad. You can easily expand on top of the demo GUI I created by writing some javascript. Let's say you want to turn on an LED when the temperature is too high. You can let your Node server constantly check the temperature reading. Once it reaches the threshold, then set the LED pin to HIGH. You can find out the source code of my project at my GitHub page: https://github.com/shengzhao91/FirmataGUI
  24. Hai I'm a complete newbie to Energia and MSP430. I would like to get some help on a problem that I'm facing while interfacing MSP430 launchpad using I2C(it's not "a" problem, rather it is "THE" problem). As mentioned above I'm using a MSP430-g2553 launchpad ver1.5 and currently I'm working on a project that requires interfacing two MSP430s with a Raspberry Pi. The protocol that I've chose is I2C due to it's simple hardware requirement and it's support for many devices at the same time. But then till now interfacing two MSP430s has been a faliture. I tried interfacing two MSPs on two launchpads. I've used the programs given as the example under the Wire menu (both the master sender-slave reciever and the master reciever-slave sender) and also another one that I've used with arduinos. I've tried connecting the two MSPs on the launchpads directly without pullups, with pullups on SCL line, SDA line and also with pullups on both the lines but in vain. And yes I've connected the ground pins of both the launchpads together. Again yes, both the boards with the MSPs work fine with normal i/o programs, pwm programs and serial communication programs(with the computer). Also I tried to connect each MSP to a Raspberry Pi and to a bus pirate(both of them working perfectly with an arduino), with negetive results. Had I missed something that I should've done..? Or am I doing something that is absolute stupid...? There are a couple of jumpers on the launchpad like RX,TX,test etc etc. Should I do something with them(based on my readings what I've understood is that they are used in the case of serial communication and not I2C). If anyone has interfaced MSPs together, please if you can help, it would be great. Anything like hints, tips, suggestions, advice etc etc(negetive or positive), anything, would be highly appriciated. Thanks in advance
  25. I am using embedXCode+ on a Launchpad MSP430 I am trying to use arduino-menusystem: https://github.com/jonblack/arduino-menusystem. The MenuSystem.cpp uses realloc(). While this works fine if the board is Arduino Uno, I get a "not declared in this scope" when building for the Launchpad. Is there a better dynamic memory allocation routine to use when writing for the Arduino IDE? OR advice on how to fix this? (thank you)
×