CN204883698U - USB - serial ports converting circuit and USB - serial port converter - Google Patents

USB - serial ports converting circuit and USB - serial port converter Download PDF

Info

Publication number
CN204883698U
CN204883698U CN201520461460.4U CN201520461460U CN204883698U CN 204883698 U CN204883698 U CN 204883698U CN 201520461460 U CN201520461460 U CN 201520461460U CN 204883698 U CN204883698 U CN 204883698U
Authority
CN
China
Prior art keywords
usb
interface
serial ports
electric capacity
serial
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201520461460.4U
Other languages
Chinese (zh)
Inventor
刘华中
廖黎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201520461460.4U priority Critical patent/CN204883698U/en
Application granted granted Critical
Publication of CN204883698U publication Critical patent/CN204883698U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The utility model is suitable for a communication field provides a USB - serial ports converting circuit and USB - serial port converter, the circuit includes: resistance R1, resistance R2, resistance R4, electric capacity C3, electric capacity C4, electric capacity C5, electric capacity C6, USB - serial ports conversion chip, first interface, second interface, oscillating unit. The utility model discloses a USB - serial ports converting circuit can be directly pegs graft with the USB interface of the machine of awaiting measuring and the USB interface of PC, acquires the serial ports from the USB interface of the machine of awaiting measuring to accord with the text to learn the code operational aspect, and then carry out comprehensive judgement to the performance of product, neither need weld the serial ports seat, reduced material loss, saved the cost, also do not need the fly line to destroy the quick -witted outward appearance that awaits measuring, kept the complete while of outward appearance of the machine of awaiting measuring still to save manpower and materials.

Description

