Jump to content
43oh

decode the LEGO power functions protocol


Recommended Posts

LEGO power functions is a system of electronic components, motors,

lights, remote controls to power various LEGO models.

The remote control works with IR, but works surprisingly well even

when there is no direct visual contact. The handheld unit is small,

has two joystick-buttons, and allows 4 different channels to be selected.

Much cooler than a TV remote!

 

Interesting for hacking, LEGO has made the protocol open source, so 

anybody can play with it, as long as not making it commercial.

The protocol can be found here:


 

So I decoded the powerfuctions protocol with the launchpad/energia:

 

Apart from the lauchpad, I only needed a IR receiver. I tested with 

a Vishay TSOP38338, other sensors might work as well.

 

The processor sleeps when doing nothing, wake up only when there is 

something to do. It is low power, but not ultra low, since the IR

receiver needs around 0.4mA.

 



//example program f

post-37272-0-42993300-1404552373_thumb.jpg

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...