RS232 TTL ATS 100 Converter Connection. USB-RS232 TTL converter, good product for small money. Build device on a dumping board and work testing

ARTICLETOC: Enabled \u003d YES)

Small size uSB adapter TTL PL 2303 is a kind of programmer used with the board to read information from various sensors:

  • humidity;
  • temperatures;
  • movement.

This causes widespread use of the USB TTL PL2303 adapter in radio-controlled devices. Programming TTL USB adapter on C ++, i.e. USB TTL Adapter is a "universal bus" when transmitting data used in the technique of computing low and medium speed.

To connect it to USB RS232 TTL, the adapter requires a four-wire cable. One twisted para We need for a differential connection when receiving and transmitted (RX and TX), and the remaining - to supply the power to the device peripheral (GND and + 5V).

Provided that the highest current of the current of such devices does not exceed 500mA, and the USB is 900mA), they are connected without their power source.

Despite the fact that for TTL logic 0-5 in there standard levels, like a USB TTL adapter and is not needed.

But, due to the fact that the USB interface / protocol is quite complicated to build a device on its database, deep knowledge and microprocessors, processing data, are required.

You can use another protocol - UAP (UART), which is the most common. Among the family from a variety of protocols used more often than others, RS-232 is considered to be called the COM port. He is the oldest one of all, but today is relevant.

It has a line:

  • transmitting - TXD;
  • taking - RXD.

If you use, passing data, then there is no need for hardware control. For hardware use DTS and RTS.

The transmitter output is connected to the receiver input and vice versa.

RS-232 from logic (5-volt) standard varies with an electrical principle of action. In this embodiment, "0" lies in the range of +3 to +12 V, respectively, a unit - ranging from -3 to -12.

Output. Assigning the UART USB TTL adapters consists of "docking" of the most complex interface

USB with a simple and "running" protocol UART, supported by microcontrollers, and working with logic levels 0-5V.

The USB RS232 TTL PL 2303 adapter is collected on the PL2303 microcircuit that creates a Virtual Som port on a PC. Apply for firmware devices with microcontrollers.

Its value is 40.84 rubles.

To deliver to Ukraine to pay extra 149,74 rubles.

Key Features PL2303 USB For TTL Module Adapter Converter:

  • voltage type - regular;
  • food - 3.3 / 5 V;
  • assignment - for a computer;
  • temperature range - -40 to +85;
  • manufacturer - DIYMORE.

USB 3.3 in 5.5 V for TTL Adapter Mini Port

Overview

  • Size - 36x17.5 mm (DHSH);
  • Contacts: GND, CTS, VCC, TXD, DTR, RXD, RXD;
  • FT232RL chipset;
  • Supports - 5V, 3.3 V;
  • Step - 2.54 mm.

Excellent quality modules worth 100.24 rubles. Offered online store https://ru.aliexpress.com/popular/ttl-adapter.html .

To detect a car using a GPS adapter USB TTL PL2303 HX RS232 converter

Its cost is 42.7 rubles.

Features include:

  • antistatic packaging that does not allow statelectric accumulation,
  • negatively reflected at work;
  • high reliability, stability;
  • support Win7.

The product is used, weighing 5 grams (without packaging) in student experiments of production, etc. Its size is 50x15x7 mm. Converters model USB PL2303 - RS232

TL There are a pair of interfaces that serve to connect (five-pin pin) and PC (USB standard).

FT232RL USB 3.3 in 5.5 V for TTL mini port

The cost of its 106, 43 rubles. This is an inexpensive option to increase uSB ability microcontrollers. To protect the self-installing fuse 500mA to protect against current reboots.

Characteristics

  • color - red;
  • uSB-5 or 3.3 V power supply;
  • weight - 4 grams;
  • dimensions - 43x17 mm.

Small size makes it possible to use it in developments, where the size of the gadget is critical.

USB in TTL for UART at the PL2303 chip

Used with Arduino programming.

The converter on the MAX3232 microcircuit converts the port RS-232 signals to suitable in digital circuits based on TTL technologies.

