https://hackaday.com/2023/12/21/arduino-measures-remaining-battery-power-with-zero-components-no-i-o-pin/
Читать далее...Hackaday
Arduino Measures Remaining Battery Power With Zero Components, No I/O Pin
[Trent M. Wyatt]’s CPUVolt library provides a fast way to measure voltage using no external components, and no I/O pin. It only applies to certain microcontrollers, but he provides example Ar…