CN201878127U - Serial port TXD (transmit data) line management type automated connector base for eight sets of household appliances - Google Patents
Serial port TXD (transmit data) line management type automated connector base for eight sets of household appliances Download PDFInfo
- Publication number
- CN201878127U CN201878127U CN2010205567716U CN201020556771U CN201878127U CN 201878127 U CN201878127 U CN 201878127U CN 2010205567716 U CN2010205567716 U CN 2010205567716U CN 201020556771 U CN201020556771 U CN 201020556771U CN 201878127 U CN201878127 U CN 201878127U
- Authority
- CN
- China
- Prior art keywords
- circuit
- serial port
- triode
- electronic switching
- 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
- Electronic Switches (AREA)
Abstract
The utility model relates to a serial port TXD (transmit data) line management 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 of an RS232C interface of the computer sends binary data; the data are decoded into an instruction; 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, a 4-bit locking/4-16 wire decoder, 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 as well as a signal locking control end and a signal output inhibiting end of the decoder; the signal locking control end and the signal output inhibiting end are in parallel connection; a signal of the counter is output to the decoder; and 16 output signals of the decoder are sent to the data locking circuit. 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, 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.
The utility model content
The purpose of this utility model is to provide a kind of 8 groups of home electronic appliance automation junction blocks of serial port TXD spool reason, it is main frame with the computer, send out binary data from the TXD mouth line of its RS232C interface, these data generate director data through decoding, manage 8 pairs of domestic electronics or electrical equipment, also the input 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; 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, 4 and latch/4-16 line decoder, 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, corresponding three signal output parts of level shifting circuit be connected respectively to the clock signal input terminal of binary counter and clear terminal thereof, 4 latch/the signal latch control end and the signal output of 4-16 line decoder forbids end, two control ends of this decoder are connected in parallel; Four signal output parts of binary counter are connected respectively to 4 and latch/four signal input parts of 4-16 line decoder, 16 signal output parts of this decoder are connected respectively to 8 opposed 1 end S and reset terminal R of data-latching circuit, and 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 it presets several Enable Pin LOAD and carry input
All connect power cathode, its count mode control termination positive source.
Described 4 latch/4-16 line decoder is made up of CD4514.
Described data-latching circuit is made up of 8 d type flip flops or rest-set flip-flop.
The utility model has constituted the interface between computer and domestic electronic or the electrical equipment, under the management of software, automatically detect and operation domestic electronic or electrical equipment, the transducer that can select for use comprises: output signal be the switching value type ,+3V~+ level type or pulse signal type or the resistance saltus step type of 15V, the combination of transducer and household electrical appliance is adapted to multiple occasion; Be characterized in: utilize the output interconnection TXD of serial port to cooperate the DTR line to send out correct binary data, use the RTS line to guarantee correct decoding and dateout instruction, control 8 groups of electronic switching circuits.
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 that counter, 4 latch/schematic diagram of 4-16 line decoder, 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, 6.USB interface, 7.USB change the serial port circuit, 8.RS232C interface, 21. binary counters, 22.4 latch/4-16 line decoder the position, 23. data-latching circuit, 31. single-pole double throw direct current electromagnetic relays, 32. solid-state relay SSR.
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.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.
Corresponding level+the 3V of the logical zero of the RS232C interface of computer~+ 15V, the corresponding level-3V of logical one~(15) V, HCMOS, the operating voltage of cmos circuit is respectively: 2V-6V and 3V-15V (4500B)-18V (4000B).Therefore, adopt triode to design RS232 → TTL/CMOS level shifting circuit, as shown in Figure 2.
Referring to Fig. 3, binary counter (21) is made up of CD4516 or other binary counter, is in count status, and it is invalid to preset number.If the delivery outlet line DTR=" 1 " of RS232C interface (8) becomes TTL/CMOS high level " 1 " later on through RS232 → TTL/CMOS level shifting circuit, make that the reset terminal of CD4516 is effective: Q3Q2Q1Q0=0000.TXD mouth line by serial port can be so that needed state appears in the output of CD4516, and 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 ".For example: MSComm1.Settings=" 9600, " be its default parameter value, the meaning is " employed communication port is not done parity check with the speed transmission of per second 9600Bit, and each data cell is 8 Bit, and position of rest is 1 Bit " for n, 8,1.Use the Output attribute of control MSComm32.OCX that character string is write in the output register, just can transfer out a character string.For example: MSComm1.Output=" ABCDE ", this is about to five characters of ABCDE and sends out in regular turn by the RS232C interface.Letter " B " its ASCII character is " 42H=0100 0010B ", each transmit " B ", and the waveform that serial port line 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.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 the output of CD4516 takes place successively is:, begin later on new one again and take turns circulation, so, the various situations of tetrad have appearred in the output of CD4516.
4 latch/4-16 line decoder (22) is made up of CD4514, when its signal latch control end STROBE jumps to low level the time from high level, the signal DCBA of its four inputs is latched the latch that enters wherein, when its signal output forbids holding INHIBIT to be in high level, its 16 signal output parts all are in low level " 0 ", and be in low level the time as INHIBIT, four signals that have been latched just can decoded output: one of 16 corresponding signal output parts are high level.Therefore, control end STROBE and INHIBIT can be controlled by the output interconnection RTS of serial port: at ordinary times, RTS=1, occurred on four signal output parts of binary counter (21) after the correct binary data instruction, make that RTS=1 → 0 → 1 can guarantee to export correct director data, thus control data latch cicuit (23) with and subsequent 8 groups of electronic switching circuits (01)-(08) corresponding action takes place.
Claims (7)
1. 8 groups of home electronic appliance automation junction blocks of serial port TXD spool reason, 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, 4 and latch/4-16 line decoder, 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, corresponding three signal output parts of level shifting circuit be connected respectively to the clock signal input terminal of binary counter and clear terminal thereof, 4 latch/the signal latch control end and the signal output of 4-16 line decoder forbids end, two control ends of this decoder are connected in parallel; Four signal output parts of binary counter are connected respectively to 4 and latch/four signal input parts of 4-16 line decoder, 16 signal output parts of this decoder are connected respectively to 8 opposed 1 end S and reset terminal R of data-latching circuit, and 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. 8 groups of home electronic appliance automation junction blocks of serial port TXD spool reason according to claim 1, 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. 8 groups of home electronic appliance automation junction blocks of serial port TXD spool according to claim 1 reason is characterized in that, described 4 latch/4-16 line decoder is made up of CD4514.
4. 8 groups of home electronic appliance automation junction blocks of serial port TXD spool reason according to claim 1 is characterized in that described data-latching circuit is made up of 8 d type flip flops or rest-set flip-flop.
5. 8 groups of home electronic appliance automation junction blocks of serial port TXD spool reason according to claim 1, 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. 8 groups of home electronic appliance automation junction blocks of serial port TXD spool reason according to claim 5, 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. 8 groups of home electronic appliance automation junction blocks of serial port TXD spool reason according to claim 5, 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.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010205567716U CN201878127U (en) | 2010-10-11 | 2010-10-11 | Serial port TXD (transmit data) line management type automated connector base for eight sets of household appliances |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010205567716U CN201878127U (en) | 2010-10-11 | 2010-10-11 | Serial port TXD (transmit data) line management type automated connector base for eight sets of household appliances |
Publications (1)
Publication Number | Publication Date |
---|---|
CN201878127U true CN201878127U (en) | 2011-06-22 |
Family
ID=44166035
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010205567716U Expired - Fee Related CN201878127U (en) | 2010-10-11 | 2010-10-11 | Serial port TXD (transmit data) line management type automated connector base for eight sets of household appliances |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN201878127U (en) |
-
2010
- 2010-10-11 CN CN2010205567716U patent/CN201878127U/en not_active Expired - Fee Related
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201828910U (en) | Eight-path sensor and four-set domestic appliance wire holder for tie line management of serial port | |
CN201928255U (en) | Household electronic appliance automation wire holder with sending data line management by serial port | |
CN201878127U (en) | Serial port TXD (transmit data) line management type automated connector base for eight sets of household appliances | |
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 | |
CN201878126U (en) | Serial port TXD (transmit data) line management instruction-checking 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 | |
CN201928257U (en) | 24N/2-group electrical-appliance automatic-wiring seat for managing serial-port TXD (Transmit eXchange Data) line | |
CN102447465A (en) | Serial port TXD (Transmit Data) line managed automated connector base for 2<4N>/2 sets of household electronic and electrical appliances | |
CN202206364U (en) | Serial-port inquiring and managing eight-way automation wire holder for household electronics | |
CN202050398U (en) | Command-type 8-circuit sensor 28N/2 group appliance wire holder managed and checked by serial port junctor | |
CN102446148B (en) | 2<8N>/2 paths domestic electric appliance automatic wire holder for tie line output data management of serial port | |
CN202374242U (en) | Serial port query management separate household electrical appliance automatic connection terminal | |
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 | |
CN201928254U (en) | Automatic wire holder for serial-port link-line decoding-type managed household electronic and electric appliance | |
CN201828909U (en) | Household electronic product automatic wire holder capable of realizing inquiry management of serial ports | |
CN202206365U (en) | Automatic 16-path household electric appliance wire connector with serial port query management | |
CN202050400U (en) | Serial port junctor management check instruction type 8K paths of sensor and 28N/2 groups of household electrical appliances wire holder | |
CN201928258U (en) | Serial port junctor output data instruction type 2<8N>/2-channel automatic connector base for electrical household appliances | |
CN102447463B (en) | 8K path sensor 28N/2 group domestic electric appliance wire holder managed by serial port junctor | |
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 | |
CN201927017U (en) | 2<8N>/2 group household-appliance connector with 8K sensor managed by serial port connection line |
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 |