USB cable from Pi zero W to CM15A question

Started by soxfan1966, January 18, 2020, 10:14:43 AM

Previous topic - Next topic

soxfan1966

My current cable is about 6 feet long.  When I set things up a ear ago I had it in a different location so wanted a longer cable.  Now I only need about a foot.  But I can't recall the specifics on what I need for the connections - is it a USB A to B like this one?

Cable Matters USB 3.0 Cable (USB 3 Cable, USB 3.0 A to B Cable) in Black 3 Feet https://www.amazon.com/dp/B00C7RUWCU/ref=cm_sw_r_em_apa_i_DcYiEb2YW62J3

LostDog88

Quote from: soxfan1966 on January 18, 2020, 10:14:43 AM
My current cable is about 6 feet long.  When I set things up a ear ago I had it in a different location so wanted a longer cable.  Now I only need about a foot.  But I can't recall the specifics on what I need for the connections - is it a USB A to B like this one?

Cable Matters USB 3.0 Cable (USB 3 Cable, USB 3.0 A to B Cable) in Black 3 Feet https://www.amazon.com/dp/B00C7RUWCU/ref=cm_sw_r_em_apa_i_DcYiEb2YW62J3

Ummm...Not to be a cheeky one but didn't you look at the connection on the device? LOL.

Anyways. This is what you want.

https://www.amazon.com/AmazonBasics-Printer-Type-Cable-Male/dp/B00BCWALHM/ref=asc_df_B00BCWALHM/?tag=hyprod-20&linkCode=df0&hvadid=167126093426&hvpos=1o1&hvnetw=g&hvrand=9103881263519070781&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9033471&hvtargid=pla-83922868406&psc=1

Enjoy!

soxfan1966

Thanks.  The one you linked was 16feet, but using the description:
USB 2.0 A-Male to B-Male Cable

I found one that's 1.5 feet so going with that.

Thanks again

Brian H

From the Pi Zero information sheets.
The Pi Zero uses a Micro AB for OTG USB connector. Not a standard A to B cable.

soxfan1966

Ok. I will need to do another search on Amazon for one with a micro connection.  Thanks for clarifying.

brobin

Quote from: soxfan1966 on January 18, 2020, 10:14:43 AM
My current cable is about 6 feet long.  When I set things up a ear ago I had it in a different location so wanted a longer cable.  Now I only need about a foot.  But I can't recall the specifics on what I need for the connections - is it a USB A to B like this one?

Cable Matters USB 3.0 Cable (USB 3 Cable, USB 3.0 A to B Cable) in Black 3 Feet https://www.amazon.com/dp/B00C7RUWCU/ref=cm_sw_r_em_apa_i_DcYiEb2YW62J3

I used one like this - available in various lengths and straight, left or right angle. No OTG adapter required.
https://amzn.to/2RsKKwq

Brian H

#6
brobin,
That one looks like the one I was using. Micro USB to USB B.
I didn't remember where I got it but you jogged my memory.

Tuicemen

That's simular to what I originally had just not a micro end so I needed a adaptor.
For my PI Inside Cm15 I just soldered the Cm15 connections to the Pi test pads. (no external wire hanging off the USB port)
Please Read Topic:
General Forum Etiquette
Before you post!

soxfan1966

Follow up question: Aside from the longer cable I have now just lying on the floor and getting in the way, would their be a response time improvement with a shorter cable - say 1.5 feet vs 6 feet?

Tuicemen

Please Read Topic:
General Forum Etiquette
Before you post!

LostDog88

Whoops. Sorry man. They are right. You have the mini and the one Brobin suggested would be right.

I forgot I use the RPi 3.

Only because I didn't want my stuff on WiFi. I use the Ethernet port connected to my switch and then placed the RPi inside the rack enclosure. Works great!


brobin

Quote from: soxfan1966 on January 18, 2020, 12:12:02 PM
Follow up question: Aside from the longer cable I have now just lying on the floor and getting in the way, would their be a response time improvement with a shorter cable - say 1.5 feet vs 6 feet?

You'd be talking very few nanoseconds.  Here's more than you'll ever want or need to know on the topic: https://bit.ly/38mnIOm  >!

HA Dave

Quote from: soxfan1966 on January 18, 2020, 12:12:02 PM
Follow up question: Aside from the longer cable I have now just lying on the floor and getting in the way, would their be a response time improvement with a shorter cable - say 1.5 feet vs 6 feet?


Quote from: Tuicemen on January 18, 2020, 12:13:28 PM
not that you'll notice

Quote from: brobin on January 18, 2020, 04:11:16 PM
You'd be talking very few nanoseconds.  Here's more than you'll ever want or need to know on the topic: https://bit.ly/38mnIOm  >!

It should be mentioned... (besides the fact that it only takes 2ns for bits to travel the length of 15 feet of USB) that a Nano Second... measured as the distance it takes light to travel... is 8 1/4 inches. In other words the delay involved between 1.5 feet and 6 feet would be roughly the time it takes for light to travel about 1 foot.
Home Automation is an always changing technology

bkenobi

There would be more difference in signal loss than transmission time.  If you have high quality cables, anything less than ~6' will work fine.  If you have very long cables, you may need some kind of a signal booster like this:

https://www.amazon.com/IOGEAR-Booster-Extension-Cable-GUE2118/dp/B003K1L85C

I can't find a reference to the maximum cable length, but this post quotes a page that is long dead and indicates 16' is the max length for full speed.

https://superuser.com/questions/64744/maximum-length-of-a-usb-cable

Lacking the actual source document, I can't confirm if this is for USB 2 or 3.  But, since the answer was given in 2009 and USB 3 was introduced in 2008, I'd assume that the length limitation is still valid.  Here's more info if you want more background:

https://en.wikipedia.org/wiki/USB

Also worth noting is that the CM15A is not a device that can utilize high speed USB so all of this is a silly question anyway.   rofl

HA Dave

Quote from: bkenobi on January 21, 2020, 11:57:56 AM
…. Also worth noting is that the CM15A is not a device that can utilize high speed USB so all of this is a silly question anyway.   rofl

Anytime you look at NS speeds... unless you're referring to specifics in the confines of a laboratory... it's a moot point. Earth-bound humans have limited reference to a NS.
Home Automation is an always changing technology

SMF spam blocked by CleanTalk