Street light control network of ZIgbee3.0

Relevant data shows that more than 600 cities in China are carrying out smart construction. The most critical feature of a smart city is that the entire city is connected in series, and the entire city is linked to each other. Street lights are an essential municipal infrastructure in cities. Wireless serial lora module To develop a smart city, the Internet of Things for smart street lights is an entry point. At present, many cities are vigorously promoting smart street lamps with various functions and gradually replacing traditional street lamps.

Because the design and layout of street lamps are standardized, the distance between street lamps is generally within 50m, and the number of them is large at the same time. It is very suitable for zigbee to establish a control network with a large number of nodes, and can realize remote monitoring in combination with GPRS/4G/Ethernet device communication. The E180-ZG120A recently launched by Ebyte adopts the new zigbee3.0 communication standard, which is safe, reliable and stable, and is very suitable for the networking of smart street lamps.

Module physical map

1. Establish a network

1. Connect the factory ZigBee ad hoc network module through the USB to serial port module, open the host computer software “E180-ZG120A-Setting”, as shown in the screenshot below, select the port number, and set the serial port baud rate (default 115200), open serial port

2. After the serial port is opened, first click “Enter configuration mode”, the message box prompts “Enter configuration state successfully, read parameters successfully”, the main network parameters include, the default node type is terminal, the default channel is 11, the default PAN ID is random, The transmit power defaults to 10.

3. Change the node type to coordinator, and click the retract button next to it, and a message box prompts “Configuration of the device type succeeded”. The general ZigBee3.0 network is established by the coordinator node, so the factory default terminal node type needs to be changed to the coordinator before establishing the network.

QQ screenshot 20191018142817

4. After the node type is written successfully, modify some network parameters to establish the required ZigBee network (you can also use the default values without modifying the parameters). Modify the channel, network PANID and transmit power here. After modifying the parameters, be sure to click “Write” Network parameters”, the message box will prompt “Write parameters successfully”. The node type is modified, and the module needs to be restarted to take effect. Click “Module Restart”, and a message box will prompt “Module restart successfully”.

QQ screenshot 20191018142830

2. Join the network

1. Enter the configuration mode, the message box prompts “entering the configuration state successfully, reading the parameters successfully”, set the network parameters including, the default node type is terminal, the default channel is 11, the default PAN ID is random, and the default transmission power is 20.

QQ screenshot 20191018142841

2. Modify the network parameters. The PAN ID and transmit channel parameters must be the same as the network to be added.WiFi Wireless Module  Click “Write Network Parameters”, and the message box will prompt “Write parameters successfully”. Restart the module.

3. Select the fixed-point networking interface, and the network status is displayed as “joined network”, indicating that the dormant terminal node has joined the network created by the coordinator before.

3. Drive street lights

The module is connected to the street lamp control driver to control the brightness and switch status of the street lamp:

The pwm interface controls the brightness of the street light;

GPIO control street light switch;

4. Remote control

1. The zigbee network is connected through the E180-DTU (ZG120-485) zigbee to serial data transmission unit, Bluetooth Module and the E810-DTU (RS485) is connected to the network through the Ethernet interface, as shown in the figure:

2. Through the network server connected by E810-DTU (RS485), collect the data of street lamp working status and control the brightness and switch status of street lamp to realize remote network monitoring.

Street light control network of ZIgbee3.0ultima modifica: 2022-09-27T04:20:25+02:00da rubberantenna
Reposta per primo quest’articolo