Difference between revisions of "Reducing power consumption of a raspberry Pi"

From BitWizard WIKI
Jump to: navigation, search
(Introduction)
(Slicing the Pi)
Line 10: Line 10:
 
= Slicing the Pi =
 
= Slicing the Pi =
  
To make sure the linear regulator stopped wasting power, we completely removed it from our Pi, with a hot air gun. To do this, we griped the regulator with some metal tweezers, lifted the Pi about a centimeter, and then blasted the regulator with air at 422 degrees Celsius. After a few seconds, the Pi dropped to the table, and the regulator was removed:
+
To make sure the linear regulator stopped wasting power, we completely removed it from our Pi, with a hot air rework station. To do this, we grip the regulator with some metal tweezers, lift the Pi about a centimetre, and then blast the regulator with air at about 400 degrees Celsius. After a few seconds, the Pi drops to the table, and the regulator was removed:
 
[[File:No_LM1117.jpg|none|thumb|300px|alt=There used to be an LM1117-33 at this spot...|There used to be an LM1117-33 at this spot...]]
 
[[File:No_LM1117.jpg|none|thumb|300px|alt=There used to be an LM1117-33 at this spot...|There used to be an LM1117-33 at this spot...]]
  

Revision as of 07:16, 14 August 2012

Introduction

The Raspberry Pi relies on a linear regulator for its 3V3 rail. This dissipates a third of the energy as heat, which is a bit of a waste, if you want to power your Pi from an battery. Our solution: Replace the linear regulator with a [regulator from our shop]. We also used another regulator for the 5V power, to test powering a Pi from a car battery.

One of our switching regulators
One of our switching regulators

Initial measurements

We tuned our benchtop power supply to 12V DC, and set the current-limit to approximately 400mA. Then we adjusted one of the switching regulators to 5V, and labelled it. We gave our Pi an SD card, and ethernet connection. We then hooked up the power to the Pi, on its GPIO header (GND on pin6, 5V on pin2). After booting, the current consumption from the benchtop supply stabilized between 190 and 200mA, which translates to a power consumption of about 2,4W.

Slicing the Pi

To make sure the linear regulator stopped wasting power, we completely removed it from our Pi, with a hot air rework station. To do this, we grip the regulator with some metal tweezers, lift the Pi about a centimetre, and then blast the regulator with air at about 400 degrees Celsius. After a few seconds, the Pi drops to the table, and the regulator was removed:

There used to be an LM1117-33 at this spot...
There used to be an LM1117-33 at this spot...

Decorating the Pi

We adjusted a second switcher to 3,3V and connected both the 5V and 3V3 switchers to the GPIO header of the Pi (with the benchtop power supply still turned off); 3V3 on pin1, 5V on pin2, GND on pin6.

The two regulators connected to the Pi
The two regulators connected to the Pi

The Pi also got the same SD card and ethernet connection as with the initial measurements.
We double/triple checked everything, crossed our fingers, and turned on the benchtop supply. After booting, the power consumption settled on 150mA at 12V, a 25% improvement!

The resulting current draw
The resulting current draw
The final working setup
The final working setup

Conclusion

If you're not afraid of modifying your Raspberry Pi, and want to power it from a limited power source, such as a battery or solar panel, it's well worth the trouble and cost of replacing the linear regulator by a switching one. The only downside is that the extra regulator takes up a little extra room.