Electronic – Use BJT transistor as a switch without inverting the signal

digital-logicswitchingtransistors

I know I can use a transistor as a switch like this:

schematic

simulate this circuit – Schematic created using CircuitLab

Can I use only one transistor that will output the same signal (not inverted)? I want to use it to shift voltage level. The input is digital at 3.3V and should output 5V TTL levels.

Best Answer

This circuit tends to be used quite often: -

enter image description here