Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

LEGO Power Functions LIRC

Linux Infrared Remote Control configuration files for LEGO Power Functions RC v1.20.


Setup

  • Copy the included configuration files into the an appropriate folder (likely /etc/lirc/lircd.conf.d/lego).
  • Add include directives to /etc/lirc/lircd.conf for each configuration file you wish to use, for example:
echo "include /etc/lirc/lircd.conf.d/lego/Combo_PWM" >> /etc/lirc/lircd.conf
  • includes the necessary steps to get LIRC up and running on a Raspberry Pi.
  • Jorge Pereira's blog post, Infrared Remote Control, demonstrates how to use LEGO LIRC with a headphone jack.

Known Issues

  • The Extended Mode generation code is included, however, it has not yet been tested.
  • Of Single Output Mode's two sub-modes, PWM is implemented while Clear/Set/Toggle/Inc/Dec is not.

References

Included:
- LEGO_Power_Functions_RC_v120 is a copy of LEGO's official documentation for their protocol.
- LPF_RC_Protocol contains a summarized protocol definition and encoding/decoding timing parameters.
- LPF_RC_Modes contains summarized mode-specific data and deviations from the standard protocol.
- LIRC_Remote contains common LIRC lircd.conf-style configuration file settings for the LEGO RC protocol.

Released under the MIT License.

About

Control LEGO Power Functions with a Raspberry Pi and an IR LED, using LIRC (Linux Infrared Remote Control).

Resources

License

Releases

No releases published

Packages

No packages published

Languages