Relay not working properly with nodemcu but working with arduino

I have made a project using nodemcu that controls an extension board through an app.
I have hooked it up to a 4 channel relay for the same. But for some reason the led on the relay is working but the relay itself is not working. I tried using another relay board that i had and that is also not working. Can anyone help me? The same relay board does work with an arduino but not with the esp8266

Most Arduinos, the Uno and Nano for instance, are 5V devices. The ESP8266 is 3.3V device. Could that be a factor ?

How are the relays connected to the boards ?
Are the relays powered directly from the board ?

Post a schematic and some pictures. Relay boards often have a jumper which should be removed that isolated the uC Then you supply power to the board from a power supply and logic from the esp32

you have to give 5v external supply from the arduino or battery and connect control pins from nodemcu to relay and don't forget to connect common grnd.

Actually i made the whole project on bread board about a year ago and then it worked properly. But I soldered it a few weeks ago and since then it is not working. The nodemcu works properly but only the relay is giving problems. I tried to operate with a new nodemcu but it still doesnt work.

I am powering the whole project with a 5v 1 amp adapter...i am providing power to the relay with the VIN pin of the nodemcu

i am giving it 5 volts directly from the adapter through the VIN pin

Ill send the schematic in a few minutes.

Relay not working properly with nodemcu - Hardware - Arduino Forum

it is still not working

okay lets check whether relay is working or not just give ground to any relay digital input whether it sounds or not.

Yes, quite.

the relay seems to work fine

okay

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.