Table of content
    Was this helpful?
    Thumbs UP Thumbs Down

    Video: LED Stair Lighting Hack with Raspberry Pi

    Table of Contents

    We never fail to be amazed by the ingenuity and skills of smart home hackers and we’ve been following Robert Hekkers’ Staircase Lighting project since last September.

    Now the project is finished and the 12 LED strips, IR light barriers, 16-channel LED driver, and Arduino / Raspberry Pi controls are all in place.  Check out the video below for some awesome automated LED stair lighting action…

    So how does this contraption work? The Raspberry Pi that’s near the Arduino runs a Node.JS script. This script basically controls the ‘state’ in which the Arduino is. With the serialport module this Node script can send commands to the Arduino like ‘reset’, ‘on’, ‘off’, ‘day’, ‘night’, ‘demo’, ‘stop’.

    The reset command triggers a ‘reboot’ of the Arduino by jumping to address 0. The on/off commands are used to tell the Arduino whether it should act on the light barriers being broken or not, day and night tell the Arduino whether it’s day or night in our world (which has it’s effect on the brightness of the LED strips), and the demo command… well, you can do amazing stuff with 13 individual LED strips!

    [amazon bestseller=”raspberry pi” items=”3″ template=”table”]

    You can follow Robert’s 6 part series on how he built the system starting at part 1 here.

    Was this helpful?
    Thumbs UP Thumbs Down
    Prev Next
    Share this post

    Lucky you! This thread is empty,
    which means you've got dibs on the first comment.
    Go for it!

    Send feedback to Automated Home



      We appreciate you taking the time to share your feedback about this page with us.

      Whether it's praise for something good, or ideas to improve something that isn't quite right, we're excited to hear from you.