A kind of USB serial converter
Technical field
The utility model relates to a kind of USB serial converter.
Background technology
Nowadays scientific and technological develop rapidly, be no longer the individuality isolated one by one between things, contacting between things and things is more and more closer.In the epoch of these large data, between various instrument and equipment, there is the mutually mutual of data.Carry out data interaction between the two, the mode that it is mutual must be can't do without, namely communication.
Nowadays the communication modes under industrial occasions mainly contains: the various communication modes such as TTL, RS232, RS485 bus, CAN, Industrial Ethernet, optical fiber.But we people is the main of operation or computer, and usual computer but only has USB interface, and does not have other communication interface.If we want to be connected with 485 buses with our computer and can normal communications, from buying on the market USB-485 patchcord, our USB interface can only be converted to 485 interfaces, but when the new device talk of we and and when needing new interface such as 232 interface, patchcord originally may just can not continue to use, and needs the patchcord newly purchasing a newtype.Like this when we face the interface of this several types of TTL, RS232, RS485 bus, we just need at least three similar patchcords, and provide 3 USB port to change.
Do like this and not only waste a large amount of funds, and when the equipment interface that we use often is changed, we need the interface conversion line changing us frequently to go to meet our current demand.It is cumbersome that more and more dissimilar line let us all becomes when management and storage.Object of the present invention is exactly that the interface utilizing a USB interface to expand out number of different types meets our current different demand in order to solve the above problems.The present invention can switching interface type very easily, and the interface of same type also has different access waies with the demand of satisfied different occasion.
Utility model content
The utility model, according to the deficiencies in the prior art, provides a kind of USB serial converter of integrated polytype interface conversion function.
For achieving the above object, the utility model adopts following technical proposals: a kind of USB serial converter, comprises interface conversion chip, and the TTL interface module, RS485 interface module, the RS232 interface module that connect with interface conversion chip electrical.
Described interface conversion chip is FT232RL chip.
Described TTL interface module is provided with DB9 interface, connection terminal and TTL contact pin interface.
Described RS485 interface module is provided with DB9 interface and connection terminal.
Described RS232 interface module is provided with DB9 interface male and DB9 interface female.
The beneficial effects of the utility model are: the utility model adopts multiplex roles type conversion technology, only need a USB line easily computer USB interface can be converted to TTL, RS232 or RS485 interface; And can need to use that to jump cap convenient and carry out the selection of interface type and switching intuitively and without the need to loaded down with trivial details configuration according to current.
Accompanying drawing explanation
In order to be illustrated more clearly in the utility model embodiment or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments more of the present utility model, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is interface conversion schematic block diagram of the present utility model;
Fig. 2 is the layout of each interface of the utility model.
Shown in figure: 1, jump cap switch, 2, USB interface, 3, power interface, 4, the contact pin interface of TTL interface module, 5, the DB9 male of TTL interface module, 6, the DB9 male of RS485 interface module, 7, the connection terminal of RS485 interface module, 8, pilot lamp is received and dispatched, 9, the connection terminal of TTL interface module, 10, the DB9 female of RS232 interface module, 11, the DB9 male of RS232 interface module, 12, FT232RL chip, 13, housing, 14, power light.
Embodiment
Below in conjunction with the accompanying drawing in the utility model embodiment, be clearly and completely described the technical scheme in the utility model embodiment, obviously, described embodiment is only the utility model part embodiment, instead of whole embodiments.Based on the embodiment in the utility model, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the utility model protection.
A kind of USB serial converter as shown in Figure 1, comprises interface conversion chip FT232RL chip 12, and the TTL interface module, RS485 interface module, the RS232 interface module that connect with FT232RL chip electrical.
Described TTL interface module is provided with DB9 interface, connection terminal and TTL contact pin interface.
Described RS485 module is provided with DB9 interface and connection terminal.
Described RS232 module is provided with DB9 interface male and DB9 interface female.
USB serial converter as shown in Figure 2 comprises rectangular parallelepiped shell 13, a FT232RL chip, TTL interface module, RS485 interface module and RS232 module and is located in housing.On housing four sides, side arranges DB9 male 5 interface of TTL interface module and DB9 male 6 interface of RS485 interface module; Side arranges the TTL contact pin interface 4 of jumping cap switch 1, USB interface 2, power interface 3, power light 14 and TTL interface module; Side arranges the DB9 male 11 of RS232 interface module and DB9 female 10 interface of RS232 interface module; Side arranges the TTL connection terminal 9 of TTL interface module, receives and dispatches the connection terminal 7 of pilot lamp 8 and RS485 interface module.
The utility model adopts polymorphic type switch technology, only needs a D mouth USB line to add that computer USB interface can be converted to TTL, RS232 and RS485 interface by the utility model easily.When there being USB to access, power light Chang Liang, designation equipment accesses.When there being data-interface, data transmit-receive pilot lamp glimmers, and be labeled with exchanges data, by pilot lamp, user can observe equipment current state easily, is also convenient to the investigation of some fault.
FT232RL serial port chip, ensure that stability and the reliability of work hours of the present invention certificate, make the present invention not multiple when data send, do not leak send out, well send out, do not lose when data receiver, well receive, ensure that the present invention still can ensure the zero error of data under the pattern of working long hours, the use under various industrial environment can be adapted to, the normal reliable of data transmit-receive can be ensured simultaneously.
Conveniently use, can also change USB port voltage, provide the direct supply of 3.3V/5V for external unit, very convenient.
The foregoing is only preferred embodiment of the present utility model; not in order to limit the utility model; all within spirit of the present utility model and principle, any amendment done, equivalent replacement, improvement etc., all should be included within protection domain of the present utility model.