How to get power from RS-232 port

Posted on Feb 6, 2014

This text tries to clear out the mystery of how to get power out of PC serial power. There are quite many small circuit which take all their operating power from serial port, where there are no real power output pin. Examples for this type of circuits are PC mouse and software protection dongle. You might wonder how this is possible. There is one

How to get power from RS-232 port
Click here to download the full size of the above Circuit.

way to get some power out of serial port: steal it from signal lines. When you are developing you own circuit which connects only the PC, then the only line which can be used are the output signal lines from PC serial port: DTS, RTS and TD. In normal operation situation DTR and RTS are raised so they give positive voltage output (about +12V when not loaded). TD pin is in logic 1 when no data is sent which means that it is most time at negative voltage (-12V when not loaded) most of the time. The voltage at these outputs drop quite fast when load current is increase, because they are designed to drive normally only RS-232 input circuits (3-7 kohm resistance). The voltage drops about 1-2 volts every every 1 mA of load current increase. Usually the short circuit current flow is 7-10 mA (this depends on the circuit types used in PC serial port). PC serial mouse uses typically DRT and RTS lines for generating +5V power for microcontroller circuit in the mouse. Because typical optomechanical mouse also needs power for 4 leds in the optocoupler movement detectors, there is not much power to waste. Typical PC mouse might can have the following power requirements: "+15V 4mA -15V 4mA" (taken from Microsoft mouse bottom). A typical approach make the power for microcontroller is to use diodes to take current from DTR and RTS lines and then feed it through resistor to all of the (infrared) leds in the movement detectors. All four...

Leave Comment

characters left:

Related Circuits

  • New Circuits



    Popular Circuits

    Infrared Detection with 74HC04
    Control 7 segment LED displays with AVR
    AB Transistor Audio Power Amplifier
    microphone Neumann SM 69 fet
    3 band equalizer circuit
    pills reminder schematics
    Model 300 Receiver
    Temperature and Humidity Logging Over Ethernet I
    Homemade Digital CALL-ID English Version
    A touch switch circuit
    A long light power control circuit
    Four flashing lights string circuit 4
    A resistor-capacitor circuit protection thyristor