Summary of the invention
The utility model is for the proposition of above problem, and develops a kind of intelligent domestic system based on ZigBee.
Technological means of the present utility model is as follows:
Based on an intelligent domestic system of ZigBee, comprising: there is the home controller of UART interface, WAN mouth, LAN mouth, connect ZigBee telegon, the multiple ZigBee terminal nodes that are connected with ZigBee telegon of home controller and the PoE switch being connected with home controller by LAN mouth by UART interface; Described home controller connects Internet by WAN mouth;
Further, described multiple ZigBee terminal node comprises a ZigBee terminal node, the 2nd ZigBee terminal node, the 3rd ZigBee terminal node, the 4th ZigBee terminal node, the 5th ZigBee terminal node, the 6th ZigBee terminal node, the 7th ZigBee terminal node, the 8th ZigBee terminal node, the 9th ZigBee terminal node, the tenth ZigBee terminal node, the 11 ZigBee terminal node and the 12 ZigBee terminal node;
A described ZigBee terminal node connects electric window-opening device by the first optocoupler driving circuit;
Described the 2nd ZigBee terminal node connects curtain open/close device by the second optocoupler driving circuit;
Described the 3rd ZigBee terminal node connects sweeper by the 3rd optocoupler driving circuit;
Described the 4th ZigBee terminal node connects flow watering device and fish-feeding device by the first relay drive circuit;
Described the 5th ZigBee terminal node is connected LED lamp with controllable silicon by controllable silicon drive circuit;
Described the 6th ZigBee terminal node connects battery main switch by solid-state relay driving circuit;
Described the 7th ZigBee terminal node connects regular tap by the second relay drive circuit;
Described the 8th ZigBee terminal node connects Temperature Humidity Sensor by I2C bus;
Described the 9th ZigBee terminal node is connected with door status switch;
Described the tenth ZigBee terminal node is connected with gas security;
Described the 11 ZigBee terminal node is connected with fire perceiving device;
Described the 12 ZigBee terminal node is connected with infrared transponder.
Further, described home controller also has SATA interface, USB interface and WIFI module;
Further, described PoE switch is connected with web camera, video intercom and wireless aps;
Further, described home controller also has I2C interface;
Described intelligent domestic system also comprises the temperature control unit that connects home controller by I2C interface;
Described temperature control unit comprises fan, three connection terminal JP1 that are connected with fan, 12V power supply, 5V power supply, 3.3V power supply, the first wire jumper JP2, the second wire jumper JP3, control chip U25, triode Q7, switching tube Q8, pull-up resistor R158, R159, resistance R 160, R161, R166;
First connection terminal is connected with the source electrode of switching tube Q8; Second connection terminal connects 12V power supply by the first wire jumper JP2; Described resistance R 160, R161, R166 are mutually connected between 12V VDD-to-VSS and form bleeder circuit, wherein contact resistance R161 one end and ground respectively, resistance R 166 two ends, the resistance R 160 two ends contact resistance R161 other end and 12V power supply respectively; The 3rd connection terminal is by the phase contact of the 3rd wire jumper contact resistance R160 and resistance R 161; The phase contact of resistance R 161 and resistance R 166 is connected with the TACH pin of control chip U25; The grid of the PWM_OUT pin connecting valve pipe Q8 of control chip U25, and connect 3.3V power supply by pull-up resistor R158; The source ground of described switching tube Q8; The base stage of the IN-pin connecting triode Q7 of described control chip U25, the emitter of the IN+ pin connecting triode Q7 of control chip U25; The SCLK pin of control chip U25 is connected with the I2C interface of home controller with SDA pin;
Further, described triode Q7 adopts 2N3904.
Owing to having adopted technique scheme, the intelligent domestic system based on ZigBee that the utility model provides, ZigBee technology is merged mutually with intelligent domestic system, set up efficient and conveniently, be convenient to realize the interconnection and interflow between different home appliances, cost is low, be beneficial to the popularization of intelligent domestic system, can control multiple household electrical appliances equipment, also can realize the monitoring of combustion gas, fire alarm, feature richness.
Embodiment
A kind of intelligent domestic system based on ZigBee as depicted in figs. 1 and 2, comprising: have the home controller of UART interface, WAN mouth, LAN mouth, connect ZigBee telegon, the multiple ZigBee terminal nodes that are connected with ZigBee telegon of home controller and the PoE switch being connected with home controller by LAN mouth by UART interface; Described home controller connects Internet by WAN mouth; Further, described multiple ZigBee terminal node comprises a ZigBee terminal node, the 2nd ZigBee terminal node, the 3rd ZigBee terminal node, the 4th ZigBee terminal node, the 5th ZigBee terminal node, the 6th ZigBee terminal node, the 7th ZigBee terminal node, the 8th ZigBee terminal node, the 9th ZigBee terminal node, the tenth ZigBee terminal node, the 11 ZigBee terminal node and the 12 ZigBee terminal node; A described ZigBee terminal node connects electric window-opening device by the first optocoupler driving circuit; Described the 2nd ZigBee terminal node connects curtain open/close device by the second optocoupler driving circuit; Described the 3rd ZigBee terminal node connects sweeper by the 3rd optocoupler driving circuit; Described the 4th ZigBee terminal node connects flow watering device and fish-feeding device by the first relay drive circuit; Described the 5th ZigBee terminal node is connected LED lamp with controllable silicon by controllable silicon drive circuit; Described the 6th ZigBee terminal node connects battery main switch by solid-state relay driving circuit; Described the 7th ZigBee terminal node connects regular tap by the second relay drive circuit; Described the 8th ZigBee terminal node connects Temperature Humidity Sensor by I2C bus; Described the 9th ZigBee terminal node is connected with door status switch; Described the tenth ZigBee terminal node is connected with gas security; Described the 11 ZigBee terminal node is connected with fire perceiving device; Described the 12 ZigBee terminal node is connected with infrared transponder.Further, described home controller also has SATA interface, USB interface and WIFI module, further, described PoE switch is connected with web camera, video intercom and wireless aps, further, described home controller also has I2C interface, described intelligent domestic system also comprises the temperature control unit that connects home controller by I2C interface, described temperature control unit comprises fan, three connection terminal JP1 that are connected with fan, 12V power supply, 5V power supply, 3.3V power supply, the first wire jumper JP2, the second wire jumper JP3, control chip U25, triode Q7, switching tube Q8, pull-up resistor R158, R159, resistance R 160, R161, R166, first connection terminal is connected with the source electrode of switching tube Q8, second connection terminal connects 12V power supply by the first wire jumper JP2, described resistance R 160, R161, R166 are mutually connected between 12V VDD-to-VSS and form bleeder circuit, wherein contact resistance R161 one end and ground respectively, resistance R 166 two ends, the resistance R 160 two ends contact resistance R161 other end and 12V power supply respectively, the 3rd connection terminal is by the phase contact of the 3rd wire jumper contact resistance R160 and resistance R 161, the phase contact of resistance R 161 and resistance R 166 is connected with the TACH pin of control chip U25, the grid of the PWM_OUT pin connecting valve pipe Q8 of control chip U25, and connect 3.3V power supply by pull-up resistor R158, the source ground of described switching tube Q8, the base stage of the IN-pin connecting triode Q7 of described control chip U25, the emitter of the IN+ pin connecting triode Q7 of control chip U25, the SCLK pin of control chip U25 is connected with the I2C interface of home controller with SDA pin, further, described triode Q7 adopts 2N3904, described home controller connects Internet by WAN mouth, can realize remote network control and monitoring, described home controller is connected with PoE switch by LAN mouth, described PoE switch and web camera, video intercom is connected with wireless aps, further, described PoE switch is also connected with IP phone and PoE separation vessel, the sub-end that connects this switch can use network power supply, complete the data communication of local single line cable-netting twine, in the time that intelligent dwelling structure comprises the sandwich constructions such as basement, WiFi network signal cannot meet networking demand simultaneously, use the PoE switch can single cable wiring, and then complete web camera, video intercom, IP phone, the interconnection and interflow of wireless aps etc., also can again power supply and network be separated by PoE separation vessel in addition, the ethernet line of formation standard is to be used for connecting the sub-end equipment of not supporting PoE, described home controller also has SATA interface, USB interface and WIFI module, can connect the sub-end equipment such as local PC, panel computer, mobile terminal by WIFI module, can extension storage capacity by SATA interface, realize local mass data storage, by USB interface, can connect USB printer, USB handle and USB speaker etc., described home controller has PCB control panel structure, and described WAN mouth, LAN mouth, SATA interface, USB interface adopt plate to carry interface, described home controller is connected with multiple ZigBee terminal nodes by UART interface connection ZigBee telegon, ZigBee telegon, a described ZigBee terminal node connects electric window-opening device by the first optocoupler driving circuit, described the 2nd ZigBee terminal node connects curtain open/close device by the second optocoupler driving circuit, described the 3rd ZigBee terminal node connects sweeper by the 3rd optocoupler driving circuit, described the first optocoupler driving circuit, the second optocoupler driving circuit and the 3rd optocoupler driving circuit all adopt optocoupler driving circuit of the prior art, and the output terminal of optocoupler driving circuit is connected with the control motor of electric window-opening device, curtain open/close device and sweeper respectively, described the 4th ZigBee terminal node connects flow watering device and fish-feeding device by the first relay drive circuit, described the first relay drive circuit adopts relay drive circuit of the prior art, and its coil connects the 4th ZigBee terminal node, and contact is connected with the solenoid valve of flow watering device and fish-feeding device, described the 5th ZigBee terminal node is connected LED lamp with controllable silicon by controllable silicon drive circuit, the 5th ZigBee terminal node is connected LED lamp with controllable silicon by controllable silicon drive circuit, home controller is controlled silicon controlled switching frequency by controllable silicon drive circuit, and then realizes the brightness adjustment of LED lamp, described the 6th ZigBee terminal node connects battery main switch by solid-state relay driving circuit, described the 7th ZigBee terminal node connects regular tap by the second relay drive circuit, described solid-state relay driving circuit and the second relay drive circuit adopt existing relay drive circuit, have realized the on off state control to battery main switch and regular tap, described the 8th ZigBee terminal node connects Temperature Humidity Sensor by I2C bus, described the 9th ZigBee terminal node is connected with door status switch, described the tenth ZigBee terminal node is connected with gas security, described the 11 ZigBee terminal node is connected with fire perceiving device, described the 12 ZigBee terminal node is connected with infrared transponder, described infrared transponder is connected with TV, DVD, air-conditioning, water heater and other infrared home appliance, described UART interface is that plate carries interface, realize home controller control to electric window-opening device, curtain open/close device, sweeper, flow watering device, fish-feeding device, LED lamp, battery main switch and regular tap by ZigBee-network, connect Temperature Humidity Sensor, door status switch, gas security, fire perceiving device and infrared transponder by ZigBee-network simultaneously, realized the monitoring to humiture, door state, combustion gas and fire alarm, described home controller connects temperature control unit by I2C interface, Fig. 2 shows the circuit theory diagrams of described temperature control unit, in the time that fan power supply is 12V power supply, the second wire jumper JP2 is connected, the 3rd wire jumper JP3 is disconnected, in the time that fan power supply is 5V power supply, the second wire jumper JP2 is disconnected, the 3rd wire jumper JP3 is connected, when the rotating speed of fan part is output as OC door, resistance R 159 is welded, use resistance R 159 to be directly pulled to 3.3V power supply, when the rotating speed of fan part is output as 12V/5V output, by in resistance R 160, R161 and R166 welding, use resistance R 160, R161 and R166 dividing potential drop to be adjusted to 3.3V voltage, the base stage of the IN-pin connecting triode Q7 of control chip U25, the emitter of the IN+ pin connecting triode Q7 of control chip U25, the BE of triode Q7 holds as temperature sensor, for detection of the working temperature of home controller, the SCLK pin of control chip U25 is connected with the I2C interface of home controller with SDA pin, because home controller has articulated multiple sub-end equipment, therefore it can produce a large amount of heat in work, the current temperature value output pwm pulse signal that the utility model home controller can monitor for temperature control unit passes through I2C interface to control chip U25, it is according to the rotating speed of the ON time of the pwm pulse signal gauge tap pipe Q8 of home controller output and then adjusting fan, realizing the heat producing when home controller is worked distributes timely and effectively, guarantee that the working temperature of home controller is in a rational scope, be conducive to stable operation and the superperformance of home controller, the intelligent domestic system based on ZigBee that the utility model provides, ZigBee technology is merged mutually with intelligent domestic system, set up efficient and convenient, be convenient to realize the interconnection and interflow between different home appliances, cost is low, is beneficial to the popularization of intelligent domestic system, can control multiple household electrical appliances equipment, also can realize the monitoring of combustion gas, fire alarm, feature richness.
The above; it is only preferably embodiment of the utility model; but protection domain of the present utility model is not limited to this; any be familiar with those skilled in the art the utility model disclose technical scope in; be equal to replacement or changed according to the technical solution of the utility model and inventive concept thereof, within all should being encompassed in protection domain of the present utility model.