What is usb data cable. What is a data cable and what is it for? USB data cable from Vertex

The computer-to-computer USB cable allows users of two computers to share files. Forwarding speed usually depends on the degree of activity antivirus programs and processor power. Such a USB cable cannot be used to create a network between two computers, but it will make it possible to quickly copy, move and synchronize information - in other words, to quickly exchange data. Experienced programmers know that a regular USB cable will not only be unable to perform this function, but also hurt USB ports if you try to connect them directly. To exchange information, you need a special cable for a computer, in the middle of which there is a device that sends data.

How to choose a USB cable

To connect a mobile phone to a computer, you need a data cable. This device allows you to download the necessary information to your mobile phone: pictures, melodies, photos and others. multimedia files. In addition, it allows you to access the Internet using a mobile phone as a modem (if, of course, the latter supports this function).

In our online store, you can choose in a matter of minutes, you only need to know the device model and connector type. We can order a usb cable of various designs and wired data transfer interfaces. With it, you can form a stable connection digital and computer technology, and carry out not only data transfer. If multimedia devices and mobile phones support the function of recharging via a USB cable, then you can use it as a charger. For example, using a camera cable, you can not only transfer the captured photos to a computer or laptop, but also charge this device.

Also in our online store you can buy a mini usb - mini usb cable, which is indispensable when connecting any devices with this type of output to each other, without the mediocre participation of a computer or laptop in this process. Using a cable for a camcorder, for example, you can transfer audio or video files from a camcorder to a tablet or smartphone.

Only with us you will find original cable for headphones of the model, color and length you need. You just need to choose a suitable accessory from the corresponding product category, order it, and after a short period of time you will be able to comfortably listen to music.

Where to buy a USB cable

In the catalog they are presented for laptops and camcorders, as well as PC cables of various manufacturers and modifications. If you need to purchase a cable USB adapter, do it right here, select suitable model and order it in our online store without leaving your home. A huge range of products in this category will allow you to slowly choose the right accessory of any type, having previously studied all specifications and functions of this accessory.

Most blog devices website work with UART. And this is natural - UART is a very simple and not demanding protocol. It is easy to work with it both from the microcontroller side and from the PC side. But there is one downside to using UART. The vast majority of microcontrollers have a UART on board, but with a PC the situation is a little worse. The UART interface is native to COM port and (in the RS232 variant), but due to the growing requirements for the peripherals of the computer, the COM port begins to become obsolete. This is due to low speed, the impossibility of expansion, etc. In laptops, it has long disappeared as a class of ports. There is a turn of stationary computers ...
But it is not all that bad. There is a way out! Many manufacturers have developed and produce USB-UART converter chips (bridges). This is how they work. A special driver is installed on the PC, which creates a virtual COM port in the system. For PC programs, this port is no different from a regular COM port - they “do not notice” substitutions. Any messages on this virtual port are converted into USB protocol packets. Connected to USB port the converter chip receives these messages and generates UART signals. Of the popular and affordable microcircuits, one can name the FT232 and PL-2303 (and there are also OTI006858 and CP2102).

Now let's move closer to the topic of the question.
So, we realized that we need a USB to UART converter. You can get it in several ways:
1 Buy the desired chip and solder the device yourself. If you are assembling any device, it will be convenient if the converter is integrated into the device. If you google, there are many schemes for such converters - etching the board and assembling the converter will not be a problem.
2 Buy a ready-made converter. Also not a bad option. There are plenty of such devices on the market. In a different form factor, in a different price - choose for every taste!
3 There is another option - an alternative. I agree - it may not always be acceptable, but still ... You can "borrow" the converter from another device.

In this article, I suggest using a cord for USB as a UART converter. mobile phone (data cable). Why mobile cord? I'll explain now.
Some time ago, the UART protocol was very widely used to connect a mobile phone to a computer. The reasons for the wide distribution are clear - manufacturers needed a cheap and widespread communication channel with a PC. It could be either a COM port or USB. At that time, working with USB was expensive and not profitable - COM won. Mobile phones gave out the UART signal, and the Data Cable laces converted it for a COM or USB port. In our time, electronics have stepped far forward and USB has become mandatory in the microprocessors of mobile phones. Cords for modern phones are being replaced by conventional USB extension cords.
And now we get to the most interesting part. New phones appear, old converter laces become useless, which means that sellers seek to get rid of them for any money. The prices for these old stale shoelaces are getting ridiculous. So I came across these boxes with laces for such money that I could not resist and bought two. Now I'll tell what needs to be done to make a full-fledged USB UART converter out of such a cord.

