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.

Getting Started with MicroPython!

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 2 comments

  • 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 http://www.nbc.com/saturday-night-live/video/anal-retentive-chef/n9695?snl=1)

  • Just one comment:

    Note: The full-sized breadboard power rails have a break down the middle. If you end up using the lower half of the power rail, you will need to jump between the upper end and lower end.

    I’d suggest that you change it to “Some full-sized breadboard power rails”. I just double-checked the one at hand (which I’m pretty sure came from Circuit Specialists) and it does not have the break between the ends. (I remember when solderless breadboards first came to market, and have used a lot of them since then. Interestingly, it seems that the more expensive ones have the breaks, the less expensive ones, which I tend to use, don’t.)

Related Posts

Recent Posts

Technology and Art

Tags


All Tags