top of page

Programming The Simple SumoBot:
NEW LEGO® EV3 Classroom App

Use these instructional videos if you have a device (Mac/PC/Chromebook/iPad/Tablet) that can run the new EV3 classroom App. Watch each video and follow their instructions and you will be able to do the following:

  1. Connect your device to the Simple SumoBot.

  2. Check all motors and sensors.

  3. Write the program necessary for your Simple SumoBot to battle an opponent. 

  4. Run the program directly using the Robot's buttons.

 

Link for EV3 Classroom AppLEGO® EV3 Classroom App

STEP 1: Connect Device to SumoBot

STEP 2: Check Motors

STEP 3: Check Color Sensors

STEP 4: Check Ultrasonic Sensor

STEP 5: Program Starting Code

See diagram below: The starting code has three steps. The robot first waits 4 seconds, then moves to the end of the table and finally reverses and turns to face the opponent.

Simple SumoBot - Logic of the STARTING C

STEP 6: Program Main Code

See diagram below: The main code has a forever loop that runs through three if-then switches. The first checks the left color sensor and moves back and turns if it sees black. The second checks the right color sensor and moves back and turns if it sees black. The third checks the ultrasonic sensor and charges 100% power if it sees the enemy. Regular movement is  forward at 50% power. 

Simple SumoBot - Logic of the MAIN CODE.

STEP 7: Run Program from Robot

bottom of page