Found this and thought I’d share it:
There is more here:
I would at least add some protection to this circuit to avoid frying the pins of the Arduino, in case one forgets to turn down the pot It might even be better to design this with a fixed potential divider. Like that, the meter is kind of calibrated.