Let's say you have a circuit that uses an opto-isolator to trigger a
microcontroller with simple logic high/low. (npn output)
The opto will have a steady DC voltage (through a resistor of course)
on it's led but will use a switched ground to trigger the led.
Now, let's say the pair of wires going to the switch is a couple
hundred feet or even more.
Everything works fine -- but of course, the led isn't going to be
falsely triggered by noise, etc -- it needs it's 5 ma or so to "kick
on".
Wouldn't it still be good practice to do something to eliminate or
reduce the effects of the long ground wire (acting as an antenna?)
which would connect directly to the ground plane of the PCB?
Certainly a well gorunded shield covering the pair would (probably?)
suffice but would you also want possibly an inductor of some sort
between the PCB and the ground (common) wire?
To keep noise out of the PCB ground circuit?
Actually what I have breadboarded works perectly, no issues, but I
don't have a very noisy environment either.
Thanks for any help.
microcontroller with simple logic high/low. (npn output)
The opto will have a steady DC voltage (through a resistor of course)
on it's led but will use a switched ground to trigger the led.
Now, let's say the pair of wires going to the switch is a couple
hundred feet or even more.
Everything works fine -- but of course, the led isn't going to be
falsely triggered by noise, etc -- it needs it's 5 ma or so to "kick
on".
Wouldn't it still be good practice to do something to eliminate or
reduce the effects of the long ground wire (acting as an antenna?)
which would connect directly to the ground plane of the PCB?
Certainly a well gorunded shield covering the pair would (probably?)
suffice but would you also want possibly an inductor of some sort
between the PCB and the ground (common) wire?
To keep noise out of the PCB ground circuit?
Actually what I have breadboarded works perectly, no issues, but I
don't have a very noisy environment either.
Thanks for any help.