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 698 subscribers
  • Views 3422 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

Former Member
Former Member 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
  • clem57
    0 clem57 over 10 years ago

    Start with R Pi powered from wall not usb hub. Also Arduino powered on jack from wall not usb hub. If this works, then the current/voltage on the hub is too low to handle the load. Many powered hubs are not up to the job.

    Clem

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

    I would also suggest to try latest Raspbian to see if that works rather than Kali, while Kali may work I have not seen it on the official supported Raspberry PI list of downloadable OS's

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

    To CM & PO: Great Comments/Tips as usual. Thx. What Thread/Discussion/even-MOOC has the instructions/schematics for programming the Arduino via it's USB Port? The "Main" Arduino Website?

    AAR Not to cloud the Issue, but wouldn't a Gertboard (aka Gertduino Board) connected to RaspPi be a better way to go? I know this is Monday Morning QB'ing but I am researching the ways certain devices are best for any given situation. I was thinking of possibly getting a Gertboard, and use it in Conjunction w/ my RaspPi and my Copy of Matlab. Code(d) Projects will be run on the latest-model "Original" Arduino OR on the Gertboard (independent of the RaspPi). I know that the Arduino has a low current draw (i.e.Possible Battery-powered Projects). For "wake-up" from hibernation projects, possibly use the Gertboard b/c I believe the Gertboard has a RTC (Real-Time-Clock),

    At first I dismissed the Arduino as a Toy, but have since changed my mind. All God's creatures (including microcontrollers) have a place in this world. It is not until we know/understand their attributes, that we begin to appreciate them. BTW I think a Arduino has lower current draw than a RaspPi Zero?

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

    Yep try a simple solution of  a plain Raspbian distro initially, then if the problem persists try another USB hub and also try a different PSU for the RPI since if you are getting problems with a basic Arduino attached to your USB then you are probably having problems with the power in general.

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

    Rpi is running from a 2.5A wall adapter but arduino is not running off wall but my usb hub can handle upto 2.5 A at each port cus my arduino powers up fine with usb hub it just wont show up in /dev/tty% also same case with keyboard and mouse.

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

    Please list the make and model of the hub. There may be a problem with it. Do you have another hub to try?

    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

    Yes, please give us Make & Model # of the powered(?) Hub. AND re-check your USB cable connections.It is NOT like a RJ45 Ethernet Router where your connection ports are the same (w/ exception of the WAN RJ45). AAR one USB connection between the Device and (powered?) USB Hub SHOULD be Male Full-size USB-A---connected to -EITHER -Female Full-Size USB-B (on the Hub) OR a small Size micro USB -B (on the Hub)

    Another Words, At least One connection to the Hub should be" A-to-B" . Then anything else that you add on (to the Hub) can be "A"

    This is the way I did it in Spring 2013, where I connected an old USB 1.0 powered hub to my (2013) RaspPi.

    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?

     

    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 Former Member

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

     

    /dev/ttyACM0

     

    I was able to verify this by typing

     

    dmesg

     

    and the last lines of the output were

     

    [682106.515303] usb 1-1.2: new full-speed USB device number 5 using dwc_otg

    [682106.630515] usb 1-1.2: New USB device found, idVendor=2341, idProduct=0043

    [682106.630544] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=220

    [682106.630562] usb 1-1.2: Manufacturer: Arduino (www.arduino.cc)

    [682106.630578] usb 1-1.2: SerialNumber: 64938323131351B03152

    [682106.671443] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device

    [682106.672543] usbcore: registered new interface driver cdc_acm

    [682106.672561] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

     

    after connecting via a hub dmesg reported

     

    [682271.507115] usb 1-1.2: Product: USB 2.0 Hub

    [682271.508130] hub 1-1.2:1.0: USB hub found

    [682271.508334] hub 1-1.2:1.0: 4 ports detected

    [682279.806345] usb 1-1.2.3: new full-speed USB device number 8 using dwc_otg

    [682279.940367] usb 1-1.2.3: New USB device found, idVendor=2341, idProduct=0043

    [682279.940395] usb 1-1.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=220

    [682279.940413] usb 1-1.2.3: Manufacturer: Arduino (www.arduino.cc)

    [682279.940429] usb 1-1.2.3: SerialNumber: 64938323131351B03152

    [682279.941874] cdc_acm 1-1.2.3:1.0: ttyACM0: USB ACM device

     

    so /dev/ttyACM0 would be the device I would tell the arduino ide to communicate through

     

    btw, using raspbian, I was able to do

     

    sudo apt-get install arduino

     

    to install the ide. It's an older version, but it should meet most needs.

     

    Mike

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

    I get the same and  I think they do to except not with the HUB. I feel it may be something to do with the HUb it's self or the boot/power on order.

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

    Which Arduino version is it BTW???

    They are all slightly different and the USB to serial chip on each will most probably be enumerated differently in each case.

     

    try the command "lsusb -vv" and see if Linux can even see your arduino's serial chip on the bus. If it can but there is no driver then you may need to make sure the right serial driver is run before hand. If not then it's more likely to be the HUB or power up issue.

    • 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