Start

End

Group

Website URL

Location

Interests

Sparkfun

Github

I have a MSP-EXP430G v1.5 launchpad with a M430G2553
I wanted to try my hands on Bluetooth and bought a module with a HC-05 chip. This can be bought in china for less than $4.
Info about HC-05 can be found e.g.:
www.linotux.ch/arduino/HC-0305_serial_module_AT_commamd_set_201104_revised.pdf
http://www.rcscomponents.kiev.ua/datasheets/hc_hc-05-user-instructions-bluetooth.pdf
Then I banged my head for a full day to make it work. The Bluetooth connection posed no problems, but the serial communication with the launchpad gave me a headache.
My idea was, to set up a software serial connection for the HC-05 and use the HW UART for debugging.
Now I have to tell a bit about the(strange) power up of CH-05.
If the ENA(able) pin (also called KEY) is connected to LOW, the HC-05 starts in data mode, 9600 baud, the mode you use for data transmission.
If the ENA pin is held HIGH during power up, the HC-05 starts in AT command mode1 with 38400 baud. I tried this for a long time, but I could
never get a connection.
If you hold ENA LOW during power up , and subsequently pull it HIGH the HC-05 starts in AT mode2 with 9600 baud. With this setting I got a very unstable connection with characters garbled and missing. After I long search I finally found:
https://ssihla.wordpress.com/2013/01/04/adding-bluetooth-to-the-msp430-launchpad/
Well, the baud rate of the energia library "SoftwareSerial" is not accurate enough (5% error) for the HC-05!!!
I then connected the HC-05 to the HW UART. Note that the HW UART is 9600 baud and so must the HC-05 be.
For this, you remove the RDX/TDX jumpers on the launchpad and connect theTDX pin of HC-05 to P1.1 (pin 3) on the launchpad and the RDX pin of HC-05 to P1.2 (pin 4). This worked fine.
But now debugging is difficult because you do not have a serial monitor. To fix this you can connect the serial monitor to a software UART. The serial monitor seems less picky about accurate baud rate. The procedure for this:
First, choose which pins you want to use for the RDX/TDX of the software UART. Then look at the launchpad, component side, USB plug at top. From the 4 emtpy jumper pins, we connect the pin at upper right to the RDX software UART pin. The jumper pin at lower left is connected to the TXD software UART pin.
On the pictures I chose P1.6/P1.7 as RDX/TDX for the software serial port. The HW UART is connected to the HC-05 module. I powered the HC-05 directly from the launchpad with 3.3V. This seems to work, even when the minimal Voltage is specified as 3.6V
With this setting it works quit reliable.
cheers, Daniel

Hello ,
I'am trying develop a data logger to send data to a device through bluetooth, but in my state machine i want make a state were I can verify if the bluetooth is paired with smartphone, does anyone can help me , i don't have idea how can I do this.

Hello,
I am looking for a Bluetooth module which I can work with MSP430F5438A (Microcontroller). I am using Code Composer Studio (CCS) IDE. I searched Google a bit and also went through TI web pages about the possible module. I was wondering if anybody can suggest any module which I can work with that specific micro-controller? Other issue is please suggest a module which has enough documents and demo project (Possibly in CCS) to get started and go further.
Thanks,
Rowshon.

Has anyone worked with TI's CC2540 RF Dongle? I'm trying to use their Bluetooth LE packet sniffer program but it appears to have problems with Windows 10. The quick-start says that when you connect the dongle to the PC's USB port, the "Windows New Hardware Wizard" will appear. But it doesn't. And the sniffer software doesn't see the dongle. No doubt a driver problem but I don't know how to fix it.

Hello i want to use the BLE.h library in my sketch, i follow all the step in this guide: http://energia.nu/pin-maps/guide_cc2650boosterpack/
but when i try to run an example: http://energia.nu/reference/ble/serialoverblesampleapp/
i compile the code in Energia and nothings happens, i cant see the bluetooth device listed in my smarthphone. Please helpe me
MSP432P401R with CC2650 Boosterpack.
Thanks in advance.

I have the CC2650 plug-in module and I am trying understand how to use the BLE library in Energia. I installed the BLE library.
The reference page, http://energia.nu/reference/ble/ says that two demo programs are included in Engergia: SerialOverBLE and BLEInputOutput but where exactly are these programs? I would like to download them into Energia and learn about BLE serial communication.
-Bob

I am making a board featuring an MSP430 microcontroller, and a couple of sensors that are read with the ADC of the MSP430. This data should be sent over bluetooth (BLE) connection to another device. How do I do it? Is there any specific chip which would include bluetooth communications already while being a microcontroller? Or what chip is the easiest to interface with the MSP430? Board space is very limited so compact size is a plus.

Hello,
I am new to Launchpad, and interfacing CC2564MODNEM with EK-TM4C1294XL launchpad board.
I have searched but not found and document related to this interfacing.
I need :
1) Physical connection between CC2564MODNEM and EK-TM4C1294XL through Debug port.
2) Any example program to start with GATT or SPP Bluetooth stack protocol.
Waiting for some quick reply.
Thank in Advance

There is an edX course coming up in September from the University of Texas in Austin - this time with MSP432 or TM4C123 LaunchPad. The parts list also includes the CC2650 and Educational BoosterPack MK-II. The syllabus includes BLE and RTOS. It is taught by Jonathan Valvano and Ramesh Yerraballi who have offered a course using the TM4C123 on edX in the past.
https://www.edx.org/course/real-time-bluetooth-networks-shape-world-utaustinx-ut-rtbn-12-01x
http://edx-org-utaustinx.s3.amazonaws.com/UT601x/RTOS.html
edit: forgot to mention that these courses are free if you just audit the course

Hi All,
Somehow I've made a stupid mistake with this weather thingie I put together and I can't figure out what's wrong. I need your help!
Project description: Weather thingie - Reports temperature, humidity and light readings via bluetooth.
Operation is simple, connect to the device and it will report something like "27 C 57 H 96 L\r\n" ~ every second. The LED on board will alternate state every second.
I set this up on a breadboard before making the PCB as I was not familiar with the DHT11 or and quirky requirements it might have. The project worked fine on the breadboard.
I suspect I have either a PCB design fault or defective components? Perhaps? I dunno.
TIA
0xFFFF
main.c

I'm designing a bluetooth-controlled quadcopter, but use the MSP430 only to control the rotors and get instructions from the HC06 bluetooth module. An android cellphone will provide all the sensors and computing power.

Hello,
I'm currently working on a project involving G2553 MCU and Sparkfun Bluesmirf Silver BT module. I'm programming my MCU using the MSP430 Launchpad as a programmer and Energia IDE. I'm trying to configure the Bluetooth module using the firmware that I upload to the MCU.
I connected the MCU's hardware UART pins to the Bluesmirf pins. Pin 1.1 (HW RX) to the module's RX and vice versa. I supply the same voltage to the MCU and the module (supply voltage connected to the breadboard from the Launchpad itself, multimeter shows values at around 3.5V). Bluesmirf's datasheet says the Vcc should be between 3.3V and 6V. My code looks like this:
void setup()
{
Serial.begin(9600);
initBTModule();
delay(delayReset);
pinMode(RED_LED, OUTPUT);
}
void loop()
{
digitalWrite(RED_LED, HIGH); // turn the LED on (HIGH is the voltage level)
delay(2000); // wait for a second
digitalWrite(RED_LED, LOW); // turn the LED off by making the voltage LOW
delay(2000); // wait for a second
}
// Sets up the Sparkfun Bluesmirf Silver Bluetooth module
void initBTModule()
{
delay(2000);
sendUART("$$$"); // enter command mode
delay(200);
sendUART("SN,Kanarek0000\n"); // set name of the device
delay(200);
sendUART("SP,kanarek0000\n"); // set security PIN code
delay(200);
sendUART("SU,96\n"); // set baud rate to 9600
delay(200);
sendUART("R,1\n"); // reset device for changes to take effect
delay(3000);
}
// Sends a char sequence using the hardware UART
// pin 1.1 RX
// pin 1.2 TX
void sendUART(char msg[])
{
Serial.print(msg);
delay(3000);
}
After I upload the code however, nothing happens. After entering the Bluesmirf's command mode ($$$) it's power LED should start blinking rapidly, but it doesen't. When I tried with Arduino UNO and entering the commands manualy using the Serial Monitor (loop was constantly waiting for serial communication), It worked (With Arduino I was using the Software Serial however).
I don't know if there is a problem with the AT commands or the code. Any help will be greatly appretiated! Thanks!

