关于Arduino Home automation
通过Android手机控制家用电器
将此应用与微控制器(Arduino,Raspberry Pi,AVR,ARM等),HC-05蓝牙模块和中继模块配合使用,您可以使用智能手机远程控制家用电器。
阅读文档:http://unciarobotics.com/project/home-automation-project-with-arduino-using-hc-05/
读取通过蓝牙传输的数据的基本Arduino代码如下:
const int relay = 2; //连接继电器的引脚
字符数据//变量以存储数据
void setup(){
Serial.begin(9600); //开始串行通讯
pinMode(继电器,输出); //将继电器引脚作为输出
}
无效循环(){
if(Serial.available()> 0)//如果RX上有数据
{
数据= Serial.read(); //将其保存在变量中
如果(数据=='a')
{digitalWrite(relay,HIGH); //打开灯
Serial.println(“ Light ON”);
}
如果(数据=='b')
{digitalWrite(relay,LOW); //关灯
Serial.println(“ Light OFF”);
}
}
}
}
}
//复制将此代码粘贴到Arduino IDE中,并在Serial Monitor上监视数据。
最新版本1.1.2的更新日志
Last updated on 2020年07月26日
Bug Fixes
Fixed: App crashed in lower platforms like marshmallow and Lolipop
Fixed: App crashed in lower platforms like marshmallow and Lolipop
Arduino Home automation APK信息
在APKPure安全快速地下载APK
APKPure 使用签名验证功能,确保为您提供无病毒的 Arduino Home automation APK 下载。
Arduino Home automation历史版本
Arduino Home automation 1.1.2
4.4 MB2020年07月26日
Arduino Home automation 1.1.1
4.4 MB2020年07月07日
Arduino Home automation 1.0
3.2 MB2018年10月23日