I am creating a little man in the middle circuit to hijack an LED in an appliance.
I am wondering if I have the circuit right-
I have simplified the appliance circuit down to the LED circuit to focus the clarity im looking for and put together a proposed circuit below it.
The cathode of the LED is switched to power the LED in normal operation.
Am I right in thinking I will need a diode infront of each MCU pin so while the appliance pin is HIGH(LED OFF state), I can light the LED with the new MCU with a LOW state without current flowing from the appliance MCU pin? and vice versa?
I have also added a 10k resistor to stop the LED floating but im certain the appliance has such a resistor already so perhaps this is unnecessary?
Does this all seem correct?
![sample circuit.png sample circuit.png](https://forum.allaboutcircuits.com/data/attachments/310/310762-5e6d46a598d86b6173faf7b3dca94913.jpg)
I am wondering if I have the circuit right-
I have simplified the appliance circuit down to the LED circuit to focus the clarity im looking for and put together a proposed circuit below it.
The cathode of the LED is switched to power the LED in normal operation.
Am I right in thinking I will need a diode infront of each MCU pin so while the appliance pin is HIGH(LED OFF state), I can light the LED with the new MCU with a LOW state without current flowing from the appliance MCU pin? and vice versa?
I have also added a 10k resistor to stop the LED floating but im certain the appliance has such a resistor already so perhaps this is unnecessary?
Does this all seem correct?
![sample circuit.png sample circuit.png](https://forum.allaboutcircuits.com/data/attachments/310/310762-5e6d46a598d86b6173faf7b3dca94913.jpg)