CN201878126U - Serial port TXD (transmit data) line management instruction-checking type automated connector base for eight sets of household appliances - Google Patents
Serial port TXD (transmit data) line management instruction-checking type automated connector base for eight sets of household appliances Download PDFInfo
- Publication number
- CN201878126U CN201878126U CN2010205567097U CN201020556709U CN201878126U CN 201878126 U CN201878126 U CN 201878126U CN 2010205567097 U CN2010205567097 U CN 2010205567097U CN 201020556709 U CN201020556709 U CN 201020556709U CN 201878126 U CN201878126 U CN 201878126U
- Authority
- CN
- China
- Prior art keywords
- circuit
- serial port
- signal input
- triode
- data
- 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
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The utility model relates to a serial port TXD (transmit data) line management instruction-checking type automated connector base for eight sets of household appliances, belonging to the field of an interface device of a computer and the household appliances, wherein a serial port TXD line sends binary data; a comparator is used for checking instruction data; eight sets of household appliances are managed; and a serial port input interconnection wire is used for detecting the state of three sensors and the state change of one sensor. The automated connector base comprises an RS232C interface, a USB interface, a USB transfer serial port circuit, four pairs of sensor interface connection terminals, an RS232-TTL/CMOS level switching circuit, a binary counter, 16 blocks of 4-bit comparers, a data output enabling circuit, a data locking circuit, eight sets of electronic switch circuits, a voltage-stabilizing power circuit and a lightning and surging protection circuit; signals TXD, DTR and RTS are respectively sent to a clock input end and a zero clearing end of the counter, and the data are output from an enabling end of the enabling circuit; one set of input signals of the 4-bit comparers are from the counter, while the other set of signals are preset; and the electronic switch circuits are controlled by the comparison result. The automated connector base is applied to realizing the automation of the household appliances.
Description
Technical field
The utility model belongs to the application electric technology field, particularly relates to the interface arrangement of a kind of computer and home electronic appliance.
Background technology
Submitting the utility model patent " serial port sends the home electronic appliance automation junction block of data wire management " of Patent Office of State Intellectual Property Office examination in mid-September, 2010 to is main frame with the computer, under the cooperation of two of its RS232C interface output interconnections, send out serial data from the TXD mouth line of serial port, these data convert the parallel data instruction to through decade counter CD4017, manage 4 pairs of domestic electronics and electrical equipment, also the input of four by RS232C interface interconnections detect the variation of the state of the state of 3 Sensor of Switch-Output Type and 1 transducer.And submit to the utility model patent " 8 groups of home electronic appliance automation junction blocks of serial port TXD spool reason " of examination that the serial data that TXD mouth line sends out is converted to the parallel data instruction through binary counter and 4-16 decoder recently, manage 8 pairs of electronics and electrical equipment.
The utility model content
The purpose of this utility model is to provide a kind of serial port TXD spool reason to check 8 groups of household electrical appliance automations of instruction type junction block, it is main frame with the computer, send out director data from the TXD mouth line of its RS232C interface, check director data by comparator, manage 8 groups of home electronic appliances, also the output of four by serial port interconnections detect the variation of the state of the state of 3 Sensor of Switch-Output Type and 1 transducer; Comprise: 9 pin RS232C interfaces, USB interface, USB change serial port circuit, the 4 pairs of sensor interface terminals, RS232 → TTL/CMOS level shifting circuit, binary counter, 16 4 bit comparators, data output enable circuit, data-latching circuit, 8 groups of electronic switching circuits, voltage-stabilized power supply circuit, anti-lightning strike and surge circuit and supply main and plug thereof.
The technical scheme that its technical problem that solves the utility model adopts is:
USB interface is connected to the corresponding signal input part that USB changes the serial port circuit, the corresponding port line parallel of the latter's signal output part and RS232C interface; The first pin CD of RS232C interface, the 6th pin DSR, the 8th pin CTS are connected a pull-up resistor respectively to positive source with nine kinds of needles RI, and this four pin and power cathode have constituted 4 pairs of sensor interface terminals respectively; The 3rd pin TXD of RS232C interface, the 4th pin DTR, the 7th pin RTS are connected respectively to three signal input parts of RS232 → TTL/CMOS level shifting circuit, and three signal output parts of corresponding level shifting circuit are connected respectively to the output enable end of the clock signal input terminal of binary counter and clear terminal thereof, data output enable circuit; Four signal output parts of binary counter are connected respectively to 16 4 bit comparator 1 group of comparison signal input A3A2A1A0 separately, 16 4 bit comparator output terminals A=B separately are connected respectively to 16 signal input parts of data output enable circuit, 16 signal output parts of data output enable circuit connect a pull down resistor separately to power cathode, also be connected respectively to 8 opposed 1 end S and reset terminal R of data-latching circuit, 8 signal output parts of data-latching circuit are connected respectively to the signal input end of 1 group of electronic switching circuit; The ac input end of voltage-stabilized power supply circuit is received civil power with anti-lightning strike in parallel with the surge circuit by supply main and plug thereof, and the output negative pole of voltage-stabilized power supply circuit links to each other with the 5th pin GND of RS232C interface.
Described voltage-stabilized power supply circuit is made up of power transformer, diode bridge rectifier circuit, capacitor filter and circuit of three-terminal voltage-stabilizing integrated 7815, and two outputs of 7815 have constituted the positive source and the power cathode of this device respectively.
Described anti-lightning strike the polyphone by a fuse and a piezo-resistance with the surge circuit formed.
Described RS232 → TTL/CMOS level shifting circuit is divided into three the tunnel, and structure separately is identical, comprising: triode, base resistance, collector resistance, schmitt inverter and working station indicator circuit; Wherein, one end of base resistance is as the signal input part of this road level shifting circuit, the other end is connected to the base stage of triode, the collector electrode of positive source and collector resistance, triode, emitter and power cathode are formed series circuit, the collector electrode of triode is also connected to the input of schmitt inverter, and the output of schmitt inverter is as the signal output part of this road level shifting circuit; The working station indicator circuit comprises a current-limiting resistance and a light-emitting diode, and the output of schmitt inverter, current-limiting resistance, light-emitting diode and positive source are formed series circuit.
The structure of described 8 groups of electronic switching circuits is identical, comprises separately: No. 1 solid-state relay electronic switching circuit and No. 1 direct current relay electronic switching circuit.
Described solid-state relay electronic switching circuit comprises: 1 NPN triode, 1 PNP triode, 1 base resistance, 1 base biasing resistor, 1 collector resistance, 1 current limliting collector resistance and a solid-state relay; Wherein, the base stage of one termination NPN triode of base resistance, the other end is as the signal input end of this electronic switching circuit, base biasing resistor is connected in parallel on the emitter junction of PNP triode, the emitter of this PNP triode connects positive source, collector resistance of its base stage series connection is connected to the collector electrode of NPN triode, the emitter of NPN triode is connected to power cathode, current limliting of the collector electrode of PNP triode series connection is connected to the positive pole in the signal input end of solid-state relay with collector resistance, the negative pole in the signal input end of solid-state relay is connected to power cathode; Two outputs of solid-state relay constitute the output of this solid-state relay electronic switching circuit.
Described direct current relay electronic switching circuit comprises: triode and base resistance, a diode, a light-emitting diode and a direct current relay; Wherein, the base stage of one termination triode of base resistance, the other end is as the signal input end of this electronic switching circuit, the emitter of triode is connected to power cathode, its collector electrode is connected to the negative pole of light-emitting diode, the positive pole of light-emitting diode is connected respectively to an end of the coil of the positive pole of diode and direct current relay, and the other end of the negative pole of diode and the coil of direct current relay all is connected to positive source; Six terminals of two pairs of single-pole double-throw switch (SPDT)s of direct current relay have constituted the output of this direct current relay electronic switching circuit.
Described binary counter is made up of CD4516, and its initialize data is loaded control end and the carry signal input all connects power cathode, count mode control termination positive source.
Described 16 4 bit comparators are made up of 16 CD4585, their another level of organizing comparison signal input B3B2B1B0 separately are by the switch setting, (in of A>B), (A<B) in receives power cathode to their cascade signal input, and (A=B) in receives positive source.
Described data output enable circuit is made of side by side three noninverting tristate buffer CD4503.
Described data-latching circuit is made of side by side 8 rest-set flip-flops or d type flip flop.
The utility model has constituted the interface between computer and domestic electronic or the electrical equipment, under the management of computer software, detects automatically and moves domestic electronic or the electrical equipment that is connected, and the combination of transducer and household electrical appliance is adapted to multiple occasion; Be characterized in: utilize the TXD line to cooperate the DTR line to send out correct binary data, make comparisons, guarantee that with RTS correct comparative result sends 8 groups of electronic switching circuits to comparator and the pairing command code that presets of each group electronic switching circuit.
Description of drawings
Below in conjunction with accompanying drawing, further specify the utility model.
Fig. 1 is the block diagram of sensor interface circuitry and voltage-stabilized power supply circuit.
Fig. 2 is the schematic diagram of RS232 → TTL/CMOS level shifting circuit.
Fig. 3 is the schematic diagram of binary counter, 16 4 bit comparators, data output enable circuit, data-latching circuit, 8 groups of electronic switching circuits.
Fig. 4 is the schematic diagram of one group of electronic switching circuit.
Among the figure, 01.-08. electronic switching circuit, 5. voltage-stabilized power supply circuit, 51. anti-lightning strike and surge circuit, the 6.USB interface, 7.USB changes the serial port circuit, 8.RS232C interface, 21. binary counter, 22.16 4 bit comparators, 23. data output enable circuit, 24. data-latching circuit, 31. the single-pole double throw direct current electromagnetic relay, 32. solid-state relay SSR, 2201.-2216.4 bit comparator.
Embodiment
The interface circuit of transducer wherein, is used Rs1 as shown in Figure 1, and Rs2, Rs3, Rs4 represent 4 transducers.The signal that comes the detecting sensor sense events to be exported by the event attribute of serial communication control MSComm32.OCX, adapt to multiclass sensor work, comprising: output signal be the switching value type ,+3V~+ the level type of 15V or the transducer of pulse signal type or resistance saltus step type.
The event attribute of serial communication control MSComm32.OCX comprises: the state of ComEvCTS:Clear_to_Send line changes; The state of ComEvDSR:Data_Set_Ready line changes to 0 from 1; The state of ComEvCD:Carrier_Detect line changes; ComEvRing: detect bell signal, but, the attribute MSComm32.CTSholding/.DSRholding/.DCDholding that does not possess the serial communication control can't inquire about the height situation that detects its level, and some UART (asynchronous reception-transmitter) may not support this incident.
Referring to Fig. 3, binary counter (21) is made up of CD4516 or other binary counter circuit, makes that by the delivery outlet line DTR=" 1 " of RS232C interface (8) its reset terminal is effective: Q3Q2Q1Q0=0000.Send a mouthful line TXD by the serial port data and make the output of CD4516 needed state occur, its technology is as follows:
Serial port sends line and is in high level at ordinary times.The Settings attribute of serial communication control MSComm32.OCX is determined the information format of asynchronous serial communication: " character+parity check bit of (1 low level) start bit+transmission+(1,1.5 or 2 high level) position of rest ".Use the Output attribute of control MSComm32.OCX that character string is write in the output register, just can transfer out this character string.For example: MSComm1.Output=" ABCDE ", this is about to five characters of ABCDE and sends out from serial port in regular turn.The ASCII character of letter " B " is " 42H=0100 0010B ", the each transmission, and the waveform that TXD sends is:
Can produce 3 rising edge positive transition pulses; And transmit letter " A "=" 41H=0100 0001B ", the waveform that TXD sends is:
Only produce 2 rising edge positive transition pulses.So, the output that CD4516 is set earlier is cleared condition: Q3Q2Q1Q0=0000, transmit several letters " B " more continuously, 3,6,9,12,15,18=16+2,21=16+5,24=16+8,27=16+11,30=16+14,33=32+1,36=32+4,39=32+7,42=32+10,45=32+13,48=48+0 the situation that causes four outputs of CD4516 to take place successively is:, begin new one later on again and take turns circulation.This shows that the various situations of tetrad have appearred in four outputs of CD4516.
Some intermediate total results of counter (21) can make 16 4 bit comparators (2201)-(2216) produce wrong director data, but, have only when counter (21) produces correct data effective RTS signal level " 0 " just takes place later on, make at this moment just the let pass comparative result of 16 4 bit comparators (22) of data output enable circuit (23).Data output enable circuit (23) adopts cmos circuit but not 74HC373, and 244, make supply voltage can be as high as 15V, because HCMOS, the operating voltage of cmos circuit is respectively: 2V-6V and 3V-15V (4500B)-18V (4000B); For fear of the electromagnetic induction interference that high-impedance state brought of its output, its 16 outputs have connected a pull down resistor respectively to power cathode.
Claims (8)
1. serial port TXD spool reason is checked 8 groups of household electrical appliance automations of instruction type junction block, it is characterized in that, comprising: 9 pin RS232C interfaces, USB interface, USB change serial port circuit, the 4 pairs of sensor interface terminals, RS232 → TTL/CMOS level shifting circuit, binary counter, 16 4 bit comparators, data output enable circuit, data-latching circuit, 8 groups of electronic switching circuits, voltage-stabilized power supply circuit, anti-lightning strike and surge circuit and supply main and plug thereof; Wherein, USB interface is connected to the corresponding signal input part that USB changes the serial port circuit, the corresponding port line parallel of the latter's signal output part and RS232C interface; The first pin CD of RS232C interface, the 6th pin DSR, the 8th pin CTS are connected a pull-up resistor respectively to positive source with nine kinds of needles RI, and this four pin and power cathode have constituted 4 pairs of sensor interface terminals respectively; The 3rd pin TXD of RS232C interface, the 4th pin DTR, the 7th pin RTS are connected respectively to three signal input parts of RS232 → TTL/CMOS level shifting circuit, and three signal output parts of corresponding level shifting circuit are connected respectively to the output enable end of the clock signal input terminal of binary counter and clear terminal thereof, data output enable circuit; Four signal output parts of binary counter are connected respectively to 16 4 bit comparator 1 group of comparison signal input A3A2A1A0 separately, 16 4 bit comparator output terminals A=B separately are connected respectively to 16 signal input parts of data output enable circuit, 16 signal output parts of data output enable circuit connect a pull down resistor separately to power cathode, also be connected respectively to 8 opposed 1 end S and reset terminal R of data-latching circuit, 8 signal output parts of data-latching circuit are connected respectively to the signal input end of 1 group of electronic switching circuit; The ac input end of voltage-stabilized power supply circuit is received civil power with anti-lightning strike in parallel with the surge circuit by supply main and plug thereof, and the output negative pole of voltage-stabilized power supply circuit links to each other with the 5th pin GND of RS232C interface.
2. serial port TXD spool reason according to claim 1 is checked 8 groups of household electrical appliance automations of instruction type junction block, it is characterized in that, described RS232 → TTL/CMOS level shifting circuit is divided into three the tunnel, structure separately is identical, comprising: triode, base resistance, collector resistance, schmitt inverter and working station indicator circuit; Wherein, one end of base resistance is as the signal input part of this road level shifting circuit, the other end is connected to the base stage of triode, the collector electrode of positive source and collector resistance, triode, emitter and power cathode are formed series circuit, the collector electrode of triode is also connected to the input of schmitt inverter, and the output of schmitt inverter is as the signal output part of this road level shifting circuit; The working station indicator circuit comprises a current-limiting resistance and a light-emitting diode, and the output of schmitt inverter, current-limiting resistance, light-emitting diode and positive source are formed series circuit.
3. serial port TXD spool reason according to claim 1 is checked 8 groups of household electrical appliance automations of instruction type junction block, it is characterized in that, the level of described 16 4 bit comparators another group comparison signal input B3B2B1B0 separately is by the switch setting, their the cascade signal input (in of A>B), (A<B) in receives power cathode, and (A=B) in receives positive source.
4. serial port TXD spool reason according to claim 1 is checked 8 groups of household electrical appliance automations of instruction type junction block, it is characterized in that described data output enable circuit is made of side by side three noninverting tristate buffer CD4503.
5. serial port TXD spool reason according to claim 1 is checked 8 groups of household electrical appliance automations of instruction type junction block, it is characterized in that, the structure of described 8 groups of electronic switching circuits is identical, comprises separately: No. 1 solid-state relay electronic switching circuit and No. 1 direct current relay electronic switching circuit.
6. serial port TXD spool reason according to claim 5 is checked 8 groups of household electrical appliance automations of instruction type junction block, it is characterized in that described solid-state relay electronic switching circuit comprises: 1 NPN triode, 1 PNP triode, 1 base resistance, 1 base biasing resistor, 1 collector resistance, 1 current limliting collector resistance and a solid-state relay; Wherein, the base stage of one termination NPN triode of base resistance, the other end is as the signal input end of this electronic switching circuit, base biasing resistor is connected in parallel on the emitter junction of PNP triode, the emitter of this PNP triode connects positive source, collector resistance of its base stage series connection is connected to the collector electrode of NPN triode, the emitter of NPN triode is connected to power cathode, current limliting of the collector electrode of PNP triode series connection is connected to the positive pole in the signal input end of solid-state relay with collector resistance, the negative pole in the signal input end of solid-state relay is connected to power cathode; Two outputs of solid-state relay constitute the output of this solid-state relay electronic switching circuit.
7. serial port TXD spool reason according to claim 5 is checked 8 groups of household electrical appliance automations of instruction type junction block, it is characterized in that described direct current relay electronic switching circuit comprises: triode and base resistance, a diode, a light-emitting diode and a direct current relay; Wherein, the base stage of one termination triode of base resistance, the other end is as the signal input end of this electronic switching circuit, the emitter of triode is connected to power cathode, its collector electrode is connected to the negative pole of light-emitting diode, the positive pole of light-emitting diode is connected respectively to an end of the coil of the positive pole of diode and direct current relay, and the other end of the negative pole of diode and the coil of direct current relay all is connected to positive source; Six terminals of two pairs of single-pole double-throw switch (SPDT)s of direct current relay have constituted the output of this direct current relay electronic switching circuit.
8. serial port TXD spool reason according to claim 1 is checked 8 groups of household electrical appliance automations of instruction type junction block, it is characterized in that described data-latching circuit is made of side by side 8 rest-set flip-flops or d type flip flop.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010205567097U CN201878126U (en) | 2010-10-11 | 2010-10-11 | Serial port TXD (transmit data) line management instruction-checking type automated connector base for eight sets of household appliances |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010205567097U CN201878126U (en) | 2010-10-11 | 2010-10-11 | Serial port TXD (transmit data) line management instruction-checking type automated connector base for eight sets of household appliances |
Publications (1)
Publication Number | Publication Date |
---|---|
CN201878126U true CN201878126U (en) | 2011-06-22 |
Family
ID=44166034
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010205567097U Expired - Fee Related CN201878126U (en) | 2010-10-11 | 2010-10-11 | Serial port TXD (transmit data) line management instruction-checking type automated connector base for eight sets of household appliances |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN201878126U (en) |
-
2010
- 2010-10-11 CN CN2010205567097U patent/CN201878126U/en not_active Expired - Fee Related
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103546138B (en) | Touch key-press control circuit | |
CN201828910U (en) | Eight-path sensor and four-set domestic appliance wire holder for tie line management of serial port | |
CN201878126U (en) | Serial port TXD (transmit data) line management instruction-checking type automated connector base for eight sets of household appliances | |
CN201928255U (en) | Household electronic appliance automation wire holder with sending data line management by serial port | |
CN201927018U (en) | Automatic wire holder for 2<8N>/2 paths of household appliances capable of realizing output data management through interconnecting lines of serial port | |
CN201898499U (en) | Serial-port instruction checking type wire holder for managing 24N/2 groups of household electronic products by TXD wire | |
CN201878127U (en) | Serial port TXD (transmit data) line management type automated connector base for eight sets of household appliances | |
CN201937568U (en) | Serial port query management check instruction type automatic wire holder for household electric appliance | |
CN102447464B (en) | Serial port TXD (transmit data) line management check indicator type 24N/2 group household electronic wire holder | |
CN202050398U (en) | Command-type 8-circuit sensor 28N/2 group appliance wire holder managed and checked by serial port junctor | |
CN102447465A (en) | Serial port TXD (Transmit Data) line managed automated connector base for 2<4N>/2 sets of household electronic and electrical appliances | |
CN201928257U (en) | 24N/2-group electrical-appliance automatic-wiring seat for managing serial-port TXD (Transmit eXchange Data) line | |
CN102446148B (en) | 2<8N>/2 paths domestic electric appliance automatic wire holder for tie line output data management of serial port | |
CN201928258U (en) | Serial port junctor output data instruction type 2<8N>/2-channel automatic connector base for electrical household appliances | |
CN201928256U (en) | Household electronic and electrical-appliance automatic-wiring seat for managing output data of serial-port connecting line | |
CN102176590B (en) | Wire holder for automatically managing household electric appliances by computer | |
CN202374242U (en) | Serial port query management separate household electrical appliance automatic connection terminal | |
CN201828909U (en) | Household electronic product automatic wire holder capable of realizing inquiry management of serial ports | |
CN202050399U (en) | Serial port tie line management instruction-check-type 8K-channel sensor 128-group home appliance wire holder | |
CN102571063B (en) | Terminal block for managing and verifying command-driven 8 channels of sensors and 28N/2 sets of domestic appliances by using serial port and tie lines | |
CN201928254U (en) | Automatic wire holder for serial-port link-line decoding-type managed household electronic and electric appliance | |
CN202050400U (en) | Serial port junctor management check instruction type 8K paths of sensor and 28N/2 groups of household electrical appliances wire holder | |
CN202075730U (en) | Command-type household appliance automation wire holder for verifying data output by junctor of serial port | |
CN202206368U (en) | Automatic bidirectional wireless wiring seat for checking and managing separable home appliances through serial port | |
CN202206363U (en) | Wireless household electric appliance automatic socket based on serial port query management |
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: 20110622 Termination date: 20111011 |