A voltage-to-frequency converter (VFC) is an oscillator that outputs a square-wave, whose frequency is linearly proportional to its input voltage. The output square wave can be directly fed to a digital pin of a microcontroller to accurately measure the DC input voltage