How to make software voltage divider?

Hi,

I'm assuming you are considering adding some hardware that can be controlled by software. This being the case;

There are software controlled resistors or perhaps a DAC could work. However you stated the power supply circuits are isolated from the Arduino. This has to be addressed as well. Could you tell us more?