Type-C OTG Port Circuit Diagram | Diy Type C OTG At Home

diy type c otg
Thumbnail

If you have any old USB Type-C jack, then you can make a type c otg cable from that jack. It works just like the otg available in the shop. The use of type c otg cable allows a smartphone or tablet to act as a host for other USB devices like keyboard, mouse, flash drive and others. You will have a little difficulty in making it because its pins are very small and there is some difficulty in soldering, and adding a 5.1k resistor will be a little difficult, but to make the soldering good, you have to make the tip of the soldering iron thin from the front. Then it will be easy for you to make this otg. If you do not have a 5.1k resistor, then you can use resistors of all these values 5k, 4k, 5.6k. And look at the type c otg once, there will be a small pcb board attached to it, it is also important to have it, this will tell whether the jack is useful or not. If the total pins of the jack are 12 then it will work, but if it has 4 pins or 6 pins then do not use it, it will not work.

USB Type-C Pin Configuration

     Top Row (Pins 1-12)
  1. A1 (GND): Ground
  2. A2 (TX1+): SuperSpeed differential pair 1 (positive)
  3. A3 (TX1-): SuperSpeed differential pair 1 (negative)
  4. A4 (VBUS): Power supply (5V to 20V)
  5. A5 (CC1): Configuration channel 1 (used for orientation detection and power management)
  6. A6 (D+): USB 2.0 differential pair (positive)
  7. A7 (D-): USB 2.0 differential pair (negative)
  8. A8 (SBU1): Sideband use 1 (used for alternate modes)
  9. A9 (VCONN): Optional power supply for electronically marked cables (EMCA)
  10. A10 (RX2-): SuperSpeed differential pair 2 (negative)
  11. A11 (RX2+): SuperSpeed differential pair 2 (positive)
  12. A12 (GND): Ground
  13. Bottom Row (Pins 13-24) - Mirrored Configuration
  14. B12 (GND): Ground
  15. B11 (RX1+): SuperSpeed differential pair 1 (positive)
  16. B10 (RX1-): SuperSpeed differential pair 1 (negative)
  17. B9 (VCONN): Optional power supply for EMCA
  18. B8 (SBU2): Sideband use 2 (used for alternate modes)
  19. B7 (D-): USB 2.0 differential pair (negative)
  20. B6 (D+): USB 2.0 differential pair (positive)
  21. B5 (CC2): Configuration channel 2 (used for orientation detection and power management)
  22. B4 (VBUS): Power supply (5V to 20V)
  23. B3 (TX2-): SuperSpeed differential pair 2 (negative)
  24. B2 (TX2+): SuperSpeed differential pair 2 (positive)
  25. B1 (GND): Ground


Specifications
Connector Type USB Type-C
Compatibility USB 3.1, USB 3.2, USB 2.0
Reversible Connector Yes
Data Transfer Rates Up to 480 Mbps for USB 2.0, Up to 5 Gbps for USB 3.1 Gen 1, Up to 10 Gbps for USB 3.1 Gen 2, Up to 20 Gbps for USB 3.2
Power Delivery Supports USB Power Delivery (PD) standards, allowing for higher power transfer and charging capabilities (up to 100W)
OTG Functionality Enables the device to act as a host, allowing connection to other USB peripherals

Making Process Guide

First you need some components
• type C cable (type c jack)
• glue gun stick or tape or m-seal
• soldering iron & wire
• 5v DC USB port (type A port)
• 5.1k resistor or 5.2k or 5.6k max
First of all you have to get information about the pins of type c jack, see image 1.
type c jack pin diagram
Image: 1


To make type c otg cable, first take a type c jack, then there will be a plastic cover in the jack, remove it and clean all the pins properly, you will see 12 pins in it, if you look carefully you will find that the first (1 pin) pin and the second (2 pin) pin are connected to the ground, that is, pin 1 is the metal part that is outside the jack, and the second pin is our original negative pin: See Image 2.
Type c jack
Image: 2

If you look carefully, you will see pin number 5, we have to connect the resistor in it. See image 3

