How to Install CircuitPython on Raspberry Pi Pico

This is a quick tutorial on how to get started on the Pico with CircuitPython which is a great wrapper around MicroPython to start using your sensors and help you more quickly integrate your IoT applications.

Step 1-) Setup Thonny:

Thonny is a great IDE for working with the Raspberry Pi Pico and CircuitPython, we will use it to get CircuitPython on the device.

You can download Thonny here.

Step 2-) Configure CircuitPython Interpreter:

Hold the BOOTSEL button as you plug your device into the MicroUSB from your computer.  You need this to mount the volume (storage) from the Pico so you can install the CircuitPython firmware. The button is shown below:

In Thonny navigate to Tools > Options and select CircuitPython (generic) from the interpreter dropdown and select the appropriate port, then select Install or update CircuitPython on the bottom right. Select the target volume. 

Select the CircuitPython variant as Raspberry Pi Pico W / Pico WH. You can also just select the regular Pico version if you are not using the Pico W version. 

Click install and wait...

Congrats now you can begin writing CircuitPython Code on your Pico/Pico W.

Step 3-) Test it:

Try a sample script that flashes the LED here. If you set up everything fine you should see the LED blink.

Conclusion:

If you found that useful please leave and comment and subscribe to my channel. Stay tuned for more content!

Create a free account to access full content.

All access to code and resources on ShillehTek.

Signup Now

Already a member? Sign In

Explore More on Our Blog

How to Use L298N Motor Driver with Pico W

How to Use L298N Motor Driver with Pico W

Learn how to use the L298N motor driver to control DC motors with the Raspberry Pi Pico W in MicroPython.

Controlling an LED with a Snap Using the KY-037 Sound Sensor and Raspberry Pi

Controlling an LED with a Snap Using the KY-037 Sound Sensor and Raspberry Pi

Discover how to set up, code, and activate the LED based on detected sound with the Raspberry Pi...

Getting Started with the KY-037 Sound Sensor and Raspberry Pi: Detecting Sound Using Python

Getting Started with the KY-037 Sound Sensor and Raspberry Pi: Detecting Sound Using Python

In this tutorial, I’ll guide you through setting up the KY-037 sound sensor with a Raspberry Pi using...

How to Post to Reddit Using Python

How to Post to Reddit Using Python

Post to reddit automatically using a Python script.

How to Create a Time-Lapse Video with a Raspberry Pi Camera

How to Create a Time-Lapse Video with a Raspberry Pi Camera

Learn how to make a timelapse with your Raspberry Pi in Python.

How to Integrate the MPU6050 with the STM32 Blue Pill

How to Integrate the MPU6050 with the STM32 Blue Pill

Learn how to measure acceleration with the STM32 and the MPU6050 in the Arduino IDE.

Getting Started with STM32 Blue Pill in Arduino IDE Using a USB to TTL Converter — Write Your First Program

Getting Started with STM32 Blue Pill in Arduino IDE Using a USB to TTL Converter — Write Your First Program

This comprehensive tutorial will guide you through the process of setting up and programming the STM32 Blue Pill...

Automate Task Scheduling in AWS with Lambda, Step Functions, and CloudWatch

Automate Task Scheduling in AWS with Lambda, Step Functions, and CloudWatch

In this tutorial, I'll show you how to automatically schedule tasks in AWS at regular intervals using AWS...

Implementing Google reCAPTCHA in a Simple React and Node.js App

Implementing Google reCAPTCHA in a Simple React and Node.js App

Learn how to protect your React applications from bots and spam with Google reCAPTCHA integration! This step-by-step tutorial...

AWS Lambda Tutorial: Using Selenium with Chromedriver in Python

AWS Lambda Tutorial: Using Selenium with Chromedriver in Python

In this tutorial, I will guide you through the process of running Selenium with ChromeDriver inside an AWS...

Back to blog

Leave a comment

Please note, comments need to be approved before they are published.