A simple wearable step counter project using an accelerometer sensor and OLED display, with power switch and reset functionality. Built with Arduino for health and fitness monitoring applications.
This project is a step counter that uses an accelerometer sensor to detect and count steps, while displaying real-time data on an OLED screen. It’s designed as a simple wearable prototype that helps monitor movement without needing a smartphone app.
- Counts steps using accelerometer readings
- Displays live step count on the OLED screen
- Power ON/OFF control with switch
- Reset button to clear step count
- Low-cost, beginner-friendly wearable prototype
Hardware
- ESP32 / Arduino board
- Accelerometer sensor (e.g., MPU6050 / ADXL345)
- OLED Display (SSD1306 or similar)
- Push button (Reset)
- Power switch
- Breadboard + jumper wires
Software
- Arduino IDE
- Wire.h & Adafruit Sensor libraries (or equivalent for your accelerometer)
- Adafruit SSD1306 / U8g2 library for OLED
- The accelerometer continuously measures movement in x, y, z axes (g-forces).
- The code calculates the acceleration magnitude from these axes.
- When the magnitude crosses a threshold value (e.g., > 1.39 g), it’s detected as a step.
- Each valid step increases the step counter.
- The OLED screen updates in real-time to show the step count.
- The reset button clears the step count, and the power switch turns the device ON/OFF.
Master QAT – Student | AI & Robotics Enthusiast | Future Robotics Engineer 🚀