Costs 76.11 rubles.

CP2102 USB 2.0 for TTL UART 6PIN

Consists of a CP2102 board, USB2.0 Full-Speed \u200b\u200bbuilt-in, quartz generator, UART data bus and supports signals without requiring an external USB modem.

  • Weigh 4 grams;
  • LED indicators on: nutrition, transmission and reception;
  • Status working- 3.3 and 5 V.

It is 82, 3 rubles.

Almost all microcontrollers have a serial port on board - UART.. It works according to the standard consecutive protocol, which means it can be easily connected to the computer on Com. port. But there is one problem here - the fact is that the compartment RS232. He takes for logical levels +/- 12 Volt, A. UART. Works at the pasty levels. How to combine them? To do this, there are not many options for level converter schemes, but the most popular is still on a special converter RS232-TTL.. This is a microcircuit Max232. And its counterparts.
Almost every company makes his converter, so it will be consolidated and ST232., I. ADM232., I. HIN232.. The scheme is simple as three kopecks - entrance, output, food and lifting of five capacitors. Capacitors are usually set 1UF. electrolytes, but in some modifications is put 0.1UF. ceramics. I went everywhere 0.1UF. Ceramics and usually enough. :) works like a clock. If at high speeds will be buggy, then it will be necessary to increase the container.

By the way, there is also Max3232. This is the same, but at the exit, it does not have 5 volt TTL, but 3.3 Volta TTL. It is used for low-voltage controllers.

I did one such universal laugh, so that it was convenient to cling to controllers UART.. For general compactness, the entire scheme was shoved straight into the connector, since I had ST232. In SOIC case. It turned out a scarf no more ruble coin. Since there were no small SMD capacitors at hand, it was necessary to attack the Conder from above, who in what is much. The main thing works, although it did not very beautifully.


If you doubt that you will have such a small installation, then I spread you on a standard PDIP housing. It will be with matchboxes, but it is not necessary to smack.


After the assembly is checked simply:
Sticks into the connector Com.port. 5 volts are served on the scheme, and then closer RX on the TX. (I have green and yellow wires).

Further open any terminal, though Hyper Terminal., cling to the port and start sending bytes, they should immediately return back. If this did not happen - check the scheme, somewhere the cant.

If it works, then everything is simple. That wire which comes from the feet of 9 microcircuits Max232. this is transfer output, His start-up RXD. Controller. And the one with the legs 10 - receiving, boldly sit on the conclusion TXD. Controller.

PL2303HX is a small USB-Serial Converter with an integrated RS232 transceiver (UART interface). The microcircuit creates a virtual COM-port on the computer, through which you can flash microcontrollers, as well as restore routers, consoles.


Technical specifications

Power Voltage: 5V (from USB)
Interface 1: USB
Interface 2: TTL (from 0 to 5, Rx and Tx)
Output voltage, in: 3.3 and 5 (separate outputs)
Dimensions: 50mm x 15mm x 8mm
Support operating systems: Windows XP / 7/8 / 8.1 / 10.

General information about PL2303HX

The main microcircuit on the module is PL2303HX, which up to 2012 was made by Prolific Technology. In essence, this is a converter uSB interface In UART with logical levels of TTL, CMOS (0 in ... +5 V). On the one hand, the USB connector is for connecting to a computer, and on the other five, the UART connector (Rx, TX and the power outputs by + 5V and + 3.3B), to protect against closures, the module is placed in a transparent heat shrink tube, schematic scheme PL2303HX is shown in the figure below.

Purpose of LEDs:
P (Power) - meals (burning constantly)
R (RXD) - Accepted Data
T (TXD) - transmitted data

Of electrical circuit It can be seen that the power to the output + 5V is directly with USB port, without protective elements, and the power supply to the + 3.3B output is from an internal stabilizer PL-2303, which can withstand current up to 150 mA. Official Drivers Prolific for Windows 7, 8 and 10 does not work, because. Checks the originality of the PL-230 chip, but it is possible to fix everything, looking at this.

Testing

For testing, you can use " Terminal1_9_B.", Download this program You can in this article.

