一个是我们刚刚添加到Arduino的IRremote库,另一个是内置的软件串行库,可帮助我们使用蓝牙模块。 #include //Lib for IT Blaster and TSOP #include // import the serial library 接下来,我们在引脚 10 和 11 上初始化蓝牙模块,然后使用名为 irsend 的对象访问库的所有 IR 功能. Softw
Circuit Diagram for Interfacing DHT22 Sensor with Arduino Now that we have completely understood how a DHT22 Sensor works, we can connect all the required wires to Arduino and write the code to get all the data out from the sensor. The following image shows the circuit diagram for interfacing...
Step 2: Build the Blaster 3 More Images This is the easiest part of the project. You'll need 2 pieces of IR LEDs, a 3.5mm audio jack and some electrical tape. You can find these parts in the local Hobby-Shop. See the circuit diagram on the last picture and solder the LED pins to...
Once you have the app up and running, you will need to create a simple circuit to "sniff out" IR signals. ThisIR remote tutorialtakes you through the process of building the circuit. While this tutorial uses an old remote, the process is exactly the same for using an IR blasting Android...
TSOP是一种红外接收器,可用于解码来自遥控器的信号。该接收器将与Arduino接口,为每个按钮发送信号,然后IR LED将与Arduino一起使用,以在需要时模拟信号。这样,我们就可以使用Arduino控制AC。 现在,剩下的就是使用 DHT11 读取温度值,并使用 IR 信号相应地指示 AC。为了使项目看起来更具吸引力和用户友好性,我还添加...