The AsimUFF Mini-Sumo Robot's source code and documentation, developed at UFF, are housed in this repository. Equipped with advanced sensors and motors, it's crafted for competing in mini-sumo tournaments.
- 2 x DRV8833 H-Bridge Motor Drivers (one for each motor)
- 2 x N20 Micro Motors
- 3 x QRE1113 Line Sensors
- 5 x JS40F Distance Sensors
- Microstart
- 4-position DIP Switch
- Arduino Micro
-
tests
: Contains test scripts to verify the functionality of individual components.constants.h
: Header file with constants used in test scripts.tests.ino
: Arduino sketch for running component tests.
-
minisumo
: Main directory for the robot's operational code.constants.h
: Header file with constants used across multiple modules.minisumo.ino
: Main Arduino sketch for the robot's operation.motors.cpp
&motors.h
: Control logic for the motors.sensors.cpp
&sensors.h
: Integration and management of sensor data.strategies.cpp
&strategies.h
: Decision-making algorithms for competition.
To set up and run the Mini-Sumo Robot, follow these steps:
- Ensure all components are correctly wired according to PINS.
- Install the Arduino IDE from the official website.
- Clone this repository to your local machine.
- Open the
minisumo.ino
file with the Arduino IDE. - Compile and upload the sketch to your Arduino Micro.
Before competing, it's essential to test each component and functionality of the robot:
- Navigate to the
tests
directory. - Open and upload the
tests.ino
sketch to the Arduino.
- Special thanks to everyone who has contributed to the project.
- This project was inspired by Sumo Boy Channel and MinervaBots.