项目作者: ma-laforge
项目描述 :
Communication with consumer IR "remote" signals
高级语言: C++
项目地址: git://github.com/ma-laforge/ArduinoCIR.git
ArduinoCIR: Communication using consumer IR “remote” signals
(Send/receive “TV remote” (+satbox +…) commands)
Description
ArduinoCIR provides the ir_messaging
library, a ready-to-use solution for sending/receiving consumer IR (remote-control) signals on Arduino platforms.
Features
- Simultaneously transmit & receive IR messages.
- (Untested): Build solutions supporting 2+ receivers or 2+ transmitters (Speed & hardware permitting).
- User-selectable hardware units for timers (not hard-coded in library).
Supported Protocols
The list of supported protocols is listed below.
- NEC: (tx/rx).
- RC-MM: (tx only).
- RC-5: (untested tx/untested rx).
- Sony SIRC: (untested tx/rx).
Note:
Table of Contents
- Description
- Features
- Supported Protocols
- Purpose of Library
- Supported Hardware
- Sample Sketches
- Usage Tips
- Wiring/Circuit Topology
- Software Documentation
- Resources/Acknowledgments
- Known Limitations
Supported Hardware
ArduinoCIR was designed to support easily multiple Atmel platforms. At the moment, only a few are actually implemented:
- Atmel ATmega328/328P
- Arduino Uno
- Arduino Redboard (✅ Tested)
- Arduino Pro
- Arduino Fio
- Arduino Mini
- Arduino Nano
- Arduino LilyPad
- Arduino BT
- Arduino Ethernet
- Atmel ATmega1280
- Atmel ATmega2560
- Arduino Mega 2560 (✅ Tested)
- Arduino Mega ADK (✅ Tested)
Known Limitations
- IR receiver currently only works using a 16-bit timer (
IRCtrl:
:RxHw
). - IR transmitter currently supports two resource allocations:
- System clock (Timer0) + an 8-bit timer (
IRCtrl:
:TxHw
), - or two 16-bit timers (
IRCtrl:
:TxHw
).
Compatibility
The ir_messaging
library was tested on version 1.0.5+dfsg2-2 (Linux) of the Arduino IDE.
Disclaimer
This software is provided “as is”, with no guarantee of correctness.