First, you need to buy this very lace.

Not all laces fit. First you need to google for the names of the laces that have a converter. Visually, you need to look for a cord with a box in the middle.

Here is the packaging box and its contents.

The kit includes the cable itself and a disk with drivers. You can immediately throw away the disk - there is such a garbage collection that it is problematic to find something you need. We take the lace.

Now take a closer look at the board converter.



As a result of consideration, we find a microcircuit Prolific PL-2303HX.

In 90% of cases, in such shoelaces, we will see this particular microcircuit. The reason is its cheapness. Moreover, this chip will also be in most USB-to-UART converters that you buy in the store. It is very rare to find FT232, since it is more expensive and it is not available in cheap Chinese laces (unless some kind of branded cord comes across). If you come across the FT232RL, consider yourself lucky, you can also use the programmer on such a cord (FT232RL can work in bitbang mode).

Note! You can find a Prolific clone on the board. Such, for example, was in the second, from the laces I bought.

The board is the same, the body kit is the same, but the crystal is clearly not Prolific (judging by appearance cheaper clone). The lack of quartz is alarming, but the board works (I suspect that it works from an internal RC generator - this is not very good). In any case, such microcircuits complete analogue(at least on the legs) Prolific.

Now we go to the Prolific website and download the datasheet for the chip
- Prolific USB to UART converter

In the datasheet we find the pinout and look at which legs we need the UART signals we need:
- Transmitter TXD - 1;
- Receiver RXD - 5.

We find the corresponding legs on the microcircuit.

Next, using a conventional tester, we find the nearest contact pads to which you can solder the wires. Do not solder to the legs - they are small. We also need "land" - everything is simple here, large polygons will be it. We solder the wires to the corresponding pads.
Attach a convenient connector to the other end of the cord.

If you suddenly need to synchronize your phone with a computer, then you need a cable, but what kind of cable is needed in this case? If there is an output from the phone and a USB port in the phone, then of course you need to buy a cable with the ability to connect these two devices via the USB port.
After everything is connected, the phone is seen in the computer as a regular flash drive, or additional disk. You can drop files in any direction, as well as using special programs to synchronize the address book with phone numbers and names. And that's not all there is still a mass additional features using a data cable. You can buy a data cable at any store. We can advise you on the best good store, meaning the quality and delivery time.
USB data cables

