Adding ADC to Microcontrollers without ADC

Adding ADC to Microcontrollers without ADC

“I recently had the need to carefully measure a voltage with a microcontroller which lacks an analog-to-digital converter (ADC), and I hacked together a quick and dirty method to do just this using a comparator, two transistors, and a few …

more ...