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:
Exercises#
- MicroPython Tutorial Exercise 1: main.py
- MicroPython Tutorial Exercise 2: blocks
- MicroPython Tutorial Exercise 3: functions
- MicroPython Tutorial Exercise 4: classes
- MicroPython Tutorial Exercise 5: using classes
- MicroPython Tutorial Exercise 6: tbd
Additional exercises:
Documentation & References#
The complete documentation for Python and MicroPython (as used on microcontrollers) is available here:
- Python documentation  
- MicroPython documentation  
- Awesome MicroPython , a huge curated list of MicroPython libraries and resources , a huge curated list of MicroPython libraries and resources
See also the Python and MicroPython pages on this wiki.
Online #
Tutorials#
- Python
- The Python Tutorial (the official tutorial) (the official tutorial)
- Learn Python Tutorial  
 
- The Python Tutorial
- MicroPython
- MicroPython tutorial for the pyboard (the official tutorial) (the official tutorial)
- MicroPython: An Intro to Programming Hardware in Python  
 
- MicroPython tutorial for the pyboard
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:
- Python
- MicroPython
- MicroPython Live (official site) (official site)
- LVGL/MicroPython simulator  
 
- MicroPython Live
- Developer Tools
- Mu IDE  
- Thonny IDE  
- mpremote, a command line tool to "remotely interact with, manage the filesystem on, and automate a MicroPython"
- rshell , a command line access to a pyboard (similar to mpremote) , a command line access to a pyboard (similar to mpremote)
Next: MicroPython Tutorial Exercise 1: main.py