Hi guys,
Firstly to summaries what i am about to say below, i basically want to mimic the signal that the pic receives from the potentiometer. I however want to leave this old circuit in there so the system can be controlled be input method A or input method B. The reason for doing this, is because i can't change the software on the PIC to use my input method B.
I have attached two images, "image1" is the circuit diagram of an the original circuit, which just provides the PIC with a input from a potentiometer.
I also want to be able to choose between two input signal's to the PIC, my initial thoughts are provided in image2 which uses a DPDT switch to change between the two input methods. The second control method comprises of another MCU which has its own input signal, which then varies a digital pot proportionally to the input signal.
The problems that i face however is that the PIC and the second MCU must be isolated from each-other, as the PIC is attached to a larger system, and due to the fact they have different supply sources. I therefore need ideas of isolating the two systems and mimicing the signals.
Does anyone have any ideas? it would be appreciated, thanks!
Firstly to summaries what i am about to say below, i basically want to mimic the signal that the pic receives from the potentiometer. I however want to leave this old circuit in there so the system can be controlled be input method A or input method B. The reason for doing this, is because i can't change the software on the PIC to use my input method B.
I have attached two images, "image1" is the circuit diagram of an the original circuit, which just provides the PIC with a input from a potentiometer.
I also want to be able to choose between two input signal's to the PIC, my initial thoughts are provided in image2 which uses a DPDT switch to change between the two input methods. The second control method comprises of another MCU which has its own input signal, which then varies a digital pot proportionally to the input signal.
The problems that i face however is that the PIC and the second MCU must be isolated from each-other, as the PIC is attached to a larger system, and due to the fact they have different supply sources. I therefore need ideas of isolating the two systems and mimicing the signals.
Does anyone have any ideas? it would be appreciated, thanks!