A kind of USB-serial interface switching circuit and USB-serial converter
Technical field
The utility model belongs to the communications field, particularly relates to a kind of USB-serial interface switching circuit and USB-serial converter.
Background technology
A large amount of electronic product is when detecting; need the code ruuning situation of checking in machine; normal or the exception or run to which step and judge product bug reason according to code, now needs electronic product and PC to carry out serial communication, generally realizes serial communication in the following ways at present:
If 1. the reserved serial ports encapsulation welding tray of PCB (PrintedCircuitBoard, printed circuit board), then directly weld serial ports seat in mainboard to be measured;
But adopt and carry out serial communication in this way, because serial ports seat belongs to consumable stores, easily damage, therefore material loss is very large, increases cost.
2. if the not reserved serial ports encapsulation welding tray of PCB, then fly line serial ports is to mainboard corresponding serial ports end points power supply, ground wire, TXD (TransmitData sends data), RXD (ReceiveData receives data);
But, adopt and carry out serial communication in this way, owing to wanting fly line, so need machine shell slot treatment to be measured, to facilitate extraction serial ports, not only increase fluting difficulty, also destroy the outward appearance of machine to be measured.
Utility model content
The object of the utility model embodiment is to provide a kind of USB-serial interface switching circuit, is intended to solve existing electronic product when needing the code ruuning situation of checking in machine, carries out serial communication cause the problem that material loss is large, destroy machine outward appearance to be measured with PC.
The utility model embodiment is achieved in that a kind of USB-serial interface switching circuit, and described circuit comprises:
Resistance R1, resistance R2, resistance R4, electric capacity C3, electric capacity C4, electric capacity C5, electric capacity C6, USB-serial ports conversion chip, first interface, the second interface, oscillating unit;
Described second interface is connected with outer PC, the first end of described second interface simultaneously with described electric capacity C3, one end of described electric capacity C4 connects, the other end of described electric capacity C3 and the other end of described electric capacity C4 ground connection simultaneously, the first end of described second interface is also connected with the externally fed input end (VDD_5) of described USB-serial ports conversion chip, second end of described second interface and the 3rd end respectively with the first differential data end (USB_DM) of described USB-serial ports conversion chip, second differential data end (USB_DP) connects, 4th end ground connection of described second interface,
First vibration end (OSC1) of described USB-serial ports conversion chip, second vibration end (OSC2) respectively with the first output terminal of described oscillating unit, second output terminal connects, the test lead (TEST) of described USB-serial ports conversion chip, analogue ground (AGND) and earth terminal (GND) ground connection simultaneously, second differential data end (USB_DP) of described USB-serial ports conversion chip is also connected with one end of described resistance R4, the other end of described resistance R4 is by described electric capacity C6 ground connection, the other end of described resistance R4 is also connected with the in-line power output terminal (VO_33) of described USB-serial ports conversion chip, the in-line power output terminal (VO_33) of described USB-serial ports conversion chip is also connected with the in-line power input end (VDD_325) of described USB-serial ports conversion chip, the in-line power input end (VDD_325) of described USB-serial ports conversion chip is also by described electric capacity C5 ground connection,
Described first interface is connected with outside machine to be measured, the first end of described first interface is unsettled, second end of described first interface and the 3rd end send pin (TXD) be connected with the data receiver pin (RXD) of described USB-serial ports conversion chip, data respectively, 4th end of described first interface is unsettled, the five terminal ground connection of described first interface.
Further, described oscillating unit comprises:
Electric capacity C1, electric capacity C2 and crystal oscillator;
3rd end of described crystal oscillator be the first output terminal of described oscillating unit by described electric capacity C1 ground connection, the first end of described crystal oscillator be the second output terminal of described oscillating unit by described electric capacity C2 ground connection, the second end of described crystal oscillator and the 4th end ground connection.
Further, described USB-serial ports conversion chip is PL2303HX cake core.
Further, described first interface is USBMICRO type interface, described second interface is USBTYPEA type interface.
Further, the oscillation frequency of described crystal oscillator is 12M.
Another object of the present utility model is to provide a kind of USB-serial converter comprising above-mentioned USB-serial interface switching circuit.
Further, described USB-serial interface switching circuit is made by PCB, and adopts the closed process of glue shell outward at described PCB.
Further, described PCB forms by making by hand.
Further, described PCB is made by drawing a design, and described chip U1 and device adopt SMT paster to be welded on described PCB.
The utility model embodiment can directly and the USB interface of machine to be measured and the USB interface grafting of PC by USB-serial interface switching circuit, serial ports symbol text is obtained from the USB interface of machine to be measured, thus learn code ruuning situation, and then comprehensive descision is carried out to the performance of product, neither need welding serial ports seat, reduce material loss, provide cost savings, also do not need fly line to destroy machine outward appearance to be measured, the complete appearance maintaining machine to be measured also saves manpower and materials simultaneously.
Accompanying drawing explanation
The structural drawing of the USB-serial interface switching circuit that Fig. 1 provides for the utility model embodiment.
Embodiment
In order to make the purpose of this utility model, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the utility model is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the utility model, and be not used in restriction the utility model.In addition, if below in described each embodiment of the utility model involved technical characteristic do not form conflict each other and just can mutually combine.
The utility model embodiment can directly and the USB interface of machine to be measured and the USB interface grafting of PC by USB-serial interface switching circuit, serial ports symbol text is obtained from the USB interface of machine to be measured, thus learn code ruuning situation, and then comprehensive descision is carried out to the performance of product, neither need welding serial ports seat, reduce material loss, provide cost savings, also do not need fly line to destroy machine outward appearance to be measured, the complete appearance maintaining machine to be measured also saves manpower and materials simultaneously.
Below in conjunction with specific embodiment, realization of the present utility model is described in detail:
Fig. 1 shows the structure of the USB-serial interface switching circuit that the utility model embodiment provides, and for convenience of explanation, illustrate only the part relevant to the utility model.
As the utility model one embodiment, this USB (UniversalSerialBus, USB (universal serial bus))-serial interface switching circuit comprises:
Resistance R1, resistance R2, resistance R4, electric capacity C3, electric capacity C4, electric capacity C5, electric capacity C6, USB-serial ports conversion chip U1, first interface J1, the second interface J2, oscillating unit 11;
The first end (VBUS) of the second interface J2 is connected with one end of electric capacity C3, electric capacity C4 simultaneously, the other end of electric capacity C3 and the other end of electric capacity C4 ground connection simultaneously, the first end (VBUS) of the second interface J2 is also connected with the externally fed input end (VDD_5) of USB-serial ports conversion chip U1, second end (DM) of the second interface J2 and the 3rd end (DP) are connected with the first differential data end (USB_DM) of USB-serial ports conversion chip U1, the second differential data end (USB_DP) respectively, the 4th end (GND) ground connection of the second interface J2;
First vibration end (OSC1) of USB-serial ports conversion chip U1, second vibration end (OSC2) respectively with the first output terminal of oscillating unit 11, second output terminal connects, the test lead (TEST) of USB-serial ports conversion chip U1, analogue ground (AGND) and earth terminal (GND) ground connection simultaneously, the second differential data end (USB_DP) of USB-serial ports conversion chip U1 is also connected with one end of resistance R4, the other end of resistance R4 is by electric capacity C6 ground connection, the other end of resistance R4 is also connected with the in-line power output terminal (VO_33) of USB-serial ports conversion chip U1, the in-line power output terminal (VO_33) of USB-serial ports conversion chip U1 is also connected with the in-line power input end (VDD_325) of USB-serial ports conversion chip U1, the in-line power input end (VDD_325) of USB-serial ports conversion chip U1 is also by electric capacity C5 ground connection,
The first end (VBUS) of first interface J1 is unsettled, second end (D-) of first interface J1 and the 3rd end (D+) send pin (TXD) be connected with the data receiver pin (RXD) of USB-serial ports conversion chip U1, data respectively, 4th end (ID) of first interface J1 is unsettled, five terminal (GND) ground connection of first interface J1.
Preferably, this USB-serial ports conversion chip can adopt PL2303HX cake core to realize.
Understandably, embodiment that the application provides needs the CPU (CentralProcessingUnit) based on electronic product mainboard, such as RK3188 type CPU, can support that USB port can premised on the function of multiplexing serial port.Preferably, this first interface J1 is connected with machine to be measured, can adopt USBMICRO type Interface realization; Second interface is connected with PC (personalcomputer) machine, can adopt USBTYPEA type Interface realization.
As the utility model one embodiment, oscillating unit 11 comprises:
Electric capacity C1, electric capacity C2 and crystal oscillator Y1;
3rd end of crystal oscillator Y1 be the first output terminal of oscillating unit 11 by electric capacity C1 ground connection, the first end of crystal oscillator Y1 be the second output terminal of oscillating unit 11 by electric capacity C2 ground connection, second end of crystal oscillator Y1 and the 4th end ground connection.
Preferably, the oscillation frequency of crystal oscillator Y1 is 12M.
In the utility model embodiment,
USB-serial ports conversion chip U1 is for realizing the conversion between rs 232 serial interface signal and usb signal, the first differential data end (USB_DM) of USB-serial ports conversion chip U1, second differential data end (USB_DP) is connected with the second interface J2, the data receiver pin (RXD) of USB-serial ports conversion chip U1, data send pin (TXD) and are connected with first interface J1, when machine to be measured has serial data to export, the data receiver pin (RXD) of USB-serial ports conversion chip U1 is passed to by first interface J1, serial data is converted to the first differential data end (USB_DM) by USB-serial ports conversion chip U1 after usb data by USB-serial ports conversion chip U1, second differential data end (USB_DP) and the second interface J2 are transferred on PC, USB-serial port drive PC is equipped with, drive and usb data is converted into serial data.Software serial ports instrument, just can print serial data and obtain text symbol.Peopleware can check code ruuning situation by obtaining serial ports symbol [text], thus completes the detection to machine to be measured;
And, also keyboard instruction can be input to software serial ports instrument is usb data after USB-serial port drive, and the first differential data end (USB_DM), the second differential data end (USB_DP) of USB-serial ports conversion chip U1 is passed to by the second interface J2, after usb data is converted to serial data by USB-serial ports conversion chip U1, sends pin (TXD) and first interface J1 by the data of USB-serial ports conversion chip U1 and be transferred on machine to be measured and finally realize debug function.
The angle sent from signal and receive can simply be summarized as:
Send TXD;
Refer to the serial data sent to PC when machine to be measured runs, can simply be expressed as: machine code to be measured runs USB-serial port drive [being converted to serial data]---the software serial ports instrument [serial printing information] of [serial data output]-J1 interface [RXD]-U1-usb data-J2 interface-PC;
Receive RXD;
Refer to the serial data carried to machine to be measured by the keyboard instruction of PC, can simply be expressed as: USB-serial port drive [being converted to usb data]-J2-U1-serial data-J1 interface [the TXD]-machine to be measured of software serial ports instrument input keyboard instruction-PC.
The utility model embodiment can directly and the USB interface of machine to be measured and the USB interface grafting of PC by USB-serial interface switching circuit, serial ports symbol text is obtained from the USB interface of machine to be measured, thus learn code ruuning situation, and then comprehensive descision is carried out to the performance of product, neither need welding serial ports seat, reduce material loss, provide cost savings, also do not need fly line to destroy machine outward appearance to be measured, the complete appearance maintaining machine to be measured also saves manpower and materials simultaneously.
Another object of the present utility model is to provide a kind of USB-serial converter comprising above-mentioned USB-serial interface switching circuit.
As the utility model one embodiment, this USB-serial interface switching circuit can be made by PCB, and adopts the closed process of glue shell outward at PCB.
When negligible amounts, this PCB can form by making by hand.
When quantity is more, this PCB is made by drawing a design, and chip U1 and components and parts adopt SMT paster to be welded on PCB.
In the utility model embodiment, the first interface J1 of this USB-serial converter is plugged on the USB port of machine to be measured, and the second interface J2 is plugged on the USB port of PC, can open serial ports instrument on PC, obtain serial ports symbol text, thus learn code ruuning situation.
Because PC generally has 4-6 USB port, therefore this USB-serial converter can with the simultaneously grafting of generic USB line, need just use USB-serial converter during serial communication, need normally just to use generic USB line when connecting PC.
The utility model embodiment can directly and the USB interface of machine to be measured and the USB interface grafting of PC by USB-serial interface switching circuit, serial ports symbol text is obtained from the USB interface of machine to be measured, thus learn code ruuning situation, and then comprehensive descision is carried out to the performance of product, neither need welding serial ports seat, reduce material loss, provide cost savings, also do not need fly line to destroy machine outward appearance to be measured, the complete appearance maintaining machine to be measured also saves manpower and materials simultaneously.
These are only preferred embodiment of the present utility model, not in order to limit the utility model, all do within spirit of the present utility model and principle any amendment, equivalent to replace and improvement etc., all should be included within protection domain of the present utility model.

