How can I test dual 5v relay that not work at all

Hi
I have dual 5v relay module and it's work fine with ywrobot module 5v output, after my ywrobot broke down 5v ams1117 part this module not work properly, I changed ywrobot ams with new one, but my relay not work at all, how can I test it ?
Some times this relay works with very low led power one, but now not work at all.

A link to what you have would be nice? I would start by measuring the coil resistance right on the board. Allow for a flyback diode being across the relay coil. Apply coil voltage directly to the coil observing polarity, does it "click"?

Ron

photo_2020-04-14_16-36-10.jpg

OK, get with the program!

You tell us - with diagram and photo - how you are proposing to operate this relay module, and we will see what the problem may be.

Chances are that the first AMS1117 took out the driver hardware of that relay with it. Relays themselves are pretty robust by nature, not that easy to burn out.

wvmarle:
Chances are that the first AMS1117 took out the driver hardware of that relay with it.

Really? What "driver hardware"? There isn't much and the transistor would likely not be fazed by 12 V or so.

More thinking of the optocoupler. Not as much the 12V but the resulting current. Also the 1117 failing suggests there was more to it than just 12V.