User Tools

Site Tools


thonny

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
thonny [2026/06/16 21:29] – [Install Pico Zero Library] walkeradminthonny [2026/06/16 22:06] (current) – [Introduction] walkeradmin
Line 60: Line 60:
 \\  \\ 
 ---- ----
-==== Installing Thonny ==== 
-\\  
-To download Thonny, head on over to their [[https://thonny.org/|Website]] and download the latest version for your operating system. At the time of writing (June 2026) the current version is 5.0.0) 
-\\  
-\\  
-Once downloaded, double click the installer to start of the process. 
-\\  
-\\  
-From the installation page, select Install for me only (unless you have a good reason to use (Install for all users). 
-\\  
-{{ :install-thonny_1_.png?300 |}} 
-\\  
-From the Welcome page, select Next. 
-\\  
-\\  
-{{ :install-thonny_2_.png?400 |}} 
-\\  
-From the License Agreement page, select 'I accept the agreement' and click Next. 
-\\  
-\\  
-{{ :install-thonny_3_.png?400 |}} 
-\\  
-Use the default destination, unless you have a good reason not to. Click Next. 
-\\  
-\\  
-{{ :install-thonny_4_.png?400 |}} 
-\\  
-For the Start Folder name, just use the default of Thonny, click Next. 
-\\  
-\\  
-{{ :install-thonny_5_.png?400 |}} 
-\\  
-Tick the 'Create Desktop Icon' and click Next. 
-\\  
-\\  
-{{ :install-thonny_6_.png?400 |}} 
-\\  
-From the Ready to install page, click the Install button. 
-\\  
-\\  
-{{ :install-thonny_7_.png?400 |}} 
-\\  
-Thonny will start to install, nothing to do here but wait. 
-\\  
-\\  
-{{ :install-thonny_8_.png?400 |}} 
-\\  
-There can be quite a delay here, just be patient. 
-\\  
-\\  
-Once installed, you will see the following page. Click Finish to close the installer. 
-\\  
-\\  
-{{ :install-thonny_9_.png?400 |}} 
-\\  
-That is it, Thonny is now installed. 
-\\  
-\\  
----- 
-==== Running and Initial Setup === 
-\\  
-Now is the time to plug in the Pico to your computer, the one you have installed Thonny on to. You will connect the Pico to the PC using a USB cable. Before you connect the Pico, you need to hold down the BOOT SEL button on your Pico, this is the only button on the Pico so is simple to find. 
-\\  
-\\  
-{{ :raspberry-pi-pico_-_bootsel.png?300 |}} 
-\\  
-While holding down the BOOTSEL button, plug the USB cable from your computer in to the Raspberry Pi Pico. The Pico will power up and a folder will appear in your Explorer. 
-\\  
-\\  
-{{ :pi-pico-setup_2_.png?800 |}} 
-\\  
-There will be two files in this folder: 
-\\  
-    INDEX.HTM 
-    INFO_UF2.TXT 
  
-Please note that this is a brand new Pico, so we would not expect to see any other files. 
-\\  
-\\  
-Run your Thonny application that you installed earlier. 
-\\  
-\\  
-{{ :pi-pico-setup_3_.png?800 |}} 
-\\  
-Select from Thonny, Tools then Options... 
-\\  
-\\  
-{{ :pi-pico-setup_4_.png?600 |}} 
-\\  
-Select the Interpreter tab, ensure the MicroPython (Raspberry Pi Pico) Interpreter is selected. From the bottom of this page click 'Install or update MicroPython' 
-\\  
-\\  
-You will be presented with some options for the MicroPython install (or update). 
-\\  
-\\  
-{{ :pi-pico-setup_5_.png?600 |}} 
-\\  
-We need to set some of the options here to match our Pico device. 
-\\  
-  * Target Volume - This is the drive in explorer your Pico connected as. 
  
-  * MicroPython Family - RP2 
  
-  * Variant - Raspberry Pi Pico (your Pico type) I am using a Pico 2 W in this example +  *[[Installing Thonny]]\\  
- +  *[[Running Thonny and Initial Setup]]\\ 
-  * Version - Select the latest version (unless you have a compelling reason not to) +  *[[Install Pico Zero Library]]\\
- +
-Once set, click the Install button.+
 \\  \\ 
-\\  
-You will see a progress bar to show the installation is running. 
-\\  
-\\  
-{{ :pi-pico-setup_6_.png?600 |}} 
-\\  
-Once the installation is complete, the progress bar will change to <color #00a2e8>Done!</color> 
-\\  
-\\  
-{{ :pi-pico-setup_7_.png?600 |}} 
-\\  
-Once back at the Interpreter tab you can just select OK 
-\\  
-\\  
-{{ :pi-pico-setup_8_.png?600 |}} 
-\\  
-You will now be back at the main Thonny interface. It will have taken just a few seconds for the Pico to reboot. 
-\\  
-\\  
-{{ :pi-pico-setup_9_.png?800 |}} 
-\\  
-From the bottom right of Thonny select your Pico Device. 
-\\  
-\\  
-{{ :pi-pico-setup_10_.png?800 |}} 
-\\  
-You will see that at the bottom of Thonny, it lists your Pico Device and the version of MicroPython that has just been installed on to it. 
-\\  
-\\  
----- 
-==== Install Pico Zero Library ==== 
-\\  
-Library files are like device drivers, they allow you to run commands to do something with a device. 
-\\  
-The picozero library is a simplified driver file for the Pi Pico. 
-\\  
-\\  
-You should now have a Thonny icon on your desktop. Double click the icon to start Thonny. 
-\\  
-\\  
-{{ :install-thonny_10_.png?600 |}} 
-\\  
-First page you will see is the options page. From here select your preferred language. Leave the 'Initial settings' at Standard. 
-\\  
-\\  
-{{ :install-thonny_11_.png?300 |}} 
-\\  
-Click the 'Lets Go' button. 
-\\  
-\\  
-Thonny will now open. 
-\\  
-\\  
-{{ :install-thonny_11b_.png?700 |}} 
-\\  
-** At this point, please connect your Raspberry Pi Pico to your computers USB Port ** 
-\\  
-\\  
-First thing we want to do with Thonny is select the device we are working with from the bottom right hand corner of the Thonny Application. 
-\\  
-\\  
-{{ :install-thonny_12_.png?700 |}} 
-\\  
-If you pico is not listed, then your computer has not recognised the device. 
-\\  
-\\  
-Next, from the Thonny toolbar, we are going to select Tools and then Manage Packages. 
-\\  
-\\ 
-{{ :install-thonny_13_.png?700 |}} 
-\\  
-A box will open. In the search bar enter <color #00a2e8>picozero</color> then click hte Search on PyPI button. 
-\\  
-\\  
-{{ :install-thonny_14_.png?700 |}} 
-\\  
-In the Search results, you should see the entry <color #00a2e8>picozero</color>. Click on this entry (it's a hyperlink). 
-\\  
-\\  
-{{ :install-thonny_15_.png?700 |}} 
-\\  
-This will take you to the <color #00a2e8>picozero</color> page where you can click install. 
-\\  
-\\  
-{{ :install-thonny_16_.png?700 |}} 
-\\  
-You will see the picozero installer running. 
-\\  
-\\  
-{{ :install-thonny_17_.png?700 |}} 
-\\  
-\\  
-Now you can click the Close button. 
-\\  
-\\  
-{{ :install-thonny_18_.png?700 |}} 
-\\  
-That is it, you have installed and dome some basic configuration of Thonny. 
-\\  
-\\  
-So now you can now write some code. 
-\\   
-For example when writing the code to flash or "blink" the onboard LED you can use: 
-\\  
-\\  
-<code | download> 
-from picozero import pico_led 
-pico_led.blink(0.5) 
-</code>  
- 
-This is a simple way and great to get started but it is limited, you can get the same result using other library' 
 \\  \\ 
 ---- ----
thonny.1781645361.txt.gz · Last modified: by walkeradmin