View Full Version : HELP NEEDED!! Using bluetooth on mobile phone to control lights
02-23-2011, 05:43 AM
We are designing a bluetooth device using the board of education and bluetooth relay to receive bluetooth signal from mobile phone to vary the control of the light i.e, turning on/off and dimming of light.
We have successfully connecting the board of education to a computer to do the programming.
However, we need help on the programming side. We need guidance for what code to use and how to programme the board so as to receive signal from the phone.
One last question is, do we need to design a program for the phone as well? If yes, how do we do it?
Please advice. Thank you so much!
02-23-2011, 06:32 AM
We can't give you any advice without much more information. Specifically, what's the Bluetooth device connected to the Board of Education (provide a link to a datasheet at a minimum)? What's the phone (and operating system)? Most Bluetooth adapters for use with microcontrollers only handle the serial port protocol and many phones with Bluetooth do not support this protocol which implements a virtual serial port connecting the two devices. Look up Bluetooth on the Wikipedia and read the articles. There should be links to further articles on the main protocols used.
There's no point to discussing programming if you can't possibly connect the Bluetooth adapter to the phone.
02-23-2011, 07:28 AM
We actually bought a easy bluetooth module from parallax. Our PC and mobile phone (Samsung Omnia. Window Mobile 6) is able to identify the module which is attached to the micro-controller (Board of Education). However, we do not know how to communicate with the board. Via what program and using what command will we be able to do so.
02-28-2011, 12:23 AM
With Windows mobile 6, you should be able to use .NET programs which can be written and deployed from VB.NET (freely available from microsoft). Once you create your application, you'll want each button to send a serial command over bluetooth which the basic stamp will receive and interpret. I am not well versed in the microsoft frameworks so I can't explain that much more, but the help database is very complete.