查看“Infrared transmission”的源代码
←
Infrared transmission
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{| style="width: 800px;" |- | ==Outline== Microduino-IR-Transmitter can emit infrared signal through LED and then receive signal with [[Infrared Receiver]]. Like a remote controller, the infrared transmitter can also control home appliances such as TV, air conditioner, water heater and refrigerator. Its maximum transmission distance is 10m. ==Specification== *Electrical specification **Operation voltage: 3.3V~5V *Tech parameters **Sensing distance:10m *Size **Size of the LED: 5mm, ** 10mm*20mm **1.27mm-pitch 4PIN interface *Connection Method **GND, VCC, D6,NC. Modules must adopt D6 interface. ==Development== ===Equipment=== {|class="wikitable" |- |Module||Number||Function |- |[[mCookie-CoreUSB]]||1||Core board |- |[[mCookie-Hub]]||1||Sensor pin board |- |[[Microduino-IR Transmitter]]||1||Infrared transmission |} [[File:IR transmitter-module.jpg|center|600px]] ===Preparation=== Setup 1:Connect the IR transmitter's interface with the Hub's D6 digital port. [[file:mCookie-IR transmitter-sensor.JPG|600px|center]] *Setup 2:Connect the core, Hub and IR transmitter to a computer with a USB cable. [[file:mCookie-strandtext-pc.JPG|600px|center]] ===Debugging=== *Open " IRsendDemo " program in the libraries. [[file:mCookie-IRsendDemo.JPG|thumb|800px|center]] * Select the right board and COM port, compile and download. You can refer to [[AVR Core:Getting started]] [[file:upload.JPG|thumb|800px|center]] *include <IRremote.h> Use infrared library function *IRsend irsend; Define infrared receiving object *irsend.sendSony(0xa90, 12); Send infrared code * You can open the serial monitor. Input any values at the console and you'll see the LED on the IR-transmitter blinks once, meaning the infrared signal has been sent.
返回至
Infrared transmission
。
导航菜单
个人工具
创建账户
登录
名字空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
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
帮助
常见问题
帮助
工具
链入页面
相关更改
特殊页面
页面信息