Prerequisites
To get started with programming your new Challenger RP2040 board using the Arduino IDE, you will need the following items:
- A Challenger RP2040 board of your flavour.
- A USB Type C cable
- A computer running the Arduino IDE software
- The RP2040 board support package for the Arduino IDE
Installing the RP2040 board support package
Before you can start programming the RP2040 using the Arduino IDE, you will need to install the RP2040 board support package. To do this, follow these steps:
- Open the Arduino IDE software on your computer.
- Go to the “File” menu and select “Preferences”.
- In the “Additional Boards Manager URLs” field, enter the following URL:
https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json - Click “OK” to close the preferences window.
- Go to the “Tools” menu and select “Board” > “Boards Manager”.
- In the search field, type “RP2040” and press enter.
- Select the “RP2040” board support package and click the “Install” button.
- Wait for the installation to complete.
Connecting the Challenger board to your computer
To connect the Challenger RP2040 board to your computer, follow these steps:
- Connect one end of the USB cable to the Challenger RP2040 USB port.
- Connect the other end of the micro USB cable to your computer’s USB port.
- The Challenger RP2040 will appear as a serial port in the Arduino IDE. To check that it is connected correctly, go to the “Tools” menu and select “Port”. The serial port should be listed under the menu.
Programming the Challenger board using the Arduino IDE
To program the Challenger RP2040 using the Arduino IDE, follow these steps:
- Open the Arduino IDE software on your computer.
- Go to the “Tools” menu and select “Board” > “Challenger RP2040 xxxx”.
- Go to the “Tools” menu and select the serial port that the Challenger board is connected to.
- Open or create a new sketch in the Arduino IDE.
- Write your program code in the sketch.
- Go to the “Sketch” menu and select “Upload” to upload your program to the Challenger board.
Once your program has been uploaded to your board it will run automatically. You can monitor the serial output of your program using the Arduino IDE’s serial monitor feature.
Conclusion
In this tutorial, we have shown you how to get started with programming the Challenger RP2040 using the Arduino IDE.
0 Comments for “Getting your Challenger RP2040 board up and running with the Arduino IDE.”