Arduino Controlled Ping Pong Balls Launcher

by XicoMBD in Circuits > Robots

58778 Views, 72 Favorites, 0 Comments

Arduino Controlled Ping Pong Balls Launcher

IMG_3539.JPG
IMG_3540.JPG
IMG_3541.JPG
WP_000268.jpg

Hi everyone!

This is a ping pong balls launcher designed to be controlled by an arduino.

It uses a servo to dispense the balls and two motors with wheels to give speed and shoot them.

All the pieces can be printed using an 3D printed and the base can be done using a CNC or a laser cutter. You can find all the files attached or on its Thingiverse page: http://www.thingiverse.com/thing:29670

My parts and everything I needed to make this project were provided by Artica. Thanks guys!


Here you can see it mounted on a Magabot and shooting a Farrusco, being controlled through Skype using an hacked steering wheel:



On this second video you can see it being controlled using a kinect at the Let's Make Robots! table on Campus Party Europe in Berlin:



PS: I got inspired by this project: http://colvins.ca/?p=170 
Have a look!

Gather the Pieces

WP_000151.jpg
I will divide the necessary parts in two groups: the ones that are 3D printed or cut and the othrs you have to buy.

Fabricated parts:
  • Main Body
  • Servo Support
  • Two wheels
  • Two motor supports
  • PVC Base
Other parts:
  • Servo
  • Two motors
  • Two o-rings 
  • Bolts
  • Arduino and motor controller
  • Ping Pong Balls!

If you want to have a look and/or modify the model, you can have a look at the 123D project: http://www.123dapp.com/123D-3D-Model/Ping-Pong-Balls-Launcher/817345

Mount the Servo Support

WP_000158.jpg
WP_000161.jpg
Just use the two bolts to attach it to the main body.

Add the Servo

WP_000171.jpg
WP_000178.jpg
WP_000175.jpg
WP_000176.jpg
Attach the servo to the support using two screws. If you want, a zip tie will reinforce it.

To dispense the balls correctly you may need to cut your servo horn as you can see on the picture.

Attach the Motor Supports to the Base

WP_000169.jpg
WP_000207.jpg
WP_000211.jpg
Just screw them to the base and insert the motors on their place.

Tip: To keep your wires tide you can use a drill to twist them.

Mount the Wheels

WP_000180.jpg
WP_000185.jpg
Simply place the o-rings on the two wheels.

Mount the Main Body on the Base and Attach the Wheels to the Motors

WP_000188.jpg
Force the wheels onto the motors' shafts and make sure they are well placed.

Use the four screws to mount the main body on the base.

Add an PVC Pipe to Be Able to Store More Balls

WP_000189.jpg
If you want to be able to shoot more than two balls at a time you can add a PVC pipe on its top.

Second Part - Tilt Control

WP_000215.jpg
This second part is kind of optional but I recommend you to do it.
It lets you control the tilt of the cannon.

Gather the parts. As previously, I will divide the necessary parts in two groups again.

Fabricated parts:
  • Two Servo Supports
  • Servo extender
  • PVC Base
Other parts:
  • Servo
  • Two hinges
  • Bolts and spacers

Add the Hinges and Supports

WP_000219.jpg
WP_000227.jpg
Just put them on its place ;)

Add the Servo

WP_000228.jpg
WP_000236.jpg
WP_000241.jpg
Use the screws to attach the supports and then mount the servo there.

In order to let the servo lift more the launcher you may use an extender as the one you can see on the photo.

Attach It to the Rest of the Launcher

WP_000237.jpg
WP_000238.jpg
Use nuts and bolts to attach the launcher to the two hinges.

Connect It to an Arduino

Connection_bb.png
Connection_Esquema.png
To control this device using an arduino you need two digital ports for the servos and other two for the motors.

You can use 4 ports, 2 for each motor, but how it is only needed to have the motors spining in one direction I decided to simply connect the other two to ground.

On the picture you can see the schematics and the arduino code is attached, use any motor driver you want.

Have Fun!

WP_000268.jpg
These are just two examples of want you can do with this. Open your imagination!