Bluetooth Control for Arduino icon

Bluetooth Control for Arduino

1.1 for Android
4.1 | 100,000+ 설치 수

merahkemarun

설명 Bluetooth Control for Arduino

Arduino Bluetooth 릴레이 4CH 앱은 Arduino 또는 AVR을 사용하여 Bluetooth 직렬 통신 모듈 지원 HC-05, HC-06 또는 HC-07과 블루투스를 통해 4 채널 릴레이 모듈을 제어하는 ​​데 사용되는 안드로이드 응용 프로그램입니다. Arduino Uno 및 Serial Commnunication Library를 연결하는 RX 핀 10 및 TX PIN 11.
fitur 앱 :
-control 4 채널 4 채널 / all ralay
-control 켜기
다운로드 파일 프로그램 arduino_bluetooth_lain_4ch.ino
-download file
다운로드 파일 :
- 더러노 프로젝트 우편 : https://goo.gl/vq1n9d
& 개략적 인 배선 PDF : https://goo.gl/b2uvy1
여기에서 프로그램을 여기에서 복사 할 수 있습니다 핀 (5)의 Arduino로의 Arduino IDE
가상 / *로
릴레이 IN1은 핀 (3)의 Arduino로
릴레이 IN3은 핀 (4)의 Arduino로
IN4 릴레이 연결 접속 핀의 Arduino 2 릴레이로
IN2 접속 연결
---> 릴레이 모듈 4 채널에 연결할 수 있습니다. l
데이터 '1'- '4'켜기 ralay ch 1-4
데이터 'a'- 'd'는 꺼짐입니다 ralay ch 1-4
데이터 '9'에서 모든 CH 1-4
데이터 'i'를 꺼냅니다.
* /
#include
softwareserial myserial (10, 11); // PIN10 RX, PIN 11 TX -> Bluetooth TX, RX
#Define Relay1 2
#Define Relay2 3
#Define Relay3 4
#Define Relay3 5
핀 모드 (릴레이 2, 출력); 핀 모드 (릴레이 3, 출력); 핀 모드 (핀 모드) 릴레이 4, 출력);
DigitalWrite (Relay1, High); DigitalWrite (Relay2, High);
DigitalWrite (Relay3, High);
DigitalWrite (Relay4, High); MySerial. 시작 (9600);
Serial.Begin (9600);
}
()> 0) {
val = myserial.read ();
serial.println (val);
}
}
}
else if (val == '2') {
digitalwrite (릴레이 2, 낮음); }
else if (val == '3') {
digitalwrite (릴레이 3, 낮음); }
else If (val == '4') {
RelayWrite 낮음);
DigitalWrite (relay4, low);
}
// 릴레이가 꺼져 있습니다 (val == 'a') {
digitalwrite (릴레이 1, 하이); }
else If (val == 'b') {
digitalwrite (릴레이 2, 높음); }
el else if (val == 'c') {
digitalwrite (릴레이 3, 높음); }
else If (val == 'd') {
digitalwrite (릴레이 4, 높음); }
// 릴레이 모든 꺼짐 (val == 'i') {
디지털 쓰기 (릴레이 1, 높음); DigitalWrite (릴레이 2, 하이);
디지털 써기 (릴레이 3, 높이);
Digitalwrite (릴레이 4, 높음);
}
}

정보

  • 범주:
    도구
  • 현재 버전:
    1.1
  • 업데이트 날짜:
    2016-05-30
  • 크기:
    1.9MB
  • 필요한 Android 버전:
    Android 3.2 or later
  • 개발자:
    merahkemarun
  • ID:
    dev.merahkemarun.arduinobluetoothrelay4ch
  • Available on: