A kind of intelligent switch of integrated Zigbee-technology
Technical field
The utility model relates to a kind of intelligent switch, specifically a kind of intelligent switch of integrated Zigbee-technology.
Background technology
Zigbee is the low-power consumption territory fidonetFido based on IEEE802.15.4 standard, and the technology specified according to this agreement is the wireless communication technology of a kind of short distance, low-power consumption.ZigBee network principal feature is low-power consumption, low cost, low rate, support great deal of nodes, support multiple network topology, low complex degree, quick, reliable, safety.The Three role such as be divided into telegon, aggregation node, sensor joint of ZigBee equipment in network.Zigbee is as a kind of short-distance wireless communication technology, because its network can easily for user provides wireless data transmission function, therefore in Internet of Things field, there is very strong applicability, also seldom having the on-off element utilizing Zigbee to carry out Based Intelligent Control at present, also there is the shortcoming of function singleness, unstable properties in a few.
Utility model content
The purpose of this utility model is to provide the intelligent switch of the integrated Zigbee-technology that a kind of structure is simple, cost of manufacture is low, to solve the problem proposed in above-mentioned background technology.
For achieving the above object, the utility model provides following technical scheme:
An intelligent switch for integrated Zigbee-technology, comprises zigbee communication module, display module and memory module; It is characterized in that, described zigbee communication module connects Single-chip Controlling center, and described Single-chip Controlling center also connects supply module, key-press module, display module, memory module, sound and light alarm module, gas sensor and relay control module respectively;
Described supply module comprises rectifier bridge T, voltage device W, electric capacity C1 and resistance R1, it is characterized in that, the two ends of the winding N1 of described transformer W connect the two ends of 220V alternating current respectively, the two ends of the winding N2 of transformer W connect the port one of rectifier bridge T and the port 3 of rectifier bridge T respectively, the port 2 of rectifier bridge T connects electric capacity C1, electric capacity C3, the negative electrode of diode D1 and the pin 1 of chip IC 1, the port 4 of rectifier bridge T connects the other end of electric capacity C1, electric capacity C2, resistance R2, the anode of diode D2, the emitter of triode Q1 and the pin 3 of chip IC 1, the anode contact resistance R1 of diode D1, the other end of other end contact resistance R2 of resistance R1 and the base stage of triode Q1, the other end contact resistance R3 of electric capacity C3 and the pin 5 of chip IC 1, the collector of the other end connecting triode Q1 of resistance R3, the pin 2 of chip IC 1 connects the negative electrode of inductance L 1 and diode D2, the other end of inductance L 1 connects the other end of electric capacity C2, the pin 4 of chip IC 1 and Single-chip Controlling center, the model of described chip IC 1 is LM7525.
As preferred version of the present utility model: the core component at described Single-chip Controlling center is MSP430 type single-chip microcomputer.
As preferred version of the present utility model: the model of described gas sensor is MC102.
As preferred version of the present utility model: described memory module is MiniSD card.
Compared with prior art, the beneficial effects of the utility model are: the intelligent switch of the integrated Zigbee-technology of the utility model not only adopts constant feed circuit to power to main control singlechip, ensure that the control stiffness of intelligent switch, but also be provided with inflammable gas detection alarm module, avoid coal gas, personal injury that natural gas leaking causes and property loss, simultaneously relay module can the household electrical appliances such as extraneous vent fan, air-conditioning, TV, realize Based Intelligent Control, therefore there is the advantage of stable performance, diverse in function.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of the intelligent switch of integrated Zigbee-technology;
Fig. 2 is the circuit diagram of supply module.
Embodiment
Below in conjunction with the accompanying drawing in the utility model embodiment, be clearly and completely described the technical scheme in the utility model embodiment, obviously, described embodiment is only the utility model part embodiment, instead of whole embodiments.Based on the embodiment in the utility model, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the utility model protection.
Refer to Fig. 1-2, a kind of intelligent switch of integrated Zigbee-technology, comprises zigbee communication module, display module and memory module; It is characterized in that, described zigbee communication module connects Single-chip Controlling center, and described Single-chip Controlling center also connects supply module, key-press module, display module, memory module, sound and light alarm module, gas sensor and relay control module respectively;
Described supply module comprises rectifier bridge T, voltage device W, electric capacity C1 and resistance R1, it is characterized in that, the two ends of the winding N1 of described transformer W connect the two ends of 220V alternating current respectively, the two ends of the winding N2 of transformer W connect the port one of rectifier bridge T and the port 3 of rectifier bridge T respectively, the port 2 of rectifier bridge T connects electric capacity C1, electric capacity C3, the negative electrode of diode D1 and the pin 1 of chip IC 1, the port 4 of rectifier bridge T connects the other end of electric capacity C1, electric capacity C2, resistance R2, the anode of diode D2, the emitter of triode Q1 and the pin 3 of chip IC 1, the anode contact resistance R1 of diode D1, the other end of other end contact resistance R2 of resistance R1 and the base stage of triode Q1, the other end contact resistance R3 of electric capacity C3 and the pin 5 of chip IC 1, the collector of the other end connecting triode Q1 of resistance R3, the pin 2 of chip IC 1 connects the negative electrode of inductance L 1 and diode D2, the other end of inductance L 1 connects the other end of electric capacity C2, the pin 4 of chip IC 1 and Single-chip Controlling center, the model of described chip IC 1 is LM7525.
The core component at Single-chip Controlling center is MSP430 type single-chip microcomputer.The model of gas sensor is MC102.Memory module is MiniSD card.
Principle of work of the present utility model is: feed circuit comprise reduction voltage circuit, rectification circuit, filtering circuit and mu balanced circuit, and described reduction voltage circuit is made up of transformer W; Described rectification circuit is made up of rectifier bridge T; Described filtered electrical routing capacitance C1 and C2 forms; Described mu balanced circuit is made up of switch voltage-stabilizing integrated circuit (IC) 1.Described single-chip microcomputer feed circuit include voltage threshold circuit and delay circuit; Voltage threshold circuit is made up of diode D1 and resistance R1, R2; Delay circuit is made up of polypropylene capactive C3 and resistance R3, in work, after line voltage input, after transformer W step-down, rectifier bridge T rectification and an electric capacity C1 filtering, carry out the detection of voltage threshold by voltage threshold circuit, guarantee that its voltage can reach on voltage stabilizing diode D2 burning voltage 12V.The function of after this delay circuit time delay 10 milliseconds of starting switch integrated regulator IC1, thus realize the Spline smoothing of electric power output voltage 0 to 5V.Through the voltage of voltage stabilizing after C2 secondary filtering, can for single-chip microcomputer.Threshold circuit is set in circuit, threshold detection can be carried out for input voltage, guarantee that input voltage can arrive voltage stabilizing diode setting voltage, ensure that the stability after voltage input simultaneously, avoid the voltage fluctuation of line voltage and the unstable phenomenon of the electric power output voltage that causes, improve the reliability of single-chip microcomputer electrification reset.Delay circuit is set in circuit, the function of starting switch integrated regulator LM2575 after circuit delay 10 milliseconds can be made, realize the Spline smoothing of electric power output voltage 0 to 5V, simultaneously by avoiding the voltage fluctuation time thus avoiding the instability that voltage fluctuation formed, guarantee the complete success of single-chip microcomputer electrification reset process, gas sensor adopts MC102 type high sensitivity harmful gas detection chip as detecting element, once methane be detected, Single-chip Controlling center will be triggered during the inflammable gass such as carbon monoxide, by the coder-decoder of MSP430 single-chip microcomputer inside, analyzing and processing is carried out to trigger pip, and export to sound and light alarm module, send sound and light alarm, warning message is stored in MiniSD card simultaneously, user can check this category information with individual button and display screen, user can also send wireless control signal by remote equipment and carry out control linkage in the supercentral relay module of Single-chip Controlling, relay module can connect air-conditioning respectively, vent fan, the household electrical appliance such as electric light, realize long-distance intelligent control function.