I'm making a circuit for driving Relays, LED's from push button and few other functionalities from ESP12E module. for which I'm using simple Transistor driving circuits as shown in image.
In this I'm using ESP12E's GPIO01(TX) for driving relay & GPIO02 for driving 2 Blue LED's through transistor(BC847) from push button's input signal at GPIO03(RX)(PULLUP configuration), as all other GPIO's are being used in other IO operations.
I made and tested the circuit.
But when 'powered ON', the ESP12E doesn't go in RUN mode and the GPIO02 keeps both LED's 'ON'. I've tried keeping initial state of GPIO01 both 'HIGH' & 'LOW' but same thing happens.
So I checked tested that if I don't connect GPIO02 to transistor for driving LED's and I connect +3.3v to GPIO01(TX) at the time of powering it 'ON', then ESP12E goes into RUN mode and works fine. But it doesn't work directly as in circuit, I have to make it high at power ON externally!
Also about GPIO01 & 02 is that 'Boot fails if pulled LOW'. so is the circuit making these pins LOW at boot? if so should I use PNP transistors instead of NPN transistors(with respective PNP circuitry)?