Measuring voltage across a resistor using a micro controller
Use an instrumentation amplifier, with the two ends of the resistor connected to the + and - inputs. The ADC input is connected to the output of the amplifier. This technique is often used for current measurement.