Kendali Relay

2 Chanel Arduino Bluetooth

1.0 par Agung Hari Wahyudi
May 25, 2019

À propos de Kendali Relay

Application à contrôler des canaux de relais 2 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 2 Chanel

Arduino---------------Relay

2-----------------Relay 1

3-----------------Relay 2

5V----------------5V

GND---------------GND

Relay menggunakan aktif LOW

Sketch Arduino

int DataBluetooth;

void setup() {

Serial.begin(9600);

pinMode(2,OUTPUT); //Relay 1

pinMode(3,OUTPUT); //Relay 2

digitalWrite(2,HIGH);

digitalWrite(3,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);

}

// Menyalakan Relay 2

if(DataBluetooth=='C'){

digitalWrite(3,LOW);

}

//Mematikan Relay 2

if(DataBluetooth=='D'){

digitalWrite(3,HIGH);

}

}

}

Quoi de neuf dans la dernière version 1.0

Last updated on Sep 7, 2019
Kendali Relay 2 Chanel

Informations Application supplémentaires

Dernière version

1.0

Telechargé par

Tala Alatoom

Nécessite Android

Android 4.0+

Available on

Voir plus

Use APKPure App

Get Kendali Relay old version APK for Android

Téléchargement

Use APKPure App

Get Kendali Relay old version APK for Android

Téléchargement

Alternative à Kendali Relay

Obtenir plus de Agung Hari Wahyudi

Découvrir