Go Down

Topic: Do I need a fly back diode for a relay controlled solenoid (Read 2423 times) previous topic - next topic


I've been reading through the forum and I understand that I need a fly back diode when driving an inductive load due to back emf.  The 12VDC 6A solenoid is controlled through the relay that is connected to the arduino.   The relay circuit has a fly back doide, but do I also need one for the solenoid that's the separate circuit?




You don't need one, but it might make your relay contacts last a little longer.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.
I speak for myself, not Arduino.


There have been a few posts here where folks have switched a solenoid with a relay without a flyback diode across the solenoid, and the Arduino has tended to lock up or suffer other problems when the solenoid was switched. In at least one case, adding a flyback diode fixed the problem So a flyback diode is recommended - and, as AWOL says, it will prolong the life of the relay contacts.
Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.


Thanks for the replies.    I will add the fly back diode.   



do it. I work for an electric car company, and they decided to not implement a diode across a relay/microswitch system, and the switches will fail after about a year. with a Panasonic part that has a built-in diode, there have been no issues.

Go Up