this post was submitted on 27 Dec 2025
7 points (100.0% liked)
Ask Electronics
4075 readers
1 users here now
For questions about component-level electronic circuits, tools and equipment.
Rules
1: Be nice.
2: Be on-topic (eg: Electronic, not electrical).
3: No commercial stuff, buying, selling or valuations.
4: Be safe.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
An easy and cheap way to get more outputs from a microcontroller is to use a shift register such as a 74HC595. Each one has 8 outputs. You can connect the serial data output of one shift register to the input of another and chain together as many as you need.
For driving large numbers of solenoids, multiplexing would probably be the better option though.