M
M
Mercury132015-07-13 17:18:32
Electronics
Mercury13, 2015-07-13 17:18:32

Encoder to microcontroller: PNP or NPN?

I want to buy an inexpensive parallel encoder and experiment with it. Firmware, of course, at my disposal. The encoder is available in two versions: PNP and NPN, according to the type of input transistor (in the sense of which transistor to put at the input of the circuit). Which one is better to take to fit the digital port of the microcontroller? Or, whatever one may say, each line needs a corresponding transistor?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question