I have an encoder, the circuit is in the image below:
The one that I’m interested in is the PNP one. I want to use a 0-5 V digital voltage, the datasheet says this:
- Applied voltage: 30 VDC max.
- Source current: 35 mA max
- Residual voltage: 0.4 V max. (at source current of 35 mA)
By my calculations with basic kirchhoff law I cannot obtain 5 V because the 35 mA max, the pulldown resistor should be very low, because the emitter resistor is very low. Am I missing something, how can I dimension the correct resistor?
This was the calculations that I made, what was wrong I'm very tired: