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?
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.
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.