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.
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.
Tools>Port displays UF2 board select it and upload program
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
*************