Jump to content

USB Device with Data Pins ONLY?

cluelessgenius
Go to solution Solved by Levent,
2 minutes ago, jaslion said:

The arduino requires for there to be a power handshake or it won't even bother starting communication.

D+, D- and a common ground are required, as long as arduino is powered by something else vcc+ isnt required. I too have couple of arduinos powered externally that I connect to my pc to flash them.

not sure where to put this but this seemed the closest sub forum.

 

i got an arduino nano hooked up to apa102s as ambilight. and it works great BUT the nano is powered externally together with the strip and so i made a longer usb cable and only hooked up the data cables so i dont feed power from the usb port. only problem is the device isnt recognized. when using a normal cable it works fine. 

so does anyone know? des windows require power lines to be kooked up to recognize a usb device ? or maybe the nano requires power to the usb specifically ? 

 

"You know it'll clock down as soon as it hits 40°C, right?" - "Yeah ... but it doesnt hit 40°C ... ever  😄"

 

GPU: MSI GTX1080 Ti Aero @ 2 GHz (watercooled) CPU: Ryzen 5600X (watercooled) RAM: 32GB 3600Mhz Corsair LPX MB: Gigabyte B550i PSU: Corsair SF750 Case: Hyte Revolt 3

 

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, jaslion said:

The arduino requires for there to be a power handshake or it won't even bother starting communication.

D+, D- and a common ground are required, as long as arduino is powered by something else vcc+ isnt required. I too have couple of arduinos powered externally that I connect to my pc to flash them.

mY sYsTeM iS Not pErfoRmInG aS gOOd As I sAW oN yOuTuBe. WhA t IS a GoOd FaN CuRVe??!!? wHat aRe tEh GoOd OvERclok SeTTinGS FoR My CaRd??  HoW CaN I foRcE my GpU to uSe 1o0%? BuT WiLL i HaVE Bo0tllEnEcKs? RyZEN dOeS NoT peRfORm BetTer wItH HiGhER sPEED RaM!!dId i WiN teH SiLiCON LotTerrYyOu ShoUlD dEsHrOuD uR GPUmy SYstEm iS UNDerPerforMiNg iN WarzONEcan mY Pc Run WiNdOwS 11 ?woUld BaKInG MY GRaPHics card fIX it? MultimETeR TeSTiNG!! aMd'S GpU DrIvErS aRe as goOD aS NviDia's YOU SHoUlD oVERCloCk yOUR ramS To 5000C18

 

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, Levent said:

D+, D- and a common ground are required, as long as arduino is powered by something else vcc+ isnt required. I too have couple of arduinos powered externally that I connect to my pc to flash them.

Oh so vcc isn't required? Neat. So basically 3/4 2.0 wires are needed :p.

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, Levent said:

D+, D- and a common ground are required, as long as arduino is powered by something else vcc+ isnt required. I too have couple of arduinos powered externally that I connect to my pc to flash them.

3 minutes ago, mariushm said:

You also sort of need a common ground between the devices, otherwise the signals would be hard to decode... so connect the ground wire at the very least. 

 

 

ahh ok so if i additionally hook up the ground wire, it should be detected?

"You know it'll clock down as soon as it hits 40°C, right?" - "Yeah ... but it doesnt hit 40°C ... ever  😄"

 

GPU: MSI GTX1080 Ti Aero @ 2 GHz (watercooled) CPU: Ryzen 5600X (watercooled) RAM: 32GB 3600Mhz Corsair LPX MB: Gigabyte B550i PSU: Corsair SF750 Case: Hyte Revolt 3

 

Link to comment
Share on other sites

Link to post
Share on other sites

14 minutes ago, cluelessgenius said:

 

ahh ok so if i additionally hook up the ground wire, it should be detected?

it depends on the usb controller.  There's other rules like the usb device not being allowed to pull more than 100mA at startup and then it can negotiate more power, so there's a possibility the usb controller could ignore traffic if there's no power consumption on the port. 

I guess a simple solution would be to add a led or something to consume a tiny amount of power ... for example a red led and a 1k resistor in series with the led  would consume around (5v - 2v) / 1000  = 3mA of current ... that's probably enough to exceed some imaginary threshold in a usb controller if such exists, and low enough not to burn your eyes (a generic red led would be reasonably bright at only 3mA, good as a stand-by / on indicator)

 

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, James Evens said:

I know people tried RS485 without a GND and are somewhat successful so interesting that USB 2.0 even in a clean environment requires GND.

 

