I'm trying to see if it's possible to build a large grid (hundreds) of electromagnets, where very electromagnet should be able to get both directions of currents (to generate magnetic fields with both polarities). A simplifying condition is that only a single electromagnets has to be active at a given time.
Controlling multiple EM's can be done with bitshifters and Darlington arrays, while making a bi-polarity EM circuit can be done with an H-bridge. I'm having trouble combining the two. Darlington arrays seem to only come in NPN flavor, and not the PNP that one would need to complete the H-bridge type circuit (if my understanding here is correct.) I was hoping to avoid making an H-bridge for every EM, especially since only one EM needs to be activated at a time.
Is it possible to make a circuit with these requirements in a scalable way?