Maker Pro
Maker Pro

DPDT Switch for Potentiometer/OptoCoupler

I have a meanwell driver with 3 in 1 dimming. I want to be able to adjust dimming both manually via potentiometer (This is the way it is set up now) and via an Arduino. If I ran the dimmer leads to the DPDT switch and the potentiometer off leg one and the OptoCoupler off leg two, this should allow switching, correct? Anything to watch out for? Thanks in advance!
 
Would be helpful to at least include a drawing of your circuit.
Not Fritzing.
Any code and details of drivers used for future reference as well.
 
Top