Make a claw machine that plays fair with Arduino. via instructables
The claw machine functions just like traditional claw machines in arcades, except my machine gives you more control and fairness. The game is based on a timer (there is an LCD indicating how much time is left) which is set to 55 seconds. Insert a quarter (can be set to free-play), and press start. You have 55 seconds to move and position the claw, grab a prize, return it to the “prize chute” and go for more. Once time runs out the claw closes, the gantry moves back to the ‘home position’ and the claw then opens dropping anything it might be carrying. Unlike the traditional Arcade claw machines, my DIY version gives you full control over this claw in the X,Y,Z axis and the claw grip itself. The only restriction is time. Personally, the game is more fun since it’s based less on one-time spatial judgment and more about motor skills and planning the best route for multiple prizes.
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.