Random Food Picker - Seeed Studio XIAO ESP32S3 Sense - dumpling—li - CodeCraft Hub
Scene: Maker. Edge AI application on CodeCraft Hub for Maker use cases.
Devices / BOM: Seeed Studio XIAO ESP32S3 Sense, Grove - Mini Fan v1.1
Maker application on CodeCraft Hub. A fun gesture-based food selector: a customer reaches toward the camera, a fan spins with food labels, and when the hand is pulled away, the fan stops — whatever lands at the top is today's meal, making decision fatigue disappear in an instant.
Documentation
Ever stood at a restaurant entrance, paralyzed by indecision? This project helps you build a "Random Food Picker" — leave it to luck, simple and fun.
A small fan sits on the device, with food labels (like "Burger", "Sushi", "Hot Pot") attached to its blades. When a customer reaches toward the camera, the fan starts spinning and the labels whirl around. Pull the hand away, and the fan stops immediately — the label at the top becomes your "pick of the day."
The whole experience feels like a mini lottery: you reach out, the machine spins; you let go, destiny decides. No buttons, no touchscreen, fully contactless — clean and hygienic.
Perfect for restaurant entrances, office pantries, school cafeterias, or as the ultimate "what to eat" referee at parties.
Deploy steps
- What You Need
Chrome / Edge / 360 Browser: Must support Web Serial API for flashing
CodeCraft Platform: Generate code online, no software installation needed: CodeCraft
USB Data Cable: For connecting the device and uploading firmware
XIAO ESP32S3 Sense Board: The main controller with a built-in camera for hand detection
Grove Mini I2C Motor Driver Module: Controls the motor via I2C interface
DC Motor + Fan Blades: Attach food labels to the blades, driven by the motor
Jumper Wires: For connecting the motor driver to the board
Wiring: Motor driver SDA → Board D4, SCL → D5, VCC → 5V, GND → GND.