I would like to use the ESP32 Board to power 6 electromagnets (Keyestudio Electromagnet Module). I was wondering how exactly I would go about doing this. I only need to turn the electromagnets on and off.
I understand I need an external power source. Would a 9V battery be enough? Is it as simple as connecting each electromagnet to a digital pin and dividing the power among the 6 electromagnets?
PS: I'm sorry if I am missing anything major. I am very new to circuits, especially using electromagnets.