Use APKPure App
Get Kendali Relay 1 Chanel Arduino Bluetooth old version APK for Android
Application à commander le relais 1 canal avec Arduino et Bluetooth HC05
Wiring Diagram
Arduino dengan Bluetooth HC05
Arduino----------Bluetooth HC05
Tx----------------Rx
Rx----------------Tx
5V----------------5V
GND---------------GND
Arduino dengan Relay 1 Chanel
Arduino---------------Relay
2-----------------Relay 1
5V----------------5V
GND---------------GND
Relay menggunakan aktif LOW
Sketch Arduino
int DataBluetooth;
void setup() {
Serial.begin(9600);
pinMode(2,OUTPUT); //Relay 1
digitalWrite(2,HIGH);
}
void loop() {
if (Serial.available()){
DataBluetooth=Serial.read();
// Menyalakan Relay 1
if(DataBluetooth=='A'){
digitalWrite(2,LOW);
}
//Mematikan Relay 1
if(DataBluetooth=='B'){
digitalWrite(2,HIGH);
}
}
}
Nécessite Android
4.0 and up
Catégories
Signaler
Last updated on May 27, 2019
Minor bug fixes and improvements. Install or update to the newest version to check it out!
Kendali Relay 1 Chanel Arduino Bluetooth
1.0 by Agung Hari Wahyudi
May 27, 2019