Hey guys, my problem really was low voltage on coil. Now i correted it. But now i have a new problem.
I put a code on the microcontroller to just blink the ralay each 30 seconds:
It turns on, wait 30s, turns off, wait 30s and so on.
But, like each 10 loops it fails: It is supposed to turn off and it turns off and on, instead of only turning off. Or it is supposed to turn on and in fact turns on and off, like if instead keeping the voltage 0 or 5 on the base of the transistor it's only pulsing.
After failing it waits the next 30s to act again.
If i don't have a load connected on the relay it doesn't happen.
The load is a Transformer connected to a filament lamp. simple as that.
Do you think the relay is working bad after what it passed through and if i replace for a new one the problem will be gone? Or how could de load be interfering in the comutation?
Any idea why this is happening?
Thank you for helping.


