Files
ai-passport/docs/reference
T
Shinku ca3131f770 docs(experiences): add deep-sleep peripheral power-off entry
Captured after the Sound Effects Keychain v1.4.0 release (commit ce9b13d).
Records how to power the LCD panel, backlight, audio codec, and fuel gauge
down before deep sleep, the esp_codec_dev_close() only-suspends-if-opened
trap (chip left in es8311_open config state when audio was never played),
and that the MCU side is already handled by esp_sleep_isolate_digital_gpio
while the always-on PA and 3.3V regulator are out of software reach.
ca3131f770 · 2026-09-06 19:25:57 +08:00
History
..

简体中文 · English

Reference

This area holds reference material for AI Passport development that is not a binding requirement: reusable development experience and archived application playbooks. These are consulted when developing something new, not enforced as rules. Reference is organized by contributing developer's GitHub username: under each reference/<username>/ folder, experience entries are stored as flat files and application playbooks as subdirectories.

The engineering rules themselves live under ../development/; the collaboration conventions under ../contribution/.

Contributors

Shinku-Chen

Experience entries:

Application playbooks:

  • Voice Keychain — a sound-effects keychain that turns the AI Passport into a pocket audio player.
  • What to Eat Today — a button-driven food roulette that turns the AI Passport into a "what should I eat?" spinner.

PhoenixZHC

Experience entries:

Y2Lin

Experience entries:

sunny0826

Application playbooks:

  • Offline Pokédex — a fully offline Pokédex that embeds all 1,025 Pokémon, their sprites, and cries in the firmware.

Adding an experience entry

Each release may produce one or more reusable, post-release learnings; each is added as its own entry (with the release tag or commit as context). Follow the repository language rule: keep the default .md path in English and the paired .zh_CN.md in Simplified Chinese, aligned in the same change.

An entry is a single .md file (with its .zh_CN.md peer) stored flat under reference/<username>/ and named after the entry's content summary in lowercase-kebab-case (e.g. audio-compression-trade-offs.md), describing the topic rather than an opaque timestamp. Each entry is routed before submission: general, upstream-benefiting experience goes to the upstream FoloToy/ai-passport as a PR; fork-specific customization stays in the fork per docs/fork-guide.md.

Archiving an application

When an application is published, archive it under reference/<username>/<app-name>/ with an AI-generated bilingual functional summary (README.md / .zh_CN.md) and optionally a how-to guide. The archive is text-only — record the cover image by file name and format only, and do not store the firmware .bin. The plays-archive skill drives the archive and its convention.