Hello, I'm new in electric and I'm trying to use ESP8266 for controlling selenoid door lock, as picture attached.
I've checked ESP8266 works fine it could get data from firebase and send data to pin.
But I could not make it works with Selenoid Door Lock.
For battery I used 9v alkaline battery and it did work for selenoid door lock without relay when I checked it out. I've also already tried to replace battery with Adaptor 12V 2A.
I've already tried to use a diode parallel to magnetic locks but still does not work.
Could you please tell me where did the wiring go wrong?
Did it not work because I use 3.3v in ESP8266 as VCC in Relay Module?
Should I add Arduino Uno for Mikrocontroller to get 5v VCC?
I would appreciate it if anyone could help me.
Thank you.
I've checked ESP8266 works fine it could get data from firebase and send data to pin.
But I could not make it works with Selenoid Door Lock.
For battery I used 9v alkaline battery and it did work for selenoid door lock without relay when I checked it out. I've also already tried to replace battery with Adaptor 12V 2A.
I've already tried to use a diode parallel to magnetic locks but still does not work.
Could you please tell me where did the wiring go wrong?
Did it not work because I use 3.3v in ESP8266 as VCC in Relay Module?
Should I add Arduino Uno for Mikrocontroller to get 5v VCC?
I would appreciate it if anyone could help me.
Thank you.