Connect SLA-12VDC-SLC Relay with ESP8266

Hi guys,

I have this relay SLA-12VDC-SLC and want to let it work with ESP8266 but I couldn’t make it work.
this relay I have:

I tried with this connection with Picture attached.

Actually I have 5 VDC relay and I connect it as the same in picture and works fine but 12 vdc not working with me.

Any help please.

Thanks for all

for update the result…with the same connection can trigger on but when the signal is LOW from ESP8266 pin to relay, didn’t turn off the relay and the relay keep trigger!

Any Idea please

it solved by adding transistor and resistor.

for every one has the same issue, here is the schematic which helped me and I followed

MKSaeed:
for update the result...with the same connection can trigger on but when the signal is LOW from ESP8266 pin to relay, didn't turn off the relay and the relay keep trigger!

Any Idea please

You are running the input of the relay from 5V and your relay module is actually a LOW input to activate the relay.
To deactivate the input pin would have to go to 5V, the ESP2866 goes up to 3V3, so not high enough to release the relay.
Your circuit is the best way to solve the problem, good job.


Tom... :slight_smile: :slight_smile: