element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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 Powering via the USB ports
  • 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 21 replies
  • Answers 2 answers
  • Subscribers 679 subscribers
  • Views 4628 views
  • Users 0 members are here
  • b+
  • usb
  • raspberry_pi
  • powering
Related

Powering via the USB ports

Former Member
Former Member over 11 years ago

Have just bought a B+. Reading all the previous documentation on the B indicated I could power the Pi via a USB port if I wanted. I tried this on my B+ and nothing happened !.

 

My particular application has a USB module capable of supplying 2 amps at 5V and will be used for communication with the rest of my system. I do not want to use the micro-usb for power. The connector is inconveniently located and I have no 5V supply apart from the USB module. (This is for an embedded application).

 

Can I use the USB ports for input power on the B+? If not, why not?  The very sparse schematic for the B+ is no help. Is there a more comprehensive one in preparation? It doesn't show the USB ports at all, unlike the one for the B. If there is some 'block' on the USB 5V, could I patch from the USB ports to the 5V pins on the GPIO? (I am a retired professional EE with a long experience of microprocessor systems and quite happy to solder to my Pi if needed). I did note that my mouse, also connected into a USB port, lit up when I connected the power to another USB port - but the Pi itself didn't !

 

Also couldn't find how to send / receive data via a USB port using Python. How does the Pi allocate the USB ports? When booting, my Pi seems to recognise the external USB module  - without installing a driver, which is very surprising as it is a non-standard USB device. How do I check these ports? (Any 'device manager' like Windows?).  I have previously used USB ports as virtual COM ports in Windows. I need to be able to receive and send data (text strings) via a USB from a Python program (or maybe a C# and mono at some stage. Speed may be an issue for me)

 

Regards

 

Mike

  • Sign in to reply
  • Cancel
Parents
  • johnbeetem
    0 johnbeetem over 11 years ago

    Mike Bolton wrote:

     

    Have just bought a B+. Reading all the previous documentation on the B indicated I could power the Pi via a USB port if I wanted. I tried this on my B+ and nothing happened !.

     

    My particular application has a USB module capable of supplying 2 amps at 5V and will be used for communication with the rest of my system. I do not want to use the micro-usb for power. The connector is inconveniently located and I have no 5V supply apart from the USB module. (This is for an embedded application).

     

    Can I use the USB ports for input power on the B+? If not, why not?  The very sparse schematic for the B+ is no help. Is there a more comprehensive one in preparation? It doesn't show the USB ports at all, unlike the one for the B. If there is some 'block' on the USB 5V, could I patch from the USB ports to the 5V pins on the GPIO? (I am a retired professional EE with a long experience of microprocessor systems and quite happy to solder to my Pi if needed). I did note that my mouse, also connected into a USB port, lit up when I connected the power to another USB port - but the Pi itself didn't !

    I haven't heard of a full schematic for Model B+, but I haven't been paying much attention.  The Model B had problems with hot-swapping USB devices, so when B+ improved hot-swapping it lost the back-powering "feature".

     

    There's a thread about lack of back-powering in an unmodifed B+ at the RasPi forum: http://www.raspberrypi.org/forums/viewtopic.php?f=63&t=83014.  One of the moderators does suggest jumpering from USB +5V to GPIO +5V.  Doing this should work, but you lose fuse protection.  If it were my board, I'd solder from USB +5V to fuse F1 pin 1 so I still have fuse protection.  This is electrically equivalent to an external USB cable from a USB hub to RasPi's Micro USB power jack.

     

    Also, different USB hubs have different abilities to back-power.  Standard USB ports are limited to 500 mA, though cheap hubs just connect all the +5V lines together so you can get 2A.  The upstream connection for a hub may or may not be able to back-power.  They aren't supposed to, and some hubs have a diode to prevent it.

     

    Hope this helps!  Advice is offered without warranty - YMMV.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to johnbeetem

    John

     

    Wiring back from the USB connectors to the 'input' end of F1 works a treat. Now powers from the USB side fine. However, the first USB cable I tried gave a voltage drop from the supply (at 5V) of 0.5V at as little as 1 amp and the red light went out. Using another (better) cable there was no measurable drop and the red light was fine. So beware of USB cables.

     

    Anyway, problem solved for me and thanks for your help.

     

    Mike

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 11 years ago in reply to johnbeetem

    John

     

    Wiring back from the USB connectors to the 'input' end of F1 works a treat. Now powers from the USB side fine. However, the first USB cable I tried gave a voltage drop from the supply (at 5V) of 0.5V at as little as 1 amp and the red light went out. Using another (better) cable there was no measurable drop and the red light was fine. So beware of USB cables.

     

    Anyway, problem solved for me and thanks for your help.

     

    Mike

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • johnbeetem
    0 johnbeetem over 11 years ago in reply to Former Member

    Mike Bolton wrote:

     

    Wiring back from the USB connectors to the 'input' end of F1 works a treat. Now powers from the USB side fine. However, the first USB cable I tried gave a voltage drop from the supply (at 5V) of 0.5V at as little as 1 amp and the red light went out. Using another (better) cable there was no measurable drop and the red light was fine. So beware of USB cables.

    Peter Oakes wrote an excellent 'blog about RasPi Micro USB power cables and their challenges: http://www.element14.com/community/community/raspberry-pi/blog/2014/03/07/raspberry-pi-usb-power-cables-crashing-and-other-problems

    • 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 © 2026 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