Chapter 8. Spooky Lights

NodeBots and Halloween are two of my favorite things, so with CampJS IV falling on October 31, I found the perfect excuse to build an interactive installation combining the two (see Figure 8-1).

Johnny-Five isn’t just useful for programming robots: you can use it to add web interfaces to hardware devices, or you can augment web applications with physical interfaces by connecting sensors and actuators that sense or act upon the physical world. This project demonstrates how easy it is to use Node.js and Johnny-Five to develop application programming interfaces (APIs) for controlling hardware devices.

You’ll step through constructing a set of spooky holiday lights using bi-color LED matrices. Then you’ll ...

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

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