Instructables
loading
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

 
Remove these adsRemove these ads by Signing Up

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!

Step 2: Windows Phone SDK 8.0 + Coding4FunToolkit

Picture of Windows Phone SDK 8.0 + Coding4FunToolkit
install c4f controls.jpg
c4f solution explorer.jpg

I use Microsoft Visual Studio Express 2012 because the newest version does not yet support the Coding4Fun Toolkit.

Download Visual Studio Express 2012

After the software has been installed, a manual update for the nuget package manager must be done.

The Color Picker used in my App is from Coding4Fun, more info here:

Download Coding4Fun Toolkit

Install it as follows:

Note: Nuget packages must be added separately for each project, open the Menu 'Tools' / 'Nuget Package Manager' / 'Manage Nuget Packages for Solution and search for "coding4fun".

In the search results select: "Coding4Fun Toolkit - Controls" and click 'Install'

If everything was successful, the solution explorer shows the corresponding entries for this solution.

Here I had to conclude that it still did not work with Visual Studio 2013.

Step 3: Register your phone for development for Windows Phone 8

The outstanding article from Microsoft is nothing to add:

register your phone for development

http://msdn.microsoft.com/library/windows/apps/ff769508(v=vs.105).aspx

PeterS171 month ago

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

StefanWxx (author)  PeterS171 month ago

awesome!

...and i drive Ford too 8)

PeterS171 month 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)  PeterS171 month 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)  PeterS171 month 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)  PeterS171 month ago

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

StefanWxx (author)  PeterS171 month 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)  PeterS171 month 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
PeterS171 month ago
StefanWxx (author) 10 months ago

Feel free to correct me!

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)  ismael955 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

:-)