{"schema_version":1,"id":"weatherhog-espressolog","name":{"en":"Espressolog","zh":"为咖啡机增加 ESP32-S3、蓝牙秤和本地网页记录的浓缩咖啡日志。"},"summary":{"en":"Espresso shot logger for an Ascaso Dream PID + Eureka Mignon. ESP32-S3, BLE scales, Go/SQLite, PWA. Includes a decode of the Ascaso's display bus.","zh":"为咖啡机增加 ESP32-S3、蓝牙秤和本地网页记录的浓缩咖啡日志。"},"purpose":"espresso shot logger","tier":"community","author":"weatherhog","repository":"https://github.com/weatherhog/espressolog","license":"MIT","shape":"wide","scenes":["home","art"],"boards":[{"name":"ESP32-S3"}],"motion":false,"hardware":{"en":"ESP32-S3. Verify the exact board revision, wiring and power requirements in the upstream build guide.","zh":"ESP32-S3；请在上游构建文档中核对具体板型、供电与接线。"},"notes":{"en":"An espresso machine becomes a logged instrument: an ESP32-S3 reads two Bluetooth scales, decides from the weight curve alone where a shot starts and ends, spools it to flash and uploads to a Go service that keeps shots in SQLite and serves a PWA. It is deliberately read-only: every sense tap on the Ascaso Dream PID is high-impedance, nothing actuates the pump, and the Phase 1 parts sit behind open jumpers. The front display bus turned out to be a plain synchronous serial link, not I²C, at about 9.9 kHz with 133-bit frames every ~41 ms, carrying boiler temperature at idle, then the shot timer; a Python decoder is included. A noise floor of σ = 0.21 g/s on mean flow over 46 shots is the go/no-go for closed-loop control. PlatformIO builds the firmware, and the J5 display tap is 5 V on a chip that is not.","zh":"把咖啡机变成一台会留记录的仪器：ESP32-S3 同时读两台蓝牙秤，只凭重量曲线自己判断一次萃取从哪儿开始、到哪儿结束，把数据先写进 Flash，再上传给一个 Go 服务，由它存进 SQLite 并对外提供 PWA 页面。整套是只读的：Ascaso Dream PID 上每一个取样点都是高阻，没有任何东西去驱动泵，板子上未来执行机构的元件也隔着断开的跳线。机器前面板的总线也拆明白了——不是 sigrok 猜的 I²C，而是约 9.9 kHz 的同步串行，每 41 ms 左右一帧 133 位，空闲时传锅炉温度，萃取时传机器自带的秒表；附带 Python 解码器。46 杯同一配方测出平均流量噪声 σ = 0.21 g/s，这个数是闭环控制能不能做的判据。固件用 PlatformIO；J5 显示取样点是 5 V，而芯片不耐 5 V，接线前必须看警告。"},"readme_excerpts":[{"label":"Limit","quote":"Nothing actuates the machine — every sense tap is high-impedance and read-only."},{"label":"Feature","quote":"~9.9 kHz clock, data sampled on the rising edge, 133-bit frames every ~41 ms"},{"label":"Measurement","quote":"σ = 0.21 g/s on mean flow (12.2 %)"},{"label":"Power","quote":"The J5 display tap is 5 V and the ESP32 is not 5 V tolerant"}],"images":{"type":"gallery","primary":"https://esp32gallery.com/previews/weatherhog-espressolog/poster.jpg","poster":"https://esp32gallery.com/previews/weatherhog-espressolog/poster.jpg","sources":["https://esp32gallery.com/previews/weatherhog-espressolog/frames/view-001.jpg"]},"media_credit":{"status":"upstream-project-media","creator":"weatherhog","source":"https://github.com/weatherhog/espressolog/tree/cc1830732da6b10a6c8ee05cec40f28b614d94aa","note":{"en":"Screenshots from the upstream README. Code and firmware were not executed. License notices are included.","zh":"来自上游 README 的真实截图；未运行代码或固件，预览包保留许可证声明。"},"reviewed":"2026-10-20"},"preview":{"browser_playable":false,"kind":"media_gallery","label":{"en":"Project screenshots","zh":"项目截图"},"width":960,"height":720,"shape":"square","source_commit":"cc1830732da6b10a6c8ee05cec40f28b614d94aa"},"stars":1,"pushed_at":"2026-12-04T16:56:46Z","added_at":"2026-10-20T14:44:01+08:00","urls":{"html":"https://esp32gallery.com/projects/weatherhog-espressolog/","html_zh":"https://esp32gallery.com/zh/projects/weatherhog-espressolog/","json":"https://esp32gallery.com/data/catalog/projects/weatherhog-espressolog.json","markdown":"https://esp32gallery.com/data/catalog/projects/weatherhog-espressolog.md"}}
