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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Capacitor to smooth out Raspberry Pi power dips?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 48 replies
  • Answers 30 answers
  • Subscribers 667 subscribers
  • Views 15041 views
  • Users 0 members are here
  • usb power
  • power supply
  • raspberry_pi
  • pi3
  • raspberry pi
  • usb cable
Related

Capacitor to smooth out Raspberry Pi power dips?

ntewinkel
ntewinkel over 8 years ago

I recently was trying to do a few things with a Pi3, and it consistently hung when I tried to update the system (sudo apt-get update/upgrade). It did everything else well enough, so I wonder if that's power related, with the upgrade making the WiFi work extra hard - maybe not, but I thought I'd look into it.

 

I've also noticed that my older Pi1 will hang once in a while (every few months), and that's a bit of an issue now that I'm using it as my sprinkler controller - reliability has become much more important.

 

While searching for help online, I noticed Robert Peter Oakes did some research and made a nice blog entry explaining the role the USB cables have in the power issues. (Thanks Peter!)

 

In a nutshell, some cables cause a voltage drop that puts the supply too far below the ideal 5v voltage level for the Pi.

The problem is that once in a while the Pi draws enough power to make the voltage dip into the danger zone.

(Some places sell adapters with a higher voltage to compensate. AdaFruit, for example sells a 5.25v adapter for the RPi, and notes that 5.25v is still within the specifications for USB, so even with a perfect no-loss USB cable that should be safe.)

 

One notable item, to me, was that the Pi has some serious power dips on a regular basis, regardless of the cables - just that the better supplies+cables start with higher levels at the Pi and the dips don't take it down too far.

 

So here's my thought - capacitors are supposed to help against dips and spikes, right?

 

Is there a way to add some really big capacitor at the Pi side to help avoid such dips (and maybe spikes too) ?

 

I'm thinking VIN-GND with a 1,000+ uF cap? I have one rated 1,000 at 10v, also I see 1,800 at 16v, both should handle 5v-ish well.

 

Otherwise, maybe splice a USB cable to add the large cap near the micro-USB plug end?

 

Will that cause trouble? Will it help at all?

 

Thanks!

-Nico

  • Sign in to reply
  • Cancel
Parents
  • fvan
    0 fvan over 8 years ago

    Those power dips sound strange!

     

    I'm able to run a Pi 3 with official touch screen on a single 5.1V/2.5A official power supply. Occasionally the little lightning symbol pops up, but certainly no hanging.

     

    What are the specs of your power supply? Have you tried another?

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • rachaelp
    0 rachaelp over 8 years ago in reply to fvan

    Whilst the Pi3 typically shouldn't be causing power supply dips, Nico does say that there are voltage drops in his wiring so I suspect it's a wiring issue and it's not taking too much extra current to cause additional drops.

     

    Nico, if you have confirmed a significant voltage drop across your wiring, then personally I would just fix the reason you have the large drop. As others have said, it shouldn't be drawing significant current with what you are doing. You could prop the voltage up at the Pi end with big capacitors but you're just masking the issue rather than fixing it and you're likely to see the problem reoccur if you run something that really does start to draw significant current at which point no sensible amount of added capacitance will save it from dying.

     

    Best Regards,

     

    Rachael

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • rachaelp
    0 rachaelp over 8 years ago in reply to fvan

    Whilst the Pi3 typically shouldn't be causing power supply dips, Nico does say that there are voltage drops in his wiring so I suspect it's a wiring issue and it's not taking too much extra current to cause additional drops.

     

    Nico, if you have confirmed a significant voltage drop across your wiring, then personally I would just fix the reason you have the large drop. As others have said, it shouldn't be drawing significant current with what you are doing. You could prop the voltage up at the Pi end with big capacitors but you're just masking the issue rather than fixing it and you're likely to see the problem reoccur if you run something that really does start to draw significant current at which point no sensible amount of added capacitance will save it from dying.

     

    Best Regards,

     

    Rachael

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • rachaelp
    0 rachaelp over 8 years ago in reply to rachaelp

    Actually I just reread your original post and you've already confirmed better cables only improve it slightly....

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • ntewinkel
    0 ntewinkel over 8 years ago in reply to rachaelp

    Hi Rachael,

    Thanks for the advice. I did test my cables (I forget the exact test scenario now) and some are definitely better than others, but it was more about the dips at the Pi that I wondered about.

     

    The specific details of the voltage dips etc that I spoke of are from Peter Oakes' blog post - he did some very detailed testing which showed the power dips, and showed the significant differences in cables. (and others in comments confirmed his results)

    That was really the source of my question.

     

    Thanks,

    -Nico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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