Install, Driver
Run "Terminal1_9_b" On behalf of the administrator.
In the upper corner, choose " Com Port."(You can see in device manager) and click" Connect.ยป

At the bottom we introduce an arbitrary value and click " -\u003e Send.", The TXD LED will turn on briefly with each press.
Close TXD and RXD with each other and click "-\u003e Send"Briefly light up two LEDs, TXD and RXD every time you press, the message will be displayed in the program.
3.3V and 5V voltage can be checked by a conventional multimeter.

Links
PL2303HX documentation
Driver for

I had to withdraw the data from the GGA and VTG packages to the LCD, which at the maximum size of the package in 80 characters is not very convenient.

When debugging, it was necessary to display data from the GGA and VTG packets to the LCD, which at the maximum package size in 80 characters is not very convenient.

Such a disgrace was due to the fact that I had, which was inconvenient to use, in which he was always speaking and threatened with precious COM Porto. On my PC. I wanted to make a new-beautiful, in a nyashny case and with beautiful woes :) The handker was etched, the wiring of which can be downloaded at the end of the notes.

Next, the fee was installed from St Microelectronics (full analog), but cheaper on a couple of hryvnia. Of course, I respect Maxim, but I absolutely do not like to overpay for trivial things. Capacitors in the strapping put on 1MKF 16V tantalum, type A.


Further, this all farming was blocked into the hull, which I was lying around without a business from 13 years. The wires from pulling protects the simple knot. A soft cable with a connector for COM port was borrowed from the old mouse.


A sticker with the designation of wiring was printed and pasted on the housing to constantly not remember where plus, and where minus :). From abrasion it protects the scotch layer. Now the converter has acquired some usability, and it has become convenient to use. Have a nice day.

Some readers Maisk probably remember my overview of the self-made laboratory power supply. Recently, interface converters came to the dogonka to connect it to the computer.

I ordered them noticeably later than the fees, and they went for a long time, therefore came when I almost finished everything.
Shawls cheap, not alone, but I will do a review later (if I can come up with the topic and application). The seller gave the left track to some kind of Chinese fake site for tracking (however he warned about it), but since the parcel is inexpensive, it was not particularly worried, just glanced for the deadline for the end of the order delivery.
But everything came in perfect order, in a white envelope, Packed in neat bags with a latch.

On bags, even a sticker with the number, apparently or the article or something else, but in general it is not enough, but for accuracy, the seller put - excellent.

The interface converter is assembled on a very common PL2303 manufactured by Prolific, this is certainly not a favorite FT232, but in principle, it is quite tolerated, since the genuine microcircuits produced by FTDI to me as something for the sane money did not come across, and these scrolls cost them at all in a penny (especially considering that we have in the market they are 2-3 times more expensive). Yes, there are prices for these fees even more "delicious", but I didn't have to 10-50 pieces, because I took it.

On the board installed 3 LEDs, red for food, blue for transmission and green on reception.
Whether the resistors are chosen incorrectly, or something else, but the red shines so that already eyes get out, blue shines weakly, and green in general can be easily seen. But since for me these LEDs did not have any meaning at all, then I did not deal with them.
Also on the board installed 5 pin with a time, which is derived 3.3 volts, 5 volts (as I understood, actually directly from USB), Rx, TX and general.
The board is collected by the simplest scheme, 3.3 volts at the outlet is taken from PL2303, RX will be pulled up to 5 volts, TX gives a log system with a voltage of 5 volts.
If you need to output the remaining signals, you will have to be labeled.
All nominal details are signed on the board, it is quite neatly assembled.

But as I wrote above, I needed fees not to love with colored LEDs, then I decided to immediately apply them and apply them at least one, the second will be for some other crafts.

Prepared everything you need to finish these boards and began a business, in the process I will mark some features of these boards.

Apply the converter fee decided in its laboratory power supply, which I recently laid out a review. By the way, this handker (galvanic junction fee) is present on a common tracing with the front panel.

Actually use.

To do this, a small transition handker has been collected, which set the interface to the interface chip, as the speed is small, then bought the cheapest adum1201a.

