element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Forget Me Not Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Forget Me Not Design Challenge
  • More
  • Cancel
Forget Me Not Design Challenge
Blog IP Post 7: The Raspberry Pi Power Analysis featuring the Tektronix Scope
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ipv1
  • Date Created: 22 Aug 2014 6:31 AM Date Created
  • Views 3319 views
  • Likes 0 likes
  • Comments 22 comments
  • forget_me_not
  • forget_what
  • tektronix
  • internet_of_things
  • raspberrypi
Related
Recommended

IP Post 7: The Raspberry Pi Power Analysis featuring the Tektronix Scope

ipv1
ipv1
22 Aug 2014

Introduction

I am waiting for my stuff to get delivered which are basically parts and parts. One of features of my design is that the raspberry pi center piece is portable, ie it can be moved from one location of the house to the other. For this I needed to add a battery backup which was shown in my previous posts. In my recent experiments, I found that the Raspberry Pi was rebooting unexpectedly. It turns out that one of the connectors was defective. Still this left me with the question that if I am using a battery, how long will my system stay afloat without power? Hence I setup a little experiment to measure the power consumed by the Raspberry Pi and the results were quite unexpected.

 

The Math

The power consumed by any device is given by

P = V x I

where P is power in watts, V is the voltage across the device in Volts and I is the Current in Amperes. Now we are supposed to use adaptors with outputs at 5V. Practically this drops as we add a load and the deviation from the set value is called regulation but we will get to that some other time. Now as a device is connected, a current will also flow which is proportional to the power consumed IF the voltage remains constant. We assume that the voltage is almost constant and hence we just need to monitor the current flowing into the Raspberry Pi. The more the current, the more the power consumed.

 

Regulator types short note

The Raspberry Pi B has a linear voltage regulator which is not so efficient because it regulates voltage by converting excess power into heat. The newer Raspberry Pi B+ has a switching regulator which does it's job by switching the current ON and OFF at a very fast rate. Hence the Raspberry Pi B+ should consume less power than the Raspberry Pi B under similar conditions.

 

The Experiment Setup

For this experiment, I am using two methods of measuring the current.

1. The Multimeter method-  You can measure current using an Ammeter by connecting it in Series in the circuit. This means just cut the wire and add the meter in the circuit. The diagram below is the simplest representation for the same. In using a multimeter, we can set it to measure current. Be careful while making the connections and the settings. In my setup I selected the 10Amp range as seen in the video below.

image

2. Using an Oscilloscope: Instead of using an Ammeter, we can connect a small resistance called a current sense resistor. Ohms law says that the voltage drop across a resistor is proportional to the current flowing through it. Here I added 10 1Ohm resistors in parallel so as to get a 0.1Ohm resistance in series. Now I could have use 10Ohms instead which translates to 1Ohm but that would mean that for a 1Amp current, I have 1 volt drop. From 5V if I drop 1V across the resistor then the Raspberry Pi will not work right at (5V-1V) 4V. Here for a current of 1Amp, we should get a drop of 0.1V or 100mV. I then connect an oscilloscope probes across the resistance and set it to 5 Seconds per division.

 

The Video

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

The video above is me running the experiment and the results.

 

Results

 

As the Pi Boots up the oscilloscope plot is as follows:

 

image

 

When I run the stress command as

stress --cpu 8 --io 4 --vm 2 --hdd 4 --timeout 30s --verbose --vm-bytes 128M

 

image

 

When shutdown the screen is:

 

image

 

Conclusion

The Raspberry Pi consumes around 150mA when shutdown and 380mA when operating. The wifi modules takes around 60mA and the Enocean Pi around 30-40mA.

  • Sign in to reply

Top Comments

  • ipv1
    ipv1 over 11 years ago in reply to mcb1 +1
    Thanks for watching sir. The voltage does drop on standard supplies from 5V to around 4.8V but for my setup I was using a digitally regulated voltage source which I built myself. The voltage does not droop…
  • ipv1
    ipv1 over 11 years ago in reply to mcb1

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mcb1
    mcb1 over 11 years ago in reply to ipv1

    digitally regulated voltage source

    That eliminates that variable.

     

    remote controlled via (drumroll plz) OpenHAB remotely

    <drumroll> done </drumroll>

     

    Well done.

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ipv1
    ipv1 over 11 years ago in reply to mcb1

    Thanks for watching sir. The voltage does drop on standard supplies from 5V to around 4.8V but for my setup I was using a digitally regulated voltage source which I built myself. The voltage does not droop that much since my PSU is capable of supplying upto 30W!

     

    I'm writing the final design right now and I have two RPi in the project. What I am interested in was having Pi ONE doing OpenHAB, MySQL and Mosquitto (and some misc stuff) and PI TWO doing Notifications and Motor Control AND PiCAM with OPENCV image and remote controlled via (drumroll plz) OpenHAB remotely. This means I not only have a camera in the HOuse but it can move around and come back to the wireless charger to recharge!


    I am not sure how well the battery on the Booster pack will last for the RPi.

     

    Suggestions ?

    Thanks, IP

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mcb1
    mcb1 over 11 years ago

    I have downloaded the video ... nice job.

     

    I would add another probe to measure the voltage across the Pi, since we've seen numerous supplies behave incorrectly despite their current rating.

     

     

    Having just completed the Wireless Charging Beyond the Phone Challenge, this would be a good candidate to add it to it.

    The kits we received were capable of 1Amp at 5v, which should be enough to run the RPi with a little spare to charge it.

     

    Edurado did a sterling job of producing boards for his (sadly his TX unit didn't work but the board looks right) but his receiver did.

    Waterproofing marine equipment - 07 - Receiver Design Considerations

    Waterproofing marine equipment -11- Receiver board assembly and testing

    Waterproofing marine equipment - 10 - Buck Boost Converter

    Waterproofing marine equipment - 08 - Transmitter Design Considerations

     

    Mark

    doctorcdf

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ipv1
    ipv1 over 11 years ago in reply to michaelwylie

    In the video I have also done the multimeter version of the experiment. That way you get the readings without the Scope as well. image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube