CN203644033U - Multifunctional data converter - Google Patents
Multifunctional data converter Download PDFInfo
- Publication number
- CN203644033U CN203644033U CN201320765709.1U CN201320765709U CN203644033U CN 203644033 U CN203644033 U CN 203644033U CN 201320765709 U CN201320765709 U CN 201320765709U CN 203644033 U CN203644033 U CN 203644033U
- Authority
- CN
- China
- Prior art keywords
- capacitor
- pin
- ground
- parallel
- resistance
- 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
Landscapes
- Dc-Dc Converters (AREA)
Abstract
The utility model discloses a multifunctional data converter, which comprises a power supply part, a MCU part, a memory part and a serial port communication part. A capacitor C1 and a resistor R2 are connected in series between VCC and ground so as to form a power-on reset circuit; a capacitor C2, a capacitor C3 and a crystal oscillator XTAL form an oscillating circuit for providing a steady clock for an MCU; in the serial port communication part, on the basis of a standard MAX232 circuit, a resistor R9, a resistor R10, a resistor R11 and a resistor R12 are respectively connected to a pin T1OUT, a pin R1IN, a pin T2OUT and a pin R2IN; the resistors R9, R10, R11 and R12 are connected with four sets of protection circuits; the first set of the protection circuits is that a transient suppression diode TVS1 and a capacitor C14 are connected in parallel between the pin T1OUT and the ground; the second set of the protection circuits is that a transient suppression diode TVS2 and a capacitor C15 are connected in parallel between the pin R1IN and the ground; the third set of the protection circuits is that a transient suppression diode TVS3 and a capacitor C16 are connected in parallel between the pin T2OUT and the ground; the fourth set of the protection circuits is that a transient suppression diode TVS4 and a capacitor C17 are connected in parallel between the R2IN and the ground. The multifunctional data converter disclosed by the utility model enables two devices with different formats of command frames to be communicated with each other.
Description
Technical field
The utility model relates to the data communication field of commercial unit, relates in particular to a kind of multi-functional data converter that can make two equipment that command frame format is different communicate.
Background technology
Communication between the commercial unit of prior art is to communicate by communication interface RS-232 serial ports.The electrical equipment of household class as air-conditioning, music player etc. be all the equipment of communicating by letter by communication interface RS-232.
While communicating by serial ports between various device, the mutual conversion of order.Because of most device commands disunity, so a lot of communication between devices cannot proper communication.
Utility model content
The purpose of this utility model is to provide a kind of multi-functional data converter that can make two equipment that command frame format is different communicate.
To achieve these goals, the technical scheme that the utility model provides is: a kind of multi-functional data converter is provided, comprise power unit, MCU part, memory portion and serial communication, described power unit is for powering to described MCU part, memory portion and serial communication, wherein:
Described MCU part comprises that model is the single-chip microcomputer U1 of STC12C5A60S2, is connected with by capacitor C 1 and resistance R 2 and is composed in series electrify restoration circuit between VCC and ground, forms oscillatory circuit, for MCU provides stabilizing clock by capacitor C 2, C3 and crystal oscillator XTAL;
Memory portion comprises: what composed in parallel by capacitor C 8, C11 is filter capacitor, and is connected between the VCC pin and ground of storage chip AT24C16, and the PRE of storage chip AT24C16, PB0, PB1, the equal ground connection of VSS port;
Serial communication: on the circuit base of the MAX232 of standard, be connected with respectively resistance R 9, R10, R11, R12 at pin T1OUT, R1IN, T2OUT, R2IN, and resistance R 9, R10, R11, R12 are connected with four groups of holding circuits, wherein first group of holding circuit is: Transient Suppression Diode TVS1 and capacitor C 14 are connected in parallel between T1OUT pin and ground; Second group of holding circuit is: Transient Suppression Diode TVS2 and capacitor C 15 are connected in parallel between R1IN pin and ground; The 3rd group of holding circuit is: Transient Suppression Diode TVS3 and capacitor C 16 are connected in parallel between T2OUT pin and ground; The 4th group of holding circuit is: Transient Suppression Diode TVS4 and capacitor C 17 are connected in parallel between R2IN pin and ground.
In described MCU part, the capacitance size of capacitor C 1 is 1 μ F, and the capacitance size of capacitor C 2, C3 is 30pF, and the resistance of resistance R 2 is 1 kilo-ohm.
In described memory portion, the capacitance size of capacitor C 8 is that the capacitance size of 100nF, capacitor C 11 is 10 μ F.
In described communication serial port part, the resistance of resistance R 9, R10, R11, R12 is 470 Europe, and the model of Transient Suppression Diode TVS1, TVS2, TVS3 and TVS4 is SMAJ12CA.
Compared with prior art, by the utility model multi-functional data converter, can make two equipment that command frame format is different communicate.If the command frame of device A is the data of 8Byte, and equipment B is the command frame of 10Byte, between them, be mutually to identify order separately, after serial port command converter, the order that just can make this two days equipment mutually identify the other side, realizes the communication function between them.
By following description also by reference to the accompanying drawings, it is more clear that the utility model will become, and these accompanying drawings are used for explaining embodiment of the present utility model.
Accompanying drawing explanation
Fig. 1 is the circuit theory diagrams of the power unit of the utility model multi-functional data converter.
Fig. 2 is the circuit theory diagrams of the MCU part of the utility model multi-functional data converter.
Fig. 3 is the circuit theory diagrams of the serial communication of the utility model multi-functional data converter.
Fig. 4 is the circuit theory diagrams of the memory portion of the utility model multi-functional data converter.
Embodiment
With reference now to accompanying drawing, describe embodiment of the present utility model, in accompanying drawing, similarly element numbers represents similar element.As mentioned above, as shown in Figure 1, 2, what the utility model provided provides a kind of multi-functional data converter, comprises power unit, MCU part, memory portion and serial communication, described power unit is for powering to described MCU part, memory portion and serial communication, wherein:
As shown in Figure 2, described MCU part comprises that model is the single-chip microcomputer U1 of STC12C5A60S2, between VCC and ground, be connected with by capacitor C 1 and resistance R 2 and be composed in series electrify restoration circuit, form oscillatory circuit by capacitor C 2, C3 and crystal oscillator XTAL, for MCU provides stabilizing clock.
As shown in Figure 4, memory portion comprises: what composed in parallel by capacitor C 8, C11 is filter capacitor, and is connected between the VCC pin and ground of storage chip AT24C16, and the PRE of storage chip AT24C16, PB0, PB1, the equal ground connection of VSS port.
As shown in Figure 3, serial communication: on the circuit base of the MAX232 of standard, be connected with respectively resistance R 9, R10, R11, R12 at pin T1OUT, R1IN, T2OUT, R2IN, and resistance R 9, R10, R11, R12 are connected with four groups of holding circuits, wherein first group of holding circuit is: Transient Suppression Diode TVS1 and capacitor C 14 are connected in parallel between T1OUT pin and ground; Second group of holding circuit is: Transient Suppression Diode TVS2 and capacitor C 15 are connected in parallel between R1IN pin and ground; The 3rd group of holding circuit is: Transient Suppression Diode TVS3 and capacitor C 16 are connected in parallel between T2OUT pin and ground; The 4th group of holding circuit is: Transient Suppression Diode TVS4 and capacitor C 17 are connected in parallel between R2IN pin and ground.
In described MCU part, the capacitance size of capacitor C 1 is 1 μ F, and the capacitance size of capacitor C 2, C3 is 30pF, and the resistance of resistance R 2 is 1 kilo-ohm.
In described memory portion, the capacitance size of capacitor C 8 is that the capacitance size of 100nF, capacitor C 11 is 10 μ F.
In described communication serial port part, the resistance of resistance R 9, R10, R11, R12 is 470 Europe, and the model of Transient Suppression Diode TVS1, TVS2, TVS3 and TVS4 is SMAJ12CA.
As shown in Figure 1, described power unit comprises: for the capacitor C4, the capacitor C5 that supply voltage are played to the voltage stabilizing diode D5 of pressure stabilization function, power supply carried out to filtering, the negative electrode of described voltage stabilizing diode D5 is connected with the collector of resistance R 4, NPN triode Q1 successively, and the emitter-base bandgap grading of NPN triode Q1 is connected with resistance R 1;
Power unit: R3 is voltage dependent resistor (VDR), for preventing that voltage instantaneous sudden change from time causing damage to circuit.D2 and D4 are switching diode BAV99, and composition bridge rectifier, can convert alternating voltage to DC voltage, as connect direct supply and can prevent that power supply from connecing instead.D1 and D3 are switching diode BAV99, for stablizing the base current of triode Q1, thereby stablize the collector current of triode Q1, through D5 stabilivolt burning voltage and capacitor C4 and C5, power supply is carried out after filtering, provide a stable power-supplying system to subsequent conditioning circuit.
Described MCU part comprises that model is the single-chip microcomputer U1 of STC12C5A60S2, is connected with by capacitor C 1 and resistance R 2 and is composed in series electrify restoration circuit between VCC and ground, forms oscillatory circuit, for MCU provides stabilizing clock by capacitor C 2, C3 and crystal oscillator XTAL; The command frame that MCU receives from serial ports A and the A group command frame being stored in EEPROM contrast, if the command frame receiving does not exist in A group command frame, to not process this command frame, if the command frame receiving exists in A group command frame, the B group command frame of answering being in contrast stored in so in the A group in EEPROM will be read out by MCU and this command frame be sent to controlled plant from serial ports B.
By the utility model multi-functional data converter, can make two equipment that command frame format is different communicate.If the command frame of device A is the data of 8Byte, and equipment B is the command frame of 10Byte, between them, be mutually to identify order separately, after serial port command converter, the order that just can make this two days equipment mutually identify the other side, realizes the communication function between them.
Above disclosed is only preferred embodiment of the present utility model, certainly can not limit with this interest field of the utility model, and the equivalent variations of therefore doing according to the utility model claim, still belongs to the scope that the utility model is contained.
Claims (4)
1. a multi-functional data converter, comprises power unit, MCU part, memory portion and serial communication, and described power unit, for powering to described MCU part, memory portion and serial communication, is characterized in that:
Described MCU part comprises that model is the single-chip microcomputer U1 of STC12C5A60S2, is connected with by capacitor C 1 and resistance R 2 and is composed in series electrify restoration circuit between VCC and ground, forms oscillatory circuit, for MCU provides stabilizing clock by capacitor C 2, C3 and crystal oscillator XTAL;
Memory portion comprises: what composed in parallel by capacitor C 8, C11 is filter capacitor, and is connected between the VCC pin and ground of storage chip AT24C16, and the PRE of storage chip AT24C16, PB0, PB1, the equal ground connection of VSS port;
Serial communication: on the circuit base of the MAX232 of standard, be connected with respectively resistance R 9, R10, R11, R12 at pin T1OUT, R1IN, T2OUT, R2IN, and resistance R 9, R10, R11, R12 are connected with four groups of holding circuits, wherein first group of holding circuit is: Transient Suppression Diode TVS1 and capacitor C 14 are connected in parallel between T1OUT pin and ground; Second group of holding circuit is: Transient Suppression Diode TVS2 and capacitor C 15 are connected in parallel between R1IN pin and ground; The 3rd group of holding circuit is: Transient Suppression Diode TVS3 and capacitor C 16 are connected in parallel between T2OUT pin and ground; The 4th group of holding circuit is: Transient Suppression Diode TVS4 and capacitor C 17 are connected in parallel between R2IN pin and ground.
2. multi-functional data converter as claimed in claim 1, is characterized in that, in described MCU part, the capacitance size of capacitor C 1 is 1 μ F, and the capacitance size of capacitor C 2, C3 is 30pF, and the resistance of resistance R 2 is 1 kilo-ohm.
3. multi-functional data converter as claimed in claim 1, is characterized in that, in described memory portion, the capacitance size of capacitor C 8 is that the capacitance size of 100nF, capacitor C 11 is 10 μ F.
4. multi-functional data converter as claimed in claim 1, is characterized in that, in described communication serial port part, the resistance of resistance R 9, R10, R11, R12 is 470 Europe, and the model of Transient Suppression Diode TVS1, TVS2, TVS3 and TVS4 is SMAJ12CA.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201320765709.1U CN203644033U (en) | 2013-11-28 | 2013-11-28 | Multifunctional data converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201320765709.1U CN203644033U (en) | 2013-11-28 | 2013-11-28 | Multifunctional data converter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN203644033U true CN203644033U (en) | 2014-06-11 |
Family
ID=50875261
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201320765709.1U Expired - Fee Related CN203644033U (en) | 2013-11-28 | 2013-11-28 | Multifunctional data converter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN203644033U (en) |
-
2013
- 2013-11-28 CN CN201320765709.1U patent/CN203644033U/en not_active Expired - Fee Related
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN205283193U (en) | Battery management system's timing activation circuit | |
CN204331520U (en) | Mu balanced circuit | |
CN204928078U (en) | Intelligent ammeter working power supply with short -circuit protection circuit | |
CN105576746A (en) | Timing activation circuit for battery management system | |
CN101742188B (en) | LCD (Liquid Crystal Display)-TV power supply voltage detection circuit | |
CN203644033U (en) | Multifunctional data converter | |
CN204517690U (en) | Regulator rectifier circuit | |
CN204596061U (en) | A kind of temperature-sensitive alarm control circuit | |
CN204835969U (en) | Relay control circuit during resistance -capacitance steps down | |
CN204119025U (en) | A kind of linear voltage dropping circuit for battery system | |
CN204271611U (en) | A kind of alternating current inputting over/under voltage protective circuit | |
CN211526661U (en) | Sharing air conditioner based on Internet of things | |
CN203278276U (en) | Multifunctional charger | |
CN207502953U (en) | Power supply sequencing control circuit | |
CN205427683U (en) | Intelligent direct -current stabilized power supply | |
CN205319950U (en) | Computer power supply | |
CN206060226U (en) | A kind of special individual event combining inverter of blower fan | |
CN106487212B (en) | A kind of power control circuit powered on that is delayed | |
CN207459986U (en) | A kind of power switch circuit cuts peak device | |
CN205490121U (en) | Take protect function's electrical source controller | |
CN204331581U (en) | A kind of for the deck of card system and the connecting circuit of computing machine | |
CN205304612U (en) | Intelligence communication booster power | |
CN204719579U (en) | Electronic type AC voltage regulator control circuit | |
CN204790400U (en) | Many terminal control's power manager | |
CN109300348A (en) | Interactive educational system |
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 |
Granted publication date: 20140611 Termination date: 20141128 |
|
EXPY | Termination of patent right or utility model |