How to use Arduino IDE for Raspberry Pi PICO

The Raspberry Pi PICO Microcontroller uses the Micropython programming language whilst Arduino IDE is a C programming language based compiler.

And in this Blog we will demonstrate how to use the Arduino IDE for PICO

You can also visit our blog to use Thonny compiler for PICO

  1. Go to Tools>Board>Boards Manager

2. In the Boards manager dialog box search for Pico in the search box

U will see an option Arduino MBed OS RP2040 Boards and you can select any version whichever runs on your system and click on the Install button.

3. After Installing any suitable version of the Arduino MBed OS RP2040 Boards you must be able to see the option of Raspberry Pi Pico in the Board option in Tools.

4. Once you get the Pico Library in your Arduino IDE you can find exclusive examples for Pico

5. To check whether your pico library is working you can use this simple Blink code to check its functionality

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.

// the loop function runs over and over again forever
void loop() {
  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

Once the LED on the pico starts blinking the arduino ide is working in your Pico!

Leave a Reply

Your email address will not be published. Required fields are marked *