CN203606725U - Control board card with RS232 communication interface and RS485 communication interface - Google Patents
Control board card with RS232 communication interface and RS485 communication interface Download PDFInfo
- Publication number
- CN203606725U CN203606725U CN201320642679.5U CN201320642679U CN203606725U CN 203606725 U CN203606725 U CN 203606725U CN 201320642679 U CN201320642679 U CN 201320642679U CN 203606725 U CN203606725 U CN 203606725U
- Authority
- CN
- China
- Prior art keywords
- pin
- interface
- chip
- interfaces
- chip microcomputer
- 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
A control board card with an RS232 communication interface and an RS485 communication interface comprises the 232 interface, the 485 interface, an MAX232 chip, an MAX485 chip, a toggle switch, an 8051 single chip microcomputer and a crystal oscillator. When the toggle switch is communicated with the 232 interface, the 8051 single chip microcomputer conducts communication through the RS232 interface, a serial port of a computer is directly connected with a 232 interface of a small board card, and a control signal sent by upper computer software in the computer controls the 8051 single chip microcomputer through the 232 interface; after the 232 interface on the 8051 single chip microcomputer receives the control signal, the 8051 single chip microcomputer controls a corresponding pin to execute a corresponding motion. When the toggle switch is communicated with the 485 interface, a 232 to 485 converter is directly connected to the serial port of the computer, a 485 interface on the converter is connected with the 485 interface on the control board card, and a control signal sent by the upper computer software controls the 8051 single chip microcomputer through the 232 to 485 converter; after the 485 interface of the 8051 single chip microcomputer receives the signal, the 8051 single chip microcomputer controls a corresponding pin to execute a corresponding motion. The control board card has the advantages of being simple in structure, reasonable in design and the like.
Description
Technical field
The utility model relates to a kind of control card, specifically relates to a kind of Control card with RS232 and two kinds of communication interfaces of RS485.
Background technology
Common microprocessor is all integrated with 1 road or multichannel hardware UART passage, can realize easily serial communication.In the fields such as Industry Control, power communication, intelligent instrument, also usually easy-to-use serial communication mode easy to use as the means of exchanges data.But, in the environment such as Industry Control, often have electrical noise and disturb transmission line, while using RS-232 communication often because extraneous electrical Interference causes signal transmission errors.In addition, the maximum transmission distance of RS-232 communication in the situation that not increasing impact damper only to reach 15 meters.RS-485 standard produces in order to make up the shortcomings such as RS-232 communication distance is short, speed is low.RS-485 standard is often used as a kind of relatively economical, have that suitable strong noise suppresses, the communications platform of relatively high transfer rate, long transmission distance, wide common mode range.Meanwhile, RS-485 circuit has and controls the advantage such as convenient, with low cost.Common control card, generally only has an interface, RS-232 interface or RS-485.
Summary of the invention
The utility model is mainly to solve the existing technical matters of above-mentioned prior art, and a kind of Control card with RS232 and two kinds of communication interfaces of RS485 is provided.
Above-mentioned technical matters of the present utility model is mainly solved by following technical proposals: a kind of Control card with RS232 and two kinds of communication interfaces of RS485, comprises 232 interfaces, 485 interfaces, MAX232 chip, MAX485 chip, plucking number sign switch, 8051 single-chip microcomputers and crystal oscillator.Crystal oscillator provides basic clock signal for system, in the time that plucking number sign switch is connected 232 interface gateway, 8051 single-chip microcomputers communicate with RS232 interface, computer serial ports is direct to be connected with 232 interfaces of little board, the control signal that in computer, upper computer software sends is passed through 232 interfaces, control single chip computer, and single-chip microcomputer 232 interfaces receive after this signal, control corresponding pin, carry out action accordingly; In the time that plucking number sign switch is connected 485 interface, 8051 single-chip microcomputers communicate with RS485 interface, now directly connecting one 232 at the serial ports of computer turns 485 converter, 485 interfaces on converter are connected with 485 interfaces on Control card, the control signal that upper computer software sends turns 485 converters by 232, control single chip computer, and 485 mouthfuls of single-chip microcomputers receive after this signal, control corresponding pin, carry out action accordingly.
The utility model Control card has two kinds of selections, easy to use; Favorable expandability, coordinates corresponding topworks, can be used in various occasions, as the controller of stepper motor, detected temperatures etc.; Be convenient to safeguard, when one of them interface communication is undesired, available another interface communicates.Therefore, the utlity model has the features such as simple in structure, reasonable in design.
Accompanying drawing explanation
Fig. 1 is a kind of structural representation of the present utility model.
Fig. 2 MAX232 chip circuit figure
Fig. 3 MAX485 chip circuit figure
Figure 48 051 single chip machine controlling circuit figure
Description of reference numerals:
1 is 232 interfaces, and 2 is MAX232 chip, and 3 is 485 interfaces, and 4 is MAX485 chip, and 5 is plucking number sign switch, and 6 is 8051 single-chip microcomputers, and 7 is crystal oscillator.
Embodiment
Below by embodiment, and by reference to the accompanying drawings, the technical solution of the utility model is described in further detail.
Embodiment: referring to Fig. 1, a kind of Control card with RS232 and two kinds of communication interfaces of RS485, comprises 232 interfaces 1, MAX232 chip 2,485 interfaces 3, MAX485 chip 4, plucking number sign switch 5,8051 single-chip microcomputers 6 and crystal oscillator 7.Toggle switch has four groups of pins: first group of pin I pin and E pin, second group of J pin and F pin, the 3rd group of C pin and G pin, the 4th group of D pin and H pin, and I pin is connected with C pin, is connected to the RX end of 8051 single-chip microcomputers, J pin is connected with D pin, is connected to the TX end of 8051 single-chip microcomputers.When toggle switch 5 is allocated to, I pin is connected with E pin, J pin is connected with F pin, when C pin and G pin disconnect, D pin and H pin disconnect the position, 8051 single-chip microcomputer 6 use RS232 interfaces 1 communicate, computer serial ports is directly connected with 232 interfaces 1 of Control card, the control signal that upper computer software on computer sends is by 232 interfaces 1, control single chip computer 6; When toggle switch 5 is allocated to, C pin is connected with G pin, D pin is connected with H pin, when I pin and E pin disconnect, J pin and F pin disconnect the position, 8051 single-chip microcomputer 6 use RS485 interfaces 3 communicate, computer serial ports connects 232 and turns 485 converter, 485 interfaces on converter are connected with 485 interfaces 3 on Control card, the control signal that upper computer software on computer sends turns 485 converters by 232, control 8051 single-chip microcomputers 6,485 interfaces 3 receive after this signal, control corresponding pin, carry out action accordingly.
If Fig. 2 is the circuit diagram of MAX232 chip, 232 interfaces adopt 9 needle serial ports, comprise MAX232 and C4, C5, C6, C7, C8 take MAX232 as main level shifting circuit.Standard 232 level of computer output are positive and negative 15V, and single-chip microcomputer signal is TTL signal, is 5V.The effect of this part circuit has been exactly the conversion of Transistor-Transistor Logic level to standard 232 level, realizes the conversion of RS232 signal and TTL signal.
If Fig. 3 is take MAX485 as main interface circuit, comprise conversion chip MAX485, build-out resistor R4, R5, R6 and protection diode D1, D2, D3, this part has been mainly the conversion of Transistor-Transistor Logic level and RS-485 level.MAX485, a driver and receiver are contained in inside, and RO and DI end are respectively the output of receiver and the input end of driver, with be connected with TXD with the RXD of single-chip microcomputer respectively, / RE and DE end is respectively the Enable Pin that receives and send, and in the time that/RE is logical zero, device is in accepting state; In the time that DE is logical one, device is in transmission state.RE and DE and together with, with the control of a single-chip microcomputer pin, side a and b is respectively the differential signal end that receives and send, 485 interfaces are mainly connection A, the terminal of B line, can realize the interconnected of multiple equipment by the connection of AB line.
If Fig. 4 is the minimum work systems of 8051 single-chip microcomputers, comprise that 8051 single-chip microcomputers, R1, C3 form reset circuit, C1, C2, Y1 is mainly single-chip microcomputer suitable frequency of operation is provided.Toggle switch has been mainly the selection of RS232 and RS485 communication pattern.
The utility model Control card has two kinds of selections, easy to use; Favorable expandability, coordinates corresponding topworks, can be used in various occasions, as the controller of stepper motor, detected temperatures etc.; Be convenient to safeguard, when one of them interface communication is undesired, available another interface communicates.
Finally, it should be pointed out that above embodiment is only the more representational example of the utility model.Obviously, the utility model is not limited to above-described embodiment, can also have many distortion.Any simple modification, equivalent variations and modification that every foundation technical spirit of the present utility model is done above embodiment, all should think and belong to protection domain of the present utility model.
Claims (3)
1. the Control card with RS232 and two kinds of communication interfaces of RS485, comprise 232 interfaces, 485 interfaces, MAX232 chip, MAX485 chip, plucking number sign switch, 8051 single-chip microcomputers and crystal oscillator, it is characterized in that described 232 interfaces and MAX232 chip are connected in series, 485 interfaces and MAX485 chip are connected in series, MAX232 chip is connected with plucking number sign switch respectively with MAX485 chip, plucking number sign switch is connected with 8051 single-chip microcomputers, crystal oscillator is connected with 8051 single-chip microcomputers: in the time that plucking number sign switch is connected 232 interface gateway, 8051 single-chip microcomputers communicate with RS232 interface; In the time that plucking number sign switch is connected 485 interface gateway, 8051 single-chip microcomputers communicate with RS485 interface, and now directly connecting one 232 at the serial ports of computer turns 485 converter.
2. a kind of Control card with RS232 and two kinds of communication interfaces of RS485 according to claim 1, it is characterized in that described toggle switch has four groups of pins: first group of I pin and E pin, second group of J pin and F pin, the 3rd group of C pin and G pin, the 4th group of D pin and H pin, and I pin is connected with C pin, is connected to the RX end of 8051 single-chip microcomputers, J pin is connected with D pin, is connected to the TX end of 8051 single-chip microcomputers.
3. according to a kind of Control card with RS232 and two kinds of communication interfaces of RS485 described in claim 1 or 2, it is characterized in that described toggle switch, when being allocated to I pin, dial-up is connected with E pin, J pin is connected with F pin, C pin and G pin disconnect,, 8051 single-chip microcomputers communicate with RS232 interface when D pin and H pin disconnect the position; Be connected with G pin when dial-up is allocated to C pin, D pin is connected with H pin, and I pin and E pin disconnect, and, 8051 single-chip microcomputers communicate with RS485 interface when J pin and F pin disconnect the position.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201320642679.5U CN203606725U (en) | 2013-10-17 | 2013-10-17 | Control board card with RS232 communication interface and RS485 communication interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201320642679.5U CN203606725U (en) | 2013-10-17 | 2013-10-17 | Control board card with RS232 communication interface and RS485 communication interface |
Publications (1)
Publication Number | Publication Date |
---|---|
CN203606725U true CN203606725U (en) | 2014-05-21 |
Family
ID=50719388
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201320642679.5U Expired - Fee Related CN203606725U (en) | 2013-10-17 | 2013-10-17 | Control board card with RS232 communication interface and RS485 communication interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN203606725U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104698924A (en) * | 2015-02-04 | 2015-06-10 | 深圳市瑞尔时代科技有限公司 | Integrated intelligent monitoring mainframe |
CN109698710A (en) * | 2017-10-20 | 2019-04-30 | 中国航天科工飞航技术研究院动力供应站 | Data transmission terminal based on LoRa and the communication system with it |
-
2013
- 2013-10-17 CN CN201320642679.5U patent/CN203606725U/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104698924A (en) * | 2015-02-04 | 2015-06-10 | 深圳市瑞尔时代科技有限公司 | Integrated intelligent monitoring mainframe |
CN109698710A (en) * | 2017-10-20 | 2019-04-30 | 中国航天科工飞航技术研究院动力供应站 | Data transmission terminal based on LoRa and the communication system with it |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106383801A (en) | Single line type UART communication circuit | |
CN106598897A (en) | Industry bus system self-adaptive to three industry bus protocols and conversion method | |
CN203606725U (en) | Control board card with RS232 communication interface and RS485 communication interface | |
CN107204992B (en) | Multifunctional serial server and data transmission method | |
CN107015212B (en) | The Universal interface board of radar wave control and monitoring based on VPX bus from survey platform | |
CN1949734B (en) | Power supply two-line system real-time bus communication method | |
CN205193797U (en) | Multi -functional interface system of test usefulness | |
CN203025515U (en) | Network industrial control module with function of POE (Power Over Ethernet) power supply | |
CN204279131U (en) | A kind of entire car controller of pure electric automobile | |
EP1970816B1 (en) | A conversion circuit | |
CN102915010A (en) | FPGA (field programmable gate array)-based serial communication distributing device and communication method | |
CN203217563U (en) | CAN (controller area network) bus control and transmit-receive system with high isolation performance | |
CN204256410U (en) | A kind of communication interface circuit and communication apparatus | |
CN201892942U (en) | Universal serial port adapter | |
CN204129471U (en) | Pure electric controller circuit board | |
CN202693677U (en) | Three-phase electronic electric energy meter | |
CN103425617A (en) | Device utilizing RS232 interfaces to realize one-to-many data transmission and data transmission method of device | |
CN202794935U (en) | Automatic reversing circuit of 485 bus | |
CN203241752U (en) | Digital analog conversion CAN bus control transmit-receive system connected with multipath-sensor | |
CN202728142U (en) | Car-mounted terminal based on combined positioning technology | |
CN206249048U (en) | A kind of intelligent DTU equipment for being applied to Internet of Things field | |
CN201910814U (en) | General data quick exchange device for serial port communication and CAN (controller area network) bus communication | |
CN202815827U (en) | Switchable serial port device capable of receiving and sending | |
CN203149376U (en) | Fieldbus-based 16 switch signal detection and control transmitter | |
CN203930438U (en) | Weaving device, machine control equipment and control system, control and drive unit |
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: 20140521 Termination date: 20161017 |