I will be using arduino nano to turn on and off 5 electromagnets like these ( 20/15 suction 2.5KG 25N mini electromagnet solenoid 12v electromagnet 12 volt small electro magnet 24V coil 6V electric magnet|electro magnet 24v|magnet 24vmagnet magnet - AliExpress ). The magnets will be powered with external powersupply.
At first I thought about using a relay board but I understand that it
s not the best solution because it wont be able to switch as fast and im not using mains voltage. By reading other posts I saw a solution with logic level power MOSFET and another guide with ULN2803: 8 Channel Darlington Driver
ULN2803A.pdf (377.5 KB)
Any suggestions of what might be the best solution, because my knowledge is quite limited and I just dont want to fry the whole arduino.
Am I correct, that MOSFET solution would need a flyback diode and a pull down resistor?
Does the darlington driver even work for my solution and wouldn`t it need flyback diode and pull down resistor too?