Shop OBEX P1 Docs P2 Docs Learn Events
HELP NEEDED!! Using bluetooth on mobile phone to control lights — Parallax Forums

HELP NEEDED!! Using bluetooth on mobile phone to control lights

edited 2011-02-27 16:23 in Learn with BlocklyProp
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!

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2011-02-22 22:32
    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.
  • edited 2011-02-22 23:28
    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.
  • maldridgemaldridge Posts: 37
    edited 2011-02-27 16:23
    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.
Sign In or Register to comment.