1-minute video

The electronics are fairly standard ESP8266 and a DS3231 clock module. These fit on a hand-wrapped board inside Dilbert’s monitor. The candy hopper is removed to make room. I attached a piezo beeper in case I wanted noise. A MOSFET drives the motor with a jumper to disable in case you need to upload code. A USB cable routes through a small hole on the base.

You can find these on ebay, complete with 25 year old M&M's

A pain to disassemble!

Quality internals

Adding a few jumpers

Tight fit!

Do the math! (Getting late! It's a 24-hr format)

The Arduino code is cobbled together from previous clock projects and standard NTP + DS3231 APIs.

Fonts are massaged by TheDotFactory font utility to generate efficient character maps. Several UTF-8 special symbols are used for the math equations.

Adafruit GFX is used for basic graphics, but a custom font handler is used.