Infrared
A library for using infrared remote controls with Rust.
Status
Supported protocols
- The NEC Protocol and the Samsung variant of it
- Philips Rc5
- Philips Rc6
- "Samsung BluRay Player protocol" (Please let know if it has a real name :))
Examples
- Simple receiver for NEC
examples/receiver
- Multi receiver for NEC, NecSamsung and Rc5
examples/multireceiver
- Transmitting NEC, Rc5
examples/transmitter
- Blipper - An application for working with transmitters and receivers from a host computer
Tested with
- Tested with bluepill board
- Vishay TSOP382 IR receiver
- Various ir leds
- NEC Generic "Special for MP3" and Samsung remotes
- Rc6 tested with a Philips Bluray player remote
- Rc5 tested with a Marantz CD player remote
How to use it
See the examples.
Near time goals
- Implement transmit for Rc6 and Samsung BluRay Player protocol
- Implement support for more remotes of different kinds
- Hw Timer-Capture based example
Long time goals
USB/Network support to be able to create "universal remote control" types of applications. Work started in Blipper repository.
References
License
Licensed under either of
-
Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
-
MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.