16 releases (breaking)

0.13.0 Sep 28, 2021
0.12.0 Jul 5, 2021
0.11.0 Mar 13, 2021
0.8.0 Dec 31, 2020
0.2.0 Jun 27, 2019

#122 in Embedded development

Download history 27/week @ 2021-08-16 18/week @ 2021-08-23 10/week @ 2021-08-30 9/week @ 2021-09-06 10/week @ 2021-09-13 12/week @ 2021-09-20 36/week @ 2021-09-27 30/week @ 2021-10-04 27/week @ 2021-10-11 8/week @ 2021-10-18 41/week @ 2021-10-25 19/week @ 2021-11-01 27/week @ 2021-11-08 25/week @ 2021-11-15 30/week @ 2021-11-22 36/week @ 2021-11-29

119 downloads per month
Used in 4 crates

MIT/Apache

110KB
3K SLoC

crates.io version docs.rs

Infrared

Rust library for using Infrared hardware decoders (For example a Vishay TSOP* decoder), enabling remote control support for embedded project.

This library aims for to be useful with the any MCU hal that implements the embedded-hal traits, and at the same time provide functionality for using it with more efficient implementation such as input capture, and be useful in host applications (such as Blipper).

Supported protocols

  • The NEC Protocol and the Samsung variant of it
  • Philips Rc5
  • Philips Rc6
  • "Samsung BluRay Player protocol". Please let know if you know what it really is called :)
  • Denon 48 bit protocol

Examples

  • The infrared-examples repo contains various examples for receiving and transmitting infrared with the blue pill board

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

Boards

References

License

Licensed under either of

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.

Dependencies

~105–265KB

Sa