Most microcontrollers (MCUs) already have ADCs built in; the only thing you need to do externally is divide the voltage down with two resistors, so the maximum in to the MCU pin is less that its supply voltage, or the ADC reference voltage (depending on the type).
eg. For a 5V MCU, just two equal resistors in series (say 2 x 1K) from the 8V to 0V, then the MCU connects to 0V and the junction of the two resistors would be at half the input, so fine for connecting to an ADC pin on the MCU.
For a 3.3V one, the upper resistor could be around twice the lower, so the ADC sees roughly 1/3 the original voltage.
Possibly 1.8K and 1K.