Blossom Fan - Grove - VART Crossover Cable 4Pin 20cm (5pcs) - Callie - CodeCraft Hub
Scene: Maker. Edge AI application on CodeCraft Hub for Maker use cases.
Devices / BOM: Grove - VART Crossover Cable 4Pin 20cm (5pcs), Grove Beginner Kit for Arduino
Maker application on CodeCraft Hub. Blossom Fan: an interactive Grove Beginner Kit piece. Twist left to open a folding fan on the OLED screen; cherry blossoms drift down as the LED and Mini Fan spin up. Twist right to close — petals stop, lights dim. Fan angle controls blossom density. Simple hardware, poetic expression.
Documentation
Blossom Fan is an interactive art piece built on the Grove Beginner Kit. Turn the rotary knob counterclockwise to open a virtual folding fan on the OLED screen — twelve ribs fan out gracefully while pink cherry blossom petals drift down in staggered, organic patterns. The onboard LED and an external Mini Fan module spin up in sync. Turn the knob clockwise to close the fan: petals fade, lights dim, and the fan stops.
The project combines analog potentiometer input, U8g2 page-buffer graphics, fixed-point bloom animation, and dual Grove peripheral control into a compact Arduino sketch. Fan angle maps directly to petal spawn rate — the wider the fan, the denser the blossoms — creating a poetic "fan opens, petals fall; fan closes, wind rests" experience on a 128×64 monochrome display. Simple hardware, rich expression.
Deploy steps
- 步骤 1
Flash firmware to your device (in-app tool on CodeCraft Hub).
- 步骤 2