Guide

1/22/2018 micro:bot Kit Experiment Guide - learn.sparkfun.com
https://learn.sparkfun.com/tutorials/microbot-kit-experiment-guide/all#about-the-motobit-board 75/75
When your code is loaded onto your micro:bit the servo “arms” will move into a starting position and take initial
readings for your line sensors to establish a comparison point to the ground environment.
Initially, the Battle Bot will move forward if none of the line sensors detect any kind of obstacle. If the center line
sensor detects a direct collision the Battle Bot will immediately start both servos and move backwards. If the left or
right line sensors detect an obstacle, the side that detected the obstacle will have the corresponding jousting lance
start to move while turning away from it. So your Battle Bot is prepared to defend itself from any oncoming situation!
Go Further: Design and program a path for your robot to follow with a line sensor and figure out a creative way
for it to know when to drop something at a specific location. Could you also program it to pick something up?
Troubleshooting
Servo moves in the wrong direction - Flip your servos, or change your code so that it rotates the correct
direction.
Servo doesn’t move at all! - Double check your connections of the servos to the moto:bit to make sure that
they are hooked up correctly.