Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 26
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
All today's birthdays', congrats!
Alfons (36)
Coronafix (51)
AmonRa (44)


Next birthdays
05/11 ramses (16)
05/11 Arcstarter (31)
05/11 Zak (15)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: Computer Science
« Previous topic | Next topic »   

Correctly terminating unused USB data lines

Move Thread LAN_403
Alex M
Sat Jan 25 2014, 02:11AM Print
Alex M Registered Member #3943 Joined: Sun Jun 12 2011, 05:24PM
Location: The Shire, UK
Posts: 552
Hi,

Is there a correct way to terminate unused data + and - lines on a USB powered device? I am only using the +5v and GND to power a homemade microphone amplifier but am unsure as to what the correct procedure is for devices like this.

Should they be pulled down/up with resistors or can they just be left flapping? The USB cable is about 3 metres long so they probably make for good antennas ...

Any advice would be greatly appreciated!

Thanks.
Back to top
PSCG
Sat Jan 25 2014, 08:23AM
PSCG Registered Member #3792 Joined: Sun Mar 27 2011, 06:07PM
Location:
Posts: 136
Judging from the USB specifications, data lines (D+ and D-) are pulled down (grounded) at the host controller via 15 K resistors, indicating a disconnected state. Since they are grounded and the host does not expect a connection from the other end, i assume that you can use the power lines freely (but always inside the maximum operating power standards - 150 mA / 0.75 W for USB 1.0 and 500 mA / 2.5 W for USB 2.0).

You could probably bypass the data lines with 10 - 20 pF capacitors to the ground cable to be sure that no RF noise can disturb the host controller.
Back to top
Alex M
Sat Jan 25 2014, 01:38PM
Alex M Registered Member #3943 Joined: Sun Jun 12 2011, 05:24PM
Location: The Shire, UK
Posts: 552
@PSCG Thanks. I added the capacitors like you said and so far so good. The power consumption of my circuit is well within limits, in fact the power LED consumes more power than the amplifier!

I also connected a 4.7nF cap in parallel with a 1M resistor between cable shield and circuit ground as noted in a number of USB app note documents for good measure.
Back to top
PSCG
Sun Jan 26 2014, 11:30AM
PSCG Registered Member #3792 Joined: Sun Mar 27 2011, 06:07PM
Location:
Posts: 136
I'm glad to hear that everything went OK! I will keep a note about the capacitor / resistor network for future reference. smile
Back to top
Alex M
Sun Jan 26 2014, 10:58PM
Alex M Registered Member #3943 Joined: Sun Jun 12 2011, 05:24PM
Location: The Shire, UK
Posts: 552
@PSCG Thanks again smile

I went on a bit of a USB standards crusade and came across this rather handy document Link2

Toward the end of page 6 and carrying onto page 7 is the part regarding the USB cables shield conductor.

1390777046 3943 FT160728 Usb Shielding
Back to top
PSCG
Mon Jan 27 2014, 09:42AM
PSCG Registered Member #3792 Joined: Sun Mar 27 2011, 06:07PM
Location:
Posts: 136
Thank you for the PDF. There is lots of good information inside.
Back to top

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.