Claims (9)

1. a USB-serial interface switching circuit, is characterized in that, described circuit comprises:
Resistance R1, resistance R2, resistance R4, electric capacity C3, electric capacity C4, electric capacity C5, electric capacity C6, USB-serial ports conversion chip, first interface, the second interface, oscillating unit;
Described second interface is connected with outer PC, the first end of described second interface simultaneously with described electric capacity C3, one end of described electric capacity C4 connects, the other end of described electric capacity C3 and the other end of described electric capacity C4 ground connection simultaneously, the first end of described second interface is also connected with the externally fed input end (VDD_5) of described USB-serial ports conversion chip, second end of described second interface and the 3rd end respectively with the first differential data end (USB_DM) of described USB-serial ports conversion chip, second differential data end (USB_DP) connects, 4th end ground connection of described second interface,
First vibration end (OSC1) of described USB-serial ports conversion chip, second vibration end (OSC2) respectively with the first output terminal of described oscillating unit, second output terminal connects, the test lead (TEST) of described USB-serial ports conversion chip, analogue ground (AGND) and earth terminal (GND) ground connection simultaneously, second differential data end (USB_DP) of described USB-serial ports conversion chip is also connected with one end of described resistance R4, the other end of described resistance R4 is by described electric capacity C6 ground connection, the other end of described resistance R4 is also connected with the in-line power output terminal (VO_33) of described USB-serial ports conversion chip, the in-line power output terminal (VO_33) of described USB-serial ports conversion chip is also connected with the in-line power input end (VDD_325) of described USB-serial ports conversion chip, the in-line power input end (VDD_325) of described USB-serial ports conversion chip is also by described electric capacity C5 ground connection,
Described first interface is connected with outside machine to be measured, the first end of described first interface is unsettled, second end of described first interface and the 3rd end send pin (TXD) be connected with the data receiver pin (RXD) of described USB-serial ports conversion chip, data respectively, 4th end of described first interface is unsettled, the five terminal ground connection of described first interface.
2. circuit as claimed in claim 1, it is characterized in that, described oscillating unit comprises:
Electric capacity C1, electric capacity C2 and crystal oscillator;
3rd end of described crystal oscillator be the first output terminal of described oscillating unit by described electric capacity C1 ground connection, the first end of described crystal oscillator be the second output terminal of described oscillating unit by described electric capacity C2 ground connection, the second end of described crystal oscillator and the 4th end ground connection.
3. circuit as claimed in claim 1, it is characterized in that, described USB-serial ports conversion chip is PL2303HX cake core.
4. circuit as claimed in claim 1, it is characterized in that, described first interface is USBMICRO type interface, described second interface is USBTYPEA type interface.
5. circuit as claimed in claim 2, it is characterized in that, the oscillation frequency of described crystal oscillator is 12M.
6. a USB-serial converter, is characterized in that, described USB-serial converter comprises the USB-serial interface switching circuit as described in any one of claim 1 to 5.
7. USB-serial converter as claimed in claim 6, it is characterized in that, described USB-serial interface switching circuit is made by PCB, and adopts the closed process of glue shell outward at described PCB.
8. USB-serial converter as claimed in claim 7, it is characterized in that, described PCB forms by making by hand.
9. USB-serial converter as claimed in claim 7, it is characterized in that, described PCB is made by drawing a design, and described USB-serial ports conversion chip and other components and parts adopt SMT paster to be welded on described PCB.
CN201520461460.4U 2015-06-30 2015-06-30 USB - serial ports converting circuit and USB - serial port converter Expired - Fee Related CN204883698U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201520461460.4U CN204883698U (en) 2015-06-30 2015-06-30 USB - serial ports converting circuit and USB - serial port converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201520461460.4U CN204883698U (en) 2015-06-30 2015-06-30 USB - serial ports converting circuit and USB - serial port converter

