O'Reilly logo

Make: JavaScript Robotics by Rick Waldron, Backstop Media

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 changes ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required