Cover image for Learn now live!

Learn now live!

New MicroPython course

Learn at MicroPython, from scratch, and your own pace

Raspberry Pi Pico Learn MicroPython Course Tutorial

4 December 2022 by Kevin McAleer | Share this article on

The new Learning Platform is now Live

You’ll notice a new Learn item on the menu navigation. This is the gateway to the brand new Learning Platform.

The Learning Platform enables courses to be built and published using a simple folder structure and accompanying course content.

More about this is below.

Learn MicroPython

Learn MicroPython starts with the basics of programming in MicroPython, explaining each concept as they are introduced and building upon previous knowledge with each new lesson. It’s designed for people new to programming or just new to MicroPython.

This new course is the reason I built the Learning Platform.

The course is broken into individual lessons, each with a singular focus. The course is easy to navigate, with a clear structure always visible on the left-hand side (when viewed on a desktop browser).

Learning Platform Screen layout

This course is accompanied by a series of bite-sized videos to help bring the content to life.

More to come

I’ll be using the new Learning Platform to provide instructions for more complicated builds that are too big for a typical blog post.

Feedback is always welcome

I’d love to hear what you think about the course content, the Learning Platform itself, and any future features you’d like to see added. The best way to provide this feedback is via our Discord server.

About the Learning Platform

The Learning Platform combines course content folders and a python program that transforms the raw content into a polished interactive website.

Each course is contained within a parent folder, and each course folder contains:

  • A course.yml file - that outlines the course details and order the lessons should appear.
  • An assets folder - that contains any images, PDFs for STL files related to the project.

Here is an example course.yml:

- name: Learn MicroPython - The basics
  author: Kevin McAleer
  date_created: 28-10-2022
  date_published: 28-10-2022
  layout: course
  cover: assets/micropython.jpg
  description: >- 
     Get started with MicroPython, What Python is, where to download it and which software to use to develop MicroPython code
  - section:
      name: Overview

You can see that there are some basic details about the course, and following that there is a content section. For example, a content section can contain multiple section blocks, and each section can have multiple files, one per lesson.

The lessons need a title and description, and the will use the structure from the course.yml to add next and previous buttons to each page. also counts the words per page and estimates how long each lesson will take to read, with the collective duration being added to the final courses.yml file.

Course Content as Markdown

The lesson files that make up each course are written in Markdown, which enables a clear focus on the content being written rather than tweaking the formatting or style.

The Markdown files are converted to HTML using Jekyll, which is used to build all KevsRobots websites.

Markdown was chosen for several reasons. First, I wanted to store the draft content in a form that’s easy to repurpose (and Markdown is just basic text, so it doesn’t get better than this).

I also wanted the final website to be a collection of simple static web pages. Dynamic websites hosted on WordPress etc., require constant security patching to prevent attacks and spam.

Did you find this content useful?

If you found this high quality content useful please consider supporting my work, so I can continue to create more content for you.

I give away all my content for free: Weekly video content on YouTube, 3d Printable designs, Programs and Code, Reviews and Project write-ups, but 98% of visitors don't give back, they simply read/watch, download and go. If everyone who reads or watches my content, who likes it, helps fund it just a little, my future would be more secure for years to come. A price of a cup of coffee is all I ask.

There are a couple of ways you can support my work financially:

If you can't afford to provide any financial support, you can also help me grow my influence by doing the following:

Thank you again for your support and helping me grow my hobby into a business I can sustain.
- Kevin McAleer