How to regulate parallel port pin output voltage to 5V

controlparallel port

schematic

simulate this circuit – Schematic created using CircuitLab

Parallel port ideally gives TTL logic 0(low) and 5V (high). But my port gives 3.3V high. I have designed my controlcircuit assuming the high to be 5V? Is there a way to regulate the 3.3V to 5.0V so that I can still use the existing control circuit?

thanks in advance

Best Answer

TTL logic should accept anything over 2.0 volts as a high. A TTL output high is only guaranteed to be above 2.4 volts, according to an ancient TI databook.

You shoud therefore design your inputs to accept anything over 2.0 volts as high, and anything under 0.8 volts as low.