Skip to content

v1.0.2 — motion-gesture reliability + Pip-S3 USB-PHY detach

Choose a tag to compare

@marceld23 marceld23 released this 10 May 00:35
· 5 commits to main since this release

Small follow-up to 1.0.1 — two real fixes plus a homepage tweak.

Highlights

Motion gestures — Spielen / Regen / Singen now clearly distinguishable. Shake-magnitude thresholds dropped 1.0 g → 0.7 g (kid-sized wrist motions reproducibly couldn't reach the old threshold), vertical-dominance relaxed 1.0 → 0.6 so realistic up-down hand motions qualify for "rain", and one decisive down-flick now fires the shower instead of needing two. Singing redesigned end-to-end: was "upright + tilt-left + tilt-right" with a rising-edge bug that prevented firing whenever the pet was already slightly tilted; now it's heave-up + tilt-left-then-right — the user must transition the pet from low to upright within 800 ms, which guarantees gx ≈ 0 at sequence start. A pet just sitting on the desk no longer triggers Singing spontaneously. Help page 8 updated in DE + EN: "Hochheben, links + rechts kippen" / "Lift it up, tilt left + right".

Pip-S3 robust USB-PHY detach before deep sleep. 1.0.1's Serial.flush() + Serial.end() + 100 ms grace wasn't aggressive enough on every M5-Stick variant — one tested unit still disappeared from the host after deep sleep and required a 60-second unplug to recover. 1.0.2 forces GPIO19 / GPIO20 (D- / D+) to input + pull-mode floating before esp_deep_sleep_start(), collapsing the D+ pull-up so Windows sees an unambiguous detach. Grace bumped to 200 ms (Windows sometimes doesn't register the detach in under that). Plus: M5.Power.isCharging() is now polled up to 8× at boot with 50 ms gaps — the PMIC's charging-detect isn't stable for the first few ms after power-up, and a single early read could falsely route the pet into the brownout-protection deep-sleep branch with USB still plugged in.

Site / homepage. New 2-minute YouTube-Short feature reel between the hero demo and the deep-dive embed — voice control on Muffin, ESP-NOW Friends gift exchange and a Pip wrist-flick treat throw, on real hardware. Caption translated DE / EN.

Full changelog with all bullets: README — Version history

Install

The Release CI workflow attaches per-pet .bin files (pixel-pets-v1.0.2-muffin.bin, -goo-goo, -visu, -pip, -pip-s3) — flash via M5Burner ("Custom Firmware" → upload .bin) or esptool.py --chip <esp32|esp32s3> write_flash 0x0 pixel-pets-…bin. Existing pets keep their NVS state when upgraded (animal / language / friends-mode / WiFi creds).