Link

Rapspberry Pi Pico (rp2040) boards support

MCU2 PWM mode4PWM mode3 PWM mode6 PWM modepwm frequency config
(RP2040) RPI Pico✔️✔️✔️✔️✔️

Arduino SimpleFOClibrary recently started supporting the Raspberry pi Pico board due to a lot of effort put in by @runger1101001. The support is stil in its intial stage but most of the PWM related features are already implemented.

BoardNameSpecificationsLinkPrice
Raspberry Pi Pico RP2040Dual ARM Cortex-M0+
- 3.3V logic
- 16 PWMs
- DMA controller
- 4 adc pins
- 133MHz
Adafruit Store5€

BEWARE: limitations of the current implementation ⚠️

Raspberry Pi Pico has only the early stage of support. The PWM features work well and have been tested and most of the sensors will work well, but SPI magnetic sensors are for now not supported!

Arduino IDE support package

In order to use the Pico boards in the Arduino IDE please install the Arduino MBED OS RP2040 boards support package using Arduino IDE board manager.

If using windows you might have to do a bit of acrobatics with the USB driver, but the soluion is reasonably fast and straingth forward. Here is the link with a bit of info how to do it.

Here is quick video showing how to do it: