
ESP32 Digital Multi-Tool
A pocket instrument built on the ESP32: a clock, a stopwatch down to hundredths of a second, a countdown timer, a tally counter that survives power-off, and an info screen. A six-state finite state machine with a central menu ties them together, driven by three buttons and an OLED display, and it runs on a 500 mAh LiPo cell.
The stopwatch and timer measure time from a stored start timestamp instead of adding up loop ticks, so they do not drift as the loop slows. The firmware uses about a quarter of the program storage, passed 13 of 14 functional checks in the Wokwi simulator, and should run roughly 4 to 13 hours on a charge by datasheet estimates.
Published as "Design and Implementation of an ESP32-based Portable Digital Multi-Tool with Finite State Machine Navigation" in the International Journal of Computer Applications. Written with Anvay Hemant Mayekar, Jeel Nimish Mashru, Mohammed Hamza Afzal Memon and Saeeda Chimthanawala, at SAKEC.