How to control a matrix of electromagnets
You can use the shift register and transistor concept. The voltage drop due to the MOSFET on resistance will be lower than Vce of a BJT in saturation, so I use MOSFETs.







simulate this circuit &ndash; Schematic created using CircuitLab