I agree with Paultreg and it prevents the sensor's output from floating with no connection especially. What sensors can it use, are they specific to the controller board or generic types?Perhaps to keep the SEN data lines high if no sensor is fitted?
If I didnt use the 4.7k resistor ? Ok ?I agree with Paultreg and it prevents the sensor's output from floating with no connection especially. What sensors can it use, are they specific to the controller board or generic types?
Note how the two encoder outputs don't need pull-ups.
why it will be 0/near 0 ?The sensors are most likely have open-collector or open-drain outputs. This means that they can sink current, but cannot source current.
They frequently use open-collector outputs so that the output voltage levels can be different from the supply voltage, like yours is.
You need the 4.7k resistors in order to have an output that is between 0v and 5v. If you leave the resistors off, the outputs of the sensors will always be at/near 0v, and the circuit will not work as it is supposed to.
Let's suppose the output from the sensor has an NPN Bipolar Junction Transistor as its final output drive stage. When the required base voltage is reached, current flows through the device (Collector / Emitter pathway) causing it to conduct and shunt the collectors voltage to ground. Thus the final output you will see is zero volts. When the transistor is not conducting due to no base voltage, the collector will be at the rails potential, in this case 5V. The resistor is there to limit the current through the transistor when it conducts.why it will be 0/near 0 ?
by Robert Keim
by Aaron Carman
by Duane Benson
by Jake Hertz