Skip to main content
5 of 5
deleted 20 characters in body; edited title
ocrdu
  • 9.3k
  • 23
  • 32
  • 42

Resistor for open-collector transistor

I have an encoder; the circuit is in the image below:

Datasheet

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:

  1. Applied voltage: 30 VDC max.
  2. Source current: 35 mA max
  3. Residual voltage: 0.4 V max. (at source current of 35 mA)

By my calculations using Kirchhoff's law I can't obtain 5 V because of the 35 mA max; the pull-down resistor should be very low, because the emitter resistor is very low. Am I missing something? How can I dimension the resistor correctly?

enter image description here

This is the calculation that I made, what is wrong?