• Bluetooth Control for Arduino 1
  • Bluetooth Control for Arduino 2
  • Bluetooth Control for Arduino 3
  • Bluetooth Control for Arduino 4

Bluetooth Control for Arduino

Arduino Bluetooth Relay 4CH App is android application which is used to control 4 channel relay module via Bluetooth with Bluetooth serial communication module support HC-05, HC-06, or HC-07, Using Arduino or AVR
i am test with arduino UNO and serial commnunication library to connected RX pin 10 and TX pin 11.you can use arduino uno or arduino leonardo etc...

Fitur App:-control 4 channel on/off ralay-control All channel ON-control All channel OFF-download file Program Arduino_Bluetooth_Ralay_4ch.ino-download file Tutorial PDF with schemmatic

Download File:-arduino project ZIP : https://goo.gl/Vq1n9D-tutorial & schematic wiring PDF : https://goo.gl/b2UVY1

or you canCopy program here to Arduino IDE

/*Relay IN1 connected to PinOut 2 ArduinoRelay IN2 connected to PinOut 3 ArduinoRelay IN3 connected to PinOut 4 ArduinoRelay IN4 connected to PinOut 5 Arduino--->you can connected to relay modul 4 channel

Serial data sending from Arduino Bluetooth Relay 4CH.apkdata '1'-'4' to on is Ralay CH 1-4data 'A'-'D' to off is Ralay CH 1-4data '9' to on ALL CH 1-4data 'I' to off ALL CH 1-4*/

#include SoftwareSerial mySerial(10, 11); //Pin10 RX , Pin 11 TX connected to--> Bluetooth TX,RX

#define relay1 2#define relay2 3#define relay3 4#define relay4 5

char val;void setup() { pinMode(relay1,OUTPUT); pinMode(relay2,OUTPUT); pinMode(relay3,OUTPUT); pinMode(relay4,OUTPUT); digitalWrite(relay1,HIGH); digitalWrite(relay2,HIGH); digitalWrite(relay3,HIGH); digitalWrite(relay4,HIGH); mySerial.begin(9600); Serial.begin(9600);}

void loop() {//cek data serial from bluetooth android Appif( mySerial.available() >0 ) { val = mySerial.read(); Serial.println(val); }//Relay is on if( val == '1' ) { digitalWrite(relay1,LOW); } else if( val == '2' ) { digitalWrite(relay2,LOW); } else if( val == '3' ) { digitalWrite(relay3,LOW); } else if( val == '4' ) { digitalWrite(relay4,LOW); } //relay all on else if( val == '9' ) { digitalWrite(relay1,LOW); digitalWrite(relay2,LOW); digitalWrite(relay3,LOW); digitalWrite(relay4,LOW); } //relay is off else if( val == 'A' ) { digitalWrite(relay1,HIGH); } else if( val == 'B' ) { digitalWrite(relay2,HIGH); } else if( val == 'C' ) { digitalWrite(relay3,HIGH); } else if( val == 'D' ) { digitalWrite(relay4,HIGH); } //relay all off else if( val == 'I' ) { digitalWrite(relay1,HIGH); digitalWrite(relay2,HIGH); digitalWrite(relay3,HIGH); digitalWrite(relay4,HIGH); }}

Category : Tools

Related searches

Reviews (30)

jam. w. Jul 10, 2021     

Works perfectly but it should be more flexible to allow character changes to suit our code lines.

ron. t. May 12, 2019     

works well, but would like to be able to change the button values

Mil. S. Oct 2, 2020     

Best App I have seen and will like to share with friends Actually already shared with friends....................

Jho. H. Jun 23, 2019     

why it can't connect in Bluetooth how to connect it

Dua. M. Oct 11, 2019     

Working as advertised, good app

LAL. G. May 8, 2019     

it is very nice and help full app 👌👌👌👍👍

Rez. T. Jan 14, 2019     

I am using this app with my own hardware.its excellent !

Rem. P. Aug 5, 2021     

it's working properly

ELE. M. M. Jun 4, 2020     

Time waste and data waste

Sha. Ñ. Sep 14, 2019     

it's just osm apps this app is very healp fulll

RS. K. Jul 18, 2021     

How to connect Bluetooth ?;

And. Sep 30, 2018     

Best after a bit of work

wah. u. r. Nov 21, 2018     

It's not user friendly

CYA. Nov 25, 2020     

we use this for our lights

shr. p. Jan 13, 2020     

Simple and best

sha. Y. Aug 26, 2019     

Easy to use😄😄😄

Mak. M. Nov 29, 2020     

Really cool one

PBS. O. Dec 5, 2019     

Its works for me...

Cha. M. A. Oct 3, 2018     

I Love it.

she. a. Dec 8, 2019     

Higher than expected

Was. K. Apr 11, 2021     

Don't Wark

Dar. P. Aug 19, 2019     

it's tooo Gooo

mit. Z. Jan 14, 2017     

Initially I had to do study for all comments and also faced some difficulty. But after proper set up with given tutorial option of Application it worked 100% accurate...Thanks...Very useful application my friends... Follow tutorial if there is any problem during project. It will work 100%

pan. k. Feb 10, 2017     

First and foremost it's working flawlessly. Tried it with HC-05 and Arduino mega. Connecting with Bluetooth device without any problem. Nice and simple GUI. Altogether great work #

A. G. u. Aug 11, 2017     

Thanks for this app its working perfectly on my nano board. It is possible to make it momentary switches? I want to use this in my son's toy car. I dont have idea in programming. Again thank you so much.

Dan. M. May 14, 2018     

Very helpful app but sometimes makes problem in connection otherwise great app. Thank you for this app

Ste. Jul 16, 2017     

Useless. Didn't find device. Ads all over it. Spelt please wrong in the app as well. Avoid

Dil. H. Feb 10, 2018     

An excellent app. Easy to use and reliable. Ideal for the beginners to understand how HC-05 / HC-06 work.

A. G. u. Jun 19, 2018     

The easiest way ever made to understand. Great work indeed!

Jun. R. Oct 9, 2017     

Works great with enhancement. Integrated with my room switch board 😀. Thanks