Publications (1)

Publication Number Publication Date
CN204883698U true CN204883698U (en) 2015-12-16

Family

ID=54828051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201520461460.4U Expired - Fee Related CN204883698U (en) 2015-06-30 2015-06-30 USB - serial ports converting circuit and USB - serial port converter

Country Status (1)

Country Link
CN (1) CN204883698U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108762461A (en) * 2018-08-01 2018-11-06 郑州源创智控有限公司 The USB power supply communication circuits of host are detected for grain feelings of powering
CN112363966A (en) * 2020-10-29 2021-02-12 努比亚技术有限公司 Serial port conversion circuit, base station, circuit conversion method and computer storage medium
CN112363966B (en) * 2020-10-29 2024-06-04 努比亚技术有限公司 Serial port conversion circuit, base station, circuit conversion method, and computer storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108762461A (en) * 2018-08-01 2018-11-06 郑州源创智控有限公司 The USB power supply communication circuits of host are detected for grain feelings of powering
CN112363966A (en) * 2020-10-29 2021-02-12 努比亚技术有限公司 Serial port conversion circuit, base station, circuit conversion method and computer storage medium
CN112363966B (en) * 2020-10-29 2024-06-04 努比亚技术有限公司 Serial port conversion circuit, base station, circuit conversion method, and computer storage medium

