Misc. Circuits: Push-Pull Coil or Motor Driver Using 741 Op-Amp
Here’s a circuit I found that allows a sensor input to control the direction of a motor or the polarity of an electromagnet coil on the output.
I found the circuit here:
Along with a great theory section including math for the mathematically inclined.