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 3669 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
  • mconners
    0 mconners over 10 years ago in reply to Problemchild

    Also, could you take a pic of the setup? Powered hubs have a 'host' port usually on one end, then a series of 'client' ports. The RPi should be connected via one of the four usb ports, not the power connector, to the host port, and the arduino should be connected to one of the client ports.

     

    Mike

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

    Edward Yee wrote:

     

    BTW in the original Post that started this Discussion Thread: Q1: where "... i am in dialout group..." was quoted. What is the significance of this? Q2: where "...latest usb drivers usbutils..." was quoted. What is the significance of this?

     

     

    When the device is enumerated (the /dev/tty* device) it's default permissions are rw-rw----, owned by root and the dialout group, so he was just indicating that he had permission to see the device

     

    He was also indicating that he had the latest drivers and utilities to access the usb device.

     

    Both of those statements prevented the questions:

    Do you have permission to access the device?

    Do you have the latest drivers utilities?

     

    I think he was just trying to head off unnecessary questions.

     

    Mike

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

    AS in his original post wrote:"... 2 HID's 1 USB hub (connected)..." What does "HID's"=?

    MC wrote>...

    I just connected an Arduino to my pi, directly to one of the usb ports and it showed up as...

    ELY Reply>>Is your Arduino Variant an Actual Arduino Uno OR one of the Licensed Variants? AAR doing a Wiki on "Arduino Uno" show a pic of the device, and I see a Full-Size Female USB-B Connector on the Arduino Uno Board. Like I said in earlier posts to this Thread. WRT USB: A-should go to-B. (when NOT using a USB Hub)

    Thx MC for your explanation of AS's remarks.

    As for my set-up: I have an old RaspPi w/26pin GPIO Header (I think it is a Mod 1 B, circa 2013), awaiting shipment of a Gertduino board, and have a student version of Matlab/Simulink. Matlab says that they only support RaspPI Mod B, but we shall see. AAR $35 is not too much to pay for compatibility.

     

    USCDADNYC (NY NY USA)

     

     

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

    A HID is a Human Interface Device, like a keyboard and mouse

     

    Mike

    • 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 Problemchild

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

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