3D printer air hockey


Air Hockey Robot (a 3D printer hack) – jjrobots

After the last B-ROBOT project, this is what I’ve been doing the last months…really fun…

Check the new and improved version of this AIR HOCKEY ROBOT!

Everything started when I built my 3D printer. First, the posibility to design and build my own parts and second, how could I hack the components of a 3D printer to make something different?  I have seen several interesting projects of robots that paint or manufacture PCBs, etc … but I was looking for something different…  My daughter loves the Air Hockey game and I love robotics so one day an idea was born in my mind… can I construct…??… Mmmmm …. it seemed very complicated and with many unresolved questions (puck detection??, robot speed??), but that is also part of the fun…


  

 


WHAT IS THIS?

Based on the idea of using standard RepRap 3D printer parts : NEMA17 stepper motors, drivers, Arduino Mega, RAMPS, belts , bearings, rods, printed pieces … I started to develop the project. The main advantage of using these parts is that they are cheap and easily available. First I started with the construction of the air hockey table. I chose a medium size (my house is small, ;-)) I wanted something easily transportable but comfortable to play with. The final dimensions are 100x60cm.  I bought some wood boards and wood slats and began to mount the table. First I started to build an airless version but it really lacked the feeling so I decided to make a table with air. I tried different possibilities until I tested a very simple combination with 2 old PC fans that works very well. I made the table holes (it seemed like hard work but it was not so bad) and then I had a fully playable Air Hockey table! Time to play!!

 

 

While I was designing the robot parts, I created two different designs: one H-Bot, and another one with 3 motors. In the end I decided to use the 3 motor design (2 for the Y axis and one for the X axis). After several design iterations of the pieces, and some material changes to minimize the weight and inertia (and thus increase the accelerations of the robot) I got a fairly operational design. One of the most important changes has been the replacement of the X axis rods with carbon tubes ones (from kites) ,which work very well on PLA printed bushings and save a lot of weight.

if you want to print the 3D parts yourself of the NEW Air Hockey Robot EVO: Thingiverse

Everything mounted and …working!

 

HOW TO CREATE ONE?

 

  The code: I started studying the code of Marlin ( typical RepRap firmware) software but I decided to start from scratch, first because I don´t need a gcode interpreter and second because the software of a 3D printer has a motion planning algorithm and this is not the way the Air Hockey robot must work. 3D printers plans movements for smooth paths through all the points. The Air Hockey Robot should move inmediately with every new command canceling the previous one, because what we need is that the robot moves as quickly as possible to the new position.  I began developing the driver for Steppers motors using Arduino interruptions and making the code as efficient as possible. I implemented position, velocity and acceleration control, using an acceleration ramp with a simplified S-profile. The interrupts can generate pulses up to 25Khz which is the maximum speed that I can achieve with the steppers. The position control works at 1 kHz.

 

 

For the puck detection problem I decided to use a computer vision system. Initially I planned to use the CMUCAM5 (Pixy) sensor that fits very well in this project (and I will prepare a version for this sensor in near future), but the camera is not available yet, so I started a new route: Using the PS3 EYE camera with a PC to develop the vision system. I developed the vision system in C language using OpenCV libraries for capturing, threshold, filtering and segmentation.  The system detects the puck (wich must have a special color) and the result is sent to the Arduino by serial port.   The vision system sends information packets containing the position of the puck and the robot in pixels within the image. The camera is running at 60Hz at a resolution of 320×240. Fortunately the camera has very little distortion and I don´t need to implement a lens distortion correction. The software records a video on the PC which is very useful for debugging.

 

 

One of the main problems I’ve had is that the power of the NEMA17 motors is pretty fair for this project and the disadvantage of using stepper motors is that if we lose steps (which can easily happen, for example when the robot hits the puck against the wall) and if we do not take into account the missing steps we lose the position of the robot. To fix this, what I’ve done is to use the vision system to also detect the robot (with a different color) so we can detect when the robot has missed steps and fix it.

What remained was the implementation (in the Arduino) of the trajectory prediction system and the strategy of the robot. Once we have detected the puck in two consecutive frames we can calculate the trajectory (equation of the line through two points, this is school Maths!). The trajectory prediction takes into account that the puck could bounce off a side wall. All these calculations are accessible to the strategy subsystem that decides what the robot will do: defense, defense+attack of prepare a new attack.

 

 

