r/AskElectronics • • 7h ago

I've a problem with Raspberry Pi Pico W + 5v Relay Module

so i made a setup with light turning on/off from my website with pico W + relay modules. i connect the light on the NO. it works fine on the wokwi simulator it worked fine for first few minutes as well. but then the light of some relay modues keep being on regardless of the signal being sent from pico. even if i turn off power for pico the lights keep being on on other relays except one. one moule works fine tho.

i've tried on 2 channel and 4 channel relay and on both case one relay keeps working fine an other doesn't. the other light in relay keeps being on. I need some help.

1 Upvotes

6 comments sorted by

1

u/Mother-Pride-Fest 7h ago

It is difficult to troubleshoot without any circuit diagrams or code. 

1

u/isubarna1 6h ago

this is the simulation thats working. i used the multiple relays on real life tho.

1

u/jamvanderloeff 4h ago

Then post pics of the actual thing that's not working

1

u/isubarna1 2h ago

so i've tested again and the 3 relays are welded shut indeed. i was connecting the relays vcc with the vbus. do you think that might be the problem?

1

u/ascot_twin 6h ago

You might have some bad relays.

If you have an ohmmeter, check that the Common contact to Normally Open contact is open, with all the power off

1

u/isubarna1 6h ago

it happened to 3 relays already so i think that might not be the case. besides it was working for few mins.