ESP-01 + 2 channel 5V relays are always ON on powercycling
Posted: Tue Aug 21, 2018 10:56 am
Hi there,
I have this scheme of ESP01 and 2channel SSR relay (sorry about not so nice sketch) connected on gpio0 and gpio2.
My problem - after initial powering (or powercycling), relay goes first to ON state and when my esp boots (1 second) I programmed it to set default state of relays to OFF (even when I disconnect esp from scheme, relays go ON on powering, because of 1K resistor. But without 1K resistor I am not able to control relay from esp).
But I need to keep relays OFF after powering and to switch it just programatically. Which element should I change in my scheme please, to do this?
I have this scheme of ESP01 and 2channel SSR relay (sorry about not so nice sketch) connected on gpio0 and gpio2.
My problem - after initial powering (or powercycling), relay goes first to ON state and when my esp boots (1 second) I programmed it to set default state of relays to OFF (even when I disconnect esp from scheme, relays go ON on powering, because of 1K resistor. But without 1K resistor I am not able to control relay from esp).
But I need to keep relays OFF after powering and to switch it just programatically. Which element should I change in my scheme please, to do this?