A nice part of this project is that the Strategy subsystem is fully insulated and is very easy for everyone to modify this part and program their own strategy algorithms isolated from the complexities of motor control, vision system and prediction code. The strategy is what makes the robot win or lose!, so we will see Air Hockey robot competitions in the future? Although it may seem a complex project, it´s an affordable and doable project.
Code repository, 3D designs, documentation link: GitHub

(*) The build manual contains high detailed photos of the project

Some other considerations that have been taken into account during  this project (and for the future):

  • The project is reproducible: Easy to get materials, documentation, open source code and open hardware …
  • The robot is removed completely from table with only 6 screws. So it can be removed to play or be transported
  • It’s very easy to adjust the level of the robot, for example to play with children, just turn down the acceleration and maximum speed of the robot (this could be improved in the future)
  • Currently the robot is not able to detect goals but we could improve this in future.
  • In future the robot can self-calibrate the camera by using predefined movement at the beginning (to avoid camera calibration).
  • We could mount two robots per table, one on each side. Competitions between robots?? Compare different strategies in a tournament? …
  • It’s a great and fun project to teach science, specially for childrens:
    • Concepts of Physics: Friction, continuous and uniform motion, rebounds, concepts of position, speed and acceleration
    • Mathematical Concepts: Equation of the line through two points, prediction, XY Cartesian System
    • Robotics: Motors, Machine Vision, Control, Arduino
    • DIY Philosophy: Build your own Air Hockey table
    • Hacking: Using 3D printer parts to build something completely different.

What is the current robot´s skill? Well, now the robot could easily beat a child. An adult with some experience (myself, lol) can still beat the robot, but I am sure that with some more small improvements it is going to be really hard to beat …  The project is fully alive with undergoing improvements, both in code and the robot … all contribution to the project are welcome … 

 


Free STL file Air Hockey Puck・3D print design to download・Cults


Elegoo Mars Test Rook

Free

Minecraft Axolotl

Free

Definitely Not Lego B1 Battle Droid V2

Free

Build Plate Scraper 2.0

Free

Custom ModiBot Collection

Free

AR-15 lower reciever

Free

R2 Through R9 Astromech Droids (not Lego) (Reupload)

Free

ModiBot's Tinkercad Accessories

Free

Best 3D printer files of the Home category

Deactivated

Groot the articulated Planter

€5. 18

Magnetic Pen Case

Free

Movement radius restriction for the dog bowl

Free

Denture box / Funda dental (2 types / no supports needed)

Free

The Fuzzy Christmas Tree

Free

Garden shovel

€2.40

Evolve Floorlamp

€3

Best sellers of the category Home

Trash can with swing lid

€3.20

Dinosaur gluttonous pencil holder

€1.91

Bag stopper

€1

Venus and Aphrodite

€3.60

Egg Cracker

€1. 03

Ghost nazgul the lord of the rings

€2.56 -23% €1.97

Wall shelf “Amanita Fungus”

€2.40

Die Hard Advent Calendar

€6.36

PARROT'S BEAK COAT RACK

€2.04

Wall shelf “Tinder Fungus”

€2.40

Fast-print modular storage drawer system

€5.77

Wolf Coat Rack

€2.20

Candlestick - Arbre de vie

€1.20

Snowman in underwear

€1.95

Notebook

€2. 60

Snowman - Crex

€3.20



Would you like to support Cults?

You like Cults and you want to help us continue the adventure independently? Please note that we are a small team of 3 people, therefore it is very simple to support us to maintain the activity and create future developments. Here are 4 solutions accessible to all:

  • ADVERTISING: Disable your AdBlock banner blocker and click on our banner ads.

  • AFFILIATION: Make your purchases online by clicking on our affiliate links here Amazon.

  • DONATE: If you want, you can make a donation via PayPal.

  • WORD OF MOUTH: Invite your friends to come, discover the platform and the magnificent 3D files shared by the community!

Omsk Polytechnic University applicants were able to see many other interesting experiments and presentations

They had the opportunity to play air hockey with a robot, try treats frozen in liquid nitrogen, and determine the authenticity of their jewelry.

Especially for applicants, the university arranged an annual holiday so that the day of submission of documents would be remembered by future students for the rest of their lives. What else surprised the Polytechnic University?

This is an unusual air hockey game: the opponent is a robot. The device is a graduation project of one of the students, it works with the help of "machine vision".

