- Mon Feb 29, 2016 4:22 am
#42100
martinayotte wrote:5- It doesn't matter if VCC2 is 12V or 50V. If GND and GND2 are not connected together, than the gates of the MOSFET don't have any reference since ESP GPIO output voltage as no reference to GND2. Trust me (I'm doing EE since more than 35 years), it really needs to be connected together. Otherwise you will need opto-couplers.
one more question do you see any change i can do here that will make the life time of the board and component longer
as this will be fixed in a wall electricity box.
and about your advice before to change the 2N2222 with MOSFET is that going to change the functionality of the circuit , or and will improve the expected life time .
what suggestion i should go with in PCB layout as form safety prospective even a hints , i know it's very long list and specification to comply with it . but this for personal so no need to take any certificate but i should keep some safety.