Electronic – Using a transistor as a diode

diodestransistors

I am trying to interface a pair of Chinese calipers with my Arduino. Due to the calipers running at 1.5v, I've used a TPQ-2222 (quad 2N2222 transistors I think, please let me know if I'm mistaken) to step up the voltage to 5v. However, on power up, the Arduino fires voltage down it's pins randomly and I'm worried that that voltage may damage my calipers. Unfortunately I don't have any diodes on hand (they are on order from china, ETA 2 weeks…but they were cheap! And I'm not paying $3 for 10 diodes at my local electronics shop!)

Can I use the transistors on the TPQ-2222 as a signal diode and is it necessary because the transistor amplifying the voltage will already work as one?

Best Answer

From your question, I can't really figure out how your circuit works. But I can answer the question if you can use transistors as diodes with "yes".

One example where this is often done in discrete (non-integrated) circuits is when you want to have a diode with a very low leakage current: A diode-connected transistor (C and B terminals shorted together in order to use its B-E-diode) has much lower leakage than most regular diodes.

Clamping with pin diode, Schottky diode and diode-connected transistor

(Source: Linear Technology App'Note 43 by Jim Williams)

Just make sure you pay attention to the absolute maximum ratings of your transistors for the "blocking direction": The maximum allowed negative B-E-voltage is quite low compared to diodes.