JJ2430
Member
Perfect!
By the way I tried your suggestion of implementing the 1K pull-up to gate and it works. The ESP is powered first to have a LOW signal to gate ready and then when the 12 volt PSU is on, the motor waits until the gate receives the HIGH signal. NICE WORK on that one Mike. But as you say there is a slight latency on the switching but not very noticeable. Is there a risk for pin 23 since the diode is not blocking any reverse voltage to ESP? And the other concern is heat. With that method the MOSFET is generating a lot of heat, even if I keep the motor activated for less than a second and wait 5 seconds between HIGH's and LOW's. I didn't notice that when I was momentarily feeding the gate directly with 5 volts.
By the way I tried your suggestion of implementing the 1K pull-up to gate and it works. The ESP is powered first to have a LOW signal to gate ready and then when the 12 volt PSU is on, the motor waits until the gate receives the HIGH signal. NICE WORK on that one Mike. But as you say there is a slight latency on the switching but not very noticeable. Is there a risk for pin 23 since the diode is not blocking any reverse voltage to ESP? And the other concern is heat. With that method the MOSFET is generating a lot of heat, even if I keep the motor activated for less than a second and wait 5 seconds between HIGH's and LOW's. I didn't notice that when I was momentarily feeding the gate directly with 5 volts.