CodePudding user response:
After the 3.7 V with resistance partial pressure, reduce the voltage TL431 and reference voltage, the comparator LM339 comparison of output voltage alarm signal,CodePudding user response:
This depends on the accuracy, if the accuracy is not enough, directly through the resistor voltage divider, partial pressure connected transistor base, another triode transistor collector connection of the base, control the second triode conduction, can be achieved, if the accuracy is high, with the benchmark compared with the input voltage comparator output can be,CodePudding user response:
Can also, MCU AD voltage sampling derivation, think how many V alarm can now