schnell
Electrical
- Apr 26, 2010
- 105
Hello,
The basis of this thread is:
If you have a signal that you are sending across a PCB to a uC…..is it better to send the signal as a current , or as a voltage?
(incidentally, the PCB has three ~5W SMPS’s on it.)
- - - - ---- - - - - - - --- - - - - - - - - - - - - -- -- - - -
….is it true that sending the signal as a voltage is bad because it may get corrupted by noise?
Here is the circuit diagram…it’s the signal from a thermistor which gets buffered by an op amp then sent to a uC……(the uC’s ADC reads the voltage)
CIRCUIT DIAGRAM:
(Vcc = 5V)
(-the actual thermistor is off the board, and is connected by wires and a shrouded header on the PCB)
The thing is, the PCB track from U4A output to PTA4 on the uC, is about 10cms long, ……..this is a voltage signal, from the opamp.
Would it have been better to put the opamp nearer the uC….and then basically the output of U4A would not have to travel so far to the uC ?……………..
…….the actual thermistor signal (current flowing through the thermistor) would then have to travel further to get to the opamp, but that’s ok(?), because that is a current…..the actual thermistor signal does not get converted to a voltage until it goes into resistor R31 , which is next to the opamp.
So which is best for sending a signal, current or voltage?
-and also, why is such the case?
The basis of this thread is:
If you have a signal that you are sending across a PCB to a uC…..is it better to send the signal as a current , or as a voltage?
(incidentally, the PCB has three ~5W SMPS’s on it.)
- - - - ---- - - - - - - --- - - - - - - - - - - - - -- -- - - -
….is it true that sending the signal as a voltage is bad because it may get corrupted by noise?
Here is the circuit diagram…it’s the signal from a thermistor which gets buffered by an op amp then sent to a uC……(the uC’s ADC reads the voltage)
CIRCUIT DIAGRAM:
(Vcc = 5V)
(-the actual thermistor is off the board, and is connected by wires and a shrouded header on the PCB)
The thing is, the PCB track from U4A output to PTA4 on the uC, is about 10cms long, ……..this is a voltage signal, from the opamp.
Would it have been better to put the opamp nearer the uC….and then basically the output of U4A would not have to travel so far to the uC ?……………..
…….the actual thermistor signal (current flowing through the thermistor) would then have to travel further to get to the opamp, but that’s ok(?), because that is a current…..the actual thermistor signal does not get converted to a voltage until it goes into resistor R31 , which is next to the opamp.
So which is best for sending a signal, current or voltage?
-and also, why is such the case?