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 67/75
If you tap the robot hard enough it will run / drive away from you. If you flip it over the motors will turn off. Same thing
holds true if you place it on its tail with the micro:bit pointing up.
Try playing around with the different events that you can trigger with the accelerometer. Can you get it to detect
bumping into an object like the wall and have it respond???
What You Should See
Once your code is loaded to your micro:bit and your motor switch is set to “RUN MOTORS.” Your robot should not do
anything at first. Give it a good tap / smack on top of the micro:bit. If you apply enough force to it your robot should
run away. To stop your robot either flip the robot over to its back the motors should stop, or pick it up and set the robot
on end with it sitting on its tail with the micro:bit logo pointing up. To run the program again, return the robot to its
wheels right side up and smack it again.
Go Further: You can use the idea of detecting a bump in different ways. Try to write a program that giving your
robot a nudge or tap starts it to drive forward for a bit, then you need to nudge it again a bit.
Troubleshooting
Robot Doesn’t Move - Double check to make sure you have uploaded the new code to your board. Also,
make sure your motor switch is set to the “RUN MOTORS” position.
Experiment 5: Controlling a Servo - Battle Bot
Introduction
Your robot should do something more than just drive around! Maybe control a small robotic arm, a gripper or even a
weapon (see the bonus experiment if this peaks your interest!) of some kind. In this experiment you will integrate
servo motors with your robot to build a Battle Bot with Jousting Lances. This experiment combines all the elements
you’ve learned so far in this tutorial.
Parts Needed
1x micro:bit board (Not Included)
1x moto:bit carrier board
2x wheels
1x assembled shadow chassis
2x Hobby Gear Motors
2x Hobby servos
1x 4xAA Battery Holder
4x AA Batteries (Not Included)