This is the home page for a MicroPython Tutorial, a modest attempt at providing a beginner with the basics of programming in MicroPython, in particular on a Raspberry Pi Pico.

If you're having trouble finding this page, here's the URL of the server:

http://service.robots.org.nz/wiki/
(for use in a classroom)

Exercises#

Additional exercises:

Documentation & References#

The complete documentation for Python and MicroPython (as used on microcontrollers) is available here:

See also the Python and MicroPython pages on this wiki.

Online #

Tutorials#

Simulators#

These are online tools that let you try out Python and MicroPython from a Web browser. Python and MicroPython are very similar so learning either one helps you with the other:

  • Developer Tools
  • Mu IDE
  • Thonny IDE
  • mpremote, a command line tool to "remotely interact with, manage the filesystem on, and automate a MicroPython" device over a serial connection
  • rshell, a command line access to a pyboard (similar to mpremote)


Next: MicroPython Tutorial Exercise 1: main.py