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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.