Bluetooth Smart Switch
Bluetooth Smart Switch has 37,106 installs, rated 3.8 from 68 ratings, #27,051 of 243,705 in Tools.
Description
Show full descriptionShow less
Source Code and Pin Mode
Arduino UNO to Bluetooth module PIN Mode : RX pin 10 and TX pin 11.
Code:
#include
SoftwareSerial mySerial(10, 11); //Pin 10=TX, Pin 11=RX Bluetooth TX,RX
#define relay1 2 //Relay IN1 connected to PinOut 2 Arduino
#define relay2 3 //Relay IN2 connected to PinOut 3 Arduino
#define relay3 4 //Relay IN3 connected to PinOut 4 Arduino
#define relay4 5 //Relay IN4 connected to PinOut 5 Arduino
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 App
if( mySerial.available() >0 )
{
val = mySerial.read();
Serial.println(val);
}
//Relay is on
/*
--->you can connected to relay modul 4 channel
Serial data sending from Arduino Bluetooth Relay 4CH.apk
data '1'-'4' to on is Ralay CH 1-4
data 'A'-'D' to off is Ralay CH 1-4
data '9' to on ALL CH 1-4
data 'I' to off ALL CH 1-4
*/
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);
}
}
Is Bluetooth Smart Switch safe?
StoreTally doesn't rate safety. Here's what the store and our tracking show:
Reviews The reviews Google Play shows first (its most relevant), from the US store, in any language.
From 68 ratings.
Growth change in installs
| Per | Growth | Growth % | Actual change | Measured over |
|---|---|---|---|---|
| day | Not enough history yet | |||
| week | +2 | +0.0% | +4 | 17 days |
| month | +24 | +0.1% | +49 | 62.5 days |
| year | Not enough history yet | |||
How these figures are measured
Change in installs, scaled to each window from the real gap between crawls. A window needs a full period of history before it reports anything.
Tracking since 2026-09-07. History accumulates as changes are observed — check back soon.
Alternatives to Bluetooth Smart Switch
| Name | Installs | Rating |
|---|---|---|
|
|
7,480 | 3.3 |
|
|
6,634 | — |
|
|
3,534 | — |
|
|
1,577 | — |
|
|
1,025 | — |
|
|
23,819 | — |
Rising in Tools this week
| Name | Installs gained | Week |
|---|---|---|
|
|
+209,095 | +159% |
|
|
+119,642 | +103% |
|
|
+195,382 | +78.6% |
|
|
+174,461 | +77.1% |
|
|
+86,325 | +73.3% |