Benefits of data cables

  • Data cable allows you to connect two devices, a phone and a computer, over a stable channel with the highest data exchange rate.
  • The data cable will allow you to synchronize all the contents of your phone's calendar, database of addresses and phone numbers, melodies and more.
  • You can also use the phone's GSM module as a regular modem to access the Internet. In this case, the work will be much more convenient, and data transfer will be faster.
  • In addition, through the data cable, you can charge your phone and charge if necessary. The charge quality is almost the same as when using a conventional charger.
    DATA cables
  • Adapters for 2 SIM for HTC

    Adapter for 2 SIM This very handy device has appeared recently. The purpose of its use is to facilitate the use of services mobile operators. When you call on the network, it is always much cheaper than calling any other operator's number cellular communication. For example, you are on the tariff Super MTS and friends from work at Free Life? .Calls, both for you and for your friends, will be quite expensive. And for more communication, either you or your friends will be forced to change the operator. Buy a new SIM. And now, when they want to call you, they will distort the SIM card, insert the one with which calls to you are much cheaper. Of course, neither you nor your friends have a particular desire to constantly pull SIM Cards back and forth. There is an exit! Buy an adapter for two SIM cards and by simply pressing a button, in the phone menu, you can choose the SIM card with which it is cheaper to call the phone number you have chosen. Switching can be done manually or automatically. The latest generation dual SIM adapter contains a time programmer. You set in the Adapter the time after which the adapter switches (alternates cards). Result: "By installing the adapter for two SIMs, you can get through to any SIM card (phone number)." Periodically, SIM cards are registered with mobile operators. You practically have two phones in one case. This is the main benefit of using an adapter for 2 SIM cards.

    The further in the development of cellular communications, the more and more simple the phone becomes like laptop and in some cases even functionally much better than the latter.
    Very often, without cable Internet at hand, you have to look for a solution to connect your computer to the Internet. What is the advice in this case? You can also buy a GSM modem, but why buy it if you have a data cable and a modern phone with a GSM module. I hope you will figure out how to integrate your phone with a computer into one whole for accessing the Internet. It's not as difficult as it seems.
    Now, of course, about the cable itself, as they say, the cables are different and the phones are different. Everything basically rests on the connector. If the computer has only a USB port, then the phone may or may not have this port, and this is where the difference will appear. The main thing is that the cable should be able to connect your particular phone, your model with your computer. In order to buy exactly that cable, you need to tell the exact brand of your phone in the store. This will be enough for the manager to advise exactly the cable that you need. Remember that the cable for synchronizing the phone and the computer is one product, and the cable for flashing the same device is a completely different product, both in purpose and execution. USB data cables


    Data cables for Rotel GPS navigators

    Data cables for Romanson MP3 players

    Data cables for PSP Roger

    Data cables for game consoles Road Mice

    Applications for data cables.

    You already know that a data cable can be used to synchronize data between a computer and a phone. But there is another use of the cable - the ability to reflash the phone if necessary. The firmware of the phone is programming code which can be updated if there is an update. After flashing, as a rule, new additional functions appear on your phone. It is not necessary to go to the masters to flash the phone, you can do this procedure at home with the firmware file and special program to flash the corresponding phone.

    To the question of what a DATA cable for a mobile phone is, I think many will be able to answer - "This is such a tricky wire with which a cell phone is connected to a computer." But at the same time, even some of those people who know how to use it and consider themselves experienced users of cell phones are vaguely aware of what exactly this tricky wire is.

    In my previous article, I told you what types of DATA cables are. Now let's try to see what the cables that convert to the serial interface of a COM port technically are.

    There are two types of DATA cables that convert signals external interface cell phone to COM port signals, which differ in the port of the computer to which they are connected - COM and COM-USB. Both types of cables contain electronic circuit, which converts the signals of a computer and a cell phone. In this article, we will look at the first of them.

    In COM cables, signal levels are matched without changing their presentation. The need for this is due to the difference in the levels of values ​​of logical "0" and "1" used to transmit information in digital systems. Standard COM ports implement the RS232 protocol, in which a logical unit is transmitted at a level of -3..-12 volts, and a logical zero at a level of +3..+12V. Cell phones use TTL levels (logical zero is transmitted by voltage up to 0 ... 0.7 volts, and logical unit is 3 ... 5 volts). To match the TTL levels of the phone and the signal levels of the COM port, both a special microcircuit and a solution based on discrete elements can be used. Although the solution based on discrete elements is workable, its consideration in this article is not appropriate, since it is not complete and is most often used in homemade DATA cables.

    There are mainly two types of cables on the market based on CMOS-TTL converters (for example, SN74HC14N) and chips specially designed for converting RS-232 interface signals (for example, MAX232 or MAX3232). The disadvantage of using CMOS-TTL converters is the uncertainty of the output signal value in the region of -3 ... +3 volts. For non-experts in electronics, I will explain - in some cases (for example, when signals of reverse polarity are applied), such a cable will not be able to fully work due to the features of the RS-232 interface, transmission errors will occur and, consequently, the speed of working with the phone will decrease.

    Chips converters of RS-232 interface signals do not have such a problem, as they are designed specifically for the purpose of converting RS-232 signals and contain protection and current level conversion circuits that ensure the stability of the device. By the way, the ADM3307 chip is considered the best for converting RS-232 signals to TTL levels, which converts all lines of a COM port to TTL levels. But, this microcircuit is relatively expensive, and it is practically not used in DATA cables. Most of the COM cables currently on the market are based on the MAX232 chip or its equivalents.

    Logically, the COM port consists of nine lines (8 information signals and a common one, denoted GND). Initially, computer COM ports were used to connect modems to it, so many signals are associated with a modem connection. Historically, two types of COM port connectors have been used with 9 and 25 pins, the only difference being the number and location of connector pins. Currently, only 9 pin connectors are used. The purpose of the COM port signals and the corresponding pin numbers are shown in the table:

    Contact No.

    Direction

    Signal designation

    Signal name

    Purpose

    Data Carrier Detect

    Availability of connection (telephone, relevant for modems)

    Incoming (received) data

    Transmitted Data

    Outgoing (transmitted) data

    Data Terminal Ready

    Computer is ready to receive data

    The device is ready to work

    Request to the device to transmit (receive) the next piece of data

    Confirmation that the device is ready to transmit (receive) the next piece of data.

    The device reports an external call (relevant for modems)

    Note: I - input, O - output (in relation to a computer, for a peripheral device, respectively, vice versa.)

    Now let's look at what signals are needed to work with a phone connected to a COM port via a DATA cable. Obviously, DCD and RI signals are only needed when using a cell phone as an analog modem, which is slow ( maximum speed 9600 bps) and, accordingly, quite expensive (billing is carried out as for a regular outgoing call).

    The RXD and TXD signals are mandatory, as they are used to transfer data to and from a cell phone. Common (GND) is also required, as it ensures that the zero potentials of the computer and phone coincide. Thus, at least three wires are required to create a DATA cable. However, such a cable, in most cases, will only be suitable for reprogramming (“flashing”) the phone, and synchronization and a GPRS modem will not work when using such a cable.

    In order for the cable to work for synchronization and the GPRS modem, it is necessary that the RTS and CTS signals are correctly separated. Initially, these signals were intended to slow peripheral device could take a timeout to process data and thus prevent the device from crashing (“flooding”). The mode of operation of a COM port using RTS and CTS signals is called "hardware flow control". Also, there are modes of operation of the COM port with software flow control, while data is sent to the port, without checking the readiness of the device, and a mode using "stop" / "start" bits, by which devices bind to each other's work.

    Thus, to ensure the functionality of the DATA cable, it must have at least 5 wires corresponding to the RXD, TXD, RTS, CTS and GND signals. If there are no RTS and CTS signals in the DATA cable, given that cell phones are relatively fast devices, the COM port contacts corresponding to these signals are simply shorted to each other. The DTR and DSR signals are optional, but if they are absent, correct connection some programs may not work correctly, so they are also interconnected, simulating the instant readiness of the phone at any request from the computer.

    Users of mobile devices in the 2000s had a hard time - they were forced to put up with the so-called proprietary. The phones of each manufacturer were equipped with unique charging connectors - as a result, the charger, for example, for Nokia, did not work with a Motorola phone. It even reached the point of absurdity - when for two phones of the same manufacturer (Finnish) you had to look for different chargers. User dissatisfaction turned out to be so strong that the European Parliament was forced to intervene.

    Now the situation is radically different: almost all smartphone manufacturers equip their gadgets with ports for charging device same type. The user no longer has to buy a new memory "in appendage" to the phone.

    USB cables can be used not only to transfer data from a PC to a gadget, but also to charge a mobile device. Smartphones are able to replenish the “reserves” of the battery both from the outlet and from the computer, but in the second case, charging will take much longer. Traditional USB cable for smartphone with Android or with Windows phone as follows:

    At one end there is a standard plug USB 2.0 Type-A:

    This plug plugs into a USB port on a computer or laptop.

    The other end of the wire is a plug. microUSB.

    It, accordingly, is inserted into the micro-USB connector on the mobile device.

    It is micro-USB 2.0 that is now a unified connector: you can find it on smartphones and tablets from almost all manufacturers of mobile equipment (with the exception of Apple). The interface standardization agreement was signed in 2011 by representatives of 13 leading companies in the mobile market.

    Micro-USB was chosen for a number of reasons:

    • The connector is compact. Its physical dimensions are only 2 × 7 millimeters - this is about 4 times smaller than that of USB 2.0 Type-A.
    • The plug is durable- especially when compared with Nokia's thin charger.
    • The connector is capable of high data transfer rates. Theoretically, the transfer rate via Micro-USB using the 2.0 standard can reach 480 Mbps. The actual speed is much lower (10-12 Mbps in full speed), but this rarely causes inconvenience to users.
    • The connector supports the OTG function. We'll talk more about the benefits of this later.

    Micro-USB competition in the struggle for the role of a standard connector could be imposed Mini USB. The mini plug looks like this:

    This type of USB connector did not fit as a standard, and here's why:

    • Connector is larger- albeit not much. Its size is 3 × 7 millimeters.
    • Connector is quite fragile.- due to the lack of rigid fasteners, it loosens very quickly. As a result, data transmission via cable becomes a real torment for the user.

    In the 2000s, a mini-USB connector could be found on smartphones from second-class manufacturers - say, Philips And Alcatel. Now you will not find mobile gadgets with a mini-jack on the market.

    In addition to those USB connectors that we mentioned (Micro-USB, Mini-USB, USB Type A), there are others. For example, micro USB 3.0 can be used to connect to PC hard drives, A USB Type-B(square shape) for musical instruments (in particular, MIDI keyboards). These connectors are not directly related to mobile technology (except for Galaxy Note 3 c USB 3.0), so we will not talk about them in more detail.

    What are USB cables for smartphones?

    Thanks to the inexhaustible imagination of Chinese needleworkers, mobile technology users can buy cables of completely different formations. For example, in the era of proprietary, such a “monster” was incredibly popular:

    Yes, this charger fits all the main connectors!

    Similar "multi-tools" are still on sale, but they have fewer plugs. Here is a 4-in-1 charger, which can be ordered for less than 200 rubles:

    This charger is equipped with all modern plugs - Lightning, 30Pin (both for iPhone), microUSB, USB 3.0. Definitely a "must-have" for the user!

    There are other interesting options as well. Here is the cable from OATSBAS for those who hate cables:

    This cable allows you to charge two mobile devices from your computer. simultaneously(for example, the 5th iPhone and Android) and has a very tempting price - just over 100 rubles.

    In domestic stores and salons, the user, of course, will not find such an abundance of various cables as on the catalog pages gear best And AliExpress. In addition, retail data equipment is much more expensive. For these two reasons, users are advised to order USB cables from China.

    What is the OTG standard?

    Surely many have seen such a cable and wondered what it is for:

    This is a cable OTG; at one end is a plug micro USB, on the second - connector USB 2.0, "Mother". Using such a cable, you can connect a USB flash drive to a smartphone or tablet, but only if mobile device supports the standard OTG.

    OTG(short for On-The-Go) is a function designed to quickly connect 2 USB devices to each other, without the mediation of a computer. Connect by OTG you can not only use a flash drive (although this is, of course, the most common case), but also, for example, computer mouse, keyboard, external HDD, game steering wheel, joystick. You can even connect your smartphone to a printer or MFP to print a picture taken with the gadget's camera.

    Cables OTG for the iPhone have already appeared, however, download to an "apple" device (without jailbreak) from external media only photos and videos are obtained - and then only when the root folders on the flash drive and the photos themselves have the “correct” names.

    A complete list of smartphones that support the function OTG, no - simply because almost all modern gadgets can boast of having this standard and the list would be huge. Nevertheless, a buyer who intends to connect a mouse or a flash drive to the device should ask the salon-shop consultant about support OTG before giving money - "for every fireman."

    USB Type-C: what are the benefits?

    Transition from micro USB on - this is a new trend in the mobile electronics market! Manufacturers are actively mastering the technology and equipping their flagship models with advanced connectors for charging and data transfer. USB Type-C waited a long time “in the shadows”: the connector was created back in 2013, but only in 2016, market leaders paid attention to it.

    Looks USB Type-C So:

    What are the benefits Type C in front of the usual micro USB?

    • High data rate. Bandwidth Type C equals 10 Gb / s (!). But that's only throughput : in fact, only owners of smartphones with a standard USB 3.1- For example, Nexus 6P And 5X. If the gadget uses the standard USB 3.0, the speed will be around 5 Gb / s; at USB 2.0 data transfer will be much slower.
    • fast charging. The duration of the smartphone charging procedure depends on the potential amount of watts that are supplied by the connector. USB 2.0 capable of delivering everything 2.5W That's why charging lasts hours. connector USB Type-C provides 100 W- that is, 40 times (!) more. It is curious that the current transfer can occur in both directions - both to the host and away from it.
    • Connector symmetry. If the connector micro USB there is a top and a bottom, then a connector Type C symmetrical. Which side to insert it into the connector does not matter. From this point of view, technology USB Type-C similar to Lightning from Apple.

    Dignity Type C is also a small size of the connector - only 8.4 × 2.6 mm. According to this technology criterion micro USB And USB Type-C are similar.

    At USB Type-C There are also disadvantages, one of which is more than significant. Due to the unregulated operation of the connector, charging can easily “fry” a mobile device. This probability is not purely theoretical - fires have happened in practice. It is for this reason that the spread of non-original, "handicraft" cables and chargers USB Type-C Type-C and decide to abandon the standard connector. At the same time, Ravencraft admits that, perhaps, a complete replacement USB-A will never happen.



    Loading...
    Top