|
| ( 01 Dec 2010 ) |
| By Stefano Palazzolo, Senago, Italy |
|
Every PC has a USB (Universal Serial Bus) port that can supply 5V±5 percent at 500mA for peripherals. Powered USB hubs also provide this power. You can use a USB port to power an external circuit, which is useful when you have no other dc source available.
A USB port has VBUS, the power pin; a return pin, GND (ground); and two signal pins. If you need just a simple 5V supply, you can tap the power pins from a USB connector, but you should place a 10μF filter capacitor between the ground and power-supply pins.
You can, however, use an adjustable voltage regulator to get voltages of 1.25V to 3.75V, a range that many circuits use. The circuit in Figure 1 covers that range. You use R3 to change that range, as the following equation shows: VOUT=1.25V×(1+R3/R2). The 1.25V in the equation occurs because the LM1117-ADJ linear regulator generates 1.25V between the VOUT and the ADJ (adjust) pins. Resistor R2, therefore, has a constant current that passes through resistor R3; the IADJ (adjusted current) is generally small enough to ignore. Selecting 100Ω for R2 sets its current to 12.5mA. If you use a 200Ω potentiometer for R3, you get a voltage range of 1.25V when R3 is 0Ω, causing a short, to 3.75V when R3 is 200Ω.
To prevent circuit damage if the output becomes shorted or when you don’t know the load, you can add a current-limiting circuit that keeps the maximum current at 500mA. A polyswitch fuse or pair of transistors can easily implement this current-limiter site at the power-supply input line.
The filter capacitor shouldn’t exceed 10μF. That level keeps the inrush current under control in the absence of a current-limiting circuit. Generally, capacitors of 1μF to 10μF work best. Caption Figure 1: Resistors R1 and R3 set the adjustable voltage regulator’s output at 1.25V to 3.75V.
|
| |
|
|
|
|
| |
|
|
Average Rate:
No rating yet |
| |
| |
|
|
|
|
| |
|
|
| |
|
|
| 24/4/2012 |
|
| 24/4/2012 |
|
| 24/4/2012 |
|
| |
|
|
|
|
|
|
|
| |
|
| |
|
| 30/3/2012 |
|
| 22/3/2012 |
|
| 1/3/2012 |
|
| |
|
|
|
|
|