Controls home devices with Arduino Remote LITE in Relay Control Mode via Bluetooth



Just having a smartphone in your hand then we can turn all electrical appliances in the house to on or off, this is really amazing right? Doing that is not actually as difficult as your thought, we only need the app Arduino Remote LITE and an Arduino KIT then you can start to build your own remote control system as what you expected. This article will guide you in detail how to do that.

DEMO VIDEO


PREPARE

1. Required equipment
- 1 Android smartphone
- 1 Arduino board
- 1 Bluetooth module (HC-05 or HC-06)
- 1 Relay module (4 or 8 channels)

2. Connect the wires
Diagram to connect Arduino and Bluetooth module

ArduinoHC-05 or HC-06
TXDRXD
RXDTXD
5VVCC
GNDGND


Diagram to connect Arduino and 8 Relays module

Arduino8 Relays module
2IN 1
3IN 2
4IN 3
5IN 4
6IN 5
7IN 6
8IN 7
9IN 8
5VVCC
GNDGND


Top Hot App
Figure 1. Connection diagram


Top Hot Apps
Figure 2. Photo in realistc

STEPS OF IMPLEMENTATION

Step 1. Download the app Arduino Remote LITE

For those who have not installed Arduino Remote LITE:
Download it here: https://play.google.com/store/apps/details?id=it.hieund.arduino_remote_lite

For those who have installed Arduino Remote LITE:
Be sure to download the latest version (v1.0.5) here: https://play.google.com/store/apps/details?id=it.hieund.arduino_remote_lite

Step 2. Upload the code

After wiring, supply the power to the Arduino and then upload the code as below

Sketch Placeholder

Note: There are two types of Relay module is low level trigger and high level trigger. In my tutorial, I'm using a low level trigger module. If you have a high level trigger module, then edit the following part:
const char RELAY_ON = 1; // Relay on
const char RELAY_OFF = 0; // Relay off

Step 3. Connect Arduino Remote LITE to the Bluetooth module

On your smartphone, turn on Bluetooth and Pair with your Bluetooth module (the PIN to connect can be 0000 or 1234)
Open the Arduino Remote LITE app then in the list of devices in Bluetooth mode, click on the name of your Bluetooth module to connect.
After the connection is successful, the app will display the Bluetooth icon next to the connected device
Enter Relay Control Mode, press each Relay on and then off to check whether everything is OK. If all are OK then all Relays will be on and off according to the app command.

Note: If you press the Relay button to turn off, press the Relay to turn on, then the control signal is reversed, you only need to correct the RELAY_ON and RELAY_OFF parameters and reload code.

CONCLUSION

Controlling 8 Relay is really easy with Arduino Remote LITE application, you do not have to build a mobile application which my be complex for you. All you need to do is just wiring as instructed then upload the program and finally connect to use.
Good luck!