Bluetooth enabled monotrilicht!

This is some news from the trilight zone : )

As I have mentioned in this post before, I recently played around with my Arduino. Sparkfun Electronics has some breakout boards for Roving Networks’s Bluetooth modules. I bought the Bluetooth Mate Silver with a RN41 bluetooth module on it last year. Now its time has come to show off a little. I have attached it to the monotrilicht and voilà, bluetooth chatting with the RGB LED. Great success and really much fun. I followed the Android Developer Guide for Bluetooth and found their bluetooth example project called BluetoothChat. Hence, chatting with monotrilicht : ) I had trouble getting the Android device and the bluetooth module connect at first, but after changing the UUID to the well-known SPP UUID 00001101-0000-1000-8000-00805F9B34FB and configuring the bluetooth module via hyper terminal it finally worked. It’s great fun to enter a ‘r’ or ‘b’ letter in a textfield on the phone and see the light turn red or blue, respectively. I can also change the hue value in steps by 20 around the 360° color circle by entering ‘<‘ or ‘>’. Code is currently of a hacked state and not quite beautiful to look at. I will publish it together with the Eclipse Project files in another post.

[update: you can find the eclipse project files in this post]


Leave a Reply

Your email address will not be published. Required fields are marked *