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
    About the element14 Community
  • 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 Using the raspberry Pi 2 mod B to programming arduino with a usb externally powered hub
  • 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 Not Answered
  • Replies 25 replies
  • Subscribers 709 subscribers
  • Views 3674 views
  • Users 0 members are here
  • arduino uno
  • raspberry-pi2
  • com_port
  • usb 2.0 hub
Related

Using the raspberry Pi 2 mod B to programming arduino with a usb externally powered hub

e14 Contributor
e14 Contributor over 10 years ago

HI i have started to use a usb externally powered hub due to power demands of arduino and current drops in rpi but when i connect the usb cable from hub to arduino port is not available in ide. I dont understand i mean i tried various things like

> i am in dialout group

> latest usb drivers usbutils

> i checked the lsusb hub seems to work fine

> ohh and one thing i noticed usb keyboard or mouse or anyother HID device wont work with rpi when pluged into USB hub but storage devices like external HDD and flash drives work with hub // hub is fine tho i checked it on other system it works fine.

> my config : rpi 2 mod b+ 1GB( 2.1 A power supply)  /  OS debian (arm kali linux)  / 2 HID's 1 USB hub (connected)

i dont understand how do i make it work?

  • Sign in to reply
  • Cancel
Parents
  • e14 Contributor
    0 e14 Contributor over 10 years ago

    this is the usb hub i have i connect my rpi with that weird looking usb port you can see at the back. Hub is quantumzero qz-hb05 , its 1x4 usb 3.0image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 10 years ago in reply to e14 Contributor

    Very nice build quality. image The only issue that I found is, without using the power cable plugged in, the hub does not work.

    • VIA VL812 Rev B2 chipset with latest firmware for best performance and widest compatibility.
    • QuantumZERO USB 3.0 4-Port 12V 2.5A Powered Hub, 12V 2.5A Power Adapter, USB 3.0 Data Cable

    Because this is a USB 3.0, it may not be fully usb 2.0 backward compatible for Arduino. Please try directly on the USB plug into RPi 2. That should work.

    Clem

     

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • uscdadnyc
    0 uscdadnyc over 10 years ago in reply to clem57

    AS wrote>>...this is the usb hub i have i connect my rpi with that weird looking usb port you can see at the back...

    ELY Reply>> This is a Female USB3.0 full-size B connector. Remember RaspPi's USB-A -goes-to-Hub's-B. I assume you have such a Cable. Whether it is USB3.0 OR USB2.0 Cable. I also assume that this USB3.0 Hub IS BACKWARD w/ USB2.0. WRT to USB plug/jack/cables: Do a "Wiki' on USB. There are Two Tables (of particular Interest) and that is the mating of Female Receptacles (Jacks?) and their Corresponding Male Receptacles (Plugs?). Although your USB3.0 Hub may SAY it is backwards compatible, maybe you should use ALL USB3.0 Cabling, EVEN though your devices (RaspPi , Arduino Uno R3) are USB2.0

    BTW AS wrote>>...

    i have already tried lsusb and no the Arduino serial chip is not found by the way its uno r3...

    ELY Question>> what is "Isusb"?

    I will look at the Arduino Uno R3 specs, and will comment later on this thread.

    As Clem (and others) Asked, could we get a wiring diagram between the RaspPi, Arduino Uno R3 and this Quantum Zero USB3.0 Hub?

     

    blog again later

    USCDADNYC (NY NY USA)

     

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • uscdadnyc
    0 uscdadnyc over 10 years ago in reply to uscdadnyc

    I am Back. I took a look at the Arduino Uno R3, and it is what I am vaguely familiar with. AAR I would say that w/o using the powered Hub, connect any RaspPi Full Size USB 2.0 Female -A receptacle -TO- Arduino's Full Size USB 2.0 Female -B. Alternately using the USB 3.0 Hub, AND Using USB3.0 Cables (for any connections, this to take cabling out of the Equation) Of course this doe NOT  address the possibly non-Backward Compatibility of this particular USB3.0 Hub. AAR (again using ALL USB3.0 Cables) 1. connect RaspPi any Full Size USB 2.0 Female -A receptacle-TO- Hub's Full Size USB3.0 Female -B Receptacle. 2. Connect (on the Hub) any Full Size USB3.0 Female -A receptacle-TO-the Arduino Full Size USB2.0 Female -B Receptacle. I would connect your HID's (Keyboard, Mouse) onto the other USB2.0 ports on the RaspPi.

    As to what S/W one would use? Your Guys/Gals', Guess is Better than mine. I have and (hope) to use a combo of: 1) Win10 PC (running Matlab/Simulink) connected to a RaspPI via Ethernet (either direct? [Cross-Over RJ45 maybe needed here]or a USB3.0 Hub). 2. The RaspPi will be connected to my Gertduino (Arduino variant) via the 26pin Header (GPIO pins). 3. Hopefully there is/are S/W in MatLab/Simulink to accomodate this Set-up.

     

    USCDADNYC (NY NY USA)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 10 years ago in reply to clem57

    Yes connecting directly to rpi works but the main problem why i bought the externally powered hub was because of current drops in rpi when arduino is connected

    for eg.

    >if i have a arduino with a load(like a servo) connected to raspberry pi's usb there are current drops in rpi and rpi freezes

    >but if i have a small load connected to arduino(like a LED) everything worked fine

    Hence i thought this could be a Amp problem so.. i bought a externally powered hub.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • uscdadnyc
    0 uscdadnyc over 10 years ago in reply to e14 Contributor

    To:AS

    I do not have a Arduino Uno R3, but I think pictures that I have seen of it, has a Female (2.1mm?) Receptacle for a DC Power connection in the Lower Left Hand Corner. I believe the spec for a Power Brick is like 5-12VDC. You should check this. I think that the Arduino Uno R3 might draw DC power from RaspPi's USB Connector's (+,-) Leads, enough for a LED but not a heavy load like a servo. I know your first inclination was to get a powered  Hub, which you tried. IDK (I Don't Know) if the Powered Hub WILL definitely power your Arduino Uno R3 (w/ Servo attachment). Try a Power Brick on the Arduino Uno R3's power connector. IDK2 how the Arduino Uno R3 will switch from drawing power from the USB connection and switch(?) to the Power Connector. Please read any instructions you have on the Arduino Uno R3 first.

    I am in NY NY, USA and just yesterday {Time Stamp 22FEB16] I bought (1-qty) Inland (brand) Mega 2560 r3 [price was $9.99USD down from $19.99], and (1-qty) Inland Pro Mini 5v [price was $3.99 down from 7.99]. AAR (At Any Rate). This was at a Micro Center Store in the Queens neighborhood of NYC. IDK3 whether MC is placing these items on Sale OR Clearance?. The items where in the section that they normally have stuff for RaspPi and Arduinos, NOT in the Clearance Racks. I bought these two items as an "Impulse Buy", I don't really need them, but the Price was Right.

    Now I have Three Arduino Variants: 1. Gertduino. 2. Mega 2560 r3, 3) Pro Mini 5v. I will be connecting RaspPi to Gertduino and using MatLab/Simulink. Will post Schematic Block Diagram when done IF you guys/gals want.

    As a possible Post-Mortem  to this Thread, We (all contributors) have been kicking-around your situation for Ten Days now. If a schematic Block Diagram (of your situation) was posted in the beginning, we could have been at this point maybe 1-2 days after your Original Post. Just a Thought. No Judgement.

     

    USCDADNYC (NY NY USA)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • uscdadnyc
    0 uscdadnyc over 10 years ago in reply to e14 Contributor

    To:AS

    I do not have a Arduino Uno R3, but I think pictures that I have seen of it, has a Female (2.1mm?) Receptacle for a DC Power connection in the Lower Left Hand Corner. I believe the spec for a Power Brick is like 5-12VDC. You should check this. I think that the Arduino Uno R3 might draw DC power from RaspPi's USB Connector's (+,-) Leads, enough for a LED but not a heavy load like a servo. I know your first inclination was to get a powered  Hub, which you tried. IDK (I Don't Know) if the Powered Hub WILL definitely power your Arduino Uno R3 (w/ Servo attachment). Try a Power Brick on the Arduino Uno R3's power connector. IDK2 how the Arduino Uno R3 will switch from drawing power from the USB connection and switch(?) to the Power Connector. Please read any instructions you have on the Arduino Uno R3 first.

    I am in NY NY, USA and just yesterday {Time Stamp 22FEB16] I bought (1-qty) Inland (brand) Mega 2560 r3 [price was $9.99USD down from $19.99], and (1-qty) Inland Pro Mini 5v [price was $3.99 down from 7.99]. AAR (At Any Rate). This was at a Micro Center Store in the Queens neighborhood of NYC. IDK3 whether MC is placing these items on Sale OR Clearance?. The items where in the section that they normally have stuff for RaspPi and Arduinos, NOT in the Clearance Racks. I bought these two items as an "Impulse Buy", I don't really need them, but the Price was Right.

    Now I have Three Arduino Variants: 1. Gertduino. 2. Mega 2560 r3, 3) Pro Mini 5v. I will be connecting RaspPi to Gertduino and using MatLab/Simulink. Will post Schematic Block Diagram when done IF you guys/gals want.

    As a possible Post-Mortem  to this Thread, We (all contributors) have been kicking-around your situation for Ten Days now. If a schematic Block Diagram (of your situation) was posted in the beginning, we could have been at this point maybe 1-2 days after your Original Post. Just a Thought. No Judgement.

     

    USCDADNYC (NY NY USA)

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

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube