I'm clueless when it comes to electronics so bear with me.
I want to control the intensity and polarity of a series of electromagnets (at the same time if possible) on an ATmega328 microcontroller and I cannot figure out the setup. Can anyone help me? Where do I start even? What pins do I use?
Do I need a driver, a darlington transistor array or a mosfet transistor array, or a H-brigde? I don't know the difference...starting at the beginning.
Each electromagnet is powered with a 12V DC power supply, consumes 3 watts, and has two connecting leads.
Any help is greatly appreciated.