Skip to content

MicroPython Code for SparkFun moto:bit robot (micro:bot)

License

Notifications You must be signed in to change notification settings

mucolon/motobit-projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

motobit-projects

A repository for projects using SparkFun's moto:bit.

line_follow.py

A script that commands the SparkFun micro:bot to follow a 2 inch wide black line. This file includes the MotoBit class. Thus only this file needs to be flashed to have a functioning line following robot.

micro:bot following a simple loop

line-follower

This directory (folder) contains a line following script and the imported class which performs low-level procedures.

microbit

This directory enables intellisense on Visual Studio Code. Code was sourced from this repository https://github.com/PhonicCanine/microbit

Flashing

If you have installed the micro:bit VS Code extension, then flash your file_name.py file by clicking the Build current file to Micro:Bit button on the top right of your window.

or

There are two other editors other than VS Code that can flash your python script to your micro:bit. The mu-editor or the micro:bit Online Python Editor. I recommend downloading the mu-editor as their built-in REPL works great with the micro:bit.

Materials Used

I recommend ordering the micro:bit Go Bundle and micro:bot kit together to avoid S&H costs, if you're only buying one robot set. For multiple sets of robots, purchase the micro:bit board and micro:bot kit instead for every robot set.

micro:bit micro:bot moto:bit
micro:bit micro:bot moto:bit
micro:bit not included with the micro:bot kit. moto:bit included with the micro:bot kit.

About

MicroPython Code for SparkFun moto:bit robot (micro:bot)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages