Hi, first of all, I want to introduce myself..
I'm Lucas Viñals and I'm a devotee reader of Arduino forum but I've never join you as a member until today
Also, before I post this, I have searched a lot of information in the web..codes, special circuits, triggers, protections, isolation..etc,etc and, after all, I continue with this headache..
I want to tell you that I've been working in a domotic proyect to automate my home, but I'm having some problems with the power section.. I have been studing electronics for almost 10 years, but this kind of issues puzzled me
The problem comes when I want to activate any charge between output pins of a relay shield (COM and the NO of 2 relays) :
When I activate one relay, the other also activates! Or the same relay, turns ON and OFF quickly.
I said that, because when I test it without charge, everything works like a charm. (Two buttons send some comands, the Arduino decodes them, and turn on/off the target relay). So I assume the code is good..
First, I tried to put a Snubber circuit (RC low pass protection circuit) with a 100nF capacitor and a 100? resistor. Nothing happened.. Then I put a ferrite core with the cable rolled like a inductance (high impedance for high frequency trascient pulses and low impedance for signal). I thought that worked, but after some test, the relays started to fail again..
I also tried to put a external power supply between JD-VCC and GND in the relay shield (to polarize the output transistor in the optocoupler) , the Arduino power supply to the LED input signal, and shield (with a connector to GND) the 8-wired cable that send the signal...Also failed..
I thing that can be an EMI issue (because I have all together, the controller and the relay shield in a plastic case) but some users here said that they switch heavy loads of current(> 6A) or voltage(> 250v), without any problem.. So I tried to separate the Arduino from the relays..Same result...
BTW, the Arduino does not hang when that happens. It continues doing whatever it has to do with other things.
In any case, I'm thankful in advance to you.
PD: Sorry if I wrote wrong words or sentences, my english is not flawless.