ESP ZeroCode AI · Community
Door Chime
I want a doorbell that plays a nice chime when someone presses the button
What it does
- Doorbell button — triggers a chime tone sequence when pressed
- Chime audio output — plays tone patterns via I2S speaker
- Press feedback LED — blinks when button is pressed
- Local operation only — no Wi-Fi or cloud required
- USB power — 5V power adapter
Manual
Device Type
A smart doorbell that plays an audio chime when a button is pressed. Designed for indoor use, powered by USB.
Hardware
chip: esp32c3 — gpios: label: Doorbell button — gpio: GPIO10 — peripheral: Push button — mode: input · label: Feedback LED — gpio: GPIO6 — peripheral: LED — mode: output · label: Speaker (I2S) — peripheral: I2S speaker — note: Data, Clock, Word Select lines for I2S audio output — peripherals: Push button (active-low) · LED (common cathode) · I2S speaker
Inputs
kind: Button — label: Doorbell button — hardware: Momentary push button connected to GPIO10 (active low) — behavior: User presses button; device detects press, triggers chime tone, and blinks LED
Outputs
kind: Audio — label: Chime speaker — hardware: I2S speaker (3 GPIO lines for data/clock/word-select) — behavior: Plays a pleasant chime tone pattern when button is pressed · kind: LED — label: Press feedback light — hardware: LED on GPIO6 — behavior: Blinks once or twice when button is pressed, providing visual confirmation to the user
Connectivity
stack: Local only — transport: None required — purpose: No Wi-Fi, cloud, or remote connectivity — operates independently
Commissioning
method: None — plug in and press button — instructions: Power on via USB adapter. Press doorbell button to hear chime and see LED blink.
Business Logic
powerOnBehavior: Device boots, initializes speaker and GPIO, ready for doorbell presses — dayToDayOperation: User presses button → device detects press, ignores subsequent presses until chime finishes, blinks LED and plays chime tone pattern. When chime completes, device is ready for the next press.
Failure Modes
scenario: Power loss — behavior: Device shuts down; operates normally when power restored · scenario: Button stuck/held — behavior: Only triggers once per independent press; held press does not repeat the chime · scenario: Speaker disconnected — behavior: Device continues running but no audio; LED feedback still works
Power Management
batteryPowered: false — note: Always-on USB power; no sleep modes
Published 18 Aug 2026 · version 3
Built with ESP ZeroCode AI — describe a device, get production firmware.
Terms of Service · Privacy Policy