Arduino doesn't recognize my Raspberry Pi Pico

Hello, Arduino community!

I am new to the community of robotics, and I recently bought a Raspberry Pi Pico to mess around with. However, despite following tutorials correctly, the program does not recognize my Pico, even though my computer says it's connected just fine. Here's a rundown of what happened:

  • I downloaded the Arduino IDE and installed (EDIT: Arduino Mbed OS RP420 Boards, NOT AVR). This adds functionality to Raspberry Pi Pico.
  • I connected the Pico by holding down the Boot button and plugging it in. My computer says I plugged in an external drive. It's called RPI-RP2 in File Explorer.
  • I copied the Blink tutorial to a file called Led_Test.ino. This put the file in a folder called Led_Test.
  • When I try uploading to the Pico via the Upload button, the LED does not blink. It disconnects while uploading (which I've heard is normal?) but then does nothing.
  • After the upload and disconnect, I go to Tools -> Ports and the Pico shows up. However, when the Pico is first connected (or disconnected then reconnected), the Port section is grayed out.
  • Finally, when I check the Pico in File Explorer, there is no new file added.

I believe my hardware is fine, and that I am just doing something wrong. Could someone help explain what my problem might be? Thank you.

Why should the installation of AVR boards add Raspberrypi Pico?

No.

have a look at Arduino-Pico > Installing via Arduino Boards Manager

Hello. Apologies for the mistake, the Raspberry Pi Pico was actually included in Arduino Mbed OS RP420 Boards, not AVR boards. I have changed the original post.

Apologies, it was actually Mbed OS RP420, not AVR.

NOTE: I have edited the post to say that I installed Raspberry Pi Pico via Arduino Mbed OS RP420 Boards. It previously said I used AVR Boards.

this works for me

  1. disconnect the Pico, press BOOTSEL connect it
  2. Tools>Port displays UF2 board select it and upload program
  3. after a time UF2 should change to a COM port - select it

very simple blink and serial output test
select Tools>Board Raspberry Pi Pico

// Raspberry Pi Pico RP2040 blink and serail test
 
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
  Serial.begin(115200);
  delay(10000);
  Serial.println("\n\nRaspberry Pi Pico RP2040 blink test 1");
}

// the loop function runs over and over again forever
void loop() {
  Serial.print('*');
  digitalWrite(LED_BUILTIN, HIGH);  // turn the LED on (HIGH is the voltage level)
  delay(1000);                      // wait for a second
  digitalWrite(LED_BUILTIN, LOW);   // turn the LED off by making the voltage LOW
  delay(1000);                      // wait for a second
}

serial monitor displays

Raspberry Pi Pico RP2040 blink test 1
*************

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.