There are in total 26 GPIOs available on the Raspberry Pi Pico. I am considering making a carrier board with support up to 5 BLDC motors for the Pico.
- For each motor we need 3 pins for PWMs and 1 pin for EN. That means 20 pins are needed for 5 motor.
- As for current sensing, I am considering using an LTC24971 16Bit/16 Channel ADC with I2C communication. That’s 2 pins (SCL and SDA)
- And AS5047 with SPI communication for the position sensing. That’s 4 pins.
So all 26 GPIOs on the Pico are used.