Skip to content
conflictMEDIUM2026-05-04 19:23 UTC

Anomaly detection on ESP32 with 24 bytes of RAM — no cloud, no malloc

The core idea: Welford's online algorithm The standard way to compute mean and standard deviation requires storing all samples first, then doing two passes. That's fine in Python. On a microcontroller with 320 KB of RAM, it's a non-starter. John Welford solved this in 1962. His algorithm maintains

ADVERTISEMENT
⚡ STAY AHEAD

Events like this, convergence-verified across 689 sources, land in your inbox every Sunday. Free.

GET THE SUNDAY BRIEFING →

RELATED · conflict