Skip to content
  • Live
  • Blog
  • Shop
  • Contact
  • About
  • Discord
  • GitHub
  • YouTube
  • Twitch
  • Instagram
CheerLights

CheerLights

We are all connected.

CheerLights on GitHub, Twitch, and Discord. We are all connected.
  • Learn
  • Build
  • Connect
  • Toggle search form

CheerLights Coaster: An ESP8266 Mug Coaster That Glows the Color

Posted on December 12, 2016November 29, 2026 By Hans Scharler No Comments on CheerLights Coaster: An ESP8266 Mug Coaster That Glows the Color

The CheerLights color is now set on Discord and Bluesky. This post is from when anyone could tweet a color to CheerLights. Today, use the /cheerlights command on the CheerLights Discord, or post on Bluesky with #cheerlights and a color. Change the CheerLights Color has every way, and the Learn page has the current API.

Pavel Petržela (ppet36) built a coaster that glows the CheerLights color under your mug. He posted the design files and code, plus a build video on YouTube.

A black square coaster with a white top glowing green under a shiny metal mug on a desk, between a monitor and a laptop.
Photo: Pavel Petržela, from his GitHub repo

Under the white top sits his own small board with an ESP8266-01 Wi-Fi module and a single WS2812B RGB LED, inside a case he modeled in OpenSCAD. The Arduino sketch uses the FastLED library. On first power-up, the coaster opens its own Wi-Fi network, CheerlightsConfig, with a setup page for your Wi-Fi details and how often to check for a new color. Then it reads the latest color from the CheerLights channel on ThingSpeak, every 15 seconds by default, much like the ESP8266 Christmas tree we shared last week. So a tweet with #cheerlights and a color name changes the light under your coffee. The coaster fades to each new color one step at a time, and a “brighten colors” option swaps the CheerLights dark green and purple for full-brightness green and magenta. Pavel also flags a slip in his own design: the power connector ended up with minus inside and plus outside.

Here is schematic + PCB layout files for my build of Cheerlights coaster as well as OpenSCAD model for enclosure and source code for ESP8266.

Pavel Petržela, in the project README

The schematic, PCB layout, case model, and code are on GitHub, and you can watch the build video on YouTube.

Share this:

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Reddit (Opens in new window) Reddit
  • More
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Email a link to a friend (Opens in new window) Email
  • Print (Opens in new window) Print

Related


Discover more from CheerLights

Subscribe to get the latest posts sent to your email.

Projects Tags:arduino, Community Spotlight, ESP8266, thingspeak

Post navigation

Previous Post: CheerLights Potted Tree Connected With an ESP8266 LED Wi-Fi Controller
Next Post: CheerLights Kitchen Lights: An ESP8266 LED Strip Above the Cupboards

Related Posts

At night, the black button box sits on Simon's garden wall with a sign reading Press to change colour, everything washed purple by his garden lights. GardenLights: Passersby Change CheerLights From a Garden Wall Projects
CheerLightsPi = Arduino + Raspberry Pi + CheerLights API Projects
Two photos of a black perforated panel with a grid of glowing LEDs in columns of blue, green, red, and orange, and a Heltec ESP32 board with a lit OLED screen on a breadboard at its edge. CheerLights Color History Panel With a Heltec ESP32, From Brazil Projects

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Get new CheerLights posts by email

Tutorials, new builds, and announcements, one email per post.

  • CheerLights on GitHub: Where Every Open Source Project Lives
  • CheerLights for Home Assistant: Your Lights Follow the Color Everyone Shares
  • CheerLights Terminal 0.2: Watch the Color Change Live in Your Terminal
  • CheerLights on an omg.lol Profile Card: A Display With No Hardware
  • CheerLights on Bluesky: Post a Color and Lights Around the World Change

Copyright © 2026 CheerLights.

Powered by PressBook Grid Blogs theme

Loading Comments...