Here is a simple Android Bluetooth Remote Control Project for 2 Relays / Device using 89c2051 Micro-controller and HC-05 Bluetooth Module.
You can download circuit and hex file here http://www.hobbyprojects.com/bluetooth-device-control/
App Instructions:
1. First make sure your HC-05 Bluetooth Module is paired with your mobile. The default password for pairing is "1234" or "0000". Check the manual of Bluetooth module.
2. When you press ON button for Device 1 it sends the data "A" to Bluetooth Module connected with a circuit. Microcontroller turns ON the Device 1 relay when it detects "A".
3. When you press OFF button for Device 1 it sends the data "a" to Bluetooth Module connected with a circuit. Microcontroller turns OFF the Device 1 relay when it detects "a".
4. When you press ON button for Device 2 it sends the data "B" to Bluetooth Module connected with a circuit. Microcontroller turns ON the Device 2 relay when it detects "B".
5. When you press OFF button for Device 2 it sends the data "b" to Bluetooth Module connected with a circuit. Microcontroller turns OFF the Device 2 relay when it detects "b".
下面是一个简单的Android蓝牙远程控制工程2继电器/ 89C2051采用微控制器和HC-05蓝牙模块的设备。
您可以下载电路和十六进制文件在这里http://www.hobbyprojects.com/bluetooth-device-control/
应用说明:
1.首先要确保您的HC-05蓝牙模块搭配您的手机。对于配对的默认密码是“1234”或“0000”。检查蓝牙模块的手册。
2.当你按下按钮装置1发送与电路连接的数据“A”到蓝牙模块。微控制器接通它检测到“A”时,该设备1继电器。
3.当你按下OFF键设备1发送数据“a”到蓝牙模块与电路连接。单片机熄灭它检测到“一”时,该设备1继电器。
4.当你按下按钮装置2发来的电路连接的数据“B”蓝牙模块。微控制器接通它检测到“B”时,该设备2继电器。
5.当您按下OFF键设备2发送的数据“B”蓝牙模块与电路连接。单片机熄灭它检测到“B”时,该设备2继电器。