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.
Part List
图片 | 制造商零件编号 | 描述 | 可供货数量 | 价格 | 查看详情 | |
---|---|---|---|---|---|---|
![]() | ![]() | SC0915 | RASPBERRY PI PICO RP2040 | 8046 - 立即发货 | See Page for Pricing | 查看详情 |
![]() | ![]() | WIZFI360-PA | RF TXRX MOD WIFI TH SMD | 1864 - 立即发货 |
1 : ¥37.71
剪切带(CT)
500 : ¥27.29
卷带(TR)
1 : ¥37.71
Digi-Reel® 得捷定制卷带
| 查看详情 |
![]() | ![]() | SC0917 | RASPBERRY PI PICO H RP2040 | 2917 - 立即发货 |
1 : ¥41.35
散装
| 查看详情 |
![]() | ![]() | WIZFI360-CON | RF TXRX MODULE WIFIIPEX SMD | 25 - 立即发货 |
1 : ¥39.20
剪切带(CT)
500 : ¥25.55
卷带(TR)
1 : ¥47.96
Digi-Reel® 得捷定制卷带
| 查看详情 |
![]() | ![]() | A000073 | ARDUINO UNO SMD R3 ATMEGA328 | 917 - 立即发货 |
1 : ¥217.49
盒
| 查看详情 |
![]() | ![]() | ABX00080 | ARDUINO UNO R4 MINIMA | 1453 - 立即发货 |
1 : ¥132.31
散装
| 查看详情 |
![]() | ![]() | ABX00062 | ARDUINO UNO MINI LE | 150 - 立即发货 |
1 : ¥446.56
散装
| 查看详情 |
![]() | ![]() | A000066 | ARDUINO UNO R3 ATMEGA328P BOARD | 434 - 立即发货 | See Page for Pricing | 查看详情 |