Yes, it was possible to make it possible to try to make push-bias on the optocouplers, but at the price of the chip a little more than a dollar as it did not want at all, maybe I just brought out.
This chip allows you to make galvanic interface insulation at a speed of up to 10 Mbps (there are more speed versions, differ in the letter)

The fee "dressed" into a soft transparent heat shrinking, but since for my application she interfered with me a little that I decided to shorten it.

The connector that was installed on the board was also not particularly needed, since I consider it quite uncomfortable by such a type of connection when the board is turned on directly into USB, although to someone how. The connector fell pretty easily, did not even have to include a hairdryer, cost the usual soldering iron as the fastening petals of the Speaker were not soldered, those who would use the scarf with this time, I would recommend them to solder.

Along the way, I dropped out the output connector, the land, reception, transmission, 5 volt yield, exit 3.3 volts are displayed.
All contacts are signed on the board itself and appropriate inscriptions.
I needed the connector myself, but a little is not in the form that he comes with a fee, I had to exacerbate him.
At the same time, I rooted the fee, since in the complete version she did not want to be crowned, and there is nothing on the cut piece. Here is a doping, although rather already unscrewing. :)

The view from another angle, probably everyone had already guessed, why did I do such manipulations with the connector.

Soldered the cable to the rear panel, considered what is better to do to the assembly of two boards into one constructive. The cable applied the easiest, 4x0.22 on the screen, although at such a distance probably would work even through the rope.

FROM back side The USB connector soldered, secured the cable with the screeds and prepared a pair of fasteners "ears" from trimming of a foil textolite (even remembered the youth when she made small hulls from a fiberglass spreading cut-off plates among themselves).

The records soldered to the connector, the most difficult thing was that exactly exactly, otherwise, when screwed down, they can break them away.

I cut the hole in the BP housing, drilled holes in the fasteners and cut into them the thread M3 (who does not know, it turns out a pretty good thread in the fiberglass, it is not even nuts).

I installed all this design to a regular place, it was as if there were always there.
In the photo it can be seen that the fee with its full length would not fit. But I didn't even merry, it was also visible from the very beginning.

A little closer.

Attentive readers will notice a small scarf, and the suppressor, which was not in the photos in the review. These are the consequences of my experiments with MAX232. When connected by MAX, I confused 1 and 2 legs of the chip from 15 and 16, overloaded the PWM stabilizer of the logic and OU and it with a beautiful firework released the magic smoke.
In a second burned out the shim, turns through, 3 operating amplifier and indicator. The processor stayed alive. Thanks to this (there would be no happiness, yes, misfortune helped) I redo the power stabilizer, replacing it to a better LM5007 (the range of input to 75 volts, output current up to 500mA), and figured out with the principle of calibration of this board (I am in this information on the Internet did not met). Calibration information Added to BP Overview.
Native PWM did not have protection against overload (no), which is very sad.

Because of my little miscalculation, the connector had to put "upside down", literally.

All this is certainly good, but I would like to verify that I generally attacked. I connected to the computer and started trying. But immediately got a big world bummer. Software worked, but as according to version 6010, then I received a shift control for 1 sign. The board 6010 has a minimum discrete of the current installation of 10mA, the board 6005 1ma, respectively, I installed 1 amp, and received 100mA.
Naturally this state of affairs well, I could not arrange in any way and I climbed into the Internet.
Which Chinese electron-made (or advanced seller) I found software for version 6005. Removed the old, installed a new one and finally got what I wanted to get from the very beginning. Normal payment management.



This came at this stage of the logical completion of the epic with a laboratory power supply unit, which includes three (although formally four) reviews.
What I got in the end -

Converter Board Overview -

Summary.
Pros.
Boards work perfectly, no defects found
The seller sent everything clearly and on time.
Everything came in excellent condition.
We cost me as much cheaper than the market.

Minuses.
LEDs have different brightness, I was not good.
Connector fastening petals are not soldered, but it even helped me.

I hope that this review will help save some money to those who are looking for such fees.