Rapspberry Pi Pico (rp2040) boards support
MCU | 2 PWM mode | 4PWM mode | 3 PWM mode | 6 PWM mode | pwm 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.
Board | Name | Specifications | Link | Price |
---|---|---|---|---|
![]() | Raspberry Pi Pico RP2040 | Dual ARM Cortex-M0+ - 3.3V logic - 16 PWMs - DMA controller - 4 adc pins - 133MHz | Adafruit Store | 5€ |
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: