Anyway, back to the matter in hand. Although you haven't stated your power supply I'd suggest 12V, with groups of three LEDs in series with a dropper resistor. If you have any single LEDs, or you want a group of two then just increase the value of the dropper resistor appropriately.
This chip, ULN2003A, is basically seven Darlington drivers in a single package. The PCB brings out four of them to a plug for driving a stepper motor, but all seven are available on another connector, so you can easily access five of them. You can drive 500mA per channel, and control them with the Pico 3.3V output (either on/off, or PWM dimming).
https://www.aliexpress.com/item/1005003207073553.html
It's a very common chip, widely available.
Or you could just use five transistors with suitable collector current capability.
This chip, ULN2003A, is basically seven Darlington drivers in a single package. The PCB brings out four of them to a plug for driving a stepper motor, but all seven are available on another connector, so you can easily access five of them. You can drive 500mA per channel, and control them with the Pico 3.3V output (either on/off, or PWM dimming).
https://www.aliexpress.com/item/1005003207073553.html
It's a very common chip, widely available.
Or you could just use five transistors with suitable collector current capability.
Statistics: Posted by ame — Mon Feb 05, 2024 8:22 am