Idea
In short
How do you build a black Pill step counter?
A Black Pill reads an LSM6DS3 motion sensor, counts steps from peaks in acceleration and shows steps and distance on an OLED. A hobby demo, not a precise fitness tracker. You need STM32 Black Pill (STM32F411CEU6), LSM6DS3 6-axis IMU, SSD1306 OLED Display and Breadboard 830 Tie Points.
- Level
- Intermediate
- Time
- About 160 min
- Parts
- 4
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
Count steps from an accelerometer.
Parts list
- Development Boards
- Sensors
- Displays
- Prototyping
How to build it
- Wire the sensor on I2C
- Read the three axes
- Take the acceleration magnitude
- Detect peaks above a threshold
- Show steps and distance
Related projects
Common questions
What parts do I need for the black Pill step counter?
STM32 Black Pill (STM32F411CEU6), LSM6DS3 6-axis IMU, SSD1306 OLED Display and Breadboard 830 Tie Points.
How long does the black Pill step counter take to build?
About 160 minutes for a intermediate maker.
