top of page

Ping Pong Ball Launcher

I built a contraption that can launch a ping pong ball a set distance from 3-23 inches. A flat arm attached to a DC motor is programmed to rotate 180° and back when button D35 is pressed to hit the ball at an adjustable speed. I used SolidWorks to make the flat arm, a part to keep the ball in place before it is hit, and a holder for the DC motor. My contraption is built on an extremely tall platform to increase the range at which the ball can be launched. I used a bandsaw to cut the cardboard tubes and the slabs of wood to my desired lengths for the platform.​​​

​

For my demonstration, a cup was placed at a certain distance (20 inches) within the range of my contraption. The goal was to get the ball into/hit the cup. I adjusted the speed of the motor in order to control the distance the ball traveled. My code can be accessed here.

Main Micropython Skills Used:
  1. PWM motor speed control

  2. Encoder position reading

  3. Debugging and error analysis

This project required a good amount of troubleshooting, as my DC motor had a lower speed capacity than I expected and also seemed to be overshooting 180° at higher speeds on the way back to its original position. I initially was not intending to create such a high platform, but did so because the ball was not being hit with enough velocity to travel a significant enough distance. However, after testing the contraption, I was able to accurately and consistently control the distance in which the ball traveled by adjusting the motor speed accordingly.

IMG_8996.HEIC
Motor Holder CAD:
Screenshot 2025-10-21 at 12.00.37 AM.png
Screenshot 2025-10-21 at 12.01.20 AM.png
Ball Holder CAD:
Screenshot 2025-10-20 at 11.57.52 PM.png
Flat Arm CAD:
Screenshot 2025-10-20 at 11.58.25 PM.png
bottom of page