Thumbnail

How to make Robot to Play ROCK PAPER SCISSOR using Arduino

Introduction,

I was getting bored in the quarantine due to the pandemic of COVID-19. So I decided to make a robot to play Rock Paper scissors with myself. It uses an arduino as a micro controller. So without any further a do, Lets get started!

Materials & supplies

Part List:

  1. Arduino
  2. Servo Motor
  3. Resistors
  4. LEDs
  5. Switch

Tools:

  1. Soldering Iron
  2. Solder wire
  3. Helping Hands

Schematic and Code,

STL file for 3D printing,

If you guys are interested you can purchase the STL file for 3D printing from here, It will help and Support My Work!

Step 1: Understanding how to detect Hand Gesture

Before we start making our robot. First we need something to detect the hand gesture or motion. For that I could have used and Raspberry pi and build some kind of machine learning algorithm, and would have made my life difficult. But I am a lazy person so I decided to go an easy way and used an Arduino for simplicity.

Next up for detecting the hand gestures, I used an super simple IR sensor. When the sensor detect something in front of it. It pulls the Out put low, By default output is high.

Step 2: Making the arm structure.

Rock-paper-Scissor-3

Now arduino doesn’t have arms like human, So I used an tiny servo motor generally used in RC planes. These motors are designed for such application later we will stick a bamboo stick with hand gestures printed on them.

Step 3: Making the enclosure

STL for Rock Paper Scissor

Now project is almost complete but honestly it looks kind of a mess. So i decided to 3D print this awesome enclosure for it. I designed the case using Autodesk Fusion 360

Step 4: Finalizing

Once 3D print was complete it was time to assemble everything. And upload the code provided above. After that Enjoy the ROCK PAPER SCISSORS game.

If you enjoyed this game you might also like our RGB Shoes – https://nematicslab.com/motion-triggered-neopixel-rgb-shoes/

Leave a Comment