Menu

I reverse-engineered my walking pad's internal bus and put an ESP32 inside (pulse-width protocol, OTA with rollback, no cloud)

#esp32#redditesp32#board#console#motor
Reading 0:00
15s threshold

My FlexiSpot MotionX walking pad is the basic model: no app, no stats. I opened it, put a logic analyzer on the 3-wire cable between the console and the motor board, decoded the bus, and now an ESP32 lives inside the treadmill and logs every walk.

Why a classic ESP32-WROOM-32 DevKit

GPIO34 is input-only on the classic ESP32. The bus drives the motor, so I wanted a pin that physically cannot be turned into an output, even by a firmware bug.

4 MB flash is enough for two OTA app slots plus a LittleFS partition for sessions, with the stock "Default 4MB with spiffs" partition scheme.

Wi-Fi only: no need for BLE, and no need for the extra pins or USB of an S3.

Libraries: only what ships with the Arduino-ESP32 core

WebServer (synchronous) instead of an async server: a status page and a few admin endpoints don't need more, and it's one less dependency to break.

LittleFS instead of SPIFFS for sessions, because the treadmill gets unplugged at random and I need files to survive that.

Preferences (NVS) for Wi-Fi…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.