What is the Sumo Robot and what's its purpose?
The Sumo Robot is an autonomous robot that will allow you to push your opponent (presumably another sumo robot) out of the battle ring.
What is so special about this robot?
This robot uses two DC motors to propel it forward and seven IR sensors in the back of the main board to figure out where the edge of the arena is. This way, the robot will not overstep its boundaries unless it's being pushed out.
Do I need anything to build this robot?
The Sumo Robot in this tutorial requires the purchase of the Rokit Smart kit from Robolink. The kit can be purchased through Amazon (http://www.amazon.com/gp/product/B0165RZJPW?keywords=rokit%20smart&qid=1444430682&ref_=sr_1_5&sr=8-5).
LET'S GET STARTED!
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Download and Install the Arduino IDE
Before we get to the fun part, we first need to download and install the Arduino IDE.
The Arduino Integrated Development Environment (IDE) will allow you to edit and download C code onto your Rokit Smart main board.
Download links for the Arduino 1.6.5 Software:
Step 2: Setting Up the Arduino IDE to Work With Rokit Smart
1. Download the necessary file here (updated 6/17/15).
2. Unzip the compressed file named "rokitarduinov104".
3. Run the Arduino IDE, and click the “File” tab and go to “Preferences”
4. Click the ‘Browse’ button to locate and select the folder where you unzipped the file "rokitarduinov104".
5. Exit out of the Arduino IDE, then reopen it.
6. Click on the “Tools” tab to select the version of the main board you are using. The main board may have a green sticker indicating that you have the version 2 board. If the green sticker is missing, you have a version 1 board. Select either Rokit-SmartInventor-mega32_V1 or Rokit-SmartInventor-mega32_V2.
Step 3: Setting Up the Inventor USB Driver
a. Connect the USB cable to your computer and the Rokit Smart main board.
b. Download the USB driver that is suitable for your operating system:here
(Click on "Download VCP" after you have located the appropriate download for your operating system.)
c. Unzip the downloaded file, and open/run the appropriate VCP Installation Driver corresponding to your CPU Architecture either the 64-bit or the 86-bit.
(Note: when installing the driver please make sure that your computer is connected to the Arduino Controller).
d. After installation: open the “Device Manager” and click on the Ports (COM& LPT) tab. Then note the COM port number. The COM port number should match the COM port listed in Arduino IDE’s Tools, Serial Port.
e. Select the port number that matches the one in your device manager.
Step 4: Arduino Sketch Test
1. Use the USB cable to connect the SmartInventor Board to your computer.
2. Then place "Dipswitch 1" in the "ON" position (the up position) and press the black button below the dipswitches, which should prompt the blue light to flash.
3. Run the Arduino IDE.
4. Go to the Tools tab and look at the Board option, and make sure the board name (either Rokit-SmartInventor-mega32_V1 or Rokit-SmartInventor-mega32_V2) matches the name of your physical board. If you don’t find the SmartInventor, refer to the “Step3: Setting Up the Arduino IDE to Work with Rokit Smart."
5. Verify that the upload worked correctly by clicking on the File tab -> Examples -> Communication -> ASCII table. This should prompt a sample ASCII table code.The following example ASCII code table is a program that outputs the serial monitor (Tools tab -> Serial Monitor)window.
6. Click the OK button, to compile the program. The code should compile normally, unless there is an error in the code.
7. Click the UPLOAD button to upload the program to the controller.As soon as the upload is complete, click the SERIAL MONITOR button to bring up the Serial Monitor window.
8. Place "Dipswitch 1" in the "OFF" position, and the program will run. If this is done correctly the ASCII table’s code will display various characters on the serial monitor.
Step 5: It's Building Time!
Follow the instructions in the picture to construct your robot.
Step 17: Coding Time!!!
Watch the video and have fun coding!