top of page
Step 2: Programming
Programming The Simple SumoBot:
OLDER LEGO® MINDSTORMS® Education EV3
Use these instructional videos if you have an older Chromebook or iPad that cannot run the new EV3 classroom App. Watch each video and follow their instructions and you will be able to do the following:
-
Connect your device to the Simple SumoBot.
-
Check all motors and sensors.
-
Write the program necessary for your Simple SumoBot to battle an opponent.
-
Run the program directly using the robot buttons.
Link for Chromebook App: LEGO® MINDSTORMS® Education EV3
Link for iPad App: LEGO® MINDSTORMS® Education EV3
STEP 1: Connect Robot to Chromebook
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.
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.
STEP 7: Run Program from Robot
bottom of page