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 Powered Hub w/ Raspberry Pi
  • 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 8 replies
  • Answers 2 answers
  • Subscribers 665 subscribers
  • Views 3425 views
  • Users 0 members are here
  • usb hub
  • raspberry_pi
  • raspberry pi
Related

Powered Hub w/ Raspberry Pi

ntewinkel
ntewinkel over 7 years ago

Hello!

 

I'm trying to sort out some suspected power issues with my Raspberry Pi by using a powered USB hub.

 

I have a couple of questions...

 

1. If I supply external power to the hub, does it feed back to the Raspberry Pi it's plugged into?

1b. If so, is that a bad thing? Does it interfere with the main power supply to the Pi?

 

The reason I ask is because on Adafruit they recommend "There is a port for an external power supply but its connected directly to the 5V line so if you need to externally power, we recommend prying open the case and cutting the red 5V line from the USB connection." - I'm assuming that's to avoid the 5v going back to the host.

ps on that - if cutting is recommended, would a diode (spanning that cut) be a good idea to allow it to be used as a non-powered hub elsewhere?

 

2. Can a USB hub be powered through one of its ports? ie, It's a 4 port hub - Can I plug a powered usb cable into one of those ports to provide power to the rest of the things plugged into the hub?

 

And also sort of related:

3. Have you seen any powered USB hubs that use a micro-usb (or mini) port to accept power? That would make it easy to power it with a standard tablet charger or another dedicated Raspberry Pi charger.

 

Related notes:

I intend to use the hub to power a WiPi WiFi adapter and a generic sort of wireless keyboard (likely WiFi, maybe Bluetooth)

 

Thanks!

-Nico

  • Sign in to reply
  • Cancel
Parents
  • rew
    0 rew over 7 years ago

    ntewinkel  wrote:

     

    1. If I supply external power to the hub, does it feed back to the Raspberry Pi it's plugged into?

    1b. If so, is that a bad thing? Does it interfere with the main power supply to the Pi?

     

     



     

     

     

     

     

     

     

    ntewinkel  wrote:

     

    Hello!

     

    I'm trying to sort out some suspected power issues with my Raspberry Pi by using a powered USB hub.

     

    I have a couple of questions...

     

    1. If I supply external power to the hub, does it feed back to the Raspberry Pi it's plugged into?

    1b. If so, is that a bad thing? Does it interfere with the main power supply to the Pi?

     

    The reason I ask is because on Adafruit they recommend "There is a port for an external power supply but its connected directly to the 5V line so if you need to externally power, we recommend prying open the case and cutting the red 5V line from the USB connection." - I'm assuming that's to avoid the 5v going back to the host.

    ps on that - if cutting is recommended, would a diode (spanning that cut) be a good idea to allow it to be used as a non-powered hub elsewhere?

     

    2. Can a USB hub be powered through one of its ports? ie, It's a 4 port hub - Can I plug a powered usb cable into one of those ports to provide power to the rest of the things plugged into the hub?

     

    And also sort of related:

    3. Have you seen any powered USB hubs that use a micro-usb (or mini) port to accept power? That would make it easy to power it with a standard tablet charger or another dedicated Raspberry Pi charger.

     

    Related notes:

    I intend to use the hub to power a WiPi WiFi adapter and a generic sort of wireless keyboard (likely WiFi, maybe Bluetooth)

     

    Thanks!

    -Nico

     

    I can't figure out how to quote you and then type a few sentences of my own not-marked-as-quote. My text keeps being marked as a quote and I don't want to put words in your mouth. Clicking "quote" again to try to go unquote" inserts a nested quote of your message again. as you can see.

     

    So 1: Yes. Once the PI has booted it can use the power from the powered hub. 1b: Many people say to avoid this situation. Sometimes bad things happen when you design a system like that, but with two five volt power supplies things are usually OK. One of the things to watch out for is that if your pi requires 1A and you're using a 1.5A supply for that, it should work. Then if your USB devices off the hub are using 1.5A and you're using a 2A power supply for that, you would think you should be ok... but couple those together, and unexpected currents might flow between the two supplies. In effect you could be running the everything off the 2A powersupply, which might then shut down: "overheating", leaving the 1.5A powersupply to handle everything and immediately shut down to "overcurrent".

     

    (I count the pi as "1A" which is "high". The  foundation recommends even more, but that's because they are expecting you to power USB devices from the pi, that in your case are hanging off the powered hub. )

     

    An option would be to have the pi being powered by the hub as well. Just use a cable to plug it into one of the slave ports as well. You're 100% certain creating a "ground loop" in that case, but I expect this situation to be better than with multiple powersupplies.....

     

    2) The USB standard promotes that HUB manufacturers "regulate" the power going to each port. Then the computer can monitor the power devices are using, and cut off devices that are overloading the system. In practice, this is not always done and there is simply one 5V busline that goes to all ports, both the upstream, the power input and the downstream ports. Thus: yes, often a hub can be powered from a downstream device.

     

    3) You can buy SUPER cheap usb hubs on ebay. They cost next to nothing, and if you buy a "high speed" one, you can be assured that it is not, so it will become even cheaper when you complain about that. You can use that as a "power distribution" point. One of those small coaxial plugs for power in, and 4x USB out.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • mcb1
    0 mcb1 over 7 years ago in reply to rew

    I can't figure out how to quote you and then type a few sentences of my own not-marked-as-quote

    I've had some annoying side affects as well, and have resorted to typing what I want, then going back to where I want to copy and paste the sentence, then highlight and hit quote.

     

    I've done it here.

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • mcb1
    0 mcb1 over 7 years ago in reply to rew

    I can't figure out how to quote you and then type a few sentences of my own not-marked-as-quote

    I've had some annoying side affects as well, and have resorted to typing what I want, then going back to where I want to copy and paste the sentence, then highlight and hit quote.

     

    I've done it here.

    Mark

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