此方法要求您的Android设备具有IR内置blaster。尽管Mi Remote控制器是免费的,但仍有许多应用程序可以使用此功能。 一旦应用启动并运行,您将需要创建一个简单的电路来“嗅出”红外信号。该IR远程教程将引导您完成构建电路的过程。 尽管本教程使用的是旧的遥控器,但使用IR blasting Android设备
一个是我们刚刚添加到Arduino的IRremote库,另一个是内置的软件串行库,可帮助我们使用蓝牙模块。 #include //Lib for IT Blaster and TSOP #include // import the serial library 接下来,我们在引脚 10 和 11 上初始化蓝牙模块,然后使用名为 irsend 的对象访问库的所有 IR 功能. SoftwareSerial BT_module(10,...
This method requires your Android device to have an IR blaster built in. There are many apps available to make use of this feature, though theMi Remote controlleris free, and functions with many other household devices. Once you have the app up and running, you will need to create a simp...
Arduino Nano板是一款小巧,完整的面包板友好型电路板,基于Armeino Nano 3.0的ATmega328处理器或Arduino Nano 2.x系列的ATmega168处理器。它只缺少直流电源插孔,可以使用Mini-BUSB电缆而不是标准电缆。 Nano是由Gravitech设计和生产的。 16 MHz处理器的建议输入电压为7-12V,每个引脚有14个数字I/O引脚,每个引脚的直...