Note
Hello, welcome to the SunFounder Raspberry Pi & Arduino & ESP32 Enthusiasts Community on Facebook! Dive deeper into Raspberry Pi, Arduino, and ESP32 with fellow enthusiasts.
Why Join?
Expert Support: Solve post-sale issues and technical challenges with help from our community and team.
Learn & Share: Exchange tips and tutorials to enhance your skills.
Exclusive Previews: Get early access to new product announcements and sneak peeks.
Special Discounts: Enjoy exclusive discounts on our newest products.
Festive Promotions and Giveaways: Take part in giveaways and holiday promotions.
👉 Ready to explore and create with us? Click [here] and join today!
1.4 Download and Upload the Code
Download the Code
Download the relevant code from the link below.
Or check out the code at Newton Lab Kit - GitHub
Upload the Libraries to Pico
In some projects, you will need additional libraries. Here, we will first upload these libraries to the Raspberry Pi Pico 2, and then we can run the code directly later.
Use a Micro USB cable to connect the Raspberry Pi Pico 2 to your computer. (Do not hold down BOOTSEL; you already dragged the MicroPython firmware to Pico 2 in the previous step, so just plug it in directly.)
Open the Thonny IDE and select “MicroPython (Raspberry Pi Pico).COMxx.COMxx” from the interpreter selection button in the bottom right corner.
Click View -> Files in the top navigation bar of the Thonny IDE.
Navigate to the folder where you previously downloaded the code package, and then go to the
newton-lab-kit-main/libs
folder.Now, select all the files in the
libs\
folder and upload them to the Raspberry Pi Pico 2. It will take a while for the files to upload.Now you will see the files you just uploaded inside your drive labeled
Raspberry Pi Pico 2
.