Chapter 9. CheerfulJ5

In this chapter, you are going to build a colored mood light, but instead of expressing the emotion of a single person or object, your CheerfulJ5 project is going to hook into the global CheerLights service: a social experiment that uses Twitter to synchronize the color of lights all around the world (see Figure 9-1). You’ll learn to control an RGB LED using Johnny-Five and how to connect to services like ThingSpeak and the Twitter Streaming API to incorporate real-time data from the cloud into your project.

You’ll first build and program the circuit using a standard Arduino, then explore how to take it wireless using a Johnny-Five IO Plugin to substitute a Spark WiFi Development Kit in place of the Arduino. ...

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.