Greetings,
Sorry didn't see the schematic. Thought i saw a fat trace from IN4 Led to GND and though it was using ground. But that was very wrong and i apologize.
I am following because I haven't found that successful thread on these forums for someone complaining about relays and A/C without it just being the power supply or the board. I did find a few old ones but my Google-Fu might be the issue. Hoping to live vicariously through you before my next project.
Did you buy the relay kit from a reputable source? I saw you checked for current leaks and isolation. The cheapo ones i have put traces all around the "high" relay switched side which is asking for EMF and safety issues if I used it for AC.
Probably not A/C safe based on trace width/seperation but i think its for learning... speaking of learning.
I have learned to trust nothing from the usual discount sources. Most of my issues are because i am buying inferior product and getting an electronics lesson out of it as the QA department... Out of the 3 relay kits I bought only 1 worked without much issue. When I checked them with my multi meter various parts were not working. I am only switching DC (scary non-isolated DC ~ 15v) but DC. But that required a lot of filtering for some reason.
Quote
filter cap
Do you mean something like "snubber circuits"?
I guess but without the resistor? A filter capacitor for like in this guide.
De-coupling
I just remember way back in physics class when we used a capacitor to filter they called it a filter cap.
I would expect you would want it as close to the Arduino as you can based on the guide and it makes sense to me since you want the filter as close as can be since traces and wires are probably little antennas.
If you add caps to the signal lines there will be a slight delay since you will be charging/uncharging the capacitor before the signal can go high but for switching a relay (slow) it shouldn't be an issue even if you double it up more than a typical signal one. See Protection
I am only switching non-isolated DC current and even then:
1.) I needed a (100pF) capacitor on the signal line near the Arduino to stop the RF interference from the relay and all the noisy things that line is picking up being around inside my box. (Guess my wire is an EM antenna.)
2.) I put a capacitor on the relay board between the Vcc and Gnd to deal with voltage drops since my little Nano is powering the relay and its probably surging the AMS1117. (I was well within specs... but my nano doesn't have an output cap on the regulator.)
3.) I also added a smaller cap across my replaced diode (surface one seemed faulty) (THT 1N4001) since they say a little cap can help give the diode time to turn on and soak the initial fly-back current from the relay if its a slow rectifying diode. I was going to add another cap at my board but i powered it up and it worked so I carefully backed away and let it do its thing.
Note: All of these terms are very new to me so I am probably using them wrong as well. Or i just added capacitors to where i didn't so they are just decorations. Without good fundamentals and no signal understanding (no scope) I am probably just decorating. :o
But it looks pretty to me and it started working.
I also read that for AC you need a properly rated MOV to help ease the disconnect.
Maybe someone could recommend a good 220V one.
This was from the 1 success i saw about 9 years ago.
There might be more successes but they don't respond or I am terrible at searching.
Sorry for the book worth of text but I want to see you succeed and tell me what you did so I can bundle it into my own relay board... for it to not work for me.