“With the help of the phone, the coordinates of the puck, the checker itself are analyzed, with the help of the microcontroller under the table, all this is connected, artificial intelligence plays a game with us. With proper lighting and with a good camera, it is very difficult for him to score, , - explained the teacher of the Department of Informatics and Computer Science Alexey Gorshenin .

Here's another thesis - a 3D printer that actually printed itself. All these miracles of science at the Polytechnic University were put up for demonstration to applicants so that on the way to the admissions committee, young people could better understand what they would be taught here. And what will you have to face after graduation.

“Various divisions, various faculties are presented, which show their developments, which talk about their faculty - not only about studies, about extracurricular life. After all, student life is not only desks, lectures and notes, but also a lot of events, this is friendship, these are concerts. And I want such a youth student life to seething within the walls of the technical university”, commented the Vice-Rector for External Relations and Youth Policy of OmSTU Alexandra Kazulina .

The Institute of Design and Technology entices with samples of clothing and fabrics and promises cooperation with famous fashion designers. Advertisers sing of their native humanitarian faculty. Customs officers demonstrate equipment to determine the authenticity of banknotes and precious stones.

Materials scientists offer a fresh look at the industry, which is in demand not only in aviation and mechanical engineering, but also in medicine. Bone is also a material. And the modernized Ilizarov apparatus with an ultrasonic waveguide heals fractures three times faster.

And here is the stand of machine builders: here they promise a new, unique specialty. After training with hands, they will be torn off at any defense plant.

“Many enterprises are already starting to purchase equipment - 3D printers. But so far in our city there is no specialty that can train specialists for this industry. And we took on such a responsibility, we were given two 3D printers to the department, on which we plan to teach students", , - said the assistant of the department "Technology of Mechanical Engineering" Julia Bredgauer .

Petrochemists started experiments with liquid nitrogen. What happens if you dip corn sticks in it? Get an unusual treat.

“Teeth hurt, very, very cold. At the Polytechnic University, almost the entire family actually studied here. Mom, dad, grandmother. I also think that this is one of the best Omsk universities. There are all the directions that I am looking for here,” commented entrant Stepan Ageev .

And this stand is not a reminder of what happens to negligent students, but an invitation to get a second education at the same time. After the abolition of military departments, their function was taken over by military training centers.

You can get targeted training and link your future career with the Ministry of Defense. Or become a sergeant or reserve officer and safely avoid all the "hardships and hardships of military service." In Omsk, only students of the Polytechnic University and SibADI have such an opportunity.

with led backlight - Translation into Russian - examples English

Premium History Favorites

Advertising

Download for Windows It's free

Download our free app

Advertising

Advertising

No ads with Premium

English

Arabic German English Spanish French Hebrew Italian Japanese Dutch Polish Portuguese Romanian Russian Swedish Turkish Ukrainian Chinese

Russian

Synonyms Arabic German English Spanish French Hebrew Italian Japanese Dutch Polish Portuguese Romanian Russian Swedish Turkish Ukrainian Chinese Ukrainian

These examples may contain rude words based on your search.

These examples may contain colloquial words based on your search.

with LED light

Let us open and look at the wonderful clean anti-glare screen with LED backlight .

Let's open and see the wonderful clean anti-glare screen with LED light .

In addition, with LED backlight can create an interesting design of the ceiling surface.

In addition, with LED lighting can create an interesting ceiling surface design.

This highly efficient screen with a diagonal of 33.3 cm (13.1 ) with LED backlight provides the brightness, sharpness and contrast.

This high-performance 3.3 cm (13.1 in) screen with LED backlight delivers brightness, clarity and contrast.

In fact, LED type matrices are also considered liquid crystal, however, as mentioned earlier, with LED backlight .

In fact, LED-type matrices are also considered liquid crystal, however, as mentioned earlier, with LED light .

South Korean company LG Electronics announced the launch of a new series of notebooks under the title WIDEBOOK, where each model will be equipped with a widescreen (16:9) HD monitor with LED backlight and Intel Core 2 Duo.

The South Korean company LG Electronics announced the release of a new series of laptops under the general name WIDEBOOK, where each model will be equipped with a widescreen (16:9) HD monitor with LED backlight and Intel Core 2 Duo...

Other noteworthy products being exhibited at this year's SID include a 24 LCD monitor panel with LED backlight , with room for two A4 pages side to side and two more inches for the Windows Vista sidebar panel.

