Difference between revisions of "Reducing power consumption of a raspberry Pi"
Line 2: | Line 2: | ||
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 $2 switching regulator from ebay. We also used another regulator for the 5V power, to test powering a Pi from a car battery. |
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 $2 switching regulator from ebay. We also used another regulator for the 5V power, to test powering a Pi from a car battery. |
||
[[File:switcher.jpg|none|thumb|300px|alt=One of our switching regulators]] |
[[File:switcher.jpg|none|thumb|300px|alt=One of our switching regulators|One of our switching regulators]] |
||
= Initial measurements = |
= Initial measurements = |
||
Line 11: | Line 11: | ||
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 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: |
||
[[File:No_LM1117.jpg|none|thumb|300px|alt=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...]] |
||
= Decorating the Pi = |
= 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.<br> |
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.<br> |
||
[[File:2regulators.jpg|none|thumb|300px|alt=The two regulators connected to the Pi]] |
[[File:2regulators.jpg|none|thumb|300px|alt=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.<br> |
The Pi also got the same SD card and ethernet connection as with the initial measurements.<br> |
||
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! |
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! |
||
[[File:benchtop.jpg|none|thumb|300px|alt=The resulting current draw]] |
[[File:benchtop.jpg|none|thumb|300px|alt=The resulting current draw|The resulting current draw]] |
||
[[File:Final_setup.jpg|none|thumb|300px|alt=The final working setup]] |
[[File:Final_setup.jpg|none|thumb|300px|alt=The final working setup|The final working setup]] |
||
= Conclusion = |
= Conclusion = |
Revision as of 15:49, 29 June 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 $2 switching regulator from ebay. We also used another regulator for the 5V power, to test powering a Pi from a car battery.
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 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:
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 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!
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.