Description: The following circuit is an example of how to get power from an RS-232 serial port. It provides regulated +5V power for logic circuits and also unregulated positive and negative power supplies for the RS-232 transmitting circuit. The circuit delivers only a few milliamperes of power output because the power available from the serial port is limited (and resistors R1, R2, and R3 limit current further).
Modern PCs typically have a 9-pin port instead of this older 25-pin port. To use this circuit with such a PC, there are two options: use a 9 to 25 pin adapter or modify the circuit for a 9-pin port. More current can be obtained from the circuit by omitting the resistors (R1, R2, R3) and replacing them with a short piece of wire. The 78L05 regulator consumes 3-4 mA of current continuously and requires at least a 2V voltage drop; thus, finding a similar regulator that consumes less current and has a lower voltage drop would yield more current for the circuit. Some small signal input circuits have been observed to take positive and negative supplies for simple operational amplifier circuits just by using DTR and RTS lines. By driving one of these lines high (1) and the other low (0) using appropriate software routines, positive and negative voltages can be obtained from those pins.
The amount of power that can be drawn from a serial port depends on the circuit technology used in the serial port. B&B Electronics Connection Newsletter number 2 contains a useful article titled "Tips For Using Port Powered Converters," which discusses the potential power output from various serial ports. The following data is extracted from that article:
Type of Driver | State of Line | Voltage at No Load | Voltage/Current per Driver (Max) | Power Available from 3 Driver Outputs
------------------|---------------|---------------------|-----------------------------------|--------------------------------------
1488 | Positive | +9..11V | +5V @ 6.5 mA | 98 mW
1488 | Negative | -9..11V | -5V @ 6.5 mA | 78 mW *
MAX232 | Positive | +7.5V..8V | +5V @ 5 mA | 75 mW
MAX232 | Negative | -7.5..8V | -5V @ 3.5 mA | 42 mW *
EIA-562 | Positive | +3.7..5V | +4.5V @ 1.5 mA | None
EIA-562 | Negative | -3.7..5V | -4.5V @ 1.5 mA | None
Note: The power ratings are what can be obtained using the methods described by B&B Electronics in their circuits. The values marked with an asterisk (*) represent the power available after converting the negative power to positive +5V with additional electronics connected to the serial port.
Additionally, another table illustrates the power available from different computers via the RS-232 port RTS line and how the load affects the available voltage. This information has been collected from RS-232 powering articles posted to the sci.electronics.design newsgroup. Although these results have not been verified, they seem to align with similar values found during RS-232 experiments and should be applicable to other RS-232 port lines in PCs (TXD and DTR).
Simple circuits that do not draw much power (less than 2 mA) can derive their power from a single serial port line (DTR, RTS, or TD). An example of this approach is a Serial Port A/D converter circuit that utilizes power from the DTR line, regulating it to +5V with a 1 kΩ resistor and a 5.1V zener diode.The following circuit is an example how to get power from RS-232 serial port. It gives regulated +5V power for logic circuits and also unregulated positive and negative power supplies for RS-232 transmitting circuit. The circuit gives only few milliampres power output because the power available from serial port is limited (and resistors R1, R2 and R3 limit current more).
Modern PCs have typically 9 pin port instead of this older 25 pin port. If you want to use this circuit with such PC you have two options: use a 9 to 25 pin adapter or modify the circuit to 9 pin port. You can get a little bit more current from the circuit if you leave out the resistors (R1, Rs, R3) and replace them with short piece of wire.
78L05 regulator takes 3-4 mA current all the time and needs at least 2V voltage drop, so if you can find a similar regulator which takes less current and has lower voltage drop, you get more current for your circuit. Some small circuits signal input circuit I have seen have taken positive and negative supplies for simple operational amplifier circuit just by using DTR and RTS lines.
Just by driving one of them to 1 and other to 0 using suitable software routine, there are available positive and negative voltages from those pins. How much you can really draw from a serial port depends on the circuit technology used in the serial port.
B&B Electronics Connection Newsletter number 2 has a good article "Tips For Using Port Powered Converters" about how much you can really get power from different serial ports. The following data is extracted from the article text:
Type of State of Voltage Voltage/current Power available from
Driver Line at no load per driver (max) 3 driver outputs
1488 positive +9..11V +5V @ 6.5 mA 98 mW
1488 negative -9..11V -5V @ 6.5 mA 78 mW *
MAX232 positive +7.5V..8V +5V @ 5 mA 75 mW
MAX232 negative -7.5..8V -5V @ 3.5 mA 42 mW *
EIA-562 positive +3.7..5V +4.5V @ 1.5 mA none
EIA-562 negative -3.7..5V -4.5V @ 1.5 mA none
NOTE: The power ratings are what can be obtained used the methods B&B Electronics uses in their circuits.
The values marked with * are the power available after the negative power is converted to positive +5V with extra electronics in the circuit connected to serial port. Here is another table how much power is available from different computers form RS-232 port RTS line and how the load affect the available voltage.
Information is collected from the RS-232 powering articles posted to sci.electronics.design newsgroup. I have not verified those results but those seems to be quite similar values what I have found in my RS-232 experiments and should be applicable to also to other RS-232 port lines in PCs (TXD and DTR).
Some simple circuit which does not take much power (less than 2 mA) can take their power simply from one serial port line (DRT, RTS or TD). I have used this approach at my Serial Port A/D-converter circuit, where is have taken power from DTR line and regulated it to +5V with 1 kohm resistor and 5.1V zener diode.
The SheevaPlug is known to have a suboptimal power supply, particularly affecting users in the UK operating at 240VAC. Additionally, heavy loads on the USB can cause issues, especially when connecting an external mechanical disk drive. This project aims to...
Instructions are provided to convert a tester into a basic analog display for monitoring CPU load on a Linux system, controlled via a serial port. Two variants of the display can be built using either an AA Duracell battery or...
A current limiting circuit is designed to select a maximum current through a load, set to a maximum of 480 mA. As the load resistance increases, the series equivalent resistance (SER) of the limiting circuit decreases. When charging a capacitor...
Here is an inexpensive way to get slow-moving analog data directly into a spreadsheet on your computer! A simple circuit connects to a serial port and a short Qbasic program gathers and saves 12 bit data to a file. A...
The supply receives -20 V from the rectifier/filter which is fed to the collector of the Darlington pnp pass transistor, a TIP105. The base drive to the TIP105 is supplied through resistor R5. The base of the TIP is driven...
The MDRC committee approached the author to take on the role of Electronic Components and Project Officer, which was accepted without hesitation. Upon assuming the position, it became evident that more time would be required than initially anticipated, primarily for...
Here is a diagram of the internals of the MAX232A. It shows a double charge pump voltage doubler and a +10v to -10v voltage inverter. The voltages output are used to generate the RS-232 compliant signals. The MAX232A has provisions...
This text aims to clarify how to extract power from a PC serial port. Many small circuits derive their operating power from the serial port, despite the absence of dedicated power output pins. Examples of such circuits include PC mice...
A detailed discussion on implementing current limiting or foldback current limiting for the linear regulator controllers of the MAX1864. This can also be applied to other discrete regulator designs, including the MAX1865, MAX1964, MAX1965, MAX8513, and MAX8514.
To incorporate current limiting...
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more