rlogiacco / BatterySense

Arduino library to monitor battery consumption
GNU Lesser General Public License v3.0
415 stars 76 forks source link

Thinking error. #11

Closed ghost closed 6 years ago

ghost commented 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.

rlogiacco commented 6 years ago

You are totally right, I should have used a p-channel mosfet! Well spotted!

rlogiacco commented 6 years ago

I've fixed the README diagram, I will remove the png files: thanks!