We use cookies and other technologies on this website to enhance your user experience.
By clicking any link on this page you are giving your consent to our Privacy Policy and Cookies Policy.
Bluetooth Control for Arduino biểu tượng

1.1 by merahkemarun


Jun 28, 2016

Giới thiệu về Bluetooth Control for Arduino

Tiếng Việt

ứng dụng Android để điều khiển 4 kênh tiếp sức modul với Arduino qua bluetooth

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 can

Copy program here to Arduino IDE

/*

Relay IN1 connected to PinOut 2 Arduino

Relay IN2 connected to PinOut 3 Arduino

Relay IN3 connected to PinOut 4 Arduino

Relay IN4 connected to PinOut 5 Arduino

--->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

*/

#include <SoftwareSerial.h>

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 App

if( 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);

}

}

Có gì mới trong phiên bản mới nhất 1.1

Last updated on Jun 28, 2016

Minor bug fixes and improvements. Install or update to the newest version to check it out!

Đang tải bản dịch ...

Thông tin thêm Ứng dụng

Phiên bản mới nhất

Yêu cầu cập nhật Bluetooth Control for Arduino 1.1

Được tải lên bởi

Vo Minh

Yêu cầu Android

Android 3.2+

Hiển thị nhiều hơn

Bluetooth Control for Arduino Ảnh chụp màn hình

Đang tải bình luận...
Ngôn ngữ
Ngôn ngữ
Đăng ký APKPure
Hãy là người đầu tiên có quyền truy cập vào bản phát hành, tin tức và hướng dẫn sớm của các trò chơi và ứng dụng Android tốt nhất.
Không, cám ơn
Đăng ký
Đăng ký thành công!
Bây giờ bạn đã đăng ký APKPure.
Đăng ký APKPure
Hãy là người đầu tiên có quyền truy cập vào bản phát hành, tin tức và hướng dẫn sớm của các trò chơi và ứng dụng Android tốt nhất.
Không, cám ơn
Đăng ký
Thành công!
Bây giờ bạn đã đăng ký nhận bản tin của chúng tôi.