Similar Documents

Publication Publication Date Title
CN102801818B (en) Universal sensor interface acquisition system based on ZigBee technology
CN202217264U (en) Entire machine debugging system
CN104850247A (en) Electronic pen capable of outputting written content to network server in real time through the Internet
CN204883698U (en) USB - serial ports converting circuit and USB - serial port converter
CN104102160A (en) Controller area network (CAN) bus signal transceiving analysis tool
CN203250312U (en) Extensible common core processing daughter board with interferences
CN103473208A (en) Transmission system
CN207557927U (en) A kind of instrument and hand-held software upgrading tool
CN103389438B (en) A kind of for the welding detection system with cpu pcb and method
CN205983458U (en) Debugging download equipment and debugging download apparatus
CN106584862B (en) A kind of the 3D printing WIFI control system and its control method of built-in Web service
CN205139898U (en) Thing networking hardware development board
CN205195324U (en) Usb power output module
CN204272318U (en) EMMC tool and television system
CN206805356U (en) VPX computer modules
CN201298963Y (en) PCB circuit board for flip phone
CN110413550B (en) Chip serial port program downloading control circuit
CN202736041U (en) General core plate of front-end computer and front-end computer
CN207281745U (en) Serial port testing fixture
CN101645804A (en) Veneer, communication system and method for detecting connection state of communication interface
CN206401672U (en) A kind of interface conversion card
CN204288063U (en) The PC mainboard of a kind of integrated wireless route cat
CN207115390U (en) A kind of bidirectional anti-theft alarm single-chip microcomputer fast downloading program tool
CN205451778U (en) Two port RAM test equipment's processing plate structure
CN212784077U (en) USB connector based on universal serial bus

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151216

Termination date: 20170630