Introduction: Rock'em Sock'em Robot
This instructable was created in fulfillment of the project requirement of the Makecourse at the University of South Florida (www.makecourse.com)
I made this project because I used to play Rock'em Sock'em Robots, and I thought it'd be cool to recreate it.
Step 1: Step 1: the Code
I programmed two servo motors to react to certain buttons on an IR remote. These servo motors will later power the arms for the robot.
The code starts off with libraries for the IR sensor and the servo motor, followed by telling the Arduino to activate the motors based on the signal received from the IR sensor.
The void setup consists of defining the servo motors to their respective pins.
The void loop consists of the various actions the motors will undergo based on the signal received.
Step 2: Step 2: Draw the Parts
Now that the code is done, it's time to draw the parts. Once they're drawn, they'll have to be saved as .STL files and taken to the 3D Printing Lab.
Step 3: Step 3: Assemble the Electrical System
Hook up two servo motors, an IR sensor, and a 10K Ω resistor to the breadboard and Arduino.
A signal is sent from an IR remote and received by the sensor. The sensor sends the signal to the Arduino, which determines which servo motor rotates. The servo motor will be controlling the arms of the Rock'em Sock'em Robot.
Step 4: Step 4: Assembly
Now that your parts have been printed and the electrical system is done, it is time to put everything together. First, take off any excess plastics preventing any parts from being put together. I found it easiest to use a Dremel for this process. Then secure the servo motors within the upper body of the robot, and then seal it shut with the back plate (all of the fastening that I used was hot glue). Then fasten the legs, lower torso, upper torso, and arms into place. Finally slide the head into place, and that will conclude the assembly of your Rock'em Sock'em Robot.