Skip to content

jkristell/rustyremote

Repository files navigation

Board Support for the KontroLIR Remote control

This is a WIP crate for supporting the AnalysIR remote control KontroLIR. You can find the remote and other great products at their shop!

The plan is to use the Infrared crate to enable fun Rust projects with a real remote control.

Uses the avr-device and avr-hal crates by Rahix and others and Infrared by me.

Status

  • Support for the mcu in avr-device Pull request
  • Support for the mcu in avr-hal Pull request
  • Figure out how to use this as an "external" BSP
  • Figure out the pin mappings
  • Read keypad
  • Blink Led
  • Serial to host
  • Clocks and timers
  • Sending IR
  • Receiving IR
  • Eeprom
  • Keypad Interrupts
  • Low power states

Examples

  • serial.rs Read Keypad and get the pressed button

Howto

  • Remove batteries before connecting USB.
  • cargo run --release --example serial
  • picocom -b 57600 /dev/ttyUSB0

Hardware

Picture of the KontroLIR Remote control

Acknowledgements

The pin map is based on the code from AnalysIR with the following license:

Author: AnalysIR
Copyright 2019, AnalysIR
Website: https://www.AnalysIR.com/blog/
WiKi: https://wiki.analysir.com/index.php?title=KontroLIR_-_Arduino_compatible_IR_remote_control
Licence: MIT (permissive), see file KIR_Copyright.h
Support: https://IRforum.AnalysIR.com/
Contact: via contact form on website above. If in doubt about permitted use, contact us directly.
KontrolIR Hardware: can be purchased via our website (& in future official partners)

Version 1.0.0
Notice: This  header must be placed at the top of every file (Including derivatives/forks)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published