Chapter 10. Interactive RGB LED Display with BeagleBone Black

I’ve always loved playing with colors. Fingerpainting, drawing, working with polymer clay: I love working with mixing colors and seeing what happens. So when I got into robotics, I was naturally drawn to individually addressable RGB LEDs: millions of colors and combinations were unlocked for me.

But I wanted a way to interact with these RGB LED chains that used my favorite language, JavaScript. This project shows you how you can use a BeagleBone Black (BBB) and a few lines of code to play with RGB LEDs yourself. This includes using the npm packages open-pixel-control, Johnny-Five, and Beaglebone-io, and some sensors, to create an interactive light display that ...

Get Make: JavaScript Robotics now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.