Comments on: Getting Started with Raspberry Pi Pico 2 and Pico 2 W https://randomnerdtutorials.com/getting-started-raspberry-pi-pico-2-w/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Wed, 22 Apr 2026 17:28:13 +0000 hourly 1 https://wordpress.org/?v=6.8.5 By: Bert Oudshoorn https://randomnerdtutorials.com/getting-started-raspberry-pi-pico-2-w/#comment-1181103 Wed, 22 Apr 2026 17:28:13 +0000 https://randomnerdtutorials.com/?p=169963#comment-1181103 In reply to Jose Serena.

RP2040 offers better real-time performance through PIO and dual cores dedicated to your code (ESP32 shares cores with WiFi stack). The PIO looks beter than RMT(on ESP32). Did you find a PIO example for the Arduino IDE?
And selecting core0 or core1 seems to be easier:

zbotic.in/waveshare-rp2040-board-arduino-ide-setup-and-projects/

]]>
By: Michael https://randomnerdtutorials.com/getting-started-raspberry-pi-pico-2-w/#comment-1149706 Mon, 12 Jan 2026 11:03:30 +0000 https://randomnerdtutorials.com/?p=169963#comment-1149706 In reply to Henrik.

Hi
I have the exact opposite error: when uploading firmware in Arduino IDE i get the following error “Compilation error: exit status 0xc0000409”, but it works fine in Thonny. I believe the reason is that the environment variable is not set correctly, it should point to the same python.exe instance when using either IDE…….

]]>
By: Henrik https://randomnerdtutorials.com/getting-started-raspberry-pi-pico-2-w/#comment-1061590 Fri, 27 Jun 2025 20:38:15 +0000 https://randomnerdtutorials.com/?p=169963#comment-1061590 Hi again
Right now I have given up using Raspbarry pi pico to learn micropython and have bought Arduino Nano RP2040 Connect which can run micropython, and Arduino LAB for micropython to program Nano.
thanks

]]>
By: Sara Santos https://randomnerdtutorials.com/getting-started-raspberry-pi-pico-2-w/#comment-1059287 Fri, 20 Jun 2025 09:05:28 +0000 https://randomnerdtutorials.com/?p=169963#comment-1059287 In reply to Henrik.

Hi.
That’s very weird…
After uploading micropython have your tried clicking on Thonny IDE Stop button multiple times?

Regards,
Sara

]]>
By: Henrik https://randomnerdtutorials.com/getting-started-raspberry-pi-pico-2-w/#comment-1059141 Thu, 19 Jun 2025 19:59:45 +0000 https://randomnerdtutorials.com/?p=169963#comment-1059141 Hi Thanks for the answer.
I have tested with 3 different usb cables and when I upload micropython firmware from Thonny to raspbarry pi pico 2 and 2w the port disappears, it’s the same error.

But if I use Arduino IDE 2.3.6 and connect with the same cables and the same two picos and upload a blink sketch everything works fine.

Maybe it’s the Thonny program that makes the error???
Thanks

]]>
By: Sara Santos https://randomnerdtutorials.com/getting-started-raspberry-pi-pico-2-w/#comment-1058557 Tue, 17 Jun 2025 20:37:33 +0000 https://randomnerdtutorials.com/?p=169963#comment-1058557 In reply to Henrik.

Try clicking on Thonny IDE Stop button afterwards.
Also, make sure that you’re using a good USB cable.

Other than that, I’m not sure what might be causing the issue.

Regards,
Sara

]]>
By: Henrik https://randomnerdtutorials.com/getting-started-raspberry-pi-pico-2-w/#comment-1058519 Tue, 17 Jun 2025 17:34:55 +0000 https://randomnerdtutorials.com/?p=169963#comment-1058519 In reply to Sara Santos.

Hi
It is when I upload micropython firmware that Thonny makes the error

]]>
By: Sara Santos https://randomnerdtutorials.com/getting-started-raspberry-pi-pico-2-w/#comment-1058402 Tue, 17 Jun 2025 09:07:09 +0000 https://randomnerdtutorials.com/?p=169963#comment-1058402 In reply to Henrik.

Hi.
What do you mean by upload micropython?
Are you uploading a specific code or are you just uploading micropython firmware?
Regards,
Sara

]]>
By: Henrik https://randomnerdtutorials.com/getting-started-raspberry-pi-pico-2-w/#comment-1058240 Mon, 16 Jun 2025 20:07:40 +0000 https://randomnerdtutorials.com/?p=169963#comment-1058240 Hej
when I upload micropython to my raspberry pi pico 2 with Thonny, Thonny cannot find the port after 10 seconds

It works fine in Arduino IDE with c++ programming, but I would like to learn how to use micropython or is there another editor with micropython I can try?

]]>
By: Jose Serena https://randomnerdtutorials.com/getting-started-raspberry-pi-pico-2-w/#comment-1045756 Mon, 19 May 2025 11:43:59 +0000 https://randomnerdtutorials.com/?p=169963#comment-1045756 In reply to Tony.

The Pico has a few minor advantages over the ESP32 but the main one is that it has 8 (Pico) or 12 (Pico 2) state machines that can execute an instruction per clock cycle independently of how busy is the main CPU.
This is invaluable if you need high speed I/O devices like a Signal Generator, Frequency Meter or Logic Analyzer. They will be far more superior that the ones with ESP32.
Plus, you can overclock a Pico to more than double its nominal frequency.

]]>