I'm not an electrical engineer, so maybe my concerns are not valid here:
I want to replace a physical potentiometer on a high voltage power supply, which takes 0-5v as the potentiometer input. I have a part, Adafruit MCP4725
(https://www.adafruit.com/product/935) - which gives a 0-5v output via I2C. However, it's using the 5v line from my Raspberry Pi. I want it to control my high voltage power supply potentiometer input, but it looks like that has its own 5v line.
Is it safe to use the raspberry pi 5v line as the input for a potntiometer input expecting 0-5v? How could I make this contraption work? I have the MCP4725 0-5v, it seems like I need the 5v from the high voltage power supply.
Here's the wiring for the high voltage power supply - with potentiometer 0-5v on pin 4.
I hope this makes sense. Let me know if you have questions. I've been hired to replace the physical potentiometer with software controlled one, but I don't want to break the pricy high voltage power supply. I'm more a software guy than an electronics guy.