0
\$\begingroup\$

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.

enter image description here

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.

\$\endgroup\$
1
  • 1
    \$\begingroup\$ In addition to applying your 0-5V signal to pin-4, you also need to connect the MCP4725's ground to pin-3 of the power supply. \$\endgroup\$
    – brhans
    Dec 1, 2022 at 20:09

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.