CN201892942U - Universal serial port adapter - Google Patents
Universal serial port adapter Download PDFInfo
- Publication number
- CN201892942U CN201892942U CN2010206420865U CN201020642086U CN201892942U CN 201892942 U CN201892942 U CN 201892942U CN 2010206420865 U CN2010206420865 U CN 2010206420865U CN 201020642086 U CN201020642086 U CN 201020642086U CN 201892942 U CN201892942 U CN 201892942U
- Authority
- CN
- China
- Prior art keywords
- chip microcomputer
- max232
- level
- interface
- serial port
- 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
Links
Images
Abstract
The utility model provides a universal serial port adapter, which comprises a single-chip microcomputer and is characterized in that the single-chip microcomputer is a C8051F020 single-chip microcomputer, the single-chip microcomputer is connected with an electronic switch through a serial port 2, the single-chip microcomputer is also connected with an MAX232 level converter and communicates with an upper computer through an RS232 interface, the electronic switch is connected with the MAX232 level converter and an MAX491 signal converter, and bidirectional conversion between transistor-transistor logic (TTL) level and RS232 level is realized through an MAX232. Not only can other interfaces be extended very easily and can the adapter be connected with a digital interface by using an input/output (I/O) port, but also the adapter can be connected with an analog signal interface through the analog-to-digital conversion and the digital-to-analog conversion of the single-chip microcomputer. If peripheral interfaces are too many, the peripheral interfaces can be combined into one interface or several interfaces and a relay used for conducting output switching is only required to be added in a circuit.
Description
Technical field
The utility model belongs to the communications field, is specifically related to a kind of serial port adapter that can be general.
Background technology
The widespread use of serial communication can make various transmission equipments organically fuse, and can carry out exchanges data and information transmission safely and reliably.But because the signal difference on each device transmission channel, applied serial ports is also various, finish the communication each other of numerous equipment, just must relate to the serial ports transfer problem between each equipment.
The utility model content
Technical problem to be solved in the utility model is how a kind of serial port adapter that can be general is provided, and overcomes prior art problems.
The technical matters that the utility model proposed is to solve like this: construct a kind of serial port adapter that can be general, comprise singlechip microprocessor, it is characterized in that: singlechip microprocessor adopts C8051F020, connect electronic switch by serial ports two on the singlechip microprocessor, singlechip microprocessor also connects the MAX232 level translator, communicate by letter with host computer by RS-232, electronic switch connects MAX232 level translator and MAX491 signal converter, realizes the bi-directional conversion of Transistor-Transistor Logic level and RS-232 level by MAX232.
The beneficial effects of the utility model are: this serial port adapter described in the utility model is easy to expand other interface, and available I/O mouth connects digital interface, also can connect analog signal interface by the A/D and the D/A of single-chip microcomputer.If peripheral interface is too much, then can merge into one or several interface, only need in circuit, add relay (relay is by the I/O control of single-chip microcomputer) and export switching and get final product.
Description of drawings
Fig. 1 is a system architecture diagram provided by the utility model.
Embodiment
Below in conjunction with accompanying drawing the utility model is described further.
As shown in Figure 1, a kind of serial port adapter that can be general is provided, comprise singlechip microprocessor, it is characterized in that: singlechip microprocessor adopts C8051F020, connect electronic switch by serial ports two on the singlechip microprocessor, singlechip microprocessor also connects the MAX232 level translator, communicates by letter with host computer by RS-232, electronic switch connects MAX232 level translator and MAX491 signal converter, realizes the bi-directional conversion of Transistor-Transistor Logic level and RS-232 level by MAX232.Total system is core with C8051F020, and theory diagram as shown in Figure 1.Reception, storage and the differentiation of the data that send from the host computer serial ports by serial ports 1 control by serial ports 2 control electronic analog swtichs, make its inner analog switch connect corresponding serial ports then, realize communicating by letter of computing machine and each serial ports at last.The signal level of C8051F020 pin is the TTL type, and the asynchronous serial communication of PC serial ports is based on rs-232 standard.The logic level of both signals of communication is inconsistent, must carry out the signal level conversion.Therefore, select the MAX232 realization Transistor-Transistor Logic level of Maxim company and the bi-directional conversion of RS-232 level for use.MAX232 comprises two-way and receives and driver, is applicable to various EIA-232C and communication interface V.28/V.24.The built-in power supply voltage converter of this device, 5 V voltage transitions can be become the RS-232C output level required ± 10 V voltages.So, adopt the serial communication system of this device only to need single+5 V power supplys.The RS-232 communication distance of serial communication is advisable to be no more than 12 m.Interface adopts 9 needle serial port DB9, just can realize as long as serial ports transmission data have the data pin of reception and send pin.
Claims (1)
- One kind can be general serial port adapter, comprise singlechip microprocessor, it is characterized in that: singlechip microprocessor adopts C8051F020, connect electronic switch by serial ports two on the singlechip microprocessor, singlechip microprocessor also connects the MAX232 level translator, communicate by letter with host computer by RS-232, electronic switch connects MAX232 level translator and MAX491 signal converter, realizes the bi-directional conversion of Transistor-Transistor Logic level and RS-232 level by MAX232.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010206420865U CN201892942U (en) | 2010-12-06 | 2010-12-06 | Universal serial port adapter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010206420865U CN201892942U (en) | 2010-12-06 | 2010-12-06 | Universal serial port adapter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN201892942U true CN201892942U (en) | 2011-07-06 |
Family
ID=44222413
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010206420865U Expired - Fee Related CN201892942U (en) | 2010-12-06 | 2010-12-06 | Universal serial port adapter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN201892942U (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102969789A (en) * | 2012-11-06 | 2013-03-13 | 四川省电力公司德阳电业局 | Communication interface of grid scheduling system and master station |
CN103870428B (en) * | 2014-03-19 | 2017-01-18 | 顺德职业技术学院 | Serial port extender for microprocessor |
CN107818060A (en) * | 2016-09-14 | 2018-03-20 | 北京迪文科技有限公司 | A kind of method of adaptive TTL and RS232 serial communication modes |
-
2010
- 2010-12-06 CN CN2010206420865U patent/CN201892942U/en not_active Expired - Fee Related
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102969789A (en) * | 2012-11-06 | 2013-03-13 | 四川省电力公司德阳电业局 | Communication interface of grid scheduling system and master station |
CN102969789B (en) * | 2012-11-06 | 2014-12-24 | 四川省电力公司德阳电业局 | Communication interface of grid scheduling system and master station |
CN103870428B (en) * | 2014-03-19 | 2017-01-18 | 顺德职业技术学院 | Serial port extender for microprocessor |
CN107818060A (en) * | 2016-09-14 | 2018-03-20 | 北京迪文科技有限公司 | A kind of method of adaptive TTL and RS232 serial communication modes |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN205038637U (en) | RS232 and RS485422 interface converter based on microprocessor | |
CN201892942U (en) | Universal serial port adapter | |
CN203027245U (en) | RS232 and RS485 adaptive interface circuit | |
CN204155273U (en) | A kind of multi-functional data switch based on elevator communication | |
CN202103647U (en) | Relay protection data converter | |
CN201570019U (en) | Passive RS232-485 signal converter | |
CN101694995B (en) | Passive RS232-485 signal converter | |
CN203552253U (en) | Portable multifunctional universal serial bus (USB) conversion module | |
CN207835829U (en) | A kind of Bluetooth conversion device | |
CN203786725U (en) | Serial bus communication bridge | |
CN206162511U (en) | Adjustable serial module of multichannel of compatible X86 and ARM framework platform | |
CN201638205U (en) | Data transmission circuit of USB interface and RS-232 interface | |
CN204302969U (en) | The USB/RS232-CAN translation debugging device of various configurations mode | |
CN204256410U (en) | A kind of communication interface circuit and communication apparatus | |
CN201904923U (en) | GPRS data transmission module | |
CN205210878U (en) | USB interface converting equipment based on STM32 singlechip | |
CN202143048U (en) | Encoder converting circuit | |
CN205942681U (en) | Serial communication interface that can dispose | |
CN203606725U (en) | Control board card with RS232 communication interface and RS485 communication interface | |
CN203148881U (en) | Wireless-network-based methane sensor for mining | |
CN202693677U (en) | Three-phase electronic electric energy meter | |
CN204406140U (en) | A kind of bus type programable controller system | |
CN203217761U (en) | Meter reading circuit based on plastic optical fiber optical transceiver | |
CN105589824A (en) | Multi-configuration manner USB/RS232-CAN converting and debugging device | |
CN202204550U (en) | Optoelectronic direct reading M-BUS remote transmission intelligent water meter |
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: 20110706 Termination date: 20111206 |