Jim, who writes Jims blog at jekw.co.uk, built a wireless CheerLights lamp: twelve ping pong balls on tall stalks, each one lit from inside by an RGB LED. He calls it an “Andy Stanford-Clark inspired project” and worked on it, on and off, for a year.

The base holds an ESP8266-12 Wi-Fi module and two WS2803 LED driver chips on one board, all running from a single 9V power supply. Each stalk is a length of phone cable stiffened with wire from a chain link fence, with the LED glued on top and the ball fixed in place with white Sugru. Jim programmed the ESP8266 in Lua on the NodeMCU firmware. The code joins Wi-Fi, connects to the MQTT broker at iot.eclipse.org, and subscribes to the cheerlights topic, where each new color arrives as a word like “red” or “blue.” Like the Smart Star before it, the lamp has each color pushed to it over MQTT instead of asking for it on a timer. Each new color lights three balls and pushes the older colors along, so the lamp always shows the last four. Jim noticed “a fair few ‘black’ messages” too, which switch three of the balls off.
I liked the idea of Cheerlights using the MQTT gateway hosted on the iot.eclipse.org broker at mqtt://iot.eclipse.org/cheerlights. I also liked the effect of ping pong ball over RGB LED.
Jim, on his blog
The wiring plan, the build steps, and the full Lua program are on Jim’s blog.
Discover more from CheerLights
Subscribe to get the latest posts sent to your email.

