Comment on How to improve my battery measurement circuit?

<- View Parent
Yonrak@feddit.uk ⁨1⁩ ⁨year⁩ ago

Not sure I understand this point. Which resistor would you replace with a diode?

Sorry, I think I was talking nonesense (doing this in my head and just woke up 😅).

Not sure it’ll work with just a P-FET actually. You’ll likely need to control the PFET with a NFET, otherwise you still end up with too high a voltage on your control pin when the FET is off due to the gate pullup (unless you can use a fet with a very high Vgs Threshold).

The above comment about diodes was to protect the microcontroller pin, but you end up not being able to control the FET doing it that way.

source
Sort:hotnewtop