The usual method of bringing analog inputs into a microprocessor is to use an analog-to-digital converter (ADC). Here are some tips for selecting such a part and calibrating it to fit your needs. In ...
An N-bit flash converter is composed of 2 N-1 converters, 2 N resistors, and a logic network to sort the results into the binary code. In this configuration, Vref is equal to the converter full-scale ...