Projects / Ideas / Black Pill step counter

Black Pill step counter

IntermediateWearablesIdeaReviewed
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.

How to build it

  1. Wire the sensor on I2C
  2. Read the three axes
  3. Take the acceleration magnitude
  4. Detect peaks above a threshold
  5. 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.