CN105721563A - Intelligent window curtain control system based on Android and Zigbee - Google Patents
Intelligent window curtain control system based on Android and Zigbee Download PDFInfo
- Publication number
- CN105721563A CN105721563A CN201610058792.7A CN201610058792A CN105721563A CN 105721563 A CN105721563 A CN 105721563A CN 201610058792 A CN201610058792 A CN 201610058792A CN 105721563 A CN105721563 A CN 105721563A
- Authority
- CN
- China
- Prior art keywords
- zigbee
- node
- module
- network
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47H—FURNISHINGS FOR WINDOWS OR DOORS
- A47H5/00—Devices for drawing draperies, curtains, or the like
- A47H5/02—Devices for opening and closing curtains
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C2201/00—Transmission systems of control signals via wireless link
- G08C2201/40—Remote control systems using repeaters, converters, gateways
- G08C2201/42—Transmitting or receiving remote control signals via a network
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses an intelligent window curtain control system based on Android and Zigbee. Zigbee terminal node modules are adopted to be respectively installed on each window, for collecting data in a wireless network and serving as a control terminal for controlling a window curtain motor which controls the folding and unfolding of a window curtain on the window. The Zigbee terminal node modules are in Zigbee wireless communication via a cellular network or a tree network; and via a handheld terminal in the Extranet, the window curtain motor can be controlled to fold and unfold the window curtain. The intelligent window curtain control system is wireless in wiring, convenient to use, convenient to popularize the intelligent home, and good in application prospect.
Description
Technical field
The present invention relates to a kind of intelligent curtain based on Android and ZigBee and control system, belong to Smart Home product technical field.
Background technology
Along with the fast development of science and technology, in the routine work of people, life, the status of traditional home dwelling system is increasingly out of favour, and all will start to develop toward informationalized direction gradually.At present, the working method of people and daily life custom are because informationalized realization there occurs earth-shaking change.Therefore, the mode of household is had higher requirement, it is desirable to have an Intelligent life environment safer, more comfortable, facilitation more.Curtain in traditional home dwelling controls, and is generally adopted Non-follow control or switch automatic control motor two ways, and wherein manual control mode uses inconvenience, and safety is not high;Switch automatic control motor, it is necessary to wiring, installation cost is higher, does not utilize the development of Smart Home.
Summary of the invention
The invention aims to existing curtain control, adopt manual control mode to use inconvenience, safety is not high;Adopt switch automatic control motor, it is necessary to wiring, the problem that installation cost is higher.The intelligent curtain based on Android and ZigBee of the present invention controls system, adopt ZigBee terminal node module, it is separately mounted on each window, for data collection task in wireless network, and as controlling terminal, drive and control the curtain motor packed up or launch of curtain on window, wireless wiring, easy to use, it is simple to the popularization of Smart Home, have a good application prospect.
In order to achieve the above object, the technical solution adopted in the present invention is:
Intelligent curtain based on Android and ZigBee controls system, it is characterised in that: include host computer, embedded home gateway, Ethernet data transport module, Zigbee coordinator module, ZigBee router-module and multiple ZigBee terminal node module,
Described ZigBee terminal node module, it is separately mounted on each window, for data collection task in wireless network, and as controlling terminal, drive and control the curtain motor packed up or launch of curtain on window, between each ZigBee terminal node module, carry out ZigBee radio communication by honeycomb-like network or tree network;
Described Zigbee coordinator module, for foundation and the maintenance work of wireless network, is communicated by serial ports and embedded home gateway, and carries out radio communication, data information exchange with each ZigBee terminal node module;
Described ZigBee router-module, for the transmission work of wireless network data, and sets up network with Ethernet data transport module and is connected;
Described Ethernet data transport module, is carried out data transmission by Ethernet and host computer;
Described embedded home gateway, is responsible for connection and the protocol conversion of home Intranet and external network;
Described host computer, for being responsible for sending curtain control data.
The aforesaid intelligent curtain based on Android and ZigBee controls system, it is characterised in that: described embedded home gateway is the Boa server being implanted on tiny6410 development board.
The aforesaid intelligent curtain based on Android and ZigBee controls system, it is characterised in that: described host computer is mobile terminal, and has been internally embedded Android operation system.
The aforesaid intelligent curtain based on Android and ZigBee controls system, it is characterised in that: described Zigbee coordinator module, ZigBee router-module, multiple ZigBee terminal node module are provided with USB interface.
The aforesaid intelligent curtain based on Android and ZigBee controls system, it is characterized in that: described Zigbee coordinator module and each ZigBee terminal node module carry out radio communication, data information exchange, described data message includes data command type, data command word, data command state and node network address.
The aforesaid intelligent curtain based on Android and ZigBee controls system, it is characterised in that: described data command type is fixed as WSN, and data command word is divided into R and S, described R to be that ZigBee coordinator reads data by ZigBee-network from ZigBee terminal node;S is ZigBee coordinator by ZigBee-network to ZigBee terminal node transmitting control commands;Described data command state is divided into R and E, R to be that order data transmission receives successfully;E is that order data sends reception and makes mistakes, and described node network address is node network address corresponding to the ZigBee terminal node that provides data command in ZigBee-network.
The aforesaid intelligent curtain based on Android and ZigBee controls system, it is characterised in that: the node network address that the configuration of described ZigBee terminal node is corresponding, comprise the following steps,
Step (1), according to formula (1), the computing network degree of depth is the address space C that the routing node of d can distributeskip(d),
Wherein, CmThe maximum son node number that can receive for routing node, RmFor routing node number maximum in child node, LmFor the maximum network degree of depth;
Step (2), according to formula (2), calculates and obtains distributing to kth sub-router address of node Ak,
Ak=Ap+Cskip(d) × (k-1)+1;1≤k≤Rm(2)
Wherein, ApFor the network address of father node, CskipD () represents that the father node side-play amount determined, k when distributing address that the degree of depth is d represent that the node that application networks is kth sub-router node;
Step (3), according to formula (3), calculates and obtains distributing to the address A of the n-th ZigBee terminal noden,
An=Ap+Cskip(d)×Rm+n(3)
Wherein, ApFor the network address of father node, CskipD () represents that father node fixed side-play amount, n when distributing address that the degree of depth is d represent that the node that application networks is the n-th sub-terminal node.
The aforesaid intelligent curtain based on Android and ZigBee controls system, it is characterised in that: described ZigBee terminal node all includes ZigBee module, is provided with CC2530 and processes chip in described ZigBee module.
The invention has the beneficial effects as follows: the intelligent curtain based on Android and ZigBee of the present invention controls system, adopt ZigBee terminal node module, it is separately mounted on each window, for data collection task in wireless network, and as controlling terminal, drive and control the curtain motor packed up or launch of curtain on window, ZigBee radio communication is carried out by honeycomb-like network or tree network between each ZigBee terminal node module, curtain motor just can be controlled by the handheld terminal of outer net, realize packing up or launching of curtain, wireless wiring, easy to use, it is easy to the popularization of Smart Home, have a good application prospect.
Accompanying drawing explanation
Fig. 1 is the system block diagram of the intelligent curtain control system based on Android and ZigBee of the present invention.
Fig. 2 is the CC530 of the present invention circuit diagram processing chip and periphery thereof.
Detailed description of the invention
Below in conjunction with Figure of description, the present invention will be further described.Following example are only for clearly illustrating technical scheme, and can not limit the scope of the invention with this.
As it is shown in figure 1, the intelligent curtain based on Android and ZigBee controls system, including host computer, embedded home gateway, Ethernet data transport module, Zigbee coordinator module, ZigBee router-module and multiple ZigBee terminal node module,
Described ZigBee terminal node module, it is separately mounted on each window, for data collection task in wireless network, and as controlling terminal, drive and control the curtain motor packed up or launch of curtain on window, between each ZigBee terminal node module, carry out ZigBee radio communication by honeycomb-like network or tree network;
Described Zigbee coordinator module, for foundation and the maintenance work of wireless network, is communicated by serial ports and embedded home gateway, and carries out radio communication, data information exchange with each ZigBee terminal node module;
Described ZigBee router-module, for the transmission work of wireless network data, and sets up network with Ethernet data transport module and is connected;
Described Ethernet data transport module, is carried out data transmission by Ethernet and host computer;
Described embedded home gateway, is responsible for connection and the protocol conversion of home Intranet and external network;
Described host computer, for being responsible for sending curtain control data.
Described embedded home gateway is the Boa server being implanted on tiny6410 development board, Boa server is the small HTTP server of a single task, support ICP/IP protocol and open source, superior performance, it is particularly suitable for applications in embedded system, and, setting up of Boa server is relatively simple, key step includes: on tiny6410 development board, it is decompressed then cross compile, then configuration service device, mainly amendment boa.conf file, can be carried out after having configured transplanting, transplant to install after successfully and just can run Boa server software, the embedded platform built runs Boa server and serial ports read-write application program, order can be allowed to be issued to embedded server from webpage in conjunction with static Web page and dynamic cgi script, Web server can be realized by CGI technology and serial ports reads and writes calling of application program, thus reaching data (namely order) to write the flow process of such forward of ZigBee home Intranet from webpage to server again through serial ports, when order sends to ZigBee home Intranet, and then read-write application program reads the feedback data (mainly LED state and sensor reading) of ZigBee terminal node module, it is stored in tiny6410 development board SQlite data base after reading to call for cgi script after a while and be shown on webpage.
Described host computer is mobile terminal, and has been internally embedded Android operation system, and Android operation system is increased income freely, and convenient transplanting, application development is convenient.
Described Zigbee coordinator module, ZigBee router-module, multiple ZigBee terminal node module are provided with USB interface, and communicate with external equipment, thus the Zigbee coordinator module at its place, ZigBee router-module, multiple ZigBee terminal node module are carried out upgrading and debug.
Described Zigbee coordinator module and each ZigBee terminal node module carry out radio communication, data information exchange, and described data message includes data command type, data command word, data command state and node network address.
Described data command type is fixed as WSN, and data command word is divided into R and S, described R to be that ZigBee coordinator reads data by ZigBee-network from ZigBee terminal node;S is ZigBee coordinator by ZigBee-network to ZigBee terminal node transmitting control commands;Described data command state is divided into R and E, R to be that order data transmission receives successfully;E is that order data sends reception and makes mistakes, and described node network address is node network address corresponding to the ZigBee terminal node that provides data command in ZigBee-network, the node network address that the configuration of each ZigBee terminal node is corresponding, comprises the following steps:
Step (1), according to formula (1), the computing network degree of depth is the address space C that the routing node of d can distributeskip(d),
Wherein, CmThe maximum son node number that can receive for routing node, RmFor routing node number maximum in child node, LmFor the maximum network degree of depth;
Step (2), according to formula (2), calculates and obtains distributing to kth sub-router address of node Ak,
Ak=Ap+Cskip(d) × (k-1)+1;1≤k≤Rm(2)
Wherein, ApFor the network address of father node, CskipD () represents that the father node side-play amount determined, k when distributing address that the degree of depth is d represent that the node that application networks is kth sub-router node;
Step (3), according to formula (3), calculates and obtains distributing to the address A of the n-th ZigBee terminal noden,
An=Ap+Cskip(d)×Rm+n(3)
Wherein, ApFor the network address of father node, CskipD () represents that father node fixed side-play amount, n when distributing address that the degree of depth is d represent that the node that application networks is the n-th sub-terminal node.
The aforesaid intelligent curtain based on Android and ZigBee controls system, it is characterized in that: described ZigBee terminal node all includes ZigBee module, it is provided with CC2530 in described ZigBee module and processes chip, it is a short distance that CC2530 processes chip, low-power consumption, the Z AccelZigBee of low cost processes chip, CC530 processes chip and can be applied in available circuit by ZigBee function easily, and can carry out with any MCU cooperating with accelerating application and development flexibly, Zigbee wireless communication module partial circuit based on CC2530 chip, as shown in Figure 2, pin AVDD and DVDD is the voltage that analogue and digital circuit connects 2.0~3.6V, pin XOSC_Q1 and XOSC_Q2 is the crystal oscillator being exclusively used in 2.4GHz radio circuit of external 32MHz, its shunt capacitance is 27P, pin XOSC32K_Q1 and XOSC32K_Q2 is the crystal oscillator of external 32.768KHz.
In sum, the intelligent curtain based on Android and ZigBee of the present invention controls system, adopt ZigBee terminal node module, it is separately mounted on each window, for data collection task in wireless network, and as controlling terminal, drive and control the curtain motor packed up or launch of curtain on window, ZigBee radio communication is carried out by honeycomb-like network or tree network between each ZigBee terminal node module, curtain motor just can be controlled by the handheld terminal of outer net, realize packing up or launching of curtain, wireless wiring, easy to use, add efficiency and also save cost, it is easy to the popularization of Smart Home, have a good application prospect.
The ultimate principle of the present invention, principal character and advantage have more than been shown and described.Skilled person will appreciate that of the industry; the present invention is not restricted to the described embodiments; described in above-described embodiment and description is that principles of the invention is described; without departing from the spirit and scope of the present invention; the present invention also has various changes and modifications, and these changes and improvements both fall within the claimed scope of the invention.Claimed scope is defined by appending claims and equivalent thereof.
Claims (8)
1. control system based on the intelligent curtain of Android and ZigBee, it is characterised in that: include host computer, embedded home gateway, Ethernet data transport module, Zigbee coordinator module, ZigBee router-module and multiple ZigBee terminal node module,
Described ZigBee terminal node module, it is separately mounted on each window, for data collection task in wireless network, and as controlling terminal, drive and control the curtain motor packed up or launch of curtain on window, between each ZigBee terminal node module, carry out ZigBee radio communication by honeycomb-like network or tree network;
Described Zigbee coordinator module, for foundation and the maintenance work of wireless network, is communicated by serial ports and embedded home gateway, and carries out radio communication, data information exchange with each ZigBee terminal node module;
Described ZigBee router-module, for the transmission work of wireless network data, and sets up network with Ethernet data transport module and is connected;
Described Ethernet data transport module, is carried out data transmission by Ethernet and host computer;
Described embedded home gateway, is responsible for connection and the protocol conversion of home Intranet and external network;
Described host computer, for being responsible for sending curtain control data.
2. the intelligent curtain based on Android and ZigBee according to claim 1 controls system, it is characterised in that: described embedded home gateway is the Boa server being implanted on tiny6410 development board.
3. the intelligent curtain based on Android and ZigBee according to claim 1 controls system, it is characterised in that: described host computer is mobile terminal, and has been internally embedded Android operation system.
4. the intelligent curtain based on Android and ZigBee according to claim 1 controls system, it is characterised in that: described Zigbee coordinator module, ZigBee router-module, multiple ZigBee terminal node module are provided with USB interface.
5. the intelligent curtain based on Android and ZigBee according to claim 1 controls system, it is characterized in that: described Zigbee coordinator module and each ZigBee terminal node module carry out radio communication, data information exchange, described data message includes data command type, data command word, data command state and node network address.
6. the intelligent curtain based on Android and ZigBee according to claim 5 controls system, it is characterized in that: described data command type is fixed as WSN, data command word is divided into R and S, described R to be that ZigBee coordinator reads data by ZigBee-network from ZigBee terminal node;S is ZigBee coordinator by ZigBee-network to ZigBee terminal node transmitting control commands;Described data command state is divided into R and E, R to be that order data transmission receives successfully;E is that order data sends reception and makes mistakes, and described node network address is node network address corresponding to the ZigBee terminal node that provides data command in ZigBee-network.
7. the intelligent curtain based on Android and ZigBee according to claim 6 controls system, it is characterised in that: the node network address that the configuration of described ZigBee terminal node is corresponding, comprise the following steps,
Step (1), according to formula (1), the computing network degree of depth is the address space C that the routing node of d can distributeskip(d),
Wherein, CmThe maximum son node number that can receive for routing node, RmFor routing node number maximum in child node, LmFor the maximum network degree of depth;
Step (2), according to formula (2), calculates and obtains distributing to kth sub-router address of node Ak,
Ak=Ap+Cskip(d) × (k-1)+1;1≤k≤Rm(2)
Wherein, ApFor the network address of father node, CskipD () represents that the father node side-play amount determined, k when distributing address that the degree of depth is d represent that the node that application networks is kth sub-router node;
Step (3), according to formula (3), calculates and obtains distributing to the address A of the n-th ZigBee terminal noden,
An=Ap+Cskip(d)×Rm+n(3)
Wherein, ApFor the network address of father node, CskipD () represents that father node fixed side-play amount, n when distributing address that the degree of depth is d represent that the node that application networks is the n-th sub-terminal node.
8. the intelligent curtain based on Android and ZigBee according to claim 1 controls system, it is characterised in that: described ZigBee terminal node all includes ZigBee module, is provided with CC2530 and processes chip in described ZigBee module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610058792.7A CN105721563A (en) | 2016-01-28 | 2016-01-28 | Intelligent window curtain control system based on Android and Zigbee |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610058792.7A CN105721563A (en) | 2016-01-28 | 2016-01-28 | Intelligent window curtain control system based on Android and Zigbee |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105721563A true CN105721563A (en) | 2016-06-29 |
Family
ID=56154217
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610058792.7A Pending CN105721563A (en) | 2016-01-28 | 2016-01-28 | Intelligent window curtain control system based on Android and Zigbee |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105721563A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106377149A (en) * | 2016-10-13 | 2017-02-08 | 湖南工业大学 | Curtain interlocking configuration method |
CN107481473A (en) * | 2017-09-27 | 2017-12-15 | 衢州学院 | A kind of intelligent household security system design based on wireless sensor network |
CN110084338A (en) * | 2019-04-23 | 2019-08-02 | 镇江宝华物流有限公司 | Chemicals storage management method based on RFID tag |
CN113568336A (en) * | 2021-07-01 | 2021-10-29 | 穆炜炜 | Intelligent curtain control system, control method, processing terminal and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204615845U (en) * | 2015-03-30 | 2015-09-02 | 娄底职业技术学院 | A kind of intelligent home control system based on ZigBee wireless sensor network |
-
2016
- 2016-01-28 CN CN201610058792.7A patent/CN105721563A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204615845U (en) * | 2015-03-30 | 2015-09-02 | 娄底职业技术学院 | A kind of intelligent home control system based on ZigBee wireless sensor network |
Non-Patent Citations (4)
Title |
---|
孙越: "基于ZigBee技术与嵌入式Web的智能家居网络系统设计方案的研究", 《中国优秀硕士学位论文全文数据库》 * |
宋玉琴,姬引飞,段俊瑞,朱紫娟: "基于Android和ZigBee的智能家居系统设计", 《西安工程大学学报》 * |
尹纪庭,袁佳,焦志曼,吴斌,张在房,余建波: "基于ARM和ZigBee的智能家居控制系统研究与开发", 《计算机测量与控制》 * |
尹纪庭、袁佳、焦志曼、吴斌、张在房、余建波: "基于ZigBee技术与嵌入式Web的智能家居网络系统设计方案的研究", 《计算机测量与控制》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106377149A (en) * | 2016-10-13 | 2017-02-08 | 湖南工业大学 | Curtain interlocking configuration method |
CN106377149B (en) * | 2016-10-13 | 2021-10-01 | 湖南工业大学 | Curtain interlocking configuration method |
CN107481473A (en) * | 2017-09-27 | 2017-12-15 | 衢州学院 | A kind of intelligent household security system design based on wireless sensor network |
CN110084338A (en) * | 2019-04-23 | 2019-08-02 | 镇江宝华物流有限公司 | Chemicals storage management method based on RFID tag |
CN113568336A (en) * | 2021-07-01 | 2021-10-29 | 穆炜炜 | Intelligent curtain control system, control method, processing terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105721563A (en) | Intelligent window curtain control system based on Android and Zigbee | |
CN109272733B (en) | Multi-terminal multi-mode Internet of things communication terminal supporting multi-meter combined reading and meter reading method thereof | |
CN104144466A (en) | Access method for sensor in Internet of Things, Internet of Things system and server | |
CN102196601A (en) | Wireless data transmission device based on WSN (wireless sensor network), GPRS (general packet radio service) and GPS (global position system) | |
CN104301906A (en) | Method for relay communication between gateways of wireless sensor network | |
CN204719430U (en) | A kind of intelligent domestic system | |
CN109151774A (en) | A kind of Internet of Things means of communication based on NB-IoT technology | |
CN201294550Y (en) | USB interface based on ZigBee technology | |
CN105812030A (en) | Sensor general interface based on low power consumption bluetooth technology | |
CN202373127U (en) | Wireless gas meter reading management system | |
CN204697088U (en) | Household intelligent gateway | |
CN203387692U (en) | Wireless gateway equipment capable of data conversion of ZigBee signal with Wi-Fi signal | |
CN202073565U (en) | Mine-used integral solenoid valve | |
CN108430130A (en) | A kind of lighting device with indoor positioning function | |
CN103313214A (en) | Portable terminal and method for carrying out data storage and remote transmission by using same | |
CN103929457A (en) | Internet of things application data interaction system and method based on mobile internet | |
CN206741908U (en) | A kind of control device for display screen | |
CN205563259U (en) | Be applied to servo server of thing networking | |
CN202587042U (en) | Full-media primary-secondary type timer | |
CN104243707A (en) | Mobile terminal control method, mobile terminal and system | |
CN204679846U (en) | The dry contact module of protocol integrated test system | |
CN108494839A (en) | A kind of mobile high in the clouds data collecting system suitable for a variety of PLC | |
CN103149900B (en) | Communication means between PA digital control system and external devices and device | |
CN111555943B (en) | Intelligent household infrared control system | |
CN109286548B (en) | Method for realizing parameter copy by using communication bus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160629 |