0
\$\begingroup\$

i am really frustrated and worried as my problem is unsolved. I am using an esp8266 nodemcu and a 4 channel 5v relay. When i power both with external 5v 2 amps supply it doesn't work, on the other hand when i connect both devices using separate supply from laptop's USB it works. Pls anyone can help me to solve this as i want to run both devices through the power supply. The output of power supply is 5v and working fine

\$\endgroup\$
  • \$\begingroup\$ In the case with the two separate supply units, is it ensured that the two grounds are connected? \$\endgroup\$ – Hufi Jun 13 '20 at 7:40
  • \$\begingroup\$ Yes the output of PS is given to the node mcu as well as relay with two grounds, but the catch is that the PS cannot drive even either of device connected separately also. \$\endgroup\$ – Samrat Jun 13 '20 at 8:34
  • \$\begingroup\$ Hi Samrat, Was the polarity correct when you connected the power supply? \$\endgroup\$ – vu2nan Jun 13 '20 at 10:27
  • \$\begingroup\$ Is it an AC supply perhaps? \$\endgroup\$ – Andy aka Jun 13 '20 at 12:49
  • \$\begingroup\$ Hey my problem is resolved. The fault was that i was powering the relay as well as esp through PS but later i powered only esp with PS and powered the relay through vin and gnd of esp and it workes wholeheartedly. Thank u Hufi, vu2nan and Andy aka for taking efforts for understanding and replying \$\endgroup\$ – Samrat Jun 15 '20 at 4:06
0
\$\begingroup\$

Hey my problem is resolved. The fault was that i was powering the relay as well as esp through PS but later i powered only esp with PS and powered the relay through vin and gnd of esp and it workes wholeheartedly. Thank u Hufi, vu2nan and Andy aka for taking efforts for understanding and replying

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.