CodeCraft Hub

AI Retail Welcome Assistant

AI Retail Welcome Assistant - Grove Vision AI V2 - dumpling—li - CodeCraft Hub

Scene: Retail

Devices / BOM: Grove Vision AI V2, Grove Shield for Seeed Studio XIAO, Seeed Studio XIAO ESP32S3, Grove - Piezo Buzzer/Active Buzzer

Retail application on CodeCraft Hub. AI-SmartChime is a local Edge AI welcome assistant based on Seeed Studio's XIAO ESP32-S3 and Vision AI V2. Using TinyML, it recognizes customers locally.

Documentation

By leveraging the Edge AI capabilities of the Seeed Studio XIAO ESP32-S3 and Vision AI V2, we’ve given the traditional shop doorbell a smart pair of "eyes and a mouth"—introducing the Smart AI Retail Welcome Assistant.

Upon detecting a customer walking in (via human body or facial recognition), it instantly hits them with a cheerful, retail-standard "Ding-Dong! Welcome!" chime . However, if it’s just passing shadows or a furry pet, it stays quietly in the background.

With all AI inference and vision data running 100% locally on-chip (TinyML), zero data goes to the cloud, ensuring total privacy. We hope this sleek, pocket-sized hardware hack will completely redefine how physical storefronts interact with their customers.

Deploy steps

  1. Burn the model

    This is a person recognition model trained on Vision AI V2. The system performs real-time threshold filtering upon target detection, instantly activating the buzzer once the recognition confidence score exceeds 70%.

    Deploy an AI model to your device (in-app tool on CodeCraft Hub).

  2. Hardware Connection

    XIAO ESP32-S3 (Main Controller)

    Insert the XIAO ESP32-S3 into the Grove Shield: Ensure the USB port aligns with the shield's orientation and press the pins firmly into place.

    Connect the XIAO ESP32-S3 to your computer via a USB Type-C cable.

    The Type-C cable must be a data cable, not a charging-only cable.

    Vision AI V2 (INPUT)

    Connect the Vision AI V2 module (visual input) to the XIAO-ESP32's SDA/SCL pins.

    GND → XIAO GND

    VCC → XIAO 3.3V

    SDA → XIAO D4

    SCL → XIAO D5

    Buzzer (OUTPUT)

    GND → XIAO GND

    VCC → XIAO 3.3V

    S (Signal) → XIAO D8

  3. Firmware Flashing

    Click the "Flash Firmware" button below, follow the prompts to select the appropriate serial port, and connect the device.

    The flash address is 0x0 (default configuration).

    If the device is not recognized, double‑click the Reset button on the XIAO , then try again.

    Flash firmware to your device (in-app tool on CodeCraft Hub).

  4. Powering On and Usage

    No one detected: The buzzer remains completely silent.

    Person detected: The buzzer instantly plays a welcome melody.

    Troubleshooting: If the device is unresponsive, please try pressing the RESET button to reinitialize the system.

  5. Future Expandable Directions

    Local Traffic Counter: Records the daily number of welcome chimes triggered locally, ensuring total privacy with zero cloud connectivity. This allows shop owners to intuitively track daily visitor foot traffic.

    Custom Voice Broadcaster: Upgrades the passive buzzer to a high-fidelity audio playback module. Moving away from monotonous beeps, it supports playing personalized voice recordings directly from the shop owner (e.g., "Welcome!"), truly giving the storefront a voice.

    Ambient Smart Signage: Introduces addressable RGB lighting effects. At night or in low-power mode, upon edge vision detecting an approaching customer, the storefront RGB signage instantly transforms into a warm or ceremonial lighting atmosphere, turning visual recognition into an interactive space and light experience.