Projects / Ideas / Black Pill encoder pong

Black Pill encoder pong

IntermediateGames & ToysIdeaReviewed
In short

How do you build a black Pill encoder pong?

A Black Pill plays pong on a 1.54 inch colour display with the paddle moved by a rotary encoder, against a simple computer opponent. You need STM32 Black Pill (STM32F411CEU6), 1.54 inch TFT (ST7789, 240x240), Rotary encoder module (KY-040) and Breadboard 830 Tie Points.

Level
Intermediate
Time
About 200 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

Play pong with a knob.

How to build it

  1. Wire the display over SPI
  2. Read the encoder
  3. Move the ball and bounce it
  4. Add a simple opponent
  5. Keep the score

Related projects

Common questions

What parts do I need for the black Pill encoder pong?

STM32 Black Pill (STM32F411CEU6), 1.54 inch TFT (ST7789, 240x240), Rotary encoder module (KY-040) and Breadboard 830 Tie Points.

How long does the black Pill encoder pong take to build?

About 200 minutes for a intermediate maker.