CN201638205U - Data transmission circuit of USB interface and RS-232 interface - Google Patents

Data transmission circuit of USB interface and RS-232 interface Download PDF

Info

Publication number
CN201638205U
CN201638205U CN 201020174098 CN201020174098U CN201638205U CN 201638205 U CN201638205 U CN 201638205U CN 201020174098 CN201020174098 CN 201020174098 CN 201020174098 U CN201020174098 U CN 201020174098U CN 201638205 U CN201638205 U CN 201638205U
Authority
CN
China
Prior art keywords
interface
usb
data transmission
usb interface
pin
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
CN 201020174098
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.)
Hunan University of Arts and Science
Original Assignee
Hunan University of Arts and Science
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 Hunan University of Arts and Science filed Critical Hunan University of Arts and Science
Priority to CN 201020174098 priority Critical patent/CN201638205U/en
Application granted granted Critical
Publication of CN201638205U publication Critical patent/CN201638205U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The utility model provides a data transmission circuit of a USB interface and an RS-232 interface, comprising a USB controller and a level conversion circuit, wherein the USB controller is used for controlling the USB interface to carry out data transmission and is connected with the USB interface; and the level conversion circuit is used for realizing level conversion of transmitted data between the USB interface and the RS-232 interface and is connected between the USB controller and the level conversion circuit. The data transmission circuit of the USB interface and the RS-232 interface uses a CY7C63001 singlechip to finish data transmission between the USB interface and the RS-232 interface, and is a communication circuit which has high efficiency and low cost, and reliably has mutual independency of equipment and systems.

Description

The data transmission circuit of USB interface and RS-232 interface
Technical field
The utility model relates to a kind of telecommunication circuit, especially relates to a kind of telecommunication circuit that realizes carrying out between USB interface and the RS-232 interface data transmission.
Background technology
(Universal Serial Bus USB) is a serial bus standard that connects external unit to USB (universal serial bus), uses extensively on computers.The characteristics of USB maximum are to support hot plug (Hot plug) and plug and play (Plug﹠amp; Play).When equipment inserted, main frame was enumerated (Enumerate) this equipment and is loaded required driver, and it is convenient therefore to use more than PCI and isa bus.USB velocity ratio parallel interface bus (Parellel Bus, for example EPP, LPT) is gone up many with serial interface bus traditional standard buses such as (Serial Port, for example RS-232) soon.The maximum transmission bandwidth of USB 2.0 is 480Mbps.
RS-232 is one of communication interface on the personal computer.Usually RS-232 interface occurs with 9 pins (DB-9) or the kenel of 25 pins (DB-25), has two groups of RS-232 interface on the general personal computer, is called COM1 and COM2.RS-232 interface is a kind of serial physical interface standard.Communication protocol is simple, and transfer rate is at tens Kbps, and RS-232 adopts the common-mode signal transmission mode, is being applicable to that the interaction data amount is little, the environment that transmission speed is not high.For the system that real-time and transfer rate have higher requirements, common serial communication can not meet the demands, and causes computer port resource anxiety.
Yet, how to be implemented in carrying out the active data transport communication between the equipment of the equipment of RS-232 interface or system and employing USB interface or the system, become one of technical matters that current urgent need solves.
The utility model content
The utility model proposes a kind of telecommunication circuit that realizes carrying out between USB interface and the RS-232 interface data transmission, have telecommunication circuit and be independent of the high characteristics of equipment or system and data transmission efficiency.
The utility model has adopted following technical scheme to realize: the data transmission circuit of a kind of USB interface and RS-232 interface, and it comprises:
Be used to control the USB controller that USB interface is carried out data transmission, it connects USB interface;
Be used to realize the level shifting circuit of transmission data level conversion between USB interface and the RS-232 interface, it is connected between USB controller and the RS-232 interface.
Wherein, the USB controller is the CY7C63001 single-chip microcomputer, and its D+ and D-pin are connected the D+ and the D-pin of USB interface respectively.
Wherein, level shifting circuit is the ICL232 chip.
Wherein, the P0.0 pin of CY7C63001 single-chip microcomputer, P0.7 pin are connected respectively to the 11st, 12 pins of ICL232 chip U2.
The utility model utilizes USB interface that the CY7C63001 single-chip microcomputer finishes and the data transmission scheme between the RS-232 interface, be a kind of efficient, low-cost, have a telecommunication circuit of equipment and being mutually independent property of system reliably.
Description of drawings
Fig. 1 is a structural representation of the present utility model.
Fig. 2 is the circuit diagram of a preferred embodiment of the utility model.
Embodiment
The utility model provides a kind of telecommunication circuit that realizes carrying out between USB interface and the RS-232 interface data transmission.As shown in Figure 1, usb 10 is provided with level shifting circuit 30 and is finished level conversion by special USB controller 11 Control work between USB controller 11 and RS-232 interface 20, realizes the data communication between usb 10 and the RS-232 interface 20.
In conjunction with shown in Figure 2.Present embodiment is that to adopt that Cypress company produces, model be that CY7C63001 single-chip microcomputer U1 is as USB controller 11.The microprocessor of CY7C63001 single-chip microcomputer U1 inside is 8051 kernels that strengthen, use standard 8051 instruction set, this kernel provides two full duplex serial ports, contain 35 reduced instructions that adapt with USB, external clock frequency with 6MHz, the built-in command of 12MHz is operated, and has the EPROM of 128B RAM and 2KB, 16 general purpose I/O pin is arranged, and each pin all can be set interruption.
And level shifting circuit 30 adopts ICL232 chip U2 to realize, this chip is made up of two RS-232 receivers and two transmitters, and by single+5V power supply power supply.
Wherein, the D+ of CY7C63001 single-chip microcomputer U1 and D-pin are connected to D+ and the D-pin into the connector J1 of usb 10.And the P0.0 pin of CY7C63001 single-chip microcomputer U1 is considered as the TXD pin as the usefulness of transmission data; The P0.7 pin then as the usefulness of accepting data, is considered as the RXD pin; So P0.0 pin, the P0.7 pin of CY7C63001 single-chip microcomputer U1 are connected respectively to the 11st, 12 pins of ICL232 chip U2, and ICL232 chip U2 is connected with the connector J2 of RS-232 interface, realizes the data transmission between usb 10 and the RS-232 interface 20.
In addition, utilize the firmware techniques of CY7C63001 single-chip microcomputer U1 just can play the function of asynchronous transmission, and the order of the serial communication of operative norm and data layout, realize the data communication of USB interface and RS232 interface.

