Air hockey is normally a two-player affair, but not for this student-built robot. The table features a designated human goal with a touchscreen GUI for settings and control. The second goal is guarded by an autonomous striker, attached to a pair of steppers using a drive belt arrangement.
The robotic device analyzes the puck position with an overhead camera and a Raspberry Pi, which passes commands to an Arduino Micro over serial. The Arduino then controls the stepper movements via driver modules, as well as a solenoid to pop the puck out of the robot’s goal on the rare occasion it misses a block.
You can see more on the build in the two videos below!
Air hockey is a classic arcade game consisting of two players, two paddles, a puck, and a low-friction table. But what happens if you don’t have an opponent? If you’re Jose Julio, you build a robotic one out of 3D printer parts.
An updated version of his earlier design from 2014, Julio upgraded the Air Hockey Robot’s original camera and vision system to a smartphone for its eyes and brain. Other components include an Arduino, an ESP8266-based shield, NEMA 17 stepper motors, stepper motor drivers, as well as some belts, bearings, rods, and a few more 3D-printed pieces.
As you can see in Julio’s video below, the robot moves along two different axes with a paddle to cover its half of the table. An Android phone running the Air Hockey Robot EVO app monitors the playing surface, and makes real-time decisions by tracking the puck’s location and predicting its trajectories. It even comes complete with sound effects!
The smartphone’s camera is looking at the playing court. The camera’s captured data is processed in real-time by the smartphone. Detecting the position of the puck and the “pusher robot” (and according to the current location of all the elements on the court), your smartphone makes decisions and commands the robot what to do via Wi-Fi.
Your smartphone will become an augmented reality device, showing predicted trajectories and position of all the objects involved in this game.
Want your own? Julio has made both the instructions and code available to everyone.
Planet Arduino is, or at the moment is wishing to become, an aggregation of public weblogs from around the world written by people who develop, play, think on Arduino platform and his son. The opinions expressed in those weblogs and hence this aggregation are those of the original authors. Entries on this page are owned by their authors. We do not edit, endorse or vouch for the contents of individual posts. For more information about Arduino please visit www.arduino.cc
You are currently browsing the archives for the Air Hockey Robot category.