Articles, Blog

Windows IoT: Air Hockey Robot

August 28, 2019


This is an air hockey robot prototype built
on top of Windows 10 IoT Core. It demonstrates the flexibility and endless
possibilities of Windows 10 IoT Core and the Universal Windows Platform. We wanted to make something with Windows 10
IoT Core that would inspire you to go out and make something just as amazing or even
better. The system is controlled by a Minnowboard
Max, which processes data from the sensors and camera to command the motors to move a
mallet around the table surface. The robot is made with a variety of laser
cut plastics, 3D printed parts, and modular aluminum extrusion beams. For the mechanical design, you can use guiderails
and linear bearings which allows the mallet to slide along the XY plane. Stepper motors and timing belts allow you
to precisely control the location of the mallet. The motors are hooked into stepper motor controllers,
which are then controlled directly by the Minnowboard Max through GPIO. The Minnowboard is mounted to the side of
the frame, with sensors, motors, and camera connected. In order to detect the puck, we use a special
camera with built in machine vision processing. The camera looks for color blobs, and detects
the bright green puck on the surface of the table. The X and Y coordinates a reported to the
MinnowBoard over an SPI bus. We wrote a Universal Windows app which runs
on the MinnowBoard Max. It processes the information coming from the
sensors and drives the motors to move the mallet. There are four different modes in the app. The first is Game Mode, which configures the
robot to play a game of air hockey against a human player and also keeps track of the
score. It has a basic algorithm designed to try to
block shots that are heading towards the goal and tries to shoot the puck if it sees an
opportunity. Diagnostic mode lets you see what the robot
sees and how it will react to the puck. Test mode lets you simulate puck movement
using a mouse or touchscreen. Mirror mode provides an easy way to test the
motors and the camera tracking simultaneously. It also helps with calibrating the mallet
and puck position. This project is just the beginning. It’s got quite a ways to go before it’ll
win any air hockey tournaments, but that’s where you come in. Build it for yourself, improve the design,
and show us what you can do with Windows 10 IoT Core! Visit us on www.windowsondevices.com to see
this and many other projects. We can’t wait to see what you make!

5 Comments

  • Reply CoolJWB November 3, 2015 at 8:16 pm

    How much does it cost If i have no 3d printer?

  • Reply Roboboit November 18, 2015 at 11:14 pm

    Next do this for ping pong 🙂

  • Reply Pongpan Daengthongdee December 5, 2015 at 5:46 pm

    HY EVERYONE!! GO HERE–> https://www.facebook.com/1664171167164887/photos/a.1664172153831455.1073741828.1664171167164887/1664172127164791/?type=3&pidid=03dce9ec-fe32-487d-a7fe-fb018bf2a532 FOR THE Fun Run 2 CHEAT THAT WORKS! IM USING IT 🙂 Windows IoT: Air Hockey Robot

  • Reply Javier Magán April 13, 2016 at 9:51 pm

    This is an incredible project!

  • Reply Muhammad Ali October 9, 2017 at 8:12 am

    Great project!!

  • Leave a Reply