Bluetooth Smart Switch أيقونة

Bluetooth Smart Switch

الإصدار: 2.0
1.6MB 10,000+ 3.1 3.15
Price: $0
⚠️ You need 9Apps App to install .XAPK File. How to install XAPK?

تفاصيل التطبيق Bluetooth Smart Switch

وضع التعليمات البرمجية المصدر ووضع التعريف الشخصي
Arduino UNO إلى وضع دبوس وحدة Bluetooth: RX PIN 10 و TX PIN 11.
Code:
#include
Softwareserial Myserial (10، 11) ؛ // دبوس 10 = TX، PIN 11 = RX Bluetooth TX، RX
#Define Relay1 2 // التتابع IN1 متصل ب Pinout 2 Arduino
# Define Relay2 3 // التتابع IN2 متصلة ب Pinout 3 Arduino
# define relay3 4 // التتابع in3 متصل بانوت 4 arduino
#Define relay4 5 // التتابع in4 متصلة ب pinout 5 arduino
char val؛
setup ()
{
pinmode (relay1، الإخراج)؛
pinmode (relay2، الإخراج)؛
pinmode (relay3، الإخراج)؛
pinmode (relay4، الإخراج)؛
digitalwrite (relay1، عالية )؛
DigitalWrite (Relay2، High)؛
DigitalWrite (Relay3، High)؛
DigitalWrite (Relay4، High)؛
Myserial.begin (9600)؛
التسلسل. ابدأ (9600)؛
}
Void Loop () {// CEK Data Serial من تطبيق Bluetooth Android التطبيق
إذا (myserial.available ()> 0)
{
فال = myserial.Read ()؛
serial.println (val)؛
}
// التتابع على
/ *
---> يمكنك الاتصال بالترحيل Modul 4 قناة
البيانات التسلسلية إرسال من Arduino Bluetooth Relay 4ch.apk
البيانات "1" - '4' إلى on is ralay ch 1-4
البيانات 'a' - 'd' لإيقافها هو ralay ch 1-4
البيانات "9" إلى كل ch 1-4
Data 'I' i Over All CH 1-4
* /
إذا (VAL == '1')
{
DigitalWrite (Relay1، Low)؛
}
{
DigitalWrite (Relay2، Low)؛
}
آخر إذا (VAL == '3')
{
DigitalWrite (Relay3، Low)؛
}
{
Digitalwrite (Relay4، Low)؛
}
// تتابع كل شيء على
{
Digitalwrite (Relay1، Low)؛
DigitalWrite (Relay2، Low)؛
الكتابة الرقمية (Relay3، Low)؛
DigitalWrite (Relay4، Low)؛
}
// التتابع غير مقطوع
{
الكتابة الرقمية (Relay1، عالية)؛
}
{
digitalwrite (relay2، high)؛
}
{
digitalwrite (relay3، high)؛
}
آخر إذا (VAL == 'D')
{
DigitalWrite (Relay4، High)؛
}
// التتابع جميع قبالة
{
digitalwrite (relay1، high)؛
digitalwrite (relay2، عالية)؛
DigitalWrite (Relay3، High)؛
Digitalwrite (Relay4، High)؛
}
}

عرض المزيد أقل

ما هو جديد Bluetooth Smart Switch

English

المعلومات

PackageName icon
ID:
com.algologixbd.lightcontrol
category icon
الفئة:
update icon
تحديث:
2018-12-15
version icon
الإصدار:
2.0
requirements icon
نظام الأندرويد المتوافق:
Android 4.1 or later
google play icon
Available on:
filesize icon
حجم الملف:
1.6MB
DOWNLOAD IS NOT SUPPORTED IN WEB STORE!
Use the latest version of 9Apps to download APK&OBB file of games in one click!
DOWNLOAD 9APPS