3V Input to 5V/TTL Converter
This circuit converts 3V input to be connect to 5V or TTL device. This is a very simple common-base configuration circuit and uses 4 components only. R1 and R3 are used to pull-up voltage to 3V and 5V respectively if no 3V input is present. While R2 is used to limit the base current of Q1 when its start to conduct when the input becomes low.