VideoLibrary

Designing, Building, and Coding Custom Raspberry Pi RP2040 Arduino Devices – Day 1

The overall objective for today will be to code some Arduino sketches that will be adapted to a custom piece of RP2040-based hardware. With that in mind, today we begin our tour of duty in the Arduino programming space. Our first mission will include the task of installing the Visual Studio Code IDE. The mission’s second task involves the installation and configuration of the Arduino for Visual Studio Code extension, which will allow us to construct and compile Arduino sketches from within the Visual Studio Code IDE. The final software tool installation task will consist of the installation of Segger’s J-Flash application that will be responsible for loading our compiled Arduino sketch into our target hardware via a J-Link Pro programmer/debugger. Following the installation and verification of our RP2040 Arduino Software Development Tool Kit, we will commence with the tasks of writing Arduino sketches aimed at exercising our custom piece of RP2040-based hardware. Our custom RP2040-based hardware design includes a pair of SPI portals, a pair of serial ports, a pair of PWM pin portals, a pair of I2C portals, and some general purpose GPIO pins. The custom RP2040 board was not designed specifically for use with Arduino. The hardware exercise sketches will be the culmination of today’s mission and will demonstrate how to adapt Arduino programming methods to custom RP2040 hardware not originally designed to support Arduino.

3/26/2025 7:26:04 PM

Part List

圖片製造商零件編號說明現有數量價格查看詳情
RASPBERRY PI PICO RP2040SC0915RASPBERRY PI PICO RP20409384 - 即時供貨$139.00查看詳情
RASPBERRY PI PICO H RP2040SC0917RASPBERRY PI PICO H RP20405092 - 即時供貨$174.00查看詳情
RF TXRX MODULE WIFIIPEX SMDWIZFI360-CONRF TXRX MODULE WIFIIPEX SMD187 - 即時供貨$213.00查看詳情
ARDUINO UNO SMD R3 ATMEGA328A000073ARDUINO UNO SMD R3 ATMEGA3281711 - 即時供貨$914.00查看詳情
ARDUINO UNO R4 MINIMAABX00080ARDUINO UNO R4 MINIMA1721 - 即時供貨$695.00查看詳情
ARDUINO UNO MINI LEABX00062ARDUINO UNO MINI LE129 - 即時供貨$1,878.00查看詳情
ARDUINO UNO R3 ATMEGA328P BOARDA000066ARDUINO UNO R3 ATMEGA328P BOARD2969 - 即時供貨$960.00查看詳情