Giter Site home page Giter Site logo

fabi12345678910 / lego-lirc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iconor/lego-lirc

0.0 0.0 0.0 384 KB

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

License: MIT License

Python 100.00%

lego-lirc's Introduction

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.

lego-lirc's People

Contributors

iconor avatar fabi12345678910 avatar dspinellis avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.