A kind of tunnel illuminating system based on ZigBee wireless networkings
Technical field
The utility model is related to tunnel illumination technical fields, and in particular to a kind of tunnel photograph based on ZigBee wireless networkings
Bright system.
Background technology
Wired lamp illumination device in the prior art, circuit is more, cumbersome and not easy to install, while can cause wave to space
Take.For this, some enterprise developments lighting system of wireless control, this system is generally using being uniformly controlled multiple lamps and lanterns
Mode, but this mode can only be turned on and off multiple lamps and lanterns simultaneously, individually only can not open certain lamps and lanterns, or meeting as needed
The waste for having electric resources is unable to reach the purpose for saving electric energy.
Utility model content
In view of this, the purpose of this utility model is to provide a kind of tunnel illumination systems based on ZigBee wireless networkings
System, to solve, wired installation is too cumbersome in the prior art, takes up space;The more lamps of scene, which are uniformly controlled, causes asking for energy waste
Topic.
A kind of tunnel illuminating system based on ZigBee wireless networkings, including:Several lamp terminals, local control box,
ZigBee routers, ZigBee network coordinator and remote control terminal;
The lamp terminal includes control output device interface, ARM chips and ZigBee communication chips, the ARM chips
It is connected respectively with the control output device interface and the ZigBee communication chips;
The local control box includes order control button, main ARM chips and ZigBee communication chips, the main ARM cores
Piece is connected with order control button and ZigBee communication chips respectively;
It is route with ZigBee by its internal ZigBee communication chip between the lamp terminal and local control box
Device is wirelessly connected;
The ZigBee routers are connected with ZigBee network coordinator;
The ZigBee network coordinator is connected with remote control terminal.
The utility model embodiment provides the first possible embodiment, wherein the main ARM chips use
STM32F103RCT6 chips.
The utility model embodiment provides second of possible embodiment, wherein the local control box further includes
Infrared module, the infrared module are connected with main ARM chips.
The utility model embodiment provides the third possible embodiment, wherein the infrared module also wirelessly connects
It is connected to infrared remote control.
The utility model embodiment provides the 4th kind of possible embodiment, wherein the ZigBee communication chips
Using ZM5168PX communication chips.
The utility model embodiment brings following advantageous effect:The utility model embodiment provided based on ZigBee
ARM chips, main ARM chips and the ZigBee being equipped in the tunnel illuminating system of wireless networking, lamp terminal and local control box
The combination of communication chip may be implemented, to specified single lamp control, grouping and segmentation wireless control, to avoid to be all turned on and cause electricity
The waste of the energy, using wirelessly instead of original wired installation, without connecting up, not independent occupied space.
Description of the drawings
It, below will be right in order to illustrate more clearly of specific embodiment of the present invention or technical solution in the prior art
Specific implementation mode or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, it is described below
In attached drawing be that some embodiments of the utility model are not paying creativeness for those of ordinary skill in the art
Under the premise of labour, other drawings may also be obtained based on these drawings.
Fig. 1 shows a kind of block diagram representation of tunnel illuminating system based on ZigBee wireless networkings of the utility model;
Fig. 2 shows a kind of Master control chip of tunnel illuminating system based on ZigBee wireless networkings of the utility model with
The circuit diagram of device connection;
Fig. 3 shows a kind of order control button of tunnel illuminating system based on ZigBee wireless networkings of the utility model
Circuit diagram.
Specific implementation mode
Hereinafter reference will be made to the drawings is more fully described the various embodiments of the utility model.In various figures, identical
Element is indicated using same or similar reference numeral.For the sake of clarity, the various pieces in attached drawing are not drawn to paint
System.
Described embodiment is only the utility model a part of the embodiment, instead of all the embodiments.Based on this reality
With the embodiment in novel, those of ordinary skill in the art without making creative work it is obtained it is all its
His embodiment, belongs to the range that the utility model is protected.
As shown in Figure 1, a kind of tunnel illuminating system based on ZigBee wireless networkings of the utility model, including:It is several
A lamp terminal, local control box, ZigBee routers, ZigBee network coordinator and remote control terminal;
The lamp terminal includes control output device interface, ARM chips and ZigBee communication chips, the ARM chips
It is connected respectively with the control output device interface and the ZigBee communication chips;
The local control box includes order control button, main ARM chips and ZigBee communication chips, the main ARM cores
Piece is connected with order control button and ZigBee communication chips respectively;
It is route with ZigBee by its internal ZigBee communication chip between the lamp terminal and local control box
Device is wirelessly connected;
The ZigBee routers are connected with ZigBee network coordinator;
The ZigBee network coordinator is connected with remote control terminal.
The main ARM chips use STM32F103RCT6 chips;The local control box further includes infrared module, described
Infrared module is connected with main ARM chips;The infrared module is also wirelessly connected with infrared remote control, and the infrared remote control includes supplying
Electric power unit, it is that 220V AC voltage power supply and 12V DC power voltage supply both of which select which, which has,
In be additionally provided with power supply indicator circuit part, be exactly the main control circuit part of remote controler in addition;The ZigBee communicates core
Piece uses ZM5168PX communication chips.
As shown in Fig. 2, a kind of master control of tunnel illuminating system based on ZigBee wireless networkings provided by the utility model
The circuit diagram that coremaking piece is connect with device, the model STM32F103RCT6 chips of the main ARM chips,
STM32F103RCT6 chips are a kind of integrated circuits of embedded-microcontroller, and core size is 32, and speed is 72MHz,
Program storage capacity is 256KB, and program storage type is FLASH, and RAM capacity is 48K.
As shown in figure 3, a kind of order of tunnel illuminating system based on ZigBee wireless networkings provided by the utility model
Control button circuit diagram, in local control box be distributed 8 control buttons, including UIALL- all lights control button,
The bright control button of UIODD- odd number lamps, the bright control button of UIEVEN- even number of lamps, be additionally equipped with GDB1-GDB5 5 kinds are self-defined
Mode control button, the UIALL- all light control buttons connect main ARM chips PA0-WKUP, and the UIODD- odd numbers lamp is bright
Control button connects the PA1 of main ARM chips, and the bright control button of UIEVEN- even number of lamps connects the PA2 of main ARM chips, remaining
5 order control buttons are connect with PA3, PA4, PA5, PA6 and PA7 of main ARM chips successively.
Concrete operating principle:When remote control, when user wants, when remote control terminal opens certain group lighting apparatus, to lead to
The PC machine transmission data instruction for crossing remote control terminal, ZigBee routers are sent to by ZigBee network coordinator, by
ZigBee routers connect the ZigBee communication chips of each lamp terminal, and ZigBee communication chips send data to illumination eventually
In the ARM chips at end, address is imparted in each ARM chips, after being addressed by ZigBee-network, is corresponded to belonging to this instruction
Lighting apparatus then connected by ARM chips its control the lighting apparatus switching circuit of output device interface electrical connection, to corresponding
Lighting apparatus opened, be not belonging to this group is then not responding to data command, achieve the purpose that grouping control.
When local control, the infrared module being wirelessly connected by remote controler controls the main ARM chips in local control box,
Main ARM chips control the order control button progress corresponding actions of its connection, order control by the data command of identification remote controler
Button processed can start corresponding fixed routine in main ARM chips after executing instruction, while main ARM chips communicate core by ZigBee
This data command is sent to the ARM chips of each lamp terminal, wherein each by the ZigBee wireless communications between piece
The ARM chips of lamp terminal all impart address, after ZigBee-network patrol address, to corresponding lamp terminal equipment into
Row is opened, and be not belonging to this group is then not responding to data command, and to achieve the purpose that grouping control, this is also a kind of most common work
Operation mode.
It is combined into using main ARM chips, ARM chips and ZigBee communication chips, corresponding protocol network can be connected into
Partly (belong to existing mature technology), the equipment of each lamp terminal imparts address, patrols ground by ZigBee-network
Behind location, so that it may to control single lamp.Discrete control is combined by software and hardware setting, and grouping is equipped in lamp terminal and is dialled
The grouping oneself whether belonged in order checked, is belonged to, executes order after lamp terminal is connected to grouping instruction for code, it is on the contrary then
Any action is not done, has achieved the effect that grouping control.
Specific implementation, mainly changes the circuit board of the control lamp part inside existing lighting apparatus in the utility model into
In addition circuit board with ARM chips and ZigBee communication chips is added in local control box with order control button, master
The circuit board of ARM chips and ZigBee communication chips, constitute between lighting apparatus, between lighting apparatus and remote control terminal, shine
Wireless telecommunications between bright equipment and local control box.
The equipment wireless control of lamp terminal saves installation consumptive material, space and workload from setting angle.From using
In angle, single lamp control can easily share out the work group very much with more randomness, controller.Changeable field of employment, at any time
Working condition is beamed back, has really accomplished saving energy consumption.
In the description of the utility model embodiment unless specifically defined or limited otherwise, term " installation ", " phase
Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can
Can also be electrical connection to be mechanical connection;It can be directly connected, can also indirectly connected through an intermediary, Ke Yishi
Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition
Concrete meaning in utility model.
Finally it should be noted that:Embodiment described above, only specific embodiment of the present utility model, to illustrate this
The technical solution of utility model, rather than its limitations, the scope of protection of the utility model is not limited thereto, although with reference to aforementioned
The utility model is described in detail in embodiment, it will be understood by those of ordinary skill in the art that:It is any to be familiar with this skill
The technical staff in art field within the technical scope disclosed by the utility model, still can be to the skill recorded in previous embodiment
Art scheme modify or can readily occur in variation or equivalent replacement of some of the technical features;And these modifications,
Variation is replaced, the spirit and model of the utility model embodiment technical solution that it does not separate the essence of the corresponding technical solution
It encloses, should be covered within the scope of the utility model.Therefore, the scope of protection of the utility model should be wanted with the right
Subject to the protection domain asked.