CN109309691A - Remote appliance control system and control method based on zigbee - Google Patents
Remote appliance control system and control method based on zigbee Download PDFInfo
- Publication number
- CN109309691A CN109309691A CN201710616488.4A CN201710616488A CN109309691A CN 109309691 A CN109309691 A CN 109309691A CN 201710616488 A CN201710616488 A CN 201710616488A CN 109309691 A CN109309691 A CN 109309691A
- Authority
- CN
- China
- Prior art keywords
- zigbee
- address
- module
- mcu
- zigbee module
- 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.)
- Withdrawn
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
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Selective Calling Equipment (AREA)
Abstract
The remote appliance control system based on zigbee that the present invention relates to a kind of, which is characterized in that including electric appliance, the electric appliance built-in has the first zigbee module, and the first zigbee module is connect with the control chip signal of the electric appliance;MCU1, the MCU1 include the 2nd zigbee module and network connecting module, and the network connecting module is for accessing internet.The MCU runs Linux system.The present invention can be with far distance control electric appliance, while controlling a variety of electric appliances, convenient for the management to electric appliance.
Description
Technical field
The present invention relates to technical field of electric appliances, especially a kind of remote appliance control system and method based on zigbee.
Background technique
ZigBee (ZigBee protocol, the low-power consumption LAN protocol based on IEEE802.15.4 standard) is a kind of special
The short-range wireless communication protocol of the low cost, low-power consumption that design for low-data-rate wireless personal area network, network can be easily
Wireless data transmission function is provided for user, therefore there is very strong applicability in internet of things field.And present electric appliance is all
It is the control realized by short distance remote control to electric appliance, electric appliance can not be controlled at a distance, meanwhile, it can not be using a control
Host processed controls each electric appliance, so that user causes inconvenience to the control of various electric appliances.
Summary of the invention
Based on this, it is an object of the present invention to for can not far distance control electric appliance, while controlling a variety of electric appliances, mention
For a kind of remote appliance control system based on zigbee, which is characterized in that including electric appliance, the electric appliance built-in has first
Zigbee module, the first zigbee module are connect with the control chip signal of the electric appliance;MCU, the MCU include second
Zigbee module and network connecting module, the network connecting module is for accessing internet.
First zigbee module mutually connects with signal with the 2nd zigbee module in electric appliance, and the 2nd zigbee module with
MCU is signal connection, and so as to realize the signal communication between MCU and electric appliance, and MCU can be connected by signal therewith
Network connecting module connect with internet, wherein network connecting module can be wired network adapter, wireless network card, wifi module
Deng, therefore user can be sent to electric appliance by internet in remote place and be instructed, to control electric appliance.
Preferably, the MCU runs Linux system.
The characteristics of linux system, is that multiple addresses ip can be obtained simultaneously, so that the multiple addresses ip that will acquire provide
The electric appliance for giving the connection of MCU signal uses, and each electric appliance is made to obtain the different address ip, to support electric appliance and interconnection
Net connection.
Preferably, the MCU is built-in with the shell program for obtaining the address ip.
Further, the address ip that the shell program obtains is the address ipv6.
Compared to the address ipv4, the advantage of the address ipv6 is that it greatly extends the available space of address, IPv6
There are 128 bit lengths in address.If earth surface (containing land and the water surface) is all covered with computer, IPv6 allows every square metre to gather around
There is 7*10^23 IP address;If the rate of address distribution is every microsecond 1,000,000, need 10^19 that could will own
Address be assigned.To not have to worry that the address ipv6 has been assigned.
Preferably, the MCU is also built-in with JAVA program, and the JAVA program passes through the address ip and the first zigbee module
Between establish mapping table, the mapping table includes one between basic function transformation rule and the address ip and the first zigbee module
One corresponding relationship.
JAVA program, which is established by the address ip with the first zigbee module, to be mapped, and each first zigbee module and one
A electrical signal connection, therefore each address ip can be assigned to each electric appliance, to support each electric appliance to be connected to internet,
Moreover, the corresponding electric appliance in each address ip, can determine its received command signal according to its received signal in order to MCU
Which address ip i.e. any platform electric appliance needed to be sent to;The mapping table between JAVA program and the first zigbee module further includes simultaneously
Basic function transformation rule, wherein the signal of the first zigbee module is transmitted to before internet, is needed by amplification etc., and base
This power and energy rule can be achieved with this function, meanwhile, the signal type of the first zigbee module and the class signal of internet
Type be it is different, need just be mutually distinguishable by the conversion of basic function transformation rule.
It preferably, further include mobile terminal, the mobile terminal passes through the address ip and the first zigbee module by signal
Connection.
Internet is connected to by portable mobile terminal to send instructions to the first zigbee module, Ke Yifang
Just electric appliance is controlled whenever and wherever possible, realizes that mobile terminal directly passes through the address ip and controls and operate with zigee module
Electric appliance, without could control under particular circumstances electric appliance.
It is another object of the present invention to for can not far distance control electric appliance, while controlling a variety of electric appliances, provide one
Remote appliance control method of the kind based on zigbee, which is characterized in that the described method comprises the following steps:
S701: user sends instructions to internet by mobile terminal;
The used network connecting module of S702:MCU obtains the instruction of mobile terminal from internet;
S703:MCU is sent to after converting the instruction got from internet by the zigbee module connecting with MCU signal
First zigbee module;
S704: the one zigbee module sends an instruction to control chip;
S705: control chip controls electric appliance makes corresponding reaction to instruction.
The instruction for needing to be sent to electric appliance is uploaded to internet by operation mobile terminal by user, and then MCU can pass through
The network connecting module of signal connection downloads the instruction of user's upload from internet therewith, and wherein network connecting module can be
Wired network adapter, wireless network card or wifi module.After MUC gets the instruction that user assigns, pass through built-in JAVA program pair
Command signal is handled, and is processed into the signal that the first zigbee module can receive, command signal is then sent to first
Command signal is sent to the control chip for the electric appliance being attached thereto by zigbee module, zigbee module again, and control chip will
It controls electric appliance and completes corresponding instruction.
It preferably, further include MCU by the built-in shell program acquisition address ip, then JAVA program passes through the address ip
The zigbee module connecting with the control chip signal with electric appliance establishes mapping table, and is distinguished by the address ip and zigbee module
Establish corresponding relationship.
After MCU gets command signal, need to according to the mapping relations between the address ip and each first zigbee module,
Identification sends an instruction to which the first zigbee module is completed to send an instruction to corresponding electric appliance to electric appliance
Control process.
Preferably, MCU sends instructions to the first zigbee module by the 2nd zigbee module that signal therewith connects.
ZigBee technology is the wireless communication technique of a kind of short distance, low-power consumption.Its main feature is that short distance, low complex degree,
Self-organizing, low-power consumption, low data rate.Suitable for automatic control and remote control field, various equipment can be embedded in.It uses
Zigbee carries out data transmission low in cost.
The principle of the present invention, effect are further illustrated below with reference to above-mentioned technical proposal:
1. the MCU runs Linux system.The characteristics of linux system, is that multiple addresses ip can be obtained simultaneously, to incite somebody to action
The multiple addresses ip obtained are supplied to the electric appliance connecting with MCU signal and use, and make each electric appliance with obtaining a different ip
Location, so that electric appliance be supported to connect with internet.It may be implemented simultaneously remotely to control multiple electric appliances.
2. the address ip that the Shell program obtains is the address ipv6.Compared to the address ipv4, the advantage of the address ipv6 is just
It is that it greatly extends the available space of address, the address ipv6 there are 128 bit lengths.If earth surface (containing land and the water surface)
It is all covered with computer, then ipv6 allows every square metre to possess the 7*10^23 address ip;If the rate of address distribution is every
Microsecond 1,000,000, then needing 10^19 that could be assigned all addresses.To not have to worry that the address ipv6 is divided
With complete.
3. the MCU is also built-in with JAVA program, the JAVA program passes through between the address ip and the first zigbee module
Mapping table is established, the mapping table includes a pair between basic function transformation rule and the address ip and the first zigbee module
It should be related to.JAVA program, which is established by the address ip with the first zigbee module, to be mapped, and each first zigbee module and one
A electrical signal connection, therefore each address ip can be assigned to each electric appliance, to support each electric appliance to be connected to internet,
Moreover, the corresponding electric appliance in each address ip, can determine its received command signal according to its received signal in order to MCU
Which address ip i.e. any platform electric appliance needed to be sent to;The mapping table between JAVA program and the first zigbee module further includes simultaneously
Basic function transformation rule, wherein the signal of the first zigbee module is transmitted to before internet, is needed by amplification etc., and base
This power and energy rule can be achieved with this function, meanwhile, the signal type of the first zigbee module and the class signal of internet
Type be it is different, need just be mutually distinguishable by the conversion of basic function transformation rule.
4. further including mobile terminal, the mobile terminal is connect by the address ip with the first zigbee module by signal.
Internet is connected to by portable mobile terminal to send instructions to electric appliance, realizes mobile terminal with directly passing through ip
Location control and operation have the electric appliance of zigee module, can be convenient and control whenever and wherever possible electric appliance, without will be in spy
Electric appliance could be controlled under fixed environment.
Detailed description of the invention
Fig. 1 is the interface framework of the remote appliance control system based on zigbee described in the embodiment of the present invention;
Fig. 2 is the flow chart of the remote appliance control method based on zigbee described in the embodiment of the present invention.
Description of symbols:
MCU 1, the 2nd zigbee module 11, network connecting module 12, electric appliance 2, the first zigbee module 21, mobile terminal
3 。
Specific embodiment
In order to facilitate the understanding of those skilled in the art, being done further in detail below in conjunction with attached drawing and embodiment to the present invention
Thin description:
Such as Fig. 1, a kind of 2 control system of remote appliance based on zigbee, which is characterized in that including electric appliance 2, in the electric appliance 2
It is equipped with the first zigbee module 21, the first zigbee module 21 is connect with the control chip signal of the electric appliance 2;MCU1,
The MCU1 includes the 2nd zigbee module 11 and network connecting module 12, and the network connecting module 12 is for accessing interconnection
Net.
Mutually transferring for signal, MCU1 and the can be carried out between first zigbee module 21 and the 2nd zigbee11 module
The connection of two zigbee modules, 11 signal, MCU1 can perhaps be sent to the finger of electric appliance 2 by network connecting module 12 from internet
After enabling information, MCU1 get command information, after handling command information, command information is sent to the 2nd zigbee
Module 11, then the 2nd zigbee module 11 sends a signal to the first zigbee module 21, and the 2nd zigbee module 11 again will
Command signal is sent to the control chip of electric appliance 2, so that electric appliance 2 is completed to instruct accordingly.
One of embodiment, the MCU1 run Linux system.
The system of MCU1 operation is Linux system, and Linux system can obtain multiple addresses ip from internet, thus will
More electric appliances 2 are distributed in multiple addresses ip, to support this more electric appliances 2 to be connected to internet.
One of embodiment, the MCU1 are built-in with the Shell program for obtaining the address ip.
One of embodiment, the address ip that the shell program obtains are the address ipv6.
Compared to the address ipv4, the advantage of the address ipv6 is that it greatly extends the available space of address, ipv6
There are 128 bit lengths in address.If earth surface (containing land and the water surface) is all covered with computer, IPv6 allows every square metre to gather around
There is the 7*10^23 address ip;If the rate of address distribution is every microsecond 1,000,000, need 10^19 that could will own
Address be assigned.To not have to worry that the address ipv6 has been assigned.
One of embodiment, the MCU1 are also built-in with JAVA program, and the JAVA program passes through the address ip and first
Mapping table is established between zigbee module 21, the mapping table includes basic function transformation rule and the address ip and the first zigbee
One-to-one relationship between module 21.
One of embodiment further includes mobile terminal 3, and the mobile terminal 3 passes through the address ip and described first
The connection of 21 signal of zigbee module.
It is another object of the present invention to for can not far distance control electric appliance 2, while controlling a variety of electric appliances 2, provide
A kind of 2 control method of remote appliance based on zigbee, which is characterized in that such as Fig. 2, the described method comprises the following steps:
S701: user sends instructions to internet by mobile terminal 3;
The used network connecting module 12 of S702:MCU1 obtains the instruction of mobile terminal 3 from internet;
S703:MCU1 will be sent after the instruction conversion got from internet by the zigbee module connecting with MCU1 signal
To the first zigbee module 21;
S704: the one zigbee module 21 sends an instruction to control chip;
S705: corresponding reaction is made in 2 pairs of chip controls electric appliance instructions of control.
The instruction for needing to be sent to electric appliance 2 is uploaded to internet by operation mobile terminal 3 by user, and then MCU1 can lead to
The network connecting module 12 for crossing signal connection therewith downloads the instruction of user's upload from internet, wherein network connecting module 12
It can be wired network adapter, wireless network card or wifi module.After MUC gets the instruction that user assigns, pass through built-in JAVA
Program handles command signal, is processed into the signal that the first zigbee module 21 can receive, then sends out command signal
The first zigbee module 21 is given, command signal is sent to the control chip for the electric appliance 2 being attached thereto by zigbee module again, control
Coremaking piece will control electric appliance 2 and complete to instruct accordingly.
One of embodiment further includes MCU1 by the built-in shell program acquisition address ip, and then JAVA program is logical
It crosses the first zigbee module 21 that the address ip is connect with the control chip signal with electric appliance 2 and establishes mapping table, and pass through the address ip
Corresponding relationship is established respectively with zigbee module.
After Shell program gets the address ip, JAVA program is reflected by the address ip and the foundation of the first zigbee module 21
Firing table, can according to the ip of each electric appliance 2 when sending signal so as to MCU1 to make the corresponding electric appliance 2 in each address ip
Location selects sending object.
One of embodiment, MCU1 send instructions to first by the 2nd zigbee module 11 of the connection of signal therewith
Zigbee module 21.
ZigBee technology is the wireless communication technique of a kind of short distance, low-power consumption.Its main feature is that short distance, low complex degree,
Self-organizing, low-power consumption, low data rate.Suitable for automatic control and remote control field, various equipment can be embedded in.It uses
Zigbee carries out data transmission low in cost.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention
Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (9)
1. a kind of remote appliance control system based on zigbee, which is characterized in that including
Electric appliance, the electric appliance built-in have the first zigbee module, the control chip of the first zigbee module and the electric appliance
Signal connection;
MCU, the MCU include the 2nd zigbee module and network connecting module, and the network connecting module is for accessing interconnection
Net.
2. the remote appliance control system according to claim 1 based on zigbee, which is characterized in that the MCU operation
Linux system.
3. the remote appliance control system according to claim 1 based on zigbee, which is characterized in that built in the MCU
There is the shell program for obtaining the address ip.
4. the remote appliance control system according to claim 3 based on zigbee, which is characterized in that the shell journey
The address ip that sequence obtains is the address ipv6.
5. the remote appliance control system according to claim 3 based on zigbee, which is characterized in that the MCU is also interior
It is equipped with JAVA program, the JAVA program is by establishing mapping table, the mapping table between the address ip and the first zigbee module
Including the one-to-one relationship between basic function transformation rule and the address ip and the first zigbee module.
6. the remote appliance control system according to claim 1 based on zigbee, which is characterized in that further include mobile whole
End, the mobile terminal are connect by the address ip with the first zigbee module by signal.
7. a kind of control method of the remote appliance control system according to claim 1 based on zigbee, feature exist
In the described method comprises the following steps:
S701: user sends instructions to internet by mobile terminal;
The used network connecting module of S702:MCU obtains the instruction of mobile terminal from internet;
S703:MCU is sent to after converting the instruction got from internet by the zigbee module connecting with MCU signal
First zigbee module;
S704: the one zigbee module sends an instruction to control chip;
S705: control chip controls electric appliance makes corresponding reaction to instruction.
8. control method according to claim 7, which is characterized in that further include that MCU is obtained by built-in shell program
Mapping table is established by the zigbee module that the address ip is connect with the control chip signal with electric appliance in the address ip, and by ip
Location and zigbee module establish corresponding relationship respectively.
9. control method according to claim 7, which is characterized in that the 2nd zigbee that MCU passes through the connection of signal therewith
Module sends instructions to the first zigbee module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710616488.4A CN109309691A (en) | 2017-07-26 | 2017-07-26 | Remote appliance control system and control method based on zigbee |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710616488.4A CN109309691A (en) | 2017-07-26 | 2017-07-26 | Remote appliance control system and control method based on zigbee |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109309691A true CN109309691A (en) | 2019-02-05 |
Family
ID=65202002
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710616488.4A Withdrawn CN109309691A (en) | 2017-07-26 | 2017-07-26 | Remote appliance control system and control method based on zigbee |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109309691A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101316408A (en) * | 2008-07-15 | 2008-12-03 | 中兴通讯股份有限公司 | Mobile phone based on ZigBee technology and remote wireless control method |
CN102314760A (en) * | 2011-09-13 | 2012-01-11 | 赵永 | Wireless remote controlling device based on micro control unit (MCU) |
CN202111740U (en) * | 2011-01-28 | 2012-01-11 | 电子科技大学 | Remote control system of intelligent household electrical appliance |
CN104299403A (en) * | 2014-09-25 | 2015-01-21 | 小米科技有限责任公司 | Method and device for controlling household appliances |
-
2017
- 2017-07-26 CN CN201710616488.4A patent/CN109309691A/en not_active Withdrawn
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101316408A (en) * | 2008-07-15 | 2008-12-03 | 中兴通讯股份有限公司 | Mobile phone based on ZigBee technology and remote wireless control method |
CN202111740U (en) * | 2011-01-28 | 2012-01-11 | 电子科技大学 | Remote control system of intelligent household electrical appliance |
CN102314760A (en) * | 2011-09-13 | 2012-01-11 | 赵永 | Wireless remote controlling device based on micro control unit (MCU) |
CN104299403A (en) * | 2014-09-25 | 2015-01-21 | 小米科技有限责任公司 | Method and device for controlling household appliances |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI505721B (en) | Smart home network system and method for registering household electronic device | |
CN109272733B (en) | Multi-terminal multi-mode Internet of things communication terminal supporting multi-meter combined reading and meter reading method thereof | |
CN202615589U (en) | Information converting device capable of remote-controlling household appliances by using mobile terminal | |
CN102651165A (en) | Wireless learning type infrared repeating system and working method thereof | |
TW201409887A (en) | Smart home network system and its smart gateway | |
CN205230330U (en) | Trun into bluetooth to ultra -red conversion equipment | |
CN104506449A (en) | Wired-wireless-compatible intelligent router | |
TWM452554U (en) | Smart home network system and its smart gateway | |
CN105204455A (en) | Intelligent household system based on Internet of Things | |
CN104410656A (en) | A smart home system controlled through web | |
CN107195110A (en) | A kind of portable power source lending system | |
CN106326164A (en) | Multifunctional wireless serial port communication equipment | |
CN104079457A (en) | Intelligent home system containing intelligent home central control U shield | |
CN203038457U (en) | WIFI (wireless fidelity) based infrared converting device | |
CN104950747B (en) | A kind of method of the field remote measuring terminal wireless management with controlling | |
CN109309691A (en) | Remote appliance control system and control method based on zigbee | |
CN203690629U (en) | Power source patch board assembly | |
CN204667611U (en) | A kind of farm field data remote supervision system | |
CN103327191B (en) | Based on ZigBee-network coherent system and the mobile phone mobile monitor method of voice communication | |
CN105955902A (en) | Serial-to-wireless communicator | |
CN104780216A (en) | Method and system for Internet-connection-free device to upload data to Internet server | |
CN105591847A (en) | Household appliance remote control system and method thereof | |
CN105898900A (en) | Gateway system applied to large-scale zigbee sensor network and mobile communication network | |
CN203812390U (en) | Intelligent control system | |
CN204013588U (en) | Signal of communication conversion equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190205 |