Oписание smart home Bluetooth
контролирует приложения с домом удаленно устройства Arduino Bluetooth
تطبيق يتحكم بأجهزة المنزل عن بعد بواسطة البلوتوث وجهاز arduino مع شرح مفصل على قناتي على اليوتيوب للنسخة القديمة وهذة النسخة الحديثة من البرنامج تم ضافة أثنان من الازار وتطوير واجهة المستخدم لتتناسب مع كل الاجهزة .
كود arduino
#include
SoftwareSerial BT(1, 0);
void setup()
{
// set digital pin to control as an output
pinMode(13, OUTPUT);
pinMode(4, OUTPUT);
// set the data rate for the SoftwareSerial port
BT.begin(9600);
// Send test message to other device
BT.println("MUSA ALMUSAWY");
}
char a; // stores incoming character from other device
void loop()
{-
if (BT.available())
// if text arrived in from BT serial...
{
a=(BT.read());
if (a=='1')
{
digitalWrite(13, HIGH);
BT.println("LED1 on");
}
if (a=='2')
{
digitalWrite(13, LOW);
BT.println("LED1 off");
}
if (a=='4')
{
digitalWrite(4, LOW);
BT.println("LED2 off");
}
if (a=='3')
{
digitalWrite(4, HIGH);
BT.println("LED2 ON");
}
if (a=='?')
{
BT.println("Send '1' to turn LED on");
BT.println("Send '2' to turn LED on");
BT.println("Send '3' to turn LED on");
BT.println("Send '4' to turn LED on");
}
// you can add more "if" statements with other characters to add more commands
}}
Что нового в последней версии 4.0
Информация smart home Bluetooth APK

Супер Быстрая и Безопасная Загрузка через Приложение APKPure
Один клик для установки XAPK/APK файлов на Android!