loading

Bluetooth WS2811 Controller with Windows Phone and MSP430G2 Launchpad

Look at the video, then you see what you get here.

Against the hype of Android and Arduino my project is based on Windows Phone 8 and a microcontroller from Texas Instruments.

I have nothing against a fringe group, and I'm so happy about this :-)

Should you find any errors, feel free to correct me!

I've upload the new Version to the Windows Store. It's called: Spektrum

http://www.windowsphone.com/de-de/store/app/spektrum/32a8a064-f03e-45b8-a1cd-5d8b194a1af1

also i've uploaded the µC Code, please use spektrum.ino in step 6

Step 1: Accessories required

For this project you will need:

1. Windows Phone 8 or 8.1 (Mine is a Samsung Ativ-S with WP8.1 Preview for Developers installed)

2. Texas Instruments Launchpad MSP430G2553 V1.5 (ordered cheap & directly from TI)

3. Wireless Serial 4 Pin Bluetooth RF Transceiver Module HC-06 RS232 with backplane (from ebay.cn)

4. some arduino breadboard wires

5. some WS2811 or WS2812b LEDs on strip, i used 10 LEDs for development

6. some Software, you can download it for free (explained later)

7. A Hyper-V capable Computer (Intel Core i3 or higher)

Otherwise the Windows Phone emulators does not work.
Debuggin or developing directly on the device is still possible!

 

Hi, I'm developing a mobile controlled walking robot using servo motors. I can control it through desktop app using serial communication(USB). But its very difficult to understand bluetooth connection by sockets, device host name, etc.. I re-coded your app to send simple messages for switch case like - "walk","stop","turn_left",.... But I can't even connect to the bluetooth device (I'm using HC-05). It throws me the exception "Not in Range". Can you help?

PeterS174 months ago

I just want to show you what I did with your project.

StefanWxx (author)  PeterS174 months ago

awesome!

...and i drive Ford too 8)

PeterS175 months ago

I made your project but my result is 50% succes. The Bluetooth.ino code working good with the windows phone app from the github but the Spektrum.ino code does not work with the Spektrum app from the windows app store. Can you help me why?

StefanWxx (author)  PeterS175 months ago

i tested it myself, same problem at my side... will figure it out tommorwo, mayby i've uploaded wrong code, but i don't see the wrong code at this time sorry. i've programmed another launchpad, and it doesn't work too.

Anyway, I tested with the new wiring but still does not work. Thank you for your help and thanks for the quick response!

StefanWxx (author)  PeterS174 months ago

I've checked the uploaded spektrum.ino and flashed it on a msp430 launchpad... It worked, litte bug: first led has different color after power off and on.
Why it did not initially work for me, I can not find out anymore

Hm. For me it is still does not work. If I upload the spektrum.ino, the first led is turning green for a second and turning off. The Spektrum app can connect to the bluetooth modul, but after that nothing happening. One more thing please, the bluetooth modul connecting to the launcpad P1.1 and P1.2 or P2.5 and P2.4?

StefanWxx (author)  PeterS174 months ago

in the faq is another ino for testing, but without saving feature

StefanWxx (author)  PeterS174 months ago

It has to be connected to P1.1 and P1.2 because the hardware serial ports are used. the first led is turning green because the flash has no data, this is the strange behaviour with the bug.

StefanWxx (author)  PeterS175 months ago

Hi, what exactly doesn't work? ..could not connect, commands not recognized? etc..

Is the wireing ok? look at the new picture

WP_20150406_002.jpg
PeterS175 months ago
StefanWxx (author) 1 year ago

Feel free to correct me!

ismael95 StefanWxx11 months ago

Could you upload the Windows Phone app to the Store? Cuz I'm not able/I don't know how to put it in my Lumia. Thanks.

StefanWxx (author)  ismael959 months ago

sorry for my late answer:

I've made some updates, windows app is now available:

http://www.windowsphone.com/de-de/store/app/spektr...

and use µC Code from step 6

:-)