00:00How To Achieve Zero Power Consumption
00:02Voltage Detection Optimization Solution
00:09Why Does The Battery Charge Continue To Drain Even After The Device Is Turned Off?
00:14Welcome To YB Science Corner
00:16Two Resistors Divide The Voltage Of The Battery
00:19Voltage Measurement After Filtering
00:22Taking A Lithium Battery Voltage Of 4.2V As An Example
00:26The Wasted Current Is 9.3UA
00:29Option 1 NMOS Lower Switch
00:33The First One Is Straightforward When You're Not Measuring Voltages
00:37Disconnect The Discharge Circuits Of The Two Voltage Dividers And Add An NMOS Transistor
00:43This Circuit Requires Attention When MOS Transistor Q1 Is Turned Off
00:48Resistor R2 Is Not Involved In Voltage Division
00:52The ADC Pin Of The MCU Is Directly Connected To The Battery Through Resistor R1
00:57Option 2 NMOS Center Switch
01:01To Solve The Problem That The ADC Pins May Withstand High Voltage
01:05We Came Up With A Second Option
01:07Move The NMOS Transistor Up Between The Two Resistors
01:11Suppose The High Level Of The MCU's GPIO Output Is 3.3V
01:15MCU Control Outputs 3.3V
01:17MCU Control Outputs 3.3V
01:21Then When The MOS Transistor Is Turned On The Voltages At Each Point Are As Follows
01:27So The VGs Of The MOS Transistor Equals 3.3V
01:331.4V Equals 1.9V View The Data Sheet For The MOS A03400
01:39The Range Of Its VGs Is 0-65V1-45V
01:45Attention! If The GPIO Of The MCU Is 1.8V
01:49That Must Not Turn On The MOS Transistor Of The Above Circuit
01:54Remind Everyone When Selecting The Model Of MOS Transistor
01:58Be Sure To Pay Attention To The VGs Parameter
02:02That Wraps Up This Episode's Video Content
02:05If You Have Any Questions Feel Free To Leave A Comment Below
02:09Goodbye