Back when I was prototyping the wiring for the Marsarium, I got snagged on a bit of a problem. Whenever one of the gas valves closed, everything would wig out a little. I would loose connection with the the relay boards that were controlling all the 12 volt stuff.
When I was describing the problem to my friend Kurt Schoenhoff, he figured it out straight away:
“It sounds like you need some flyback diodes.”
The gas valves used 12 volt solenoids for starting and shutting off the gas flow. Apply 12 volts, and the valve would open. But while the magnetic field inside the solenoid collapsed and the valve closed, it would briefly run in reverse and generate 12 volts. This feedback current ran back into the relay controllers and threw everything out of whack.
The flyback diode acted as a ‘shunt’, diverting this feedback current away from harm. It channeled it back into the solenoid valve, where it got eaten up by resistance in the wire coil inside. Leaving the relay controllers happy and stable.
I used 1N4004 diodes, which was total overkill. The main difference between the 1N400x diode series is their supported voltage.
The 1N4001 can block up to 50V of reverse voltage, while all the way up at the other end the 1N4007 can block up to 1000V. The 1N4004 blocks up to 400V of reverse voltage, can handle 1A and will have about about 0.7V drop.
Become a Patreon to get early and behind-the-scenes access along with email notifications for each new post.
Hi! Subconsciously you already know this, but let's make it obvious. Hopefully this article was helpful. You might also find yourself following a link to Amazon to learn more about parts or equipment. If you end up placing an order, I make a couple of dollarydoos. We aren't talking a rapper lifestyle of supercars and yachts, but it does help pay for the stuff you see here. So to everyone that supports this place - thank you.