Using SparkFun’s micro:bot kit and their gamer:bit breakout board, I programmed the micro:bot to be controlled by a second micro:bit microcontroller. The two micro:bits transfer data packets over low-energy Bluetooth antennae. The micro:bot can also be programmed to follow a line using its three line sensors and has the capability to control a couple of servos that come with the kit.
The SparkFun moto:bit, also in the kit, breaks out the 21 pins on the micro:bit and sets it up to control DC motors and servos. Additional power is provided through a barrel power jack and four AA batteries nicely secured on the lower level of the micro:bot. The entire bot takes about 30 minutes to assemble. Programming it can take as long as you want…
A moto:bit package can be added to Microsoft’s MakeCode micro:bit code editor. I used this package to control the micro:bot’s motors. If you have the gamer:bit, micro:bot, and a couple of micro:bits lying around, feel free to download my program to start driving your bot. It uses the gamer:bit and moto:bit packages.
Comments