查看“Microduino-IR Receiver”的源代码
←
Microduino-IR Receiver
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{Language|Microduino-IR receiver}} {| style="width: 800px;" |- | [[File: Microduino-IR_receiver.jpg|400px|thumb|right| Microduino-IR-receiver]] Microduino-IR-receiver is an infrared receiving sensor. Microduino-IR-Receiver is a semiconductor device, which can turn the infrared light signal into electrical signal. Its core part is a PN junction with special material. Compared with the ordinary diode, it adopts great change in structure with a larger infrared receiving area, which makes the current increase accordingly. ==Features== *Pulse type; *Long receiving distance and strong anti-interference ability; ==Specification== *Electrical specification **3.3V~5V operation voltage; **Input device *Tech parameters **Wave length: 0.76~1.5μm *Size **Size of the receiver 5mm*5mm **Size of the board: 20mm*10mm **1.27mm-pitch 4PIN interface *Connection method ** Pin description: GND, VCC, signal output and NC(empty). Since the output signal is digital, it needs to use digital interface to detect (D0~D13). Microduino-IR-Receiver can be connected to the pins (3~10) of the Sensorhub with the corresponding pins(D0,D2,D4,D6,D8,D10,D12). [[file:mCookie-sensorhub_rule.JPG|thumb|800px|center]] [[File: Microduino-IR-receiver_rule1.jpg|600px|thumb|center]] ==Document== *Schematic: '''[[File: Microduino_IR-receiver.Zip]]''' ==Development== ===Preparation=== *Make sure you build Microduino IDE or refer to: [[Microduino Getting started]] *Core selection **1. Adopt [[Microduino-CoreUSB]] or [[mCookie-CoreUSB]] as the core. **2. Adopt [[Microduino-Core]] or [[Microduino-Core+]] as the core plus [[Microduino-USBTTL]] as the program download module. ===Program=== *Open " IRrecvDemo " program in the libraries. [[file:mCookie-IRrecvDemo.JPG|thumb|800px|center]] *include <IRremote.h> Use infrared library function *int RECV_PIN = 10; Define infrared receiving pin as 10, which can also be changed by users according to personal needs. (For example: Change " RECV_PIN = 11" in the program examples to " RECV_PIN = 10") *IRrecv irrecv(RECV_PIN); Define infrared receiving object *irrecv.enableIRIn(); Start infrared receiving *Receive and output if (irrecv.decode(&results)) { Serial.println(results.value, HEX); irrecv.resume(); } ===Hardware Buildup=== *Connect the interface on the back of the IR-receiver with D10 digital port of the Sensorhub; *Please refer to: [[Microduino-Sensorhub]] [[file:Microduino-sensorhub_D10.PNG|thumb|400px|center]] * Please refer to: [[mCookie-Hub]] [[file:mCookie-sensorhub_D10.PNG|thumb|400px|center]] * Connect the core, Sensorhub and the IR-receiver to a computer with a USB cable. * Select the right board and COM port, compile and download. You can refer to [[AVR Core:Getting started]] [[file:upload.JPG|thumb|800px|center]] *After download, you can open the serial monitor and use the infrared remote controller to send signals to the infrared receiving head. When you see the LED light on the IR-receiver blinks once, it means the receiving head has gotten the signals while the serial console will print decoded data. ==Application== Microduino-IR-receiver can be used in infrared remote control, which is able to be matched with all kinds of infrared remote controller. You need to make sure the infrared signal type and protocol format before using. ==Purchase== ==History== ==Pictures== *Front [[file: Microduino-IR-receiver-F.JPG|thumb|600px|center|Microduino-IR-receiver Front]] *Back [[file: Microduino-IR-receiver -b.JPG|thumb|600px|center|Microduino-IR-receiver Back]] |}
该页面使用的模板:
模板:Language
(
查看源代码
)
模板:Nmbox
(
查看源代码
)
返回至
Microduino-IR Receiver
。
导航菜单
个人工具
创建账户
登录
名字空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
Welcome
首页
创客大赛
大赛详情
3D打印
安装月球车
图形化编程
操控月球车
升级月球车
编程工具下载
软件下载
Arduino
Processing
Mixly
Scratch
模块套件
Microduino 102
mCookie 102
mCookie 202
mCookie 302
IBC
其他
应用套件
四轴飞行器
平衡车
小车CUBE
音乐播放器
刷卡音乐播放器
wifi气象站
彩虹音乐触摸灯
分贝检测仪
迎门汇报
LED点阵时钟
LED点阵屏幕
硬件
mCookie
Sensor
Microduino
MicroWrt
MicroNux
MicroRobot-Core
MicroRobot-CoreESP
ideaBoard
ideaBox
MicroMV
MicroAI
帮助
常见问题
帮助
工具
链入页面
相关更改
特殊页面
页面信息