Difference between revisions of "RPi 5V PSU construction"

From eLinux.org
Jump to: navigation, search
m (A 5V power supply for the Raspberry Pi - How To)
m (A 5V power supply for the Raspberry Pi - How To)
Line 25: Line 25:
  
 
'''Here is a schematic of a complete PSU including all components:'''
 
'''Here is a schematic of a complete PSU including all components:'''
 +
 +
(with better filtering and protection)
  
 
[[File:PSU_7805_v02.jpg|none]]
 
[[File:PSU_7805_v02.jpg|none]]
  
 
Starting from left, we have a transformer (protected by a fuse - F1) supplying about 8-12V AC at 2A (use what you have at home or what is cheaper to buy). Next is a rectifier (or 4 diodes / >1A) with caps (C7-C10, for filtering). Now we should have approx. <AC voltage> x 1.41 - so if we have a 9V transformer, it will be about 12.69V. The 7805 needs at least 2V more on the input than on the output (I use >3V to be sure) for stable regulation, and it can be up to 35V. Main filtering is ensured by C4 (use at least 1000uF for each 1A drawn), another filtering after the regulator is C3 (100-470uF). C1-C6 serve the 7805 for stable function and HF filtering. R1 and R2 adjust the voltage to 5.25V. D1 and D2 are for protection. A transil is used for over-voltage protection on the output, a 5V8 (5.8V reverse standoff voltage and approx. 6.2V breakdown voltage) - use P6KE6.8A or BZW06-5V8. For operation signaling a LED with R3 is used. You may use another fuse - F2 on the output.
 
Starting from left, we have a transformer (protected by a fuse - F1) supplying about 8-12V AC at 2A (use what you have at home or what is cheaper to buy). Next is a rectifier (or 4 diodes / >1A) with caps (C7-C10, for filtering). Now we should have approx. <AC voltage> x 1.41 - so if we have a 9V transformer, it will be about 12.69V. The 7805 needs at least 2V more on the input than on the output (I use >3V to be sure) for stable regulation, and it can be up to 35V. Main filtering is ensured by C4 (use at least 1000uF for each 1A drawn), another filtering after the regulator is C3 (100-470uF). C1-C6 serve the 7805 for stable function and HF filtering. R1 and R2 adjust the voltage to 5.25V. D1 and D2 are for protection. A transil is used for over-voltage protection on the output, a 5V8 (5.8V reverse standoff voltage and approx. 6.2V breakdown voltage) - use P6KE6.8A or BZW06-5V8. For operation signaling a LED with R3 is used. You may use another fuse - F2 on the output.
 +
 +
You also may simplify this circuit by leaving out C7-C10, C5, C6, D1, D2, LED and R3, F2 (and the transil, if you don't want any protection).
  
  

Revision as of 14:33, 29 July 2012

A 5V power supply for the Raspberry Pi - How To

Due to various problems with the power supply for the RaspberryPi, a home made PSU might be a solution for some of you. You will need some experience with construction of electronic circuits, appropriate tools and a multimeter.


I had problems with a cheap 5V/1A adapter from Ebay too (freezing, no LAN, etc.) ...

So I decided to make my own PSU with the popular 7805 - 5V/1A regulator.


The basic idea is shown on this schematic:

PSU 7805 v01.jpg

The resistors R1 and R2 serve as adjustment of the output voltage. The formula is: V out = V fixed + { R2 [ (V fixed/R1) + I standby] }, where V fixed=5V and I standby=V fixed/R1 (or just use 2.5mA). Value of C3 is not critical, I recommend 100-470uF. Same for C4, where for every 1A drawn, use 1000uF of capacity (and add some reserve). Don't forget to put C1 and C2 as close as possible to the regulator. And a heatsink for the regulator is necessary too.

I've used an old 9.5V/1500mA power supply from an printer as the source for this regulator, so no transformer and rectifier etc. was needed in my case. And it works just fine :)


Here is a schematic of a complete PSU including all components:

(with better filtering and protection)

PSU 7805 v02.jpg

Starting from left, we have a transformer (protected by a fuse - F1) supplying about 8-12V AC at 2A (use what you have at home or what is cheaper to buy). Next is a rectifier (or 4 diodes / >1A) with caps (C7-C10, for filtering). Now we should have approx. <AC voltage> x 1.41 - so if we have a 9V transformer, it will be about 12.69V. The 7805 needs at least 2V more on the input than on the output (I use >3V to be sure) for stable regulation, and it can be up to 35V. Main filtering is ensured by C4 (use at least 1000uF for each 1A drawn), another filtering after the regulator is C3 (100-470uF). C1-C6 serve the 7805 for stable function and HF filtering. R1 and R2 adjust the voltage to 5.25V. D1 and D2 are for protection. A transil is used for over-voltage protection on the output, a 5V8 (5.8V reverse standoff voltage and approx. 6.2V breakdown voltage) - use P6KE6.8A or BZW06-5V8. For operation signaling a LED with R3 is used. You may use another fuse - F2 on the output.

You also may simplify this circuit by leaving out C7-C10, C5, C6, D1, D2, LED and R3, F2 (and the transil, if you don't want any protection).


Also if you prefer to fine-tune the output voltage, you may replace R2 with a small pot (trimmer) as shown here:

PSU 7805 v03.jpg

With this values adjustment from 5V to approx. 5.75V is possible.


For more info on the 7805 regulator, google the datasheet and see the following resources.

Resource links: The Adjustable Voltage Regulator, Variable power supply using 7805


~#Pinoccio