Hi,
I have a microcontroller project. I would like to control a piece of machinery that has a remote control input. This input starts and stops the machine. The input consists of two wires: join them together the machine runs, disconnect and it stops. I would like the microcontroller to interface to the machine via a suitable transistor that will connect and disconnect the remote control input wire. The microcontroller and machine will run from different power supplies. My question is this: Disregarding the actual voltages and currents involved, can I essentially connect the collector and emitter of the transistor to the two input wires of the machine and the base to one of the microcontroller output pins? Is it ok to use the transistor this way to bridge two essentially separate circuits? Or does the emitter of the transistor need to be connected back to the microcontroller ground rather than relying on the machines ground? What is best practice here...?
I have a microcontroller project. I would like to control a piece of machinery that has a remote control input. This input starts and stops the machine. The input consists of two wires: join them together the machine runs, disconnect and it stops. I would like the microcontroller to interface to the machine via a suitable transistor that will connect and disconnect the remote control input wire. The microcontroller and machine will run from different power supplies. My question is this: Disregarding the actual voltages and currents involved, can I essentially connect the collector and emitter of the transistor to the two input wires of the machine and the base to one of the microcontroller output pins? Is it ok to use the transistor this way to bridge two essentially separate circuits? Or does the emitter of the transistor need to be connected back to the microcontroller ground rather than relying on the machines ground? What is best practice here...?