0
\$\begingroup\$

Is it possible to use a USB mini B as opposed to the USB mini AB for USB OTG?

Can I use either USB mini or USB micro and does it need to be type AB or can I just use type B?

\$\endgroup\$
2
  • \$\begingroup\$ For USB if a device you need to use B, if its a host you need to use A. So if your using OTG and your not using OTG as a host then use the B connector. If the OTG needs to function as a host, then use the AB connector. \$\endgroup\$ – Voltage Spike Aug 4 '16 at 15:43
  • \$\begingroup\$ I am wondering if OP is asking such a primitive question, who will be implementing the OTG protocol, which is much more challenging problem? \$\endgroup\$ – Ale..chenski Aug 4 '16 at 17:05
3
\$\begingroup\$

As stated by Wikipedia [USB OTG]

"An OTG product must have a single micro-AB receptacle and no other USB receptacles.

An OTG cable has a micro-A plug on one end, and a micro-B plug on the other end (it cannot have two plugs of the same type). OTG adds a fifth pin to the standard USB connector, called the ID-pin; the micro-A plug has the ID pin grounded, while the ID in the micro-B plug is floating. A device with a micro-A plug inserted becomes an OTG A-device, and a device with a micro-B plug inserted becomes a B-device. The type of plug inserted is detected by the state of the pin ID."

There are several other sources which have information about USB OTG.

USB On-The-Go Specification

\$\endgroup\$
2
  • \$\begingroup\$ Also USB Type-C \$\endgroup\$ – Tut Aug 4 '16 at 12:30
  • \$\begingroup\$ In reality, though, almost all USB OTG devices (smartphones) have non-standard Micro-B receptacles and non-standard Micro-B to Micro-B cables. \$\endgroup\$ – endolith Oct 19 '16 at 15:22
0
\$\begingroup\$

can ı use usb mini b type receptable instead of mini ab, for OTG?

According to this section of a Wikipedia page, you should only use a "mini ab" receptacle for On The Go (OTG) complaint USB hosts and devices. All non-compliant hosts are to use the "mini a" and non-complaint devices are to use the "mini b".

Note, there is an "mini a" type plug and receptacle and a "mini b" type plug and receptacle designed to be incomparable (can not be interchanged accidentally) with one another. Here are images of the receptacles:

enter image description hereenter image description here

By contrast, the "mini ab" receptacle is designed to accept either "mini a" or "mini b" plugs. Here is an image of the "mini ab" receptacle:

enter image description here

A device that has a "mini ab" receptacle is responsible for detecting if the "a" end or the "b" end of a USB cable has been inserted into the "mini ab" receptacle. This is done using the 5th pin or the ID pin. This text, from the above Wikipedia link, explains how this works:

To enable Type-AB receptacles to distinguish which end of a cable is plugged in, mini and micro plugs have an "ID" pin in addition to the four contacts found in standard-size USB connectors. This ID pin is connected to GND in Type-A plugs, and left unconnected in Type-B plugs. Typically, a pull-up resistor in the device is used to detect the presence or absence of an ID connection.

\$\endgroup\$
1
  • \$\begingroup\$ I have to admit, I too look up this same information from time to time to double check my work. If you find anything wrong with this answer or if it confuses you ... please post a comment and I will make sure to change the answer accordingly. \$\endgroup\$ – st2000 Aug 4 '16 at 13:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.