Closed ghost closed 6 years ago
The "higher-on-demand.png" is wrong. When the mosfet is 'off', and battery voltage is higher than "MCU VCC +0.5volt", current will still flow through R1 and the pin protection diode of the MCU to VCC of the MCU.
You are totally right, I should have used a p-channel mosfet! Well spotted!
I've fixed the README diagram, I will remove the png files: thanks!
The "higher-on-demand.png" is wrong. When the mosfet is 'off', and battery voltage is higher than "MCU VCC +0.5volt", current will still flow through R1 and the pin protection diode of the MCU to VCC of the MCU.