Claims (3)

1. the data transmission circuit of USB interface and RS-232 interface is characterized in that comprising:
Be used to control the USB controller that USB interface is carried out data transmission, it connects USB interface;
Be used to realize the level shifting circuit of transmission data level conversion between USB interface and the RS-232 interface, it is connected between USB controller and the RS-232 interface.
2. according to the data transmission circuit of described USB interface of claim 1 and RS-232 interface, it is characterized in that the USB controller is the CY7C63001 single-chip microcomputer, its D+ and D-pin are connected the D+ and the D-pin of USB interface respectively.
3. according to the data transmission circuit of described USB interface of claim 2 and RS-232 interface, it is characterized in that, level shifting circuit is the ICL232 chip, and the P0.0 pin of CY7C63001 single-chip microcomputer, P0.7 pin are connected respectively to the 11st, 12 pins of ICL232 chip U2.
CN 201020174098 2010-04-29 2010-04-29 Data transmission circuit of USB interface and RS-232 interface Expired - Fee Related CN201638205U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201020174098 CN201638205U (en) 2010-04-29 2010-04-29 Data transmission circuit of USB interface and RS-232 interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201020174098 CN201638205U (en) 2010-04-29 2010-04-29 Data transmission circuit of USB interface and RS-232 interface

Publications (1)

Publication Number Publication Date
CN201638205U true CN201638205U (en) 2010-11-17

Family

ID=43082708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201020174098 Expired - Fee Related CN201638205U (en) 2010-04-29 2010-04-29 Data transmission circuit of USB interface and RS-232 interface

Country Status (1)

Country Link
CN (1) CN201638205U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063400A (en) * 2011-01-06 2011-05-18 北京天地融科技有限公司 Switching device for general serial bus equipment
CN102693203A (en) * 2012-05-24 2012-09-26 湖南工学院 Embedded USB (universal serial bus) host
CN104636294A (en) * 2013-11-12 2015-05-20 陕西国力信息技术有限公司 Interface converting circuit based on AMT system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063400A (en) * 2011-01-06 2011-05-18 北京天地融科技有限公司 Switching device for general serial bus equipment
CN102693203A (en) * 2012-05-24 2012-09-26 湖南工学院 Embedded USB (universal serial bus) host
CN104636294A (en) * 2013-11-12 2015-05-20 陕西国力信息技术有限公司 Interface converting circuit based on AMT system

Similar Documents

Publication Publication Date Title
CN201604665U (en) Communication interface equipment of train control center
CN202748785U (en) Double-channel 1553B and RS422 converting card
CN201638205U (en) Data transmission circuit of USB interface and RS-232 interface
CN203180949U (en) A bus communication system based on UARTs
CN202694039U (en) Adapter circuit
CN201751896U (en) ARINC429 bus testing device
CN202013560U (en) Device using touch-screen mobile phone as vehicle-mounted computer writing pad
CN202535382U (en) Bidirectional data transmission system of industrial controller and human-machine interface
CN106886298A (en) A kind of device for supporting USB and PS2 interface adaptives four to cut a reinforcing KVM exchangers
CN201892942U (en) Universal serial port adapter
CN203552253U (en) Portable multifunctional universal serial bus (USB) conversion module
CN201904923U (en) GPRS data transmission module
CN203102076U (en) Extension motherboard and extension system
CN203366045U (en) A digital quantity input-output device based on a CAN bus
CN203117969U (en) Universal serial bus (USB) data transmission module based on single-chip microcomputer
CN203054826U (en) Bus 1553B test board
CN209249821U (en) USB network hub
CN102855210B (en) Method for realizing intercommunication and data sharing between two single-chip microcomputers
CN201435078Y (en) Interface expansion device
CN202939600U (en) ARINC (Aeronautical Radio Incorporated) 429 bus test board
CN202383668U (en) Peripheral component interconnect express (PCI-E) expansion structure
CN201897761U (en) System using touch screen mobile phone as writing pad for computer
CN206649379U (en) A kind of Multifunctional adaptor board
CN201159878Y (en) PCIE card slot adapter
CN201220551Y (en) Bluetooth drafting instrument

Legal Events

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

Granted publication date: 20101117

Termination date: 20110429