Other products showcased at SID this year include 24 LCD Monitor 9The LED-backlit 0083 , which fits two A4 pages side by side with a couple of inches of room left on the Windows Vista sidebar.

2 washers for air hockey with LED backlight (keep the charge without interruption for about 7 hours, work from a lithium battery CR2016 3B)

1 air hockey puck with LED light (keeps charged for about 7 hours without interruption, powered by CR2016 3V lithium battery)

In addition, Sony is not going to stop investing in development of OLED displays, although a priority for the Japanese corporation was listed today on the issue of energy-efficient LCD TVs with LED backlight , as well as the production of 3D TV.

In addition, Sony is not going to stop investing in the development of OLED displays, although the release of energy-efficient LCD TVs is among the priorities for the Japanese corporation today. 0083 with LED backlight , as well as the production of 3D TVs.

Notebook X-Series displays are equipped with LED backlight and a diagonal of 11.6 inches for models X120, 14.2 a X420 inches and 15.6 inches at the X520.

The X-series notebooks are equipped with the LED-backlit displays, which are 11.6 inches for the X120, 14.2 inches for the X420 and 15.6 inches for the X520.

In particular, it will present the first Russian chocolate 3D printer, the world's first 3D printed Bashkir national costume, 3D printed high-quality model of building with LED backlight , consumables for 3D printers and 3D pens and many other less interesting things.

In particular, the first Russian chocolate 3D printer, the world's first 3D printed national Bashkir costume, a high-quality model of the building 9 will be presented here. 0083 with LED light 3D printed, consumables for 3D printers and 3D pens and many other equally interesting things.

If there is no desire to carry out major changes and save the original appearance, you can Supplement it with led backlight , and the skillful use of which can improve the readability and is not distracting from the road of light.

If there is no desire to carry out drastic changes and preserve the original appearance, you can supplement it LED backlight , with the skillful use of which, you can achieve improved readability of the readings, and not distracting light from the road.

An LCD with LED backlight technology may produce a brighter picture and more color.

liquid crystal display with LED backlight can provide more brightness and color display.

Ford F150 pickup version of the year 2015 was equipped with LED backlight because this type of lighting became a very popular analog of the manufacturer.

The 2015 Ford F-150 pickup truck was equipped with LED backlighting, as this type of lighting has become very popular with analog car manufacturers.

7.5-inch display laptop XO-1.5 can operate in two modes: reflective with support for multiple shades of gray (for use outside the premises under the bright sun), and color with LED backlight (for use indoors).

The XO-1.5's 7.5-inch display can operate in two different modes: multi-grayscale reflective (for outdoor use in bright sunlight) and color with LED backlight (for indoor use).

They house a built-in, high-sensitivity GPS and GLONASS antenna. quatix 3 also has a unique sunlight-visible, high-resolution color Garmin Chroma Display with LED backlight , which lets you access your data in any light.

The device includes a built-in highly sensitive antenna for receiving GPS and GLONASS signals. In addition, the quatix3 features Garmin's unique high-resolution color display, the 's excellent display even in sunlight , and the 's LED backlight for nighttime operation.

DRC-4CPN Color NTSC Camera with LED backlight , surface mounted, dimensions 50x118x25mm, 4 wire connection

DRC-4CPN NTSC color camera, LED backlight , surface mounted, 4 wires, dimensions 50x118x25mm

Samsung states that their 40, 46, 52 and 57 inch televisions with LED backlight technology consume up to 30 percent less energy.

Samsung claims that its 40, 46, 52, and 57-inch TVs with LED backlights consume 30 percent less power.

Floating fountains with LED backlight are more in demand in the "private sector", which is not surprising: a light device looks extremely impressive.

But the floating fountains with LED backlight , which quickly became popular, are more in demand in the “private sector”, which is not surprising: such a lighting device looks extremely impressive.

DRC-4BPN B/W B&W Camera with LED backlight , surface mounted, dimensions 50x118x52mm, 4 wire connection

DRC-4BPN B/W Black/white camera, surface mounted, dimensions 50x118x52mm, LED backlight

Speakerphones IP phones - Video speakerphones - DRC-4CGN2 BROWN Color camera with LED backlight surface mounted metal housing dim.x120x17mm

Intercoms IP intercoms - Video intercoms - DRC-4CGN2 BROWN

Possibly inappropriate content

Examples are used only to help you translate the word or expression searched in various contexts.


Learn more