Programista: | algologix (1) | ||
Cena: | Bezpłatny | ||
Rankingi: | 0 | ||
Opinie: | 0 Napisać recenzję | ||
Listy: | 0 + 0 | ||
Punkty: | 0 + 68 (3.8) ¡ | ||
Punkty +1 |
Opis
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);
}
}
Zrzuty ekranu
Cena
- Dziś: Bezpłatny
- Minimalna: Bezpłatny
- Maksymalna: Bezpłatny
Monitoruj ceny
Programista
- algologix
- Platformy: Android Aplikacje (1)
- Listy: 0 + 0
- Punkty: 0 + 68 ¡
- Rankingi: 0
- Opinie: 0
- Zniżki: 0
- Filmy: 0
- RSS: Subskrybuj
Punkty
Nie znaleziono ☹️
Rankingi
Nie znaleziono ☹️
Listy
Nie znaleziono ☹️
Opinie
Bądź pierwszą osobą, która napisze recenzję 🌟
Dodatkowe informacje
- Wersja: 2.0
- ID: com.algologixbd.lightcontrol
- Kategoria:
Android Aplikacje
›Narzędzia
- System operacyjny:
Android 4.1 i nowsze
- Rozmiar:
16 Mb
- Ocena treści:
Everyone
- Google Play Ocena:
3.8
(68) - Zaktualizowano:
- Data wydania:
Kontakty
- Witryna internetowa:
http://algologixbd.com
Może ci się spodobać również
-
- RMG Bluetooth Smart Switch for
- Android Aplikacje: Narzędzia Przez: RMG AUTOMATION
- Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 1 + 0 Wersja: 1.2 With the advent of app-based, wireless network through smart phone and tablet, the popularity of home automation had increased greatly in recent years. RMG automation introduces a ... ⥯
-
- Smart Switch : Phone Clone
- Android Aplikacje: Narzędzia Przez: BallitoApps
- * Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 0 Wersja: 1.0.0 Smart Switch: Phone Clone app allows to transfer data between two android phones. It can be used to transfer all your files, apps, and settings from one android device to another Smart ⥯
-
- Smart switch - copy my data
- Android Aplikacje: Narzędzia Przez: Simple things for life
- * * Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 3,365 (3.7) Wersja: 98.0 Check the Smart Switch app for quick transfer of personal data and settings between two gadgets! Our program is one of the best tools for transferring files between devices. File ... ⥯
-
- Smart Switch - Share Files
- Android Aplikacje: Narzędzia Przez: StarsDev market
- * Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 103 (3.8) Wersja: 12.0 Smart Switch: Transfer Data: Copy all data and phone clone. Samsung Smart Switch makes it more easer to transfer photos , files and important data from your old mobile devices to your ... ⥯
-
- Smart Switch Easy Data Sharing
- Android Aplikacje: Narzędzia Przez: MTFitnessGroup
- * Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 0 Wersja: 1.0.1.2 Smart Switch: Phone Clone is an efficient and versatile data transfer application designed to make moving files between devices effortless. With support for multiple connectivity ... ⥯
-
- Bluetooth Smart Auto Connect
- Android Aplikacje: Narzędzia Przez: Tech that app
- * * Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 515 (3.6) Wersja: 13.0 Looking for a Reliable Bluetooth Auto Connector? Bluetooth Smart Auto Connect is the ultimate solution for seamless Bluetooth pairing and reconnections. Designed to make your life ... ⥯
-
- Bluetooth Smart Device Finder
- Android Aplikacje: Narzędzia Przez: Furat Apps
- * * Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 257 (4.0) Wersja: 1.0.14 Find My Bluetooth: Never Lose Your Device Again Bluetooth Smart Device Finder is your go-to solution for effortlessly connecting and locating your Bluetooth devices! Take control of ... ⥯
-
- Smart Switch: Share, Transfer
- Android Aplikacje: Narzędzia Przez: Apptronics Ltd
- * Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 0 Wersja: 1.1.0 Switching to a new phone? Its so easy with Smart Switch App. The Smart Switch Transfer Phone app makes it simple to copy or transfer my data. Switch to a new phone? Transfer data to ... ⥯
-
- Smart Switch: Share All Data
- Android Aplikacje: Narzędzia Przez: Lexo Apps
- * * Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 29,957 (3.8) Wersja: 1.54 Smart switch App: Phone clone is brilliant transfer files app that expeditiously performs data transfer between two devices through WIFI, hotspot and Bluetooth. Smart share app can ... ⥯
-
- Smart Switch - Files Transfer
- Android Aplikacje: Narzędzia Przez: EchooByte
- * * Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 6,114 (4.1) Wersja: 6.14 Smart Switch is a Smart transfer app for all android devices to copy my data from one phone to another phone. Smart switch is a data transfer app to transfer and copy my data any kind ... ⥯
-
- Smart Switch Mobile: Transfer
- Android Aplikacje: Narzędzia Przez: OZI Apps Global
- * * Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 3,983 (4.0) Wersja: 3.7 Smart switch mobile/Phone backup app helps transfer mobile data and switch from phone to another over WiFi network. Copy data from one phone to another with smart switch restore. Copy ... ⥯
-
- Smart Switch Mobile Transfer
- Android Aplikacje: Narzędzia Przez: Cherry Ball
- * * Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 307 (3.8) Wersja: 1.87 Smart Switch Mobile Transfer Smart Switch Content transfer app is used to transfer data from one phone to another. The data can be photos, videos, files, audio, and contacts. Download ... ⥯
-
- Smart switch : Data Transfer
- Android Aplikacje: Narzędzia Przez: WE Studio Apps
- * * Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 0 Wersja: New Smart switch data transfer app allows you to transfer data easily from one phone to another.With the help of smart switch phone transfer app users can copy and send the data ... ⥯
-
- Smart Switch: Copy My Data
- Android Aplikacje: Narzędzia Przez: Xsend File Sharing
- * Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 0 Wersja: 5.0 Smart switch Data phone clone is about transfer data from one android mobile to another android phone. Smart Switch transfer data makes data transfer very simple and comfortable for ... ⥯