Wiring electromagnets and fans



  • Hi all,
    I am wondering if electromagnets can be handled like fans in generall and if it is safe to connect an 24V 3,6W electromagnet directly to a fan output. Also I would like to know if there is any risk to wire two fans in parallel to the same output.

    Thanks in advance!



  • Coil electromagnet: This depends entirely on the electrical characteristics of the electromagnet. Maybe 24V 3.6W means 0.15A in steady state (150mA). This is probably OK on a fan output. BUT... those numbers are "steady state"

    I would consider a simple diode to block back-emf from the collapsing magnetic field when the coil goes off...

    Two fans in parallel will work if:

    1. Both fans are the same voltage rating and it matches the fan output.

    2. The two fans current rating, summed, does not exceed the current rating of the fan output

    3. You do NOT PWM them. Run them at 0, or 255. Having said that, PWM might work, or it might act really weird with two in parallel.



  • Thanks for your fast reply 🙂
    Doesn't the Duet Wifi have a fly-back diode to prevent damage caused by back-emf?
    Do the 1.5A max current in the wiring diagram apply to each output or to all of them together?
    What would be the problem with PWM?



  • PWM might work. It won't hurt anything to try. The main problem will be the fans interacting with each other. All motors are generators as well, and during the PWM "off" moments, one fan might drive the other,etc.

    I don't know about the flyback for sure, you can check the schematic.

    I'm about 90% certain the 1.5 is per output.



  • @Danal said in Wiring electromagnets and fans:

    Coil electromagnet: This depends entirely on the electrical characteristics of the electromagnet. Maybe 24V 3.6W means 0.15A in steady state (150mA). This is probably OK on a fan output. BUT... those numbers are "steady state"

    I would consider a simple diode to block back-emf from the collapsing magnetic field when the coil goes off...

    Two fans in parallel will work if:

    1. Both fans are the same voltage rating and it matches the fan output.

    2. The two fans current rating, summed, does not exceed the current rating of the fan output

    3. You do NOT PWM them. Run them at 0, or 255. Having said that, PWM might work, or it might act really weird with two in parallel.

    Sorry to raise this from the dead. But would it be possible to have a fan output go to a ssr or external mosfet to switch a coil electromagnet. It will be fan at 0 or 255. Nothing in between. That way to help isolate the higher current circuit from the fan circuit.



  • Sure. Mosfet or SSR is a very valid way to drive almost anything from a Fan output.


  • Moderator

    @tekstyle I think that should be ok.


  • Moderator

    @Danal JYNX


  • administrators

    To clarify:

    • You can run an electromagnet/solenoid directly from a Duet fan output. Early Duet WiFis didn't have flyback diodes built in, but more recent ones do (from version 1.03 AFAIR).
    • Max continuous output current is 1.5A per fan, but you may need to increase the current rating of the fan fuse. Up to 2.5A is allowable for a short period e.g. half a second.
    • So no need to use a SSR unless the holding current will be >1.5A.
    • You can certainly use a SSR if you prefer. If it is a 24VDC solenoid, you will need DC-DC SSR.


  • thank you for the clarification and the confirm from all of you! it's a 24V electromagnet but I think I might isolate it either way. I don't want to end up blowing things as it will be on continuously and only switched off and back on during tool change.


Log in to reply