Air hockey robot

An air hockey robot that sees where the puck is going

We are four engineering students at Queen's University. A phone above our table already follows the puck and predicts its path. Next we are building the robot paddle that uses those predictions to block your shots.

Drag back from the puck and let go to shoot at the robot.

Blocked 0Your goals 0

Forecast of the puck's pathThe four stringsRobot paddle

This table is a simulation of the robot we are building. Its paddle has the same speed limits as our design, and it only reacts after the 50 ms delay we expect from the camera and laptop.

The camera half works today

An iPhone hangs about two metres up, over the middle of the table, and films at 240 frames a second. Our app, PuckCam, finds the puck in every frame and sends its position over Wi‑Fi to a laptop.

The laptop works out how fast the puck is moving and plays the shot forward, bounces off the walls included, to find where it will cross the robot's side of the table.

Real shots on our table. Left, the phone's view with its forecast line. Right, the laptop's map of the same shots.
240
frames a second from the phone camera
211
real shots recorded and replayed to test the forecasts
99.5%
of forecasts made 0.1 seconds ahead landed within one puck widthStraight shots between 0.3 and 3 m/s. After one bounce off a wall it was 98.3%. This is an early check on shots we recorded ourselves. The full tests run once the robot is built.

What happens during one shot

  1. See

    The phone spots the puck 240 times a second and sends each position to the laptop.

  2. Predict

    The laptop plays the shot forward, wall bounces and all, and picks the spot where the paddle should meet it.

Next, a paddle pulled by four strings

Many air hockey robots move the paddle on a frame of rails, so the motors have to drag the rails along with it. Ours ties four strings to the paddle instead. Each string runs to its own motor on the edge of the table, and the motors wind in and let out string together. Only the light paddle moves, so it can speed up quickly and reach anywhere in its half, side to side and forward and back.

Between shots the paddle waits near the faceoff marks, about 30 cm out from its goal, so it has room to meet the puck early.

Our target is to move the paddle 30 cm in under 0.2 seconds.

Top view of the table. Motors sit at the two far corners and halfway along each long side. Four strings run from the motors to the paddle, which waits near the faceoff marks in front of the robot's goal. motor motor motor motor paddle waits here puck your side string

The motors

Four closed‑loop NEMA 23 stepper motor kits from StepperOnline. Each motor has an encoder that checks its position and corrects any missed steps, so the robot keeps track of the paddle even after a hard hit from the puck.

The string idea comes from air hockey robots built by Xander Naumenko and Larry Hui.

Where we are

  1. September 2026

    Chose the project and set up the table.

  2. October 2026

    Wrote our design plan and hung the phone camera over the table.

  3. November 2026

    Tracking at 240 frames a second and the first forecast checks. Chose the four string design for the robot paddle.

  4. January to March 2027

    Build the robot paddle, then tune it against real shots.

  5. March 31, 2027

    Live demo at the Queen's Electrical and Computer Engineering capstone showcase.

Who we are

Alex, Jake, Josh and Ray, Group 26 in ELEC 498, the 4th year capstone design course in Electrical and Computer Engineering at Queen's University in Kingston, Ontario.

Video of the robot playing will go up here once it is built.