Getting Started with MicroPython

The micro:bit is an awesome piece of tiny hardware, and I just wanted to make sure we gave you another programming environment with which to play.

Favorited Favorite 2

Last week we unveiled three new peripheral boards to connect our micro:bit boards up to. Since then we've shown you how to get started with the micro:bit using MakeCode, which is a beginner-friendly block- and text-based programming environment for the micro:bit. If you want to get started with the micro:bit using MicroPython, then you're in luck. I've created a Getting Started with MicroPython guide for the micro:bit. If you have never looked at a Python script before, this is a great way to learn syntax, structure, built-in modules and functions and how to use the interactive REPL. Well, maybe with your feedback it will be a great tutorial one day...

There are a few advantages and disadvantages to using one programming environment over the other. The severity of the trade-offs depends on what your project is. I find using the Music module much easier in MicroPython, but I find building projects with interrupts to be easier in MakeCode. Check out the tutorial and let me know what you think.

SparkFun Creative Technologist Shawn Hymel has created some videos to help you get started using the micro:bit with MicroPython. Check out his recent blog post on all the different ways to program this awesome little board.

We may have some new hardware coming out soon specifically geared toward using the micro:bit with MicroPython. If you are well-versed in Python and would like to contribute some examples for future use, please pull request me here.

Comments 1 comment

  • TheRegnirps / about 6 years ago / 1

    Nicely done. Great pace and details and video prduction. Have you tried active first person 'I'? I get the impression the video is for beginners and school age students. You have competent style they will respect, and want to do what you do. After all, they have not learned it yet, so "we" assumes competencies "we" don't possess.

    The "we" thing has become very common in video and written tutorials but the psychology is wrong. I'm suggesting you will have greater impact with ''I" and "you". My two cents from teaching high school math and physics. (Plus, whenever I run across the "we" style I get distracted because I think of this

Related Posts

Recent Posts



All Tags