Micro:Bot Driving and Turning EHMS

by Osasenaga in Circuits > Microsoft

238 Views, 0 Favorites, 0 Comments

Micro:Bot Driving and Turning EHMS

micro-bot_Kit_Tutorial_update-12.jpg

Today we are going to work on making your robot drive and turn.

Supplies

13302-01b.jpg
microBot-08.jpg
microBot-1_10.jpg

The yellow looking object is a Motor, A Motors take electrical energy and turn it into mechanical energy through putting a current through a coil of wire that creates a magnetic field. This then interacts with magnets in the motor, causing a push / pull effect. If you do that in a proper spacing and timing, then you can spin a shaft.

You put them on the Bottom Chassis plate (A) and use a Front Motor Mount (C) And a Rear Motor Mount (D), then install wheels/ tires.

Robot Looks Like

micro-bot_Kit_Tutorial_update-05-annotated-2.jpg
micro-bot_Kit_Tutorial_update-04.jpg

You should have a robot that looks like those picture on top after putting all the parts together.

Coding

maxresdefault.jpg
Screen_Shot_2017-06-27_at_7.39.40_AM.png
MicroBit_SparkFun_Extensions.jpg
microbit_microbot_pxt_makecode_driving_motors_screenshot.png

Go to Micro:bit and name it Driving And Turning then click on Extensions and on the search place search sparkfun or moto:bit and click moto bit and copy the code.

Uploading

pKpCerHydibIPNoxrEKBe1igsCBvab-etg.png
images.jpg

Download the code and then go to your files, if your Micro:bit is not connected to the app and then drag it to your Micro:bit file

What You Should See

micro-bot_Kit_Tutorial_update-16.jpg

After downloading make sure the motors switch is changed from "STOP MOTORS" to "RUN MOTORS." Press the A button on your Micro:bit and your robot will drive forward for 1 second, pivot, and the drive forward for another second before stopping. Pressing the button again will have the robot repeat the sequence.

A Video of What It Should Look Like After the Code

micro:bot kit: Exp1

Thank you for seeing this. Made In EHMS