Bengt
Junior Member level 1
See wikipedia for the voltage levels of RS232 and you will understand the problem. RS-232 - Wikipedia, the free encyclopediaHowever, it IS possible to connect a single supply circuit without a proper level shifter. If you only transfer data from PC to circuit, it is easy as you don't have t bother about the problem about generating a negative signal and that is the reason the simple circuit nifleheim13 showed is working. The input signals (1 and 0) are both to big (1=15V, 0=-15V) and the only thing you need to do is to use current limit. It is R2=22 kohm that do this. So, level shifter = one resister. Cheap and good performance.
If you need to transfer data TO the PC it is more complicated as the circuit can not generate the high voltage signals and that is the reason we need a level shifter. If you going very slow it should be possible to use a combination of current limiting and pull-up/pull down but it is not worth the effort.
If you need to transfer data TO the PC it is more complicated as the circuit can not generate the high voltage signals and that is the reason we need a level shifter. If you going very slow it should be possible to use a combination of current limiting and pull-up/pull down but it is not worth the effort.