Application of Moxa UC-7101 and W315 Embedded Computers in Lightning Monitoring System

Background of the project

Since ancient times, lightning disasters have existed. According to statistics, there are an average of more than 2,000 mines on Earth at any time, with an average of 100 lightning strikes per second. Each lightning intensity can be as high as 1 billion volts, which indicates that its energy is large and the hazards can be imagined.

Thunderstorms have frequently occurred in recent years. This is mainly due to the rise of tall buildings such as high-rise smart buildings, microwave stations, and antenna towers that attract lightning and cause damage to their own buildings and nearby buildings. Various additional overhead long wires were introduced into the room to cause the lightning protection device to lose its function. In addition, with the development of microelectronics technology and its wide application in various fields, the target of lightning has also shifted, from the damage to the building itself to the damage to the electrical and electronic equipment in the room, resulting in the occurrence of personal injury accidents. Lightning induced electromagnetic induction has become a major hazard, so monitoring lightning is also a means of preventing disasters.

The original solution is to use a computer to connect lightning detectors (which can record the amount of charge in the air). When the computer reads the data returned by the lightning detectors, it analyzes the data to determine whether there is a possibility of lightning. In this system, the dialing mode of ADSL is mainly used to connect each device to a network. However, the problem that comes with it is that if the site does not have ADSL dialing conditions, the system cannot be used. Once the network is disconnected, live data in the field will be lost.

Application requirements

The lightning detector uses Modbus RTU protocol to communicate. The embedded computer must convert the Modbus protocol to Modbus TCP protocol to facilitate communication with the background.
The embedded computer can actively collect data in real time, save historical data on demand, and implement intelligent and active uploading of data to provide both wired and wireless solutions. Once the site does not have Internet access conditions, wireless communication can be used

Moxa solution

In this system, Moxa finally provides customers with two different solutions - wired and wireless, to meet the needs of different environments in the field.

1) Wired Solutions

In the original architecture, a Modbus gateway was used to connect the lightning detector with ADSL, which served as a protocol conversion. In the current architecture, customers use the Moxa UC-7101 embedded computer instead of the original Modbus gateway. The UC-7101 uses the MOXA ART ARM9 192 MHz RISC CPU, which has powerful computing and communication capabilities while generating little heat. Built-in 8MB NOR Flash ROM and 16MB SDRAM can provide users with sufficient storage space; at the same time, the SD card can store a variety of user applications. In the wired solution, UC-7101 acts as a pre-communication gateway, through the set program, UC7101 can actively use Modbus RTU protocol to communicate with lightning detectors, and save the data in the real-time database, and record to the SD card at the same time In the UC7101, through the analysis of real-time data, it is possible to send alarm information to the monitoring room before the arrival of the lightning.

2) Wireless Solutions

In the absence of ADSL dialing conditions, customers use W315 wireless embedded computers. W315 is an embedded industrial computer based on RISC architecture equipped with GSM/GPRS communication module. In this solution, Moxa's W315 is used instead of the UC-7101 and ADSL in the wired solution to connect directly to the network via GPRS. As a front-end communication gateway, W315 can dial up to the GPRS network and connect with the background. Through software programming, W315 can actively use Modbus RTU protocol to communicate with lightning detectors, and save the data in a real-time database, and record it to the SD card. W315 can analyze the real-time data before lightning strikes and actively monitor. Room sends alarm information.

System configuration diagram

1) Wired Solutions

2) Wireless Solutions

Why Moxa?

Moxa offers two solutions for customers: UC-7101 in the wired environment; W315 in the wireless environment; active connection to the wireless GPRS network
UC-7101 and W315 are RISC architecture embedded computers, providing a powerful and stable communication platform for demanding industrial environments
Both UC-7101 and W315 support a software-selectable RS-232/422/485 3-in-1 serial port and 1 Ethernet port
Both UC-7101 and W315 can actively collect data in real time, save historical data on demand, and intelligently implement data upload. The embedded computer has no fan and fly wire to ensure the stability and reliability of products and systems.

Application product introduction


MOXA ART ARM9 32-bit 192 MHz Processor
16MB RAM and 8MB Flash ROM
One 10/100 Mpbs Ethernet port and one software-optional RS-232/422/485 serial port Expands storage capacity through SD card slot Fanless design, stable and reliable


MOXA ART ARM9 32-bit 192MHz Processor Onboard 32MB RAM, 16MB Flash Memory Built-in GSM/GRPS 850/900/1800/1900 MHz Wireless Communication Module Equipped with a software-selectable RS-232/422/485 3-in-1 serial port
10/100 Mbps Ethernet port for network redundancy System stability with no fan design

Wireless Charger

Wireless Charger,Smart Wireless Charger,Wireless Car Charger,Wireless Charger Led

Dongguan Fangbei Electronic Co.,Ltd ,