Projects / Ideas / Black Pill tap and tilt counter

Black Pill tap and tilt counter

IntermediateMotionIdeaReviewed
In short

How do you build a black Pill tap and tilt counter?

A Black Pill reads an ADXL345 accelerometer, counts taps using its built-in tap detection and shows the tilt angle on an OLED. You need STM32 Black Pill (STM32F411CEU6), ADXL345 accelerometer, SSD1306 OLED Display and Breadboard 830 Tie Points.

Level
Intermediate
Time
About 140 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 taps and show tilt with an accelerometer.

How to build it

  1. Wire the sensor on I2C
  2. Set the range
  3. Enable tap detection
  4. Count taps from the interrupt flag
  5. Show tilt on the OLED

Related projects

Common questions

What parts do I need for the black Pill tap and tilt counter?

STM32 Black Pill (STM32F411CEU6), ADXL345 accelerometer, SSD1306 OLED Display and Breadboard 830 Tie Points.

How long does the black Pill tap and tilt counter take to build?

About 140 minutes for a intermediate maker.