{"schema_version":1,"id":"bruestel-flowtick-meter","name":{"en":"Flowtick Meter","zh":"用 ESP32-C6 和光电传感器读取水表转盘的无电池智能读数器。"},"summary":{"en":"Battery-free optical reader for water meters with a scanning disc: ESP32-C6 + TCRT5000L, MQTT / Home Assistant, 3D-printed cases","zh":"用 ESP32-C6 和光电传感器读取水表转盘的无电池智能读数器。"},"purpose":"water meter reader","tier":"community","author":"bruestel","repository":"https://github.com/bruestel/flowtick-meter","license":"Apache-2.0","shape":"square","scenes":["home"],"boards":[{"name":"ESP32-C6"}],"motion":false,"hardware":{"en":"ESP32-C6. Verify the exact board revision, wiring and power requirements in the upstream build guide.","zh":"ESP32-C6；请在上游构建文档中核对具体板型、供电与接线。"},"notes":{"en":"Old water meters carry a little half-chrome, half-black disc that spins with the flow; the vendor's pulse module is powered by a glued-in lithium cell and thrown away when it dies. This replaces it with a 3D-printed shell holding a TCRT5000L reflective sensor and a USB-powered ESP32-C6, counting every bright-dark edge as half a litre. Detection is not a plain threshold: two thresholds give hysteresis, a dwell time rejects spikes, plus a minimum gap and a fault mode where a pulled adapter or stray light stops counting and the detector resynchronises without inventing an edge. Readings survive restarts, an edge log is appended to flash, and there is a live scope, MQTT and Home Assistant discovery.","zh":"老式水表表盘里有个跟着水流转的小圆片，一半镀铬一半黑，厂商的脉冲模块靠一颗胶死的锂电池供电，电尽就整块扔掉。这个项目用 3D 打印的壳套住 TCRT5000L 反射式传感器和一块 ESP32-C6，USB 供电，每转过一次明暗边沿算半升水。检测不是简单比阈值：两个阈值做迟滞，加驻留时间挡毛刺，还有最小间隔和故障态，传感器被拔掉或见光就停数，回来时重新同步而不凭空加一笔。读数一分钟存一次、重启前也存，边沿日志只追加写进闪存环形区，另有实时示波器和 MQTT 接入 Home Assistant。"},"readme_excerpts":[{"label":"Volume","quote":"optical scanning disc | 0.5 L | working"},{"label":"Build","quote":"ESP-IDF firmware (C++20, PlatformIO)"}],"images":{"type":"gallery","primary":"https://esp32gallery.com/previews/bruestel-flowtick-meter/poster.jpg","poster":"https://esp32gallery.com/previews/bruestel-flowtick-meter/poster.jpg","sources":["https://esp32gallery.com/previews/bruestel-flowtick-meter/frames/view-001.jpg","https://esp32gallery.com/previews/bruestel-flowtick-meter/frames/view-002.jpg","https://esp32gallery.com/previews/bruestel-flowtick-meter/frames/view-003.jpg"]},"media_credit":{"status":"upstream-project-media","creator":"bruestel","source":"https://github.com/bruestel/flowtick-meter/tree/41d4875124e6ed170fd44cb98b2c6a0d3a2fc073","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":"41d4875124e6ed170fd44cb98b2c6a0d3a2fc073"},"stars":2,"pushed_at":"2026-10-16T13:43:07Z","added_at":"2026-10-20T14:44:01+08:00","urls":{"html":"https://esp32gallery.com/projects/bruestel-flowtick-meter/","html_zh":"https://esp32gallery.com/zh/projects/bruestel-flowtick-meter/","json":"https://esp32gallery.com/data/catalog/projects/bruestel-flowtick-meter.json","markdown":"https://esp32gallery.com/data/catalog/projects/bruestel-flowtick-meter.md"}}
