I've been shopping around for claw machines for a bit, but they always struck me as a bit pricey. The claw itself can be purchased for around $30 on Amazon, so I decided to figure out how cheaply I could produce the rest. An RP2040 will be the brain, and a small website will allow for play from a cell phone.
Components
1×
Crane Machine Claw
Purchased on Amazon, minimal product specs are available. Appears to close when 12V or more of power is applied.
1×
Raspberry Pi Pico W
1×
1/2" EMT Conduit
This was the cheapest rigid framework I could find at the hardware store.
1×
5V Relay Board
Will allow the Raspberry Pi to open and close the claw
2×
DRV8833 Motor Drivers
To connect DC motors to the Raspberry Pi
This is my first time trying to build anything electronic in a long time, so I've got a refresher/learning curve ahead of me. Over a decade ago my roommate and I started building an underwater ROV with an early Arduino board, and I gotta say, the tools have become much more accessible than I remember. The Raspberry Pi Pico W is ridiculously cheap for what it can do, and I hear rumors the ESP32 is even cheaper.
So far I've:
Installed the Arduino IDE and run a small webserver on the Pico W
Controlled a single DC motor using the DRV8833 motor driver and power from the Pico
Salvaged a computer PSU for 12V to open and close the claw