Idea
In short
How do you build an ESP32 step counter?
An ESP32 counts steps from the up and down movement of an MPU6050 and shows the total on an OLED, with a button to reset. A rough count for learning and not a fitness device. You need ESP32 DevKit V1, MPU6050 IMU, SSD1306 OLED Display, Tactile push button 6 mm and Breadboard 830 Tie Points.
- Level
- Intermediate
- Time
- About 170 min
- Parts
- 5
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal
Detect steps from acceleration peaks.
Parts list
- Development Boards
- Sensors
- Displays
- Switches
- Prototyping
How to build it
- Read the acceleration magnitude
- Filter out the slow gravity part
- Detect peaks above a threshold
- Ignore peaks closer than 250 ms
- Show and reset the count
Related projects
Common questions
What parts do I need for the ESP32 step counter?
ESP32 DevKit V1, MPU6050 IMU, SSD1306 OLED Display, Tactile push button 6 mm and Breadboard 830 Tie Points.
How long does the ESP32 step counter take to build?
About 170 minutes for a intermediate maker.
