Close
0%
0%

MicroPong

Pong that fits nicely on a penny.

Similar projects worth following
The goal of this project was to see how small of a form factor pong could be crammed into and still be considered playable. This project uses a custom PCB with a STM32L0 microcontroller, an accelerometer for tilt controls of the paddle, a 0.42" OLED, and a very small 30 mAh lipo battery.

The PCB was designed in KiCad and the associated PCB design files can be found below.
The firmware was written in STM32CubeIDE and its project files can also be found below.

While the hardware is fully functional, there is still significant work to be done on the firmware side of things. The attached STM32CubeIDE project is mostly spaghetti code written in a mad dash to get this project done before the TinyGames deadline.

MicroPong Schematic.png

Portable Network Graphics (PNG) - 153.79 kB - 09/10/2024 at 06:23

Preview

PCB Fab.zip

x-zip-compressed - 383.54 kB - 09/10/2024 at 06:23

Download

MicroPong.zip

x-zip-compressed - 4.62 MB - 09/10/2024 at 06:22

Download

Enjoy this project?

Share

Discussions

senily64dx wrote 09/10/2024 at 20:55 point

About 14 years ago I set upon making the smallest PONG arcade in the world, after scavenging a tiny 5x1 HD44780 display from a server I found in e-waste. Unfortunately that display put up a fight and got cracked. It still worked, so I pushed on. When I had everything finished, it failed...

(and even if I ever stumbled across another one of those displays, your project easily beats mine size-wise, being a little under half the size)


Long story short - instead of using potentiometers to control the paddles, I measured skin resistance and developed some kind of windowing algorithm to always keep the input ranges within a window for the paddle movement.

Maybe that helps you on designing inputs for this thing. Just put two traces on either side of the display for the players to press their fingers against, measure resistance, perform some averaging and use that to control the paddles.

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates