Lexx WalkerBen Justicebuckaroodle610
Published

Team Kiwi's Unconventional Sumo Bot Controller

Final Unconventional Sumo Bot Controller UCF-Spring 2025-DIG3602C-Davis TEAM KIWI”

IntermediateShowcase (no instructions)6 hours19
Team Kiwi's Unconventional Sumo Bot Controller

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
Alligator Clips
Alligator Clips
×4
Breadboard (generic)
Breadboard (generic)
×1
Resistor 1M ohm
Resistor 1M ohm
×4
Balsa Wood
×1
Aluminum Foil
×1
Steel Marble
×1
HC-05 Bluetooth Module
HC-05 Bluetooth Module
×1
Sumo Robot
×1
Solder Wire
Make sure this is a high enough guage to be manipulated.
×1

Hand tools and fabrication machines

Hot glue gun (generic)
Hot glue gun (generic)
X-acto Knife

Story

Read more

Schematics

Arduino Schematic

Code

Arduino Code

Arduino
This is for the controller's board.
#include <CapacitiveSensor.h>
#include <SoftwareSerial.h>

SoftwareSerial mySerial(3, 2); // The bluetooth module connects to these pins on your Arduino (TX, RX)

CapacitiveSensor capSensor1 = CapacitiveSensor(8, 12);
CapacitiveSensor capSensor2 = CapacitiveSensor(6, 10);
CapacitiveSensor capSensor3 = CapacitiveSensor(5, 9);
CapacitiveSensor capSensor4 = CapacitiveSensor(7, 11);

int threshold = 1000;

  void setup() {
  Serial.begin(9600);
  mySerial.begin(38400);
}

void loop() {


  long sensorValue1 = capSensor1.capacitiveSensor(30); 
  long sensorValue2 = capSensor2.capacitiveSensor(30); 
  long sensorValue3 = capSensor3.capacitiveSensor(30); 
  long sensorValue4 = capSensor4.capacitiveSensor(30); 

  int i = 0;

  if (sensorValue1 > threshold) { 
    do
    {
     mySerial.write("F");
    i++;
    } while (i < 500);
  }
  if (sensorValue2 > threshold) {
    do
    {
     mySerial.write("B");
    i++;
    } while (i < 500);
  }

  if (sensorValue3 > threshold) {
    do
    {
     mySerial.write("L");
    i++;
    } while (i < 500);
  }

  if (sensorValue4 > threshold) {
    do
    {
     mySerial.write("R");
    i++;
    } while (i < 500);
  }
}

Credits

Lexx Walker
2 projects • 0 followers
Ben Justice
1 project • 0 followers
buckaroodle610
2 projects • 0 followers

Comments