Hi all,
I was playing around with the MSP430G2553 and the UART at the weekend, then remembered I had a cheap HC06 bluetooth module. The result being a basic Android app that you can control your launchpad using voice control, it's far from polished but a bit of fun all the same
Project tutorial. C code and Android App http://coder-tronics.com/msp430-voice-control-over-bluetooth/
Video demonstration https://www.youtube.com/watch?v=8Z5ixK30Ddc
Cheers,
Ant

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

Hi All,
I'm excited to meet more of the makers in this forum. I've been playing with TI Launchpads for a couple of years now. Since my background is in wireless and AI, I've been connecting bluetooth and wi-fi radios to these things with some Android/iPhone applications. I've developed an open source virtual machine that enables programming via a simple pin oriented interpreted language(similar to wiring) from your smartphone and have started rolling out some application specific kits around this. You can checkout my projects on my blog. I'm joining this forum because I've been thinking about a new bluetooth motor control boosterpack and wanted to see what the interest level on this might be.
BR, Leo

Hello,
I've got two beginners questions...
1) If I'd want to move a robot by a specific distance (however not be very precise), do I need wheels with encoders? Can't I somehow approximate the time I need to power the engine? I don't need to move exactly 1mm left or right. I've read about encoders, but they are too expensive for me.
2) If I wanted to control a robot from an Android app via bluetooth, could I send some data from the robot to my phone, process the data (on the phone) and send something (an instruction, lets say) back to the robot?
Sorry for my English.
Thanks in advance.

Hello,
I am starting a project to record certain medical measurements (pulse, temperature, ecg) with various analog front ends and then use the Tiva C Series to send that data over Bluetooth to a mobile device.
I am looking for advice on choosing a Bluetooth controller. I had originally purchased the EDB-BLE by Emmoco but soon realized LE is not efficient for continuous streams of data (ecg) and the 8051 controller requires specific IAR tools.
The requirements I would like of this recommended Bluetooth controller would be:
1) Evaluation board available with PCB antenna
2) Availability of Bluetooth stack
3) Ability to program with gcc (not proprietary tools)
Please let me know if I am overlooking anything too.
Thanks

Hi,
I'm new to embedded programming, and I have to interface an MSP430F5438A with an Emmoco EDB-BLE Bluetooth Low Energy board, in order to send data to iOS devices. I am not sure how to proceed with this, as Emmoco directs you to write a driver for your particular board (http://dev2.emmoco.com:8090/display/em/Embedded+Platform+Support) and uses Eclipse to build their software (http://dev2.emmoco.com:8090/display/em/Install+Em-Builder). I believe I have correct code, but it seems Eclipse will not recognize my MSP-FET430UIF programmer and so the code never loads into the board. I get a "gmake error 1". What could be the problem here, and how can I fix it? I tried programming a launchpad and it worked, so I believe my Eclipse has the MSP430 plugin - I just can seem to get it to detect my FET. Help is greatly appreciated!

I was wondering, does anybody know of a good msp430 compiler like IAR for mobile devices?
If not, I have some ideas if anybody is up for making one.
Physically connecting to the phone is out of the question, so it would have to be bluetooth. An msp (preprogrammed) with a bluetooth transceiver may just be all that's needed to program another msp via spi-bi-wire, and possibly throw in an rx/tx port to transfer data back through the Bluetooth, just like the launchpad does with USB.
Just tossing ideas out.