Eyes on the prize, Violet. Eyes on the prize!
Get ready to challenge your friends and family to a candy hunt as we bring to you the classic arcade game – the candy claw machine – with the touch of DIY! You can now easily make your own DIY candy claw machine at your home and challenge your mates to a candy battle. Whoever gets the maximum number of candies wins!
The Candy Claw Machine is without fail going to add life to your party!
So, what are you waiting for? Hop right in before all the candies disappear!
|Image||Component||Quantity||Available in Kit|
|Male to Female Jumper Cable 10cm||Few|
|XY-axis Joystick Module||2|
|16 x 2 LCD Display||1|
|12V 5A Power Supply Unit||1|
|Coin Detection Machine||1|
|Aluminum T Slot Rod- 20mm x 20mm||9 meter|
|T Slot 2020 Aluminum Profile L-Shape Interior Inside Corner Connector Joint Bracket||24|
|4mm Allen Bolts of 8mm length||100|
|Acrylic Sheet Clear 3mm 1200mm x 900mm||1|
|Acrylic Sheet Clear 5mm 400mm x 300mm||1|
|Dual Shaft BO Motor||1|
|Micro Servo Motor with Accessories||1|
|8mm to 5mm Flexible Coupler||2|
|Lead Screw Rod 8mm||2|
|8mm Inner Diameter Linear Bearing||8|
|8mm End Shaft Support||8|
|M3 bolts of 8 mm Length||Few|
Step 1: A brief overview of Claw Machine
The working of the claw machine is simple:
- The user can start the game by inserting a coin into the coin machine. After inserting the coin, the user gets 2 min time to control the gripper, catch as many candies and drop them into the left corner from where the user gets the candy out.
- The user can control the gripper open and closed position by moving the joystick left and right and move the gripper up and down, by moving the same joystick up and down. We have used a servo for gripper open and close mechanism and a motor, thread and a pulley to move the gripper up and down.
There is a limit switch on the top of the Gripper which prevents motor motion when gripper comes close to the Motor.
- For the XY movement of the gripper, we have used the lead screw mechanism which is driven by stepper motors. To move the gripper in XY direction, the user uses the other joystick similar to gamepad controllers. There are also limit switches for X and Y directions to prevent any damage.
- The Claw making is decorated with RGB LED, which also tells the user about the time remaining.
- For visual feedback, there is a 16×2 LCD displaying the instructions and the time remaining during the match.
- All the electronics, sensors and actuators used in the project are controlled by evive.
- The frame of the candy claw machine is made using aluminum and acrylic sheet.
Step 2: Building the Frame
- The frame of the claw machine is build using Aluminium T Slot Extrusions to give it strength and stability. You have to cut the following lengths of the 2020 Aluminium Extrusion:
- After cutting the aluminum rods, we will assemble the base and the top of the frame first. For this, we will use 2 360mm rod and 2 400mm rod. Align the rods as shown in the diagram. Using the T Slot 2020 Aluminum Profile L-Shape Bracket mount the rods together.
Now we have two square frames for top and bottom.
- Next, mount the 560mm rods on the corner of the bottom frame as shown in the figure below using T Slot 2020 Aluminum Profile L-Shape Bracket.
- Again mount the top of the frame on the verticle rods using the bracket.
The frame is now ready.
Step 3: Cutting the Acrylic Parts
We will be using Acrylic Sheet for making the Acrylic Parts for various applications in the Claw Machine. We will cut the sheet using laser cutting machines.
- For 5mm parts, we will need a 400mm x 300mm sheet. You can download the files from here: 5mm_Acrylic_White_300mmx400mm
- For 3mm parts, we will need 2 1200mm x 900mm sheet. You can download the files from here: 3mm_Acrylic_White_1200mmx900mm & 3mm_Acrylic_White_1200mmx900mm2
Step 4: Assembling the Gripper Platform
The final gripper platform will look like this:
- First, assemble the pullies acrylic part to make a pulley like this:
- Next, attach the pulleys to each shaft of the BO Motor.
- Take the 2 bearing holders for the motor plate and glue both on the surface of the linear bearing as shown in the figure.
- Mount the bearing assembly just made on the Gripper plate using glue.
- On the opposite side mount the motor using the motor bracket.
- Finally, mount the Lead Screw Nut on the Gripper plate using Nut Holder.
Step 5: Assembling X Axis Movement Channel
- Make for linear bearing holders and attach them to the X Channel Plate as shown in the figure.
- Also, mount the Y Channel Lead Screw Nut Holder on the same side.
- Mount the Stepper Holder for X Channel on the X Channel Plate.
- Mount the Stepper Motor to the holder using M3 Bolts.
- Mount the Flex Coupler on the shaft of the Motor.
- Mount the Lead Screw shaft to the Flex Coupler.
- Mount the 8mm End Shaft Holder on the sides of the Stepper Motor.
- Place the shaft on the End Shaft Holders.
- Slide the Gripper platform as shown in the figure:
- Mount the other two End Shaft Supports on the other end of the X Channel Plate.
- Also Mount the Lead Screw Holder.
Step 6: Assembling the Y Channel on Frame
- Mount the Stepper Motor in the Y Channel Stepper holder and mount it on one of the sides of the top frame as shown in the figure below. Also, mount the flexible coupler on the stepper motor shaft.
- On the same Aluminium Extrusion mount the End Shaft Support on both sides of the Stepper Motor.
- Mount the 8mm rods and the lead screw rod on the End Shaft Support and the flex coupler respectively. Make the end shaft support and stepper motor holder flexible on the Aluminium Extrusion.
- Slide the X Channel Assembly on the rods.
- Mount the End Shaft Supports on the other end of the shaft and the Lead Screw Holder.
Step 7: Assembling the Gripper
Attach thread on the top plate of the gripper and the other end to the pulley as shown in the figure.
Step 8: Mounting Acrylic Enclosure
- Attach the Top Covers First: Front, Back, and Sides using Allen bolts and T slot nuts.
- Attach the Base of the Claw Machine to the bottom of the frame.
- Attach the Front Mid and the Front Bottom Acrylic Parts to the front side of the frame.
- Attach Controller Sides on the Front Bottom Acrylic Part using nut and bolts.
- Attach the Controller Top and the Controller Front on the Controller Side Plate.
- You can now attach the Joystick Modules and the 16×2 Display Module on the Controller Top Plate.
- Mount the Left Middle SIde Plate and the Left Bottom Side Plate on the left side of the Claw Machine.
- Now attach the Barriers on the bottom Plate.
- Mount the Right Middle SIde Plate and the Right Bottom Side Plate on the right side of the Claw Machine.
- Mount the Candy Base Plate above the bottom plates.
Step 9: Mounting the Coin Counting Machine
Mount the Coin Counting Machine on Front Bottom Plate using Nut and Bolts that come with it.
Step 10: Mounting the Limit Switches
For Y-Axis, the Limit Switches are mounted in the X Channel Plate and when X Channel Plate goes near the Frame, the limit switch is pressed and motion stops.
For X-Axis, the Limit Switches are mounted in on the Gripper Plate, and when Gripper Plate goes near the Shaft Support Holders, the limit switch is pressed and motion stops.
Step 11: RGB LED Strip
The RGB LED Strip is mounted on the inner parameter of the top frame using Glue or Double Sided Tape. The wire is extended to reach the Bottom of the Claw Machine.
Step 12: Circuit Diagram
We are using the following components that we have to connect with evive:
- Joystick – 2
- RGB LED Strip
- Motor to Motor Channel 1 of evive
- Servo to Servo Channel 2 of evive
- 5 Limit Switches with Pull Down Configuration
- 2 Stepper Motor
- 2 Stepper Motor Drivers A4988
- 1 1602 LCD Display
- Coin Detecting Machine
- 12V 5A Power Supply
Here is the Fritzing Diagram of the Circuit:
In real the circuit is very dense and messy, hence we used some wire management in the upper part of the claw machine.
Step 13: Code
Following is the final code in Arduino IDE:
Step 14: Conclusion
With this, your DIY Candy Claw Machine is ready. Challenge your friends to a candy grabbing duel and get as many candies as you can!
DIY Claw Machine Circuit Diagram
|Stepper Motor Driver Library||Download|
|5mm Acrylic Cutouts||Download|
|3mm Acrylic Cutouts 1||Download|
|3mm Acrylic Cutouts 2||Download|
DIY Candy Claw Machine
This project will show you how to make your own DIY Candy Claw Machine.
DIY Soccer Playing Mobile Robot
In this project, you will learn how to build a soccer-playing mobile robot, which will be controlled ...
DIY RGB LED Goggles
This project's about making a pair of cool RGB LED goggles with controllable shades that can be turned ...