androidcontrolsadkappliance

Appliance Remote Control


I like to do a project based on android.I like to create an application for controlling lights in a room.My doubt is whether I can control those lights from anywhere using the androiod phone or it can only be controlled through USB cable or via bluetooth.If it can be controlled from anywhere how does the ADK board works,specifically how it transmits he data to the phone?


Solution

  • If the controller has a bluetooth radio SPP module (like a connectblue bluetooth to serial adapter) on it, then you can connect your phone's bluetooth to it, open a communication socket and send serial data between the phone and the controller board. No internet and no web server needed. Of course, this only works if your phone is in range of the controller (say, less than 10 to 30m)

    To control the light from far away, then you need to connect each device (controller and phone) to the internet. You do not need to do it with a web server (though you could if you wanted) You can communicate data across the internet however you want, using whatever transport protocol best suits your purpose.