[Legacy Content] This page contains very old information, which might not be valid anymore, they are only kept here for legacy purposes.
if you have any inquiries, feel free to contact me! Click here

Sumo Robot Development

Created: Thursday, 05 December 2013 Written by Ehab Eldeeb

Introduction

Sumo Robot is not a new technology, this thing has been held in many countries a few years ago..

[In Planet Japan, it occurred in 2006]

 

But we will be involved in a sumo-robot competition this semester during the course "Experimental Methods" in AAST

And that's the challenge, it's my first time to hold a PCB and an Arduino Chip!

 

After the Competition

After the competition, I will release my source code here on this website..

It will be written in both C and LabView

The C Code will be applied during the competition, and the LabView code will be just for the instructor..

In my opinion, LabView is just for testing sensors and stuff (inputs and outputs)

 

Coding Arduino with C

Writing a C-Code and uploading it to the Arduino is relatively easy..

Check this page for the "Language Reference": http://arduino.cc/en/Reference/HomePage

You can use these built-in functions to achieve the desired job.

 

Coding Tips

using enum to enumerate pins is a perfect way for not mixing up pin numbers

enum pinNumbers {mypin1, mypin2, mypin3.......} ;

 

also using for loop for defining pin modes abstracts the code

for(int i = START PIN; i <= END PIN; i++) pinMode(i, OUTPUT);

 

Demonstration Video

This video shows what a Sumo Robot is..

 

This video is since 2006 .. And we are doing it in 2013 .. Yet it's still a challenge for me :)

 

 

My Sumo Robot Source Code

It will be released in 3 weeks from now :)