Raspberry Pi Pico 2
The Raspberry Pi Pico 2 is a compact board with a moderate number of IO pins. It is a popular choice in builds where space is at a premium. Both the Pico 2 and Pico 2 W are supported, however the wireless capabilities of the Pico 2 W are not used by MobiFlight.
Specifications
- 23 digital IO pins, 16 with PWM support.
- 3 analog inputs (can be used as digital IO pins).
Warning
The Pico 2 uses 3.3V for its signals. While 5V is tolerated for digital inputs, this has the following implications:
- Certain output devices, including the MAX7219 display driver, require 5V digital signals. If you plan to use those devices with the Pico, you will need to add a level shifter to your build.
- Analog inputs expect a voltage in the range from 0V–3.3V. Therefore, the positive end of a potentiometer should be connected to 3.3V, not 5V, to ensure reliability and accuracy.
| Device | Limit | Notes |
|---|---|---|
| Analog input | 3 | |
| Button | 26 | |
| Digital Input Multiplexer | 6 | |
| Encoder | 13 | |
| Input shift register | 6 | Six chains of shift registers, 32 bits each (2x16 or 4x8 bit shift registers). |
| LCD Display | 2 | |
| LED / Output | 26 | |
| LED 7-Segment | 6 | 6 TM1637 modules, or 6 chains of MAX7219 modules, or a mix of both. A 5V power supply is required when connecting more than one display. |
| Output shift register | 6 | Six chains of shift registers, 32 bits each (2x16 or 4x8 bit shift registers). |
| Servo | 8 | |
| Stepper | 6 |
