Bluetooth Smart Switch أيقونة

Bluetooth Smart Switch

2.0 for Android
3.1 | 10,000+ عمليات التثبيت

algologix

⚠️ 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 2.0

English

المعلومات

  • الفئة:
    الأدوات
  • احدث اصدار:
    2.0
  • تحديث:
    2018-12-15
  • حجم الملف:
    1.6MB
  • المتطلبات:
    Android 4.1 or later
  • تم التحديث:
    algologix
  • ID:
    com.algologixbd.lightcontrol
  • Available on: