Skip to content

jurriaan/Arduino-PowerFunctions

Repository files navigation

Lego Power Functions Infrared Control for Arduino

This is a Arduino Lego Power Functions Library. For now it only supports single/combo PWM. Based on SuperCow's code

Protocol

See LEGO_Power_Functions_RC_v120.pdf for more info The first version of the specification was published on 2008 [1]. The version described in the pdf is the 1.2

Usage

See example.

Standalone Compile (optional)

The Arduino Makefile project is used for standalone compile of examples. Refer to arduino-makefile/Arduino.mk for instructions on how to configure it. Under windows, try to define a user variable like setx ARDUINO_DIR C:/Arduino

Then to get a list of supported command issue

make help

Also, you can spped up large project construction with the GNU Make "-j option" to make a parallel build.

Other projects

This project is able to decode IR protocol and can be paired with this one

The New Ping library give you some insight about how the ping code was optimized

References

[1] http://www.technicbricks.com/2008/01/power-functions-rc-protocol-released-as.html
[2] [General introduction into decoding IR signals with Arduino]https://learn.adafruit.com/ir-sensor/using-an-ir-sensor

(c) 2013 Jurriaan Pruis (c) 2017 Giovanni Giorgi

About

Lego Power Functions Infrared Control for Arduino

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •