Giter Site home page Giter Site logo

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

dspinellis avatar iconor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lego-lirc's Issues

Request authorization to blog about this

Hi!
I was googling for a way to use LIRC to control Power Functions IR and found your lego-lirc repository.
I'm using an homemade IR transmitter (2 LED's connected to the audio output jack of my laptop) and with your config files I already can spin a motor, thank you very much!!!

I know it sounds strange to use audio card as a remote controller but I don't have anything USB-based and I need somthing that works seamless in my laptop (Ubuntu), in a Raspberry Pi (Debian) and a LEGO Mindstorms EV3 (with a USB audio card and running ev3dev, also Debian).

I searched for more info about this but found nothing, you don't have a blog or something do you?
I would like to post your conf files in my blog and link to here, is it OK?

Best regards,
Jorge

Combo_PWM button names.

Hi, should the button names in Combo_PWM be rendered with FWD1 etc from power_functions/combo_pwm.py? Also do you have an example of how to run your code to regenerate the configs? This is excellent work btw, and thanks for doing it! :D

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.