For easy of installation:

Use a normal USB cable and power the APA102 externally. Don't forgett to connect the APA102 PSU ground to the arduino GND.

 

 

usb 1.1 has +/- 3.3v levels , usb 2.0 and higher has +/- 400mV levels on the data wires. 

 

RS485 has much wider voltage range, for ex 5v or -7v..12v  ... also transmitters usually do +/- 1.5v and receivers must receive at least +/- 200mV ... see design guide : https://www.ti.com/lit/an/slla272d/slla272d.pdf

Also see the note about common ground in the guide... rs 485 is designed for longer distances where ground differences can be much higher and can cause problems.

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, James Evens said:

I know people tried RS485 without a GND and are somewhat successful so interesting that USB 2.0 even in a clean environment requires GND.

 

For easy of installation:

Use a normal USB cable and power the APA102 externally. Don't forgett to connect the APA102 PSU ground to the arduino GND.

image.thumb.png.591e45f998b40ce36803243fb4d3f5db.png

 

sry i cant read your drawing, heres my current setup

image.thumb.png.eb46afc09cd0fe9a61c91c0f31f22eb1.png

 

 

"You know it'll clock down as soon as it hits 40°C, right?" - "Yeah ... but it doesnt hit 40°C ... ever  😄"

 

GPU: MSI GTX1080 Ti Aero @ 2 GHz (watercooled) CPU: Ryzen 5600X (watercooled) RAM: 32GB 3600Mhz Corsair LPX MB: Gigabyte B550i PSU: Corsair SF750 Case: Hyte Revolt 3

 

Link to comment
Share on other sites

Link to post
Share on other sites

You could power your arduino board from computer with 5v and ground from USB, and connect just the ground from usb and separate power supply together. 

The led strips can have their own separate 5v power supply. 

Link to comment
Share on other sites

Link to post
Share on other sites

11 minutes ago, mariushm said:

You could power your arduino board from computer with 5v and ground from USB, and connect just the ground from usb and separate power supply together. 

The led strips can have their own separate 5v power supply. 

well i already have it hooked up like this pretty neatly. could not just connect the usb ground from nano to pc ?

"You know it'll clock down as soon as it hits 40°C, right?" - "Yeah ... but it doesnt hit 40°C ... ever  😄"

 

GPU: MSI GTX1080 Ti Aero @ 2 GHz (watercooled) CPU: Ryzen 5600X (watercooled) RAM: 32GB 3600Mhz Corsair LPX MB: Gigabyte B550i PSU: Corsair SF750 Case: Hyte Revolt 3

 

Link to comment
Share on other sites

Link to post
Share on other sites

also heres a test i did with a normal usb cable 

im pretty happy with the result over all. little bit of color calibration to do when displaying white or very dark colors but yeah...

"You know it'll clock down as soon as it hits 40°C, right?" - "Yeah ... but it doesnt hit 40°C ... ever  😄"

 

GPU: MSI GTX1080 Ti Aero @ 2 GHz (watercooled) CPU: Ryzen 5600X (watercooled) RAM: 32GB 3600Mhz Corsair LPX MB: Gigabyte B550i PSU: Corsair SF750 Case: Hyte Revolt 3

 

Link to comment
Share on other sites

Link to post
Share on other sites

4 hours ago, cluelessgenius said:

well i already have it hooked up like this pretty neatly. could not just connect the usb ground from nano to pc ?

Yes, that is what we suggested up top. As long as your arduino is powered separately, all you need is data +, data- and ground connection on that USB cable.

mY sYsTeM iS Not pErfoRmInG aS gOOd As I sAW oN yOuTuBe. WhA t IS a GoOd FaN CuRVe??!!? wHat aRe tEh GoOd OvERclok SeTTinGS FoR My CaRd??  HoW CaN I foRcE my GpU to uSe 1o0%? BuT WiLL i HaVE Bo0tllEnEcKs? RyZEN dOeS NoT peRfORm BetTer wItH HiGhER sPEED RaM!!dId i WiN teH SiLiCON LotTerrYyOu ShoUlD dEsHrOuD uR GPUmy SYstEm iS UNDerPerforMiNg iN WarzONEcan mY Pc Run WiNdOwS 11 ?woUld BaKInG MY GRaPHics card fIX it? MultimETeR TeSTiNG!! aMd'S GpU DrIvErS aRe as goOD aS NviDia's YOU SHoUlD oVERCloCk yOUR ramS To 5000C18

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×