Type c cable
Image: 3

As you can see in image 3, we have to take a 5.1k resistor and connect its first pin to the first i.e. negative pin of the jack and connect the second pin of the resistor to pin number 5 of the jack.

Now we have to take a 5v dc USB port, and the four pins in it, we have to connect these four pins to the four pins of type c. While connecting, keep in mind that you have to take care of v+ and v- and also take care of D+ and D-. See image 4.

Otg cable
Image:4

Now after checking all the pins properly, when it is decided which pin is v+, d-, d+, v- then connect them as per the circuit diagram, the v+ of the usb port has to be connected to the v+ of the type c jack. And v- has to be connected to v- and d- to d- and d+ to d+. You will see its circuit diagram in image 5.

otg cable circuit diagram
Image: 5   Type C OTG Cable Circuit Diagram

Now we have completed all the difficult work, now it is time to make its cover, you can make its cover with tape or m-seal or glue gun stick. Just heat the glue sticks and melt them and apply the melted glue on this jack and your cover will be ready. It is easy. But before applying the cover you have to test the OTG once.

Pins Working's 

GND (Ground): Is to provide a common ground connection for power and signal return.

VBUS (Power Supply): Supplies power to the connected device. And the output voltage is 5V DC.

TX/RX Differential Pair (TX1+, TX1-, TX2+, TX2-, RX1+, RX1-, RX2+, RX2-): These pairs are used for SuperSpeed data transmission, supporting USB 3.1, USB 3.2, and higher data rates.

D+ and D- (USB 2.0 Data Lines): These pins carry USB 2.0 data signals.

CC1 and CC2 (Configuration Channels): These channels are used to detect cable orientation, and manage power delivery and negotiate roles (host or device). That is why we have also used CC1 to create OTG.

SBU1 and SBU2 (Sideband Usage): These pins are used for alternate modes, such as DisplayPort, HDMI, and other non-USB protocols.

VCONN: Supplies power to the electronically marked cable (EMCA), to enable additional functionality such as active cable. Hope you have understood well.

There are many advantages of making OTG cable

Peripheral connectivity: Enables connection to USB devices like flash drives, keyboard, mouse and game controllers.

2. Data transfer: Allows quick data transfer between devices, making it easy to share files.

3. Charging other devices: Some USB Type-C devices can act as a power source, allowing you to charge other devices. But for this we need an OTG.

4. External storage: We can use a pendrive or card reader to store our phone's storage on that pendrive or card reader.

5. A flashing tool: We can flash another device from our device but for this you will need a bugjaeger app. And OTG Cable.

People also ask

So making a type C OTG in this way will make the phone a host? I'm confused because there is other videos that say the resistor needs to be soldered to VBUS and then wired to pin 5 in order to run as host. But in this video the resistor is soldered to the ground. Can you shed light on this?

Yes, making a Type-C OTG cable this way will make the phone act as a host. The confusion arises because there are different methods for achieving this. The method in the article involves soldering the resistor to the ground, which is a valid approach. Other methods, like soldering the resistor to VBUS and pin 5, are also used to set the phone in host mode. Both methods can work, depending on the specific Type-C configuration being used.

I have a type c plug but on the board it only has 6 pins. I'm this type of layout, which pin is the CC pin? I know in a 12 pin layout it is pin 5. Can you shed any light on this? Also, I made an otg wire just as you did in this video. However, when I plugged in my USB drive, my phone has the USB drive as the controller or host. I tried going into my phone settings to switch to the phone as the host but it wouldn't allow it. What is your thoughts?

You will need the original type c jack. Meaning you have to check all its pins, there will be 12 pins in the original and we have given complete information about all these in our article. Which pin has to be connected where and what is their function.

Can we make Type C OTG Cable ourselves?

Yes, you can make a type c otg cable at home yourself. For this, you will need a type c jack, type A USB port and a 5.1k resistor. To know more, read our entire article carefully.

Post a Comment

Post a Comment (0)

Previous Post Next Post