{"id":5858,"date":"2025-07-15T12:23:06","date_gmt":"2025-07-15T10:23:06","guid":{"rendered":"https:\/\/home.et.utwente.nl\/slootenvanf\/?p=5858"},"modified":"2025-09-07T10:01:37","modified_gmt":"2025-09-07T08:01:37","slug":"getting-started-micropython-pico","status":"publish","type":"post","link":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/07\/15\/getting-started-micropython-pico\/","title":{"rendered":"Getting started with MicroPython on Raspberry Pi Pico"},"content":{"rendered":"\n<p>This tutorial will introduce you to coding MicroPython on a Raspberry Pi Pico. <a href=\"https:\/\/micropython.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">MicroPython<\/a> is a version of Python that runs on a microcontroller, like the Raspberry Pi Pico.<\/p>\n\n\n\n<p class=\"has-yellow-background-color has-background\"><strong>Warning:<\/strong> this tutorial is for MicroPython and will not work for CircuitPython! <a href=\"https:\/\/learn.adafruit.com\/using-the-circuitpython-extension-for-visual-studio-code\/overview\" target=\"_blank\" rel=\"noreferrer noopener\">There is a CircuitPython tutorial here.<\/a><\/p>\n\n\n\n<p>To get started, you need an editor that helps you to write code in Python and can connect to the Raspberry Pi Pico. Two options for editors are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/code.visualstudio.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Visual Studio Code<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/thonny.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">Thonny<\/a><\/li>\n<\/ul>\n\n\n\n<p>Thonny is an editor specifically for Python programming, and focusses on beginners. Visual Studio Code is more advanced, and can be used for a wide range of coding applications. But Visual Studio Code is also good for beginners to start with and will in the long run provide a much broader use.<\/p>\n\n\n\n<p>Both are offering features to communicate with the Raspberry Pi Pico. You may want to <a href=\"https:\/\/www.google.com\/search?q=comparison+%22Visual+Studio+Code%22+%22Thonny%22+for+Pyhon+coding\" target=\"_blank\" rel=\"noreferrer noopener\">read a more comprehensive comparison<\/a>. Below steps to setup both editors will be explained. You may pick one.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Setup Visual Studio Code<\/h2>\n\n\n\n<p>If you have not done so already, download &amp; install both <a href=\"https:\/\/www.python.org\/downloads\/\" target=\"_blank\" rel=\"noreferrer noopener\">Python<\/a> and <a href=\"https:\/\/code.visualstudio.com\/download\">Visual Studio Code<\/a>. <a href=\"https:\/\/docs.python.org\/3\/using\/index.html\" target=\"_blank\" rel=\"noreferrer noopener\">Detailed steps for the Python installation are here<\/a>. <strong>At the first screen of the installation of Python, make sure to check the box that says &#8220;Add Python to PATH&#8221;.<\/strong><\/p>\n\n\n\n<p>After installation, if asked to reboot\/restart your computer, do that first. <\/p>\n\n\n\n<p>To check your installation, issue the command &#8220;py &#8211;list&#8221; or &#8220;python &#8211;version&#8221; (without the quotes) on a Command Prompt. It should list the version of Python that was just installed:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"589\" height=\"279\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-2.png\" alt=\"\" class=\"wp-image-5874\" style=\"width:324px;height:auto\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-2.png 589w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-2-300x142.png 300w\" sizes=\"auto, (max-width: 589px) 100vw, 589px\" \/><\/a><\/figure>\n\n\n\n<p>If this does not work, you might have forgotten to check the box that says &#8220;Add Python to PATH&#8221; at the Python installation. Or you did not restart your computer. If after a restart, it still does not work, you must uninstall Python, restart your computer, then start over.<\/p>\n\n\n\n<p>Start Visual Studio Code. Go to Extensions:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"985\" height=\"633\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-3.png\" alt=\"\" class=\"wp-image-5876\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-3.png 985w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-3-300x193.png 300w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-3-768x494.png 768w\" sizes=\"auto, (max-width: 985px) 100vw, 985px\" \/><\/a><\/figure>\n\n\n\n<p>Install the extensions listed below. In short, you install an extension by searching for its name in the overview of extensions, then click &#8220;Install&#8221;. <a href=\"https:\/\/code.visualstudio.com\/docs\/configure\/extensions\/extension-marketplace\" target=\"_blank\" rel=\"noreferrer noopener\">More details here.<\/a><\/p>\n\n\n\n<p>Install these extensions:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Python*<\/li>\n\n\n\n<li>Rasberry Pi Pico*<\/li>\n<\/ul>\n\n\n\n<p>* some other related extensions (or dependencies) will be added automatically<\/p>\n\n\n\n<p>After installing the extensions, restart Visual Studio Code.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Start a new MicroPython project (Visual Studio Code)<\/h3>\n\n\n\n<p>Now start a new MicroPython project: first click the Raspberry Pi Pico Project icon in the Side Bar on the left, then select &#8220;New MicroPython Project&#8221;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-5.png\"><img loading=\"lazy\" decoding=\"async\" width=\"793\" height=\"578\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-5.png\" alt=\"\" class=\"wp-image-5881\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-5.png 793w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-5-300x219.png 300w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-5-768x560.png 768w\" sizes=\"auto, (max-width: 793px) 100vw, 793px\" \/><\/a><\/figure>\n\n\n\n<p>Type a name for the project and select a location to store the project folder:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-6.png\"><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"492\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-6.png\" alt=\"\" class=\"wp-image-5882\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-6.png 940w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-6-300x157.png 300w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-6-768x402.png 768w\" sizes=\"auto, (max-width: 940px) 100vw, 940px\" \/><\/a><\/figure>\n\n\n\n<p>Press Create to create the project. You should see something like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-7.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1030\" height=\"636\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-7-1030x636.png\" alt=\"\" class=\"wp-image-5883\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-7-1030x636.png 1030w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-7-300x185.png 300w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-7-768x475.png 768w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-7.png 1094w\" sizes=\"auto, (max-width: 1030px) 100vw, 1030px\" \/><\/a><\/figure>\n\n\n\n<p>If the script <strong>blink.py<\/strong> is not open yet, double click it in the Explorer to open it.<\/p>\n\n\n\n<p>Watch the Status Bar at the bottom: it displays &#8220;Pico Disconnected&#8221;.<\/p>\n\n\n\n<p>Next, connect the Raspberry Pi Pico to your computer using a USB cable.<\/p>\n\n\n\n<p>Now, the Status Bar displays &#8220;Pico Connected&#8221;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-8.png\"><img loading=\"lazy\" decoding=\"async\" width=\"443\" height=\"22\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-8.png\" alt=\"\" class=\"wp-image-5884\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-8.png 443w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-8-300x15.png 300w\" sizes=\"auto, (max-width: 443px) 100vw, 443px\" \/><\/a><\/figure>\n\n\n\n<p>If MicroPython is not installed on the Pico yet, it will stay &#8220;Pico Disconnected&#8221; and you might get a notification like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-10.png\"><img loading=\"lazy\" decoding=\"async\" width=\"451\" height=\"155\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-10.png\" alt=\"\" class=\"wp-image-5893\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-10.png 451w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-10-300x103.png 300w\" sizes=\"auto, (max-width: 451px) 100vw, 451px\" \/><\/a><\/figure>\n\n\n\n<p>Ignore that (click &#8220;Don&#8217;t ask again&#8221;) and proceed to the section &#8220;Install MicroPython&#8221; further down this page. The reason for this is that the Raspberry Pi Pico Extension in Visual Studio Code might not detect the proper version of the Pico you have.<\/p>\n\n\n\n<p>If you have a properly installed MicroPython firmware, the Status Bar should display &#8220;Pico Connected&#8221;.<\/p>\n\n\n\n<p>Check the availability and version of MicroPython, as displayed in the Terminal:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-9.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1030\" height=\"224\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-9-1030x224.png\" alt=\"\" class=\"wp-image-5885\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-9-1030x224.png 1030w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-9-300x65.png 300w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-9-768x167.png 768w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-9.png 1087w\" sizes=\"auto, (max-width: 1030px) 100vw, 1030px\" \/><\/a><\/figure>\n\n\n\n<p>Check the version listed in the Terminal (here: v1.25.0) with the <a href=\"https:\/\/micropython.org\/download\/?vendor=Raspberry%20Pi\" target=\"_blank\" rel=\"noreferrer noopener\">latest available version on the MicroPython site<\/a>. Is that is newer, then follow the steps below, under &#8220;Install MicroPython&#8221;, to update it to the latest version.<\/p>\n\n\n\n<p>If you have the latest version, you may scroll down to &#8220;Run Blink example with Visual Studio Code&#8221; to run the example and start coding.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Setup Thonny<\/h2>\n\n\n\n<p>(you may skip this if you installed Visual Studio Code)<\/p>\n\n\n\n<p>A video tutorial that explains all this very well:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Thonny, Installing MicroPython &amp; Hello World | Raspberry Pi Pico Workshop: Chapter 1.6\" width=\"1290\" height=\"726\" src=\"https:\/\/www.youtube.com\/embed\/1QqHAwCkQLU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>If you prefer not to watch the video, the steps explained shortly:<\/p>\n\n\n\n<p>If you have not done so already, <a href=\"https:\/\/thonny.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">download<\/a> &amp; install the Thonny editor. As it comes with Python, you do not have to install that. If you need help with installing, scroll down to &#8220;Instructions &amp; downloads&#8221; on the <a href=\"https:\/\/thonny.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">Thonny homepage<\/a> to get to the instructions for your specific type of operating system.<\/p>\n\n\n\n<p>Next, start Thonny.<\/p>\n\n\n\n<p>It might look similair to this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-16.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1030\" height=\"654\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-16-1030x654.png\" alt=\"\" class=\"wp-image-5906\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-16-1030x654.png 1030w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-16-300x191.png 300w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-16-768x488.png 768w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-16.png 1050w\" sizes=\"auto, (max-width: 1030px) 100vw, 1030px\" \/><\/a><\/figure>\n\n\n\n<p>The error in the shell means it is not connected to the Pico (yet). So connect the Pico with the USB cable to your computer.<\/p>\n\n\n\n<p>In the bottom right corner, select the connection to the Pico:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-14.png\"><img loading=\"lazy\" decoding=\"async\" width=\"401\" height=\"183\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-14.png\" alt=\"\" class=\"wp-image-5904\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-14.png 401w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-14-300x137.png 300w\" sizes=\"auto, (max-width: 401px) 100vw, 401px\" \/><\/a><\/figure>\n\n\n\n<p>See if things work, by typing the command below in the Shell:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>print(\"Hello world\")<\/code><\/pre>\n\n\n\n<p>and press Enter. It should output the text:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-15.png\"><img loading=\"lazy\" decoding=\"async\" width=\"677\" height=\"183\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-15.png\" alt=\"\" class=\"wp-image-5905\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-15.png 677w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-15-300x81.png 300w\" sizes=\"auto, (max-width: 677px) 100vw, 677px\" \/><\/a><\/figure>\n\n\n\n<p>From the info in the Shell, you can also see which version of MicroPython the Pico is currently running. In this case, it is version 1.25.0. <a href=\"https:\/\/micropython.org\/download\/?vendor=Raspberry%20Pi\" target=\"_blank\" rel=\"noreferrer noopener\">Check here which version is currently available<\/a>. If your version is outdated, you might want to update the firmware.<\/p>\n\n\n\n<p>If there is no connection and\/or the print-statement does not work, or you have an outdated version of the firmware, you probably have to install the MicroPython firmware. You can do that from this page, scroll down to &#8220;Install MicroPython&#8221;.<\/p>\n\n\n\n<p>Now try to connect to the Pico again, via the popup menu in the bottom right corner. Scroll up a bit in this page, and retry typing the print command. If all went well, this should now work.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install MicroPython<\/h2>\n\n\n\n<p>In the last part of setting up your editor, we checked the availability and version of MicroPython on the Pico. If it was not installed yet, or if the version of MicroPython is old, follow the steps below to install it.<\/p>\n\n\n\n<p>You can do this without the editor, then follow the &#8220;basic instructions&#8221; below, or from the Thonny editor:<\/p>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><\/div>\n<\/div>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary><strong>Install MicroPython &#8211; basic instructions<\/strong><\/summary>\n<p><\/p>\n\n\n\n<p><a href=\"https:\/\/micropython.org\/download\/?vendor=Raspberry%20Pi\" target=\"_blank\" rel=\"noreferrer noopener\">Download the latest release of the UF2 firmware<\/a>&nbsp;(my students will have a W-version of the Pico,&nbsp;<strong>check this on the board<\/strong>, it will have \u201cPico 2 W\u201d or \u201cPicoW\u201d\/\u201dPicoWH\u201d written on it). A&nbsp;<a href=\"https:\/\/micropython.org\/download\/\" target=\"_blank\" rel=\"noreferrer noopener\">full list of MicroPython versions for a broad range of other microcontrollers is here.<\/a><\/p>\n\n\n\n<p>For my students, if you have \u201cPico 2 W\u201d written on the board,&nbsp;<a href=\"https:\/\/micropython.org\/download\/RPI_PICO2_W\/\" target=\"_blank\" rel=\"noreferrer noopener\">download this firmware<\/a>. If it\u2019s \u201cPicoW\u201d\/\u201dPicoWH\u201d,&nbsp;<a href=\"https:\/\/micropython.org\/download\/RPI_PICO_W\/\" target=\"_blank\" rel=\"noreferrer noopener\">download this firmware<\/a>&nbsp;(its at the bottom of the page, under \u201cFirmware\u201d, \u201cReleases\u201d.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-4.png\"><img loading=\"lazy\" decoding=\"async\" width=\"337\" height=\"141\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-4.png\" alt=\"\" class=\"wp-image-5878\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-4.png 337w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-4-300x126.png 300w\" sizes=\"auto, (max-width: 337px) 100vw, 337px\" \/><\/a><\/figure>\n\n\n\n<p>Next, connect the Pico to your computer while holding down the BOOTSEL button (it\u2019s a small button on the Pico).<\/p>\n\n\n\n<p>A drive will appear (check the File Explorer or the Desktop):<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-25.png\"><img loading=\"lazy\" decoding=\"async\" width=\"286\" height=\"122\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-25.png\" alt=\"\" class=\"wp-image-5947\"\/><\/a><\/figure>\n\n\n\n<p>Drag\/drop or copy the UF2 file into that drive and wait for the copying to finish. The Pico will restart, with the new MicroPython firmware.<\/p>\n<\/details>\n\n\n\n<p><\/p>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary><strong>Install MicroPython from Thonny<\/strong><\/summary>\n<p><\/p>\n\n\n\n<p>Right-click in the bottom right corner and select \u201cInstall MicroPython\u201d:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-17.png\"><img loading=\"lazy\" decoding=\"async\" width=\"616\" height=\"153\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-17.png\" alt=\"\" class=\"wp-image-5908\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-17.png 616w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-17-300x75.png 300w\" sizes=\"auto, (max-width: 616px) 100vw, 616px\" \/><\/a><\/figure>\n\n\n\n<p>If the install menu is not shown, disconnect the Pico and reconnect it while holding down the BOOTSEL button on the Pico. Or click \u201cConfigure interpreter\u2026\u201d and then click the link \u201cInstall or update MicroPython\u201d. If it still does not work, or follow the basic instructions.<\/p>\n\n\n\n<p>Next, choose the appropriate options. Double check you have the right variant (as written on the Pico):<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-18.png\"><img loading=\"lazy\" decoding=\"async\" width=\"461\" height=\"442\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-18.png\" alt=\"\" class=\"wp-image-5909\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-18.png 461w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-18-300x288.png 300w\" sizes=\"auto, (max-width: 461px) 100vw, 461px\" \/><\/a><\/figure>\n\n\n\n<p>Press Install and wait until it finishes copying. Then Close the Window.<\/p>\n<\/details>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-light-orange-background-color has-background\">Note: <strong>Be careful when connecting and disconnecting the USB cable<\/strong>, as the connector on the Pico can be broken easily. (preferably, keep it connected to the Pico, and connect\/disconnect the other end of the cable)<\/p>\n\n\n\n<p>You may now test your setup by running the Blink example: make the onboard LED on the Pico blink. You may do so with your editor of choice: Thonny, or scroll further down for Visual Studio Code.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Run Blink example with Thonny<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Start a new MicroPython project (Thonny)<\/h3>\n\n\n\n<figure class=\"wp-block-image alignright size-full\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-20.png\"><img loading=\"lazy\" decoding=\"async\" width=\"267\" height=\"75\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-20.png\" alt=\"\" class=\"wp-image-5912\"\/><\/a><\/figure>\n\n\n\n<p>If there is no editor open yet, press the &#8220;New&#8221; icon or choose <em>File &gt; New<\/em>.<\/p>\n\n\n\n<p>Enter the code below into the editor:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># MicroPython blink example for Raspberry Pi Pico\n# This script toggles the onboard LED every second\n\nfrom machine import Pin\nfrom time import sleep\n\nled = Pin(\"LED\", Pin.OUT) # onboard LED\n\nprint(\"LED starts flashing...\")\n\nwhile True:\n    led.value(1)  # Turn LED on\n    sleep(1)      # Wait for 1 second\n    led.value(0)  # Turn LED off\n    sleep(1)      # Wait for 1 second<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image alignright size-full\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-19.png\"><img loading=\"lazy\" decoding=\"async\" width=\"210\" height=\"191\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-19.png\" alt=\"\" class=\"wp-image-5911\"\/><\/a><\/figure>\n\n\n\n<p>Press <em>Ctrl + S<\/em> or <em>File &gt; Save<\/em> to save the file. When asked &#8220;Where to save to?&#8221;, choose &#8220;Save to this computer&#8221;. Then locate a folder somewhere in your documents folder, where you are going to save your coding projects. Type the filename, eg. &#8220;blink.py&#8221; and press Save.<\/p>\n\n\n\n<p>The Thonny editor should now look like the example below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-22.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1030\" height=\"655\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-22-1030x655.png\" alt=\"\" class=\"wp-image-5916\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-22-1030x655.png 1030w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-22-300x191.png 300w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-22-768x488.png 768w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-22.png 1048w\" sizes=\"auto, (max-width: 1030px) 100vw, 1030px\" \/><\/a><\/figure>\n\n\n\n<p>Now press the Run icon (see above). It should run, and show output in the Shell:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-23.png\"><img loading=\"lazy\" decoding=\"async\" width=\"372\" height=\"107\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-23.png\" alt=\"\" class=\"wp-image-5917\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-23.png 372w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-23-300x86.png 300w\" sizes=\"auto, (max-width: 372px) 100vw, 372px\" \/><\/a><\/figure>\n\n\n\n<p>Notice the output of the script in the Terminal, and the Run button has changed to &#8220;Stop&#8221;.<\/p>\n\n\n\n<p>Als check if the onboard LED on the Pico is flashing.<\/p>\n\n\n\n<p>You are now ready for more fun projects with the Pico! (see below at &#8220;Learn more&#8221;).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Run Blink example with Visual Studio Code<\/h2>\n\n\n\n<p>If you do not have the Blink project open yet, do so. It was explained after the installation of Visual Studio Code, scroll back to the top at &#8220;Start a new MicroPython project (Visual Studio Code)&#8221;.<\/p>\n\n\n\n<p>Your screen should be similair to the one below. Click the Run button in the status bar at the bottom:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-11.png\"><img loading=\"lazy\" decoding=\"async\" width=\"877\" height=\"545\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-11.png\" alt=\"\" class=\"wp-image-5897\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-11.png 877w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-11-300x186.png 300w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-11-768x477.png 768w\" sizes=\"auto, (max-width: 877px) 100vw, 877px\" \/><\/a><\/figure>\n\n\n\n<p>It should run, and show output in the Terminal:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-13.png\"><img loading=\"lazy\" decoding=\"async\" width=\"880\" height=\"543\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-13.png\" alt=\"\" class=\"wp-image-5899\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-13.png 880w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-13-300x185.png 300w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-13-768x474.png 768w\" sizes=\"auto, (max-width: 880px) 100vw, 880px\" \/><\/a><\/figure>\n\n\n\n<p>Notice the output of the script in the Terminal, and the Run button has changed to &#8220;Stop&#8221;.<\/p>\n\n\n\n<p>Also, check if the onboard LED on the Pico is flashing.<\/p>\n\n\n\n<p>You are now ready for more fun projects with the Pico! (see below)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Troubleshooting<\/h3>\n\n\n\n<p>If you get an error like this when running the script:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-86.png\"><img loading=\"lazy\" decoding=\"async\" width=\"328\" height=\"32\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-86.png\" alt=\"\" class=\"wp-image-6292\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-86.png 328w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-86-300x29.png 300w\" sizes=\"auto, (max-width: 328px) 100vw, 328px\" \/><\/a><\/figure>\n\n\n\n<p>Or other import-related\/module not found errors, make sure that you use the right &#8220;Run&#8221; icon: the one at the bottom of the screen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-87.png\"><img loading=\"lazy\" decoding=\"async\" width=\"877\" height=\"27\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-87.png\" alt=\"\" class=\"wp-image-6293\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-87.png 877w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-87-300x9.png 300w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/image-87-768x24.png 768w\" sizes=\"auto, (max-width: 877px) 100vw, 877px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Learn more<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/tag\/raspberrypi\/\" target=\"_blank\" rel=\"noreferrer noopener\">My tutorials for the Raspberry Pi Pico<\/a>, or more specific, <a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/?s=micropython\" target=\"_blank\" rel=\"noreferrer noopener\">with MicroPython<\/a><\/li>\n\n\n\n<li>Core Electronics: <a href=\"https:\/\/core-electronics.com.au\/courses\/raspberry-pi-pico-workshop\/\" target=\"_blank\" rel=\"noreferrer noopener\">Raspberry Pi Pico Workshop for Beginners<\/a><\/li>\n\n\n\n<li>Random Nerd Tutorials: <a href=\"https:\/\/randomnerdtutorials.com\/getting-started-raspberry-pi-pico-w\/\" target=\"_blank\" rel=\"noreferrer noopener\">Getting Started with Raspberry Pi Pico (and Pico W)<\/a> or <a href=\"https:\/\/randomnerdtutorials.com\/raspberry-pi-pico-hc-sr04-micropython\/\" target=\"_blank\" rel=\"noreferrer noopener\">Raspberry Pi Pico: HC-SR04 Ultrasonic Sensor<\/a> (MicroPython) (distance sensor)<\/li>\n\n\n\n<li>e-book <a href=\"https:\/\/www.bol.com\/nl\/nl\/p\/get-started-with-micropython-on-raspberry-pi-pico-2nd-edition\/9300000176470633\/\">&#8220;Get started with MicroPython on Raspberry Pi Pico&#8221;<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.google.com\/search?q=tutorial+MicroPython+%22Raspberry+Pi+Pico%22\" target=\"_blank\" rel=\"noreferrer noopener\">More<\/a><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial will introduce you to coding MicroPython on a Raspberry Pi Pico. MicroPython is a version of Python that runs on a microcontroller, like the Raspberry Pi Pico. Warning: this tutorial is for MicroPython and will not work for CircuitPython! There is a CircuitPython tutorial here. To get started, you need an editor that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6058,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"categories":[3],"tags":[92,555,528,95,529,558,559],"class_list":["post-5858","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-education","tag-electronics","tag-micropython","tag-pico","tag-programming","tag-raspberrypi","tag-thonny","tag-visualstudiocode"],"blocksy_meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Getting started with MicroPython on Raspberry Pi Pico - vanslooten.com<\/title>\n<meta name=\"description\" content=\"Getting started with MicroPython on Raspberry Pi Pico Getting started with MicroPython on Raspberry PI Pico\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/07\/15\/getting-started-micropython-pico\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Getting started with MicroPython on Raspberry Pi Pico - vanslooten.com\" \/>\n<meta property=\"og:description\" content=\"Getting started with MicroPython on Raspberry Pi Pico Getting started with MicroPython on Raspberry PI Pico\" \/>\n<meta property=\"og:url\" content=\"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/07\/15\/getting-started-micropython-pico\/\" \/>\n<meta property=\"og:site_name\" content=\"vanslooten.com\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-15T10:23:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-07T08:01:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/getdatabgsm2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1620\" \/>\n\t<meta property=\"og:image:height\" content=\"864\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Fjodor van Slooten\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@fjodorvs\" \/>\n<meta name=\"twitter:site\" content=\"@fjodorvs\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fjodor van Slooten\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/07\\\/15\\\/getting-started-micropython-pico\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/07\\\/15\\\/getting-started-micropython-pico\\\/\"},\"author\":{\"name\":\"Fjodor van Slooten\",\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/#\\\/schema\\\/person\\\/e62ff2d6beaa937dc9345a023eeb05dd\"},\"headline\":\"Getting started with MicroPython on Raspberry Pi Pico\",\"datePublished\":\"2025-07-15T10:23:06+00:00\",\"dateModified\":\"2025-09-07T08:01:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/07\\\/15\\\/getting-started-micropython-pico\\\/\"},\"wordCount\":1650,\"publisher\":{\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/#\\\/schema\\\/person\\\/e62ff2d6beaa937dc9345a023eeb05dd\"},\"image\":{\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/07\\\/15\\\/getting-started-micropython-pico\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/getdatabgsm2.png\",\"keywords\":[\"electronics\",\"micropython\",\"pico\",\"programming\",\"raspberrypi\",\"thonny\",\"visualstudiocode\"],\"articleSection\":[\"Education\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/07\\\/15\\\/getting-started-micropython-pico\\\/\",\"url\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/07\\\/15\\\/getting-started-micropython-pico\\\/\",\"name\":\"Getting started with MicroPython on Raspberry Pi Pico - vanslooten.com\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/07\\\/15\\\/getting-started-micropython-pico\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/07\\\/15\\\/getting-started-micropython-pico\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/getdatabgsm2.png\",\"datePublished\":\"2025-07-15T10:23:06+00:00\",\"dateModified\":\"2025-09-07T08:01:37+00:00\",\"description\":\"Getting started with MicroPython on Raspberry Pi Pico Getting started with MicroPython on Raspberry PI Pico\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/07\\\/15\\\/getting-started-micropython-pico\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/07\\\/15\\\/getting-started-micropython-pico\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/07\\\/15\\\/getting-started-micropython-pico\\\/#primaryimage\",\"url\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/getdatabgsm2.png\",\"contentUrl\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/getdatabgsm2.png\",\"width\":1620,\"height\":864},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/07\\\/15\\\/getting-started-micropython-pico\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Getting started with MicroPython on Raspberry Pi Pico\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/#website\",\"url\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/\",\"name\":\"vanslooten.com\",\"description\":\"Personal website of Fjodor van Slooten\",\"publisher\":{\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/#\\\/schema\\\/person\\\/e62ff2d6beaa937dc9345a023eeb05dd\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/#\\\/schema\\\/person\\\/e62ff2d6beaa937dc9345a023eeb05dd\",\"name\":\"Fjodor van Slooten\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/2018-08-24-13.33.38_small.jpg\",\"url\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/2018-08-24-13.33.38_small.jpg\",\"contentUrl\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/2018-08-24-13.33.38_small.jpg\",\"width\":300,\"height\":214,\"caption\":\"Fjodor van Slooten\"},\"logo\":{\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/2018-08-24-13.33.38_small.jpg\"},\"sameAs\":[\"http:\\\/\\\/vanslooten.com\",\"https:\\\/\\\/x.com\\\/fjodorvs\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Getting started with MicroPython on Raspberry Pi Pico - vanslooten.com","description":"Getting started with MicroPython on Raspberry Pi Pico Getting started with MicroPython on Raspberry PI Pico","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/07\/15\/getting-started-micropython-pico\/","og_locale":"en_US","og_type":"article","og_title":"Getting started with MicroPython on Raspberry Pi Pico - vanslooten.com","og_description":"Getting started with MicroPython on Raspberry Pi Pico Getting started with MicroPython on Raspberry PI Pico","og_url":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/07\/15\/getting-started-micropython-pico\/","og_site_name":"vanslooten.com","article_published_time":"2025-07-15T10:23:06+00:00","article_modified_time":"2025-09-07T08:01:37+00:00","og_image":[{"width":1620,"height":864,"url":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/getdatabgsm2.png","type":"image\/png"}],"author":"Fjodor van Slooten","twitter_card":"summary_large_image","twitter_creator":"@fjodorvs","twitter_site":"@fjodorvs","twitter_misc":{"Written by":"Fjodor van Slooten","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/07\/15\/getting-started-micropython-pico\/#article","isPartOf":{"@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/07\/15\/getting-started-micropython-pico\/"},"author":{"name":"Fjodor van Slooten","@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/#\/schema\/person\/e62ff2d6beaa937dc9345a023eeb05dd"},"headline":"Getting started with MicroPython on Raspberry Pi Pico","datePublished":"2025-07-15T10:23:06+00:00","dateModified":"2025-09-07T08:01:37+00:00","mainEntityOfPage":{"@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/07\/15\/getting-started-micropython-pico\/"},"wordCount":1650,"publisher":{"@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/#\/schema\/person\/e62ff2d6beaa937dc9345a023eeb05dd"},"image":{"@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/07\/15\/getting-started-micropython-pico\/#primaryimage"},"thumbnailUrl":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/getdatabgsm2.png","keywords":["electronics","micropython","pico","programming","raspberrypi","thonny","visualstudiocode"],"articleSection":["Education"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/07\/15\/getting-started-micropython-pico\/","url":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/07\/15\/getting-started-micropython-pico\/","name":"Getting started with MicroPython on Raspberry Pi Pico - vanslooten.com","isPartOf":{"@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/#website"},"primaryImageOfPage":{"@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/07\/15\/getting-started-micropython-pico\/#primaryimage"},"image":{"@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/07\/15\/getting-started-micropython-pico\/#primaryimage"},"thumbnailUrl":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/getdatabgsm2.png","datePublished":"2025-07-15T10:23:06+00:00","dateModified":"2025-09-07T08:01:37+00:00","description":"Getting started with MicroPython on Raspberry Pi Pico Getting started with MicroPython on Raspberry PI Pico","breadcrumb":{"@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/07\/15\/getting-started-micropython-pico\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/07\/15\/getting-started-micropython-pico\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/07\/15\/getting-started-micropython-pico\/#primaryimage","url":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/getdatabgsm2.png","contentUrl":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/07\/getdatabgsm2.png","width":1620,"height":864},{"@type":"BreadcrumbList","@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/07\/15\/getting-started-micropython-pico\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/home.et.utwente.nl\/slootenvanf\/"},{"@type":"ListItem","position":2,"name":"Getting started with MicroPython on Raspberry Pi Pico"}]},{"@type":"WebSite","@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/#website","url":"https:\/\/home.et.utwente.nl\/slootenvanf\/","name":"vanslooten.com","description":"Personal website of Fjodor van Slooten","publisher":{"@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/#\/schema\/person\/e62ff2d6beaa937dc9345a023eeb05dd"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/home.et.utwente.nl\/slootenvanf\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/#\/schema\/person\/e62ff2d6beaa937dc9345a023eeb05dd","name":"Fjodor van Slooten","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2019\/06\/2018-08-24-13.33.38_small.jpg","url":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2019\/06\/2018-08-24-13.33.38_small.jpg","contentUrl":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2019\/06\/2018-08-24-13.33.38_small.jpg","width":300,"height":214,"caption":"Fjodor van Slooten"},"logo":{"@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2019\/06\/2018-08-24-13.33.38_small.jpg"},"sameAs":["http:\/\/vanslooten.com","https:\/\/x.com\/fjodorvs"]}]}},"_links":{"self":[{"href":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-json\/wp\/v2\/posts\/5858","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-json\/wp\/v2\/comments?post=5858"}],"version-history":[{"count":52,"href":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-json\/wp\/v2\/posts\/5858\/revisions"}],"predecessor-version":[{"id":6341,"href":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-json\/wp\/v2\/posts\/5858\/revisions\/6341"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-json\/wp\/v2\/media\/6058"}],"wp:attachment":[{"href":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-json\/wp\/v2\/media?parent=5858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-json\/wp\/v2\/categories?post=5858"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-json\/wp\/v2\/tags?post=5858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}