So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By giannis
#88827 thanks for this!!!! :D :D :D :D :D :D

sunildm4u wrote:SOLVED - i was able to do some more research and find the actual issue and solution. The problem was I was using 5v of Node MCU to power the relay board (VCC) and used GPIO of node MCU as IN1 for the relay which was only 3.3 volt.

In my case, for relay to work properly it requires the both VCC and IN pin should have input voltage. So instead of using 5V pin of Node MCU I used 3.3v pin of Node MCU and everything started working as expected.

Hope it helps someone :)