Please note that Pico and Pico-W boards require different MicroPython firmware to be loaded, as do non-Pico boards. You must select the correct firmware UF2 file for the board you have.
The latest pre-built MicroPython UF2 files for the Pico can be downloaded from - The latest pre-built MicroPython UF2 files for the Pico-W can be downloaded from - The latest pre-built MicroPython UF2 files for RP2040-based boards other than the Pico or Pico-W, which can differ from the UF2 files provided for the Pico and Pico-W, can be found via - The full MicroPython github source is at - The MicroPython port for Pico, Pico-W and RP2 can be found within that at - What's New in MicroPython releases -
- v1.19 - 2022-06-16 - https://github.com/micropython/micropyt ... /tag/v1.19
- v1.18 - 2022-01-17 - https://github.com/micropython/micropyt ... /tag/v1.18
- v1.17 - 2021-09-02 - https://github.com/micropython/micropyt ... /tag/v1.17
- v1.16 - 2021-06-16 - https://github.com/micropython/micropyt ... /tag/v1.16
- v1.15 - 2021-04-18 - https://github.com/micropython/micropyt ... /tag/v1.15
- v1.14 - 2021-02-02 - https://github.com/micropython/micropyt ... /tag/v1.14
Extensions to MicroPython Firmware
MicroPython is shifting sand. While extensions presented here may have worked when released that is no guarantee that the MicroPython developers won't suddenly and unexpectedly change things which stops those extensions from working.
- array.typecode() - viewtopic.php?f=146&t=320819
- bootsel.button() - viewtopic.php?f=146&t=321536
- os.path.isfile() - viewtopic.php?f=146&t=321965
- pin.id() - viewtopic.php?p=1872663#p1872663
- statemachine.id() - viewtopic.php?f=146&t=306188
- time.monotonic() - viewtopic.php?f=146&t=321277
- time.strftime() - Work in progress
- Multiple USB Serial Ports - viewtopic.php?t=305834 - No longer works
- Deep-Sleeping - viewtopic.php?t=322458
Documentation
The Official Raspberry Pi Pico Guide "Get Started with MicroPython on Raspberry Pi Pico" can be purchased, viewed or downloaded as a PDF file, here - The Official "Raspberry Pi Pico Python SDK" PDF can be viewed or downloaded as - Official documentation for MicroPython can be found here - The official MicroPython "Quick reference for the RP2" can be found at - Details of "Libraries specific to the RP2" can be found here - The Official MicroPython Wiki - click on the "Pages" link towards the top right of the page to reveal what is covered - can be found here -
Community
GitHub Discussions is the place for MicroPython discussions, questions, etc, which can be found here - The archive of the superseded Official MicroPython Forum can be found here - MicroPython's Twitter presence is at - MicroPython's Facebook presence is at - If you wish to sponsor the on-going development of MicroPython; please see here -
Libraries and Packages
Installing packages with 'mip' - which supersedes 'upip' and is pre-installed for Pico W - which can be used to install libraries and packagesfrom MicroPython-Lib and elsewhere, is detailed here - MicroPython-Lib - "A repository of libraries designed to be useful for writing MicroPython applications" can be found here - Awesome MicroPython - "A curated list of awesome MicroPython libraries, frameworks, software and resources" can be found at - Adafruit's guide for using CircuitPython libraries with MicroPython can be found at -
Programming and Development Tools
IDE
- Thonny : "sudo apt install thonny" - https://thonny.org
- Mu Editor : "sudo apt install mu-editor" - https://codewith.mu
- Arduino Lab for MicroPython : https://labs.arduino.cc/en/labs/micropython (pre-release, WIP)
- mpremote : "sudo pip3 install mpremote" - https://pypi.org/project/mpremote
- rshell : "sudo pip3 install rshell" - https://github.com/dhylands/rshell
- ampy : "sudo pip3 install adafruit-ampy" - https://pypi.org/project/adafruit-ampy
Host interaction
Belay is a Python library which allows a Python program on a Pi or other host to include MicroPython code which, when invoked, will be executed on a Pico, Pico-W or other board running MicroPython, without having to explicitly write or load any code for that board.
Other MicroPython forks for Pico, Pico-W or RP2
- CircuitPython - https://circuitpython.org/board/raspberry_pi_pico
- Pimoroni - https://github.com/pimoroni/pimoroni-pico/releases
Trademarks
- "Python" and the Python Logo are trademarks of the Python Software Foundation.