HAC HAC-MLW User manual

HAC-MLW Metering Module User Manual V1.0
P1
Version Management
Date
Version
Description
Revised by
2021.08
V1.0
initial version

HAC-MLW Metering Module User Manual V1.0
P2
Content
1.
Overview.....................................................................................................................................................................4
2.
Meter Module Feature.................................................................................................................................................4
2.1.
Electrical characteristics.................................................................................................................................. 4
2.2
Feature Description...........................................................................................................................................4
2.3
Data reporting................................................................................................................................................... 4
2.4
Power management...........................................................................................................................................4
2.5
Measurement.....................................................................................................................................................5
2.6
Power-down storage......................................................................................................................................... 5
2.7
Magnetic attack detection................................................................................................................................. 5
2.8
Monthly and yearly frozen data storage........................................................................................................... 5
2.9
The valve will be closed when the power is off............................................................................................... 5
3.
Meter module structure and interface definition......................................................................................................... 5
3.1.
Module structure dimension............................................................................................................................ 5
3.2.
Interface definition...........................................................................................................................................6
4.
Instruction of production test tool................................................................................................................................7
5.
Instructions of meter module...................................................................................................................................... 7
6.
Precautions................................................................................................................................................................... 8
7.
Instruction of Production Test Tool.............................................................................................................................9
7.1.
Tool list............................................................................................................................................................ 9
7.2.
Device connection.............................................................................................................................................9
7.2.1.
Wireless communication device connection......................................................................................... 9
7.2.2.
Infrared communication device connection........................................................................................ 10
7.2.3.
Meter data acquisition (wireless communication mode ).................................................................. 10
7.2.4 Supported software.............................................................................................................................. 12
7.2.5.
Software installation............................................................................................................................ 12

HAC-MLW Metering Module User Manual V1.0
P3
7.2.6.
Interface -【Serial port setting】........................................................................................................ 12
7.2.7.
Interface -【Parameters Setting】......................................................................................................13
7.2.8
Interface -【Data Statistics】..............................................................................................................14
7.2.9
Interface-【Running Meter Test】..................................................................................................... 15
8.
Production Test Flow........................................................................................................................................15
8.1 Wireless communication mode...............................................................................................................15
8.2. Precautions for production setup........................................................................................................... 17
9.
LoRaWAN Gateway Device Feature............................................................................................................... 17
9.1.
Electrical characteristics......................................................................................................................... 17
9.2.
Functional characteristics....................................................................................................................... 18
9.3.
LoRaWAN Gateway Structure and Interface Definition...................................................................... 19
9.3.1.
Gateway Structure Dimension....................................................................................................19
9.3.2.
External Interface Definition...................................................................................................19
9.3.3.
Internal Interface Definition.................................................................................................... 20
9.4.
LoRaWAN Gateway Installation and Boot...........................................................................................20
9.4.1 Gateway Installation.................................................................................................................... 20
9.4.2. Gateway boot.............................................................................................................................. 20
10.
Device Management Platform............................................................................................................................. 20
10.1.
Account login............................................................................................................................................20
10.3.
Device information.................................................................................................................................. 22
10.4.
Data Management.................................................................................................................................... 24
10.5.
More Command....................................................................................................................................... 25

HAC-MLW Metering Module User Manual V1.0
P4
1.
Overview
The HAC-MLW wireless remote meter reading system integrates acquisition,measurement,bidirectional
communication and valve control etc, and it conforms to the LORAWAN1.0.2 standard protocol which is
formulated by LoRa Alliance. The system contains wireless meter reading acquisition module HAC-MLW, gateway
LoRaWAN , LoRaWAN meter reading charging system (or we call it cloud platform).
2.
Meter Module Feature
2.1.
Electrical characteristics
No.
Item
Function description
1
Working frequency
It’s compatible with LoRaWAN® (433~510MHz or 863~928MHz, which is
optional)
2
Maximum
transmitting power
21±1dBm (which is in accordance with the requirements of power limit in
different areas of the LoRaWAN protocol)
3
Receiving sensitivity
<-136dBm
4
Working temperature
-20℃~+70℃
5
Working voltage
+2.5V~+3.8V
6
Receiving current
≤9mA
7
Transmitting current
≤130mA (which is related to transmitting power)
8
Transmitting distance
The maximum line of sight communication distance between the gateway and the
meter module is 15km
9
Valve electrical
parameter
+2.5V~+3.8V
10
Sleep current
≤15uA
11
Dimension
42.1mm*24.8mm*3.2mm
2.2 Feature Description
No.
Feature
Function Description
1
Data reporting
There are two data reporting methods.
Magnetic trigger to report data: The magnet triggers the hall components of the
meter module, and the trigger time must be greater than 2S.
Timed and active reporting: the reporting time slice is automatically allocated
according to the Device Eui of the meter module, and the data is reported every
24 hours.
2
Power management
It will detect voltages of various states of metering module in real-time and
report.

HAC-MLW Metering Module User Manual V1.0
P5
3
Measurement
Support dual reed switch,dual hall metering mode.
4
Power-down
storage
Support power-down storage function,there is no need to re-initialize the
measurement value after power-off
5
Magnetic attack
detection
Support magnetic attack detection, it will generate alarm sign when malicious
magnetic attack is detected
6
Monthly and yearly
frozen data storage
It can save 10 years of annual frozen data and monthly frozen data of the last 128
months, and the cloud platform can query historical data
7
Parameters setting
Support wireless near and remote parameter settings. The remote parameter
setting is realized through the cloud platform, and the near parameter setting is
realized through the production test tool.
8
Valve control
Valve type can be set to support remote valve control and valve fault detection
(which is optional)
9
The valve will be
closed when the
power is off.
When the power is down,the valve will be closed and reported.
10
Dredging valve
It supports the function of timing dredging valve and command dredging valve.
3.
Meter module structure and interface definition
3.1.
Module structure dimension

HAC-MLW Metering Module User Manual V1.0
P6
=
3.2.
Interface definition
No.
Name
Pin description
1
EPW
Power Output
2
GND
Power Negative
3
RX
The S1 access terminal of the pulse can be extended to the RX terminal of LEUART
4
TX
The S2 access terminal of the pulse can be extended to the TX terminal of LEUART
5
GN
Power Negative
6
OPE
Valve open in place detection and signal input terminal
7
CLO
Valve close in place detection and signal input terminal
8
V-
Valve motor drive output terminal
9
V+
Valve motor drive output terminal
10
GND
Power Negative
11
VCC
Power positive(DC2.8V~6.0V)
12
C-
Farad capacitor negative
13
C+
Farad capacitor positive
14
HALL
Hall trigger detection
15
MR3
ADC sampling
16
OKI
Reserved
Note: The withstand voltage of the farad capacitor must be greater than the power supply voltage.

HAC-MLW Metering Module User Manual V1.0
P7
VCC: Connect the positive electrode of the 3.6V ER18505 battery.
EPW: Providing a 3.0V regulated power supply to the outside, the maximum current is 100mA, it needs to be
customized and opened.
RX TX: Metering pin, which can also be used for magnetic attack detection.
V-V+: Valve control output pin, which can also be used for valve locked-rotor detection and no-valve detection.
The HAC-MLW module can be widely used in wireless remote meter reading systems. The module can be
integrated in the meter or installed in a suitable position with an enclosure.
4.
Instruction of production test tool
4.1.
5.
Instructions of meter module
Step 1. Assemble the meter. It’s processed as per the assembly document provided by HAC Telecom , if it is
already assembled or does not need to be assembled, ignore this step.
Step 2. Information report and installation: report installation of meter module information (APPK, EUI,
etc.) on the cloud platform (which is mainly based on the platform actually used by clients). After
the installation is completed, check whether the meter module information is consistent with the
platform. If the meter module has not joined the local LoRaWAN network at this time, please follow
No.
Function
LED status description
1
Power-on initialization
The LED light of the meter module will flash once when the power is
on (it will be very short)
2
Chip voltage alarm
When the meter module is powered on for the first time, the chip
voltage is lower than 3V, the meter module LED light will continue to
flash at a frequency of 100ms, and the flashing time is about 30S.
3
Networking
When the meter module is connected to the Internet, the LED light is
always on, and the LED light is off when the connection is successful
or the maximum number of connections is reached. The LED light on
time is related to the networking time, the longest time is 25 seconds (3
times networking).
4
Report data regularly
The meter module reports data regularly and the LED light will flash
once (it takes a short time)
5
Magnetic trigger to report
data
After the network is successfully connected, the LED of the data
reported by the magnetic trigger meter module will flash twice (it will
be very short).

HAC-MLW Metering Module User Manual V1.0
P8
step 3; if it has already been joined, please skip step 3.
Step 3. Join the local LoRaWAN network: the magnetic triggering meter module initiates networking, the
LED light keeps on during the networking process, and the LED light will turn off when the
networking is successful.
Step 4. Report data: Magnetic trigger to report data, check whether the water meter parameters and flow
data are accurate through the cloud platform. If the data is deviated, it can be modified by setting
parameters.
Step 5. Parameter setting: After the meter module is assembled, use the production test tool provided by
HAC (if provided) or the cloud platform for parameter setting. To set the parameters using the cloud
platform, you must complete the meter module information installation on the cloud platform.
Step 6. The meter module goes offline: the meter module fails to report in two consecutive reporting cycles,
and the meter module goes offline. The next time the data is reported regularly, the network request
will be initiated automatically.
The hall element of metering module is as follow:
6.
Precautions
6.1.
The magnet triggers the hall components of the meter module. The triggering time must be greater than 2S.
If the trigger time is less than 2S, there is a probability that the data report will fail.
6.2.
The magnetic trigger reporting function is invalid when the meter module is connected to the Internet (the
LED light of module is always on) or when the valve is controlled.
6.3.
The cloud platform cannot check the data reported by the magnetic trigger. The processing method is as
follows:
a)
Observe whether the LED indicator status of the meter module meets the described in Chapter 4 when
the data is reported by the magnetic trigger.
b)
Check whether the installation information of the cloud platform is consistent with the information of
the meter module.
c)
Still unable to solve the data reporting problem, please contact our technical staff.

HAC-MLW Metering Module User Manual V1.0
P9
7.
Instruction of Production Test Tool
7.1.
Tool list
No.
Tool list
Function description
1
HAC-MLW-F-T1-M2
Parameters setting and test data transfer
2
HAC-MLW-F-T2-M2
Monitor the field strength value of X meters from the LoRaWAN water
meter (the distance is based on the production environment, select the
returned field strength value -80dBm (the default fluctuation is 10 dBm))
to achieve fixed distance monitor.
3
5V RS232 serial cables 2PCS
Data transmission and HAC-MLW-T1/2-M2 power supply
4
10cm 868MHz rubber rod
antenna 2PCS
HAC-MLW-F-T1/2-M2 antenna
5
RS232 to USB serial cable
HAC-MLW-F-T1-M2 data transmission adapter cable
6
QR code scanning gun
Scan the QR code label of the LoRaWAN water meter to quickly get
DeviceEui (which is optional)
7
IR communication device
Parameters setting
8
USB extended cable
Extend infrared communication device
It’s shown as below:
7.2.
Device connection
7.2.1.
Wireless communication device connection
1
)
HAC-MLW-T1-M2 device connection, 5V RS232 serial cable DB9 female with power interface connects
to HAC-MLW-T1-M2, the other end of DB9 female interface transfers RS232 to USB serial cable to connect to the
PC.The 5V RS232 serial cable adapter connects to 220V urban electricity.

HAC-MLW Metering Module User Manual V1.0
P10
It’s shown as below:
2
)
HAC-MLW-T2-M2 equipment connection, 5V RS232 serial cable DB9 female with power interface
connects to HAC-MLW-T2-M2, 5V RS232 serial cable adapter connects to 220V urban electricity (HAC-MLW-
T2-M2 Please refer to 4.3 sample meter standard data collection for the placement location).
3
)
The QR code scanner is connected to the device, and the QR code scanner is connected to the PC.
7.2.2.
Infrared communication device connection
1)
use a USB extended cable to connect the infrared communication device to the PC.
7.2.3.
Meter data acquisition (wireless communication mode )
Place the HAC-MLW-F-T1-M2 and the standard water meter on the workstation, turn on the host computer
and switch to the [Run meter Test] interface, use a magnet to trigger the standard water meter to report data, and
wait for the remote end of the HAC-MLW-F-T2-M2 to return data. Adjust the distance between HAC-MLW-F-T2-
M2 and the standard water meter so that the returned field strength value is around -80dBm. At this time,fix the
position of HAC-MLW-F-T2-M2 , and use the magnet to trigger the standard water meter to obtain 10 packets of
remote data. The average of the field strength value of 10 packets’ data is the standard field strength value. The
standard field strength value is used in the supported software to judge qualified threshold value of the field
strength.
In the case of two stations, please ensure that the field strength value of the water meter collected by the
distance between the HAC-MLW-T2-M2 and the two stations is between -70dBm and -90dBm. The deployment of
the sampling standard field strength is shown in the figure below:

HAC-MLW Metering Module User Manual V1.0
P11
The interface of parameters setting is below:
Obtain the remote field strength value:

HAC-MLW Metering Module User Manual V1.0
P12
7.2.4 Supported software
The software supports two communication methods, namely wireless communication and infrared
communication. The software cannot use two communication methods at the same time, only one of them can be
used.
7.2.5.
Software installation
Don’t need to install the supported software.
Right-click the execute file
(iHAC-Tool-AFP-MLW_V1.0.4_20210804.exe) on the desktop and run it with the privilege of administrator.
7.2.6.
Interface -【Serial port setting】
1.
Module serial port configuration, the serial port is selected according to the actual situation (please check
the serial port in the device manager), the baud rate is 9600 bps, and no check.
2.
Scanner serial port configuration, there are two ways of scanner data interface: ①Serial port mode,
configure it according to the actual situation of scanner; ②USB mode, do not need to configure the serial port
parameters, just connect to the computer and use it.
3.
The qualified field strength threshold value of the water meter and HAC-MLW-T2-M2 communication, the
qualified range of field strength value can be obtained by sampling the standard water meter (the standard value
method: trigger the standard water meter by a magnet to obtain 10 packets of remote data, take the average of the
field strength values in the 10 packets of data). For more details, please refer to the standard data collection of the
sample meter in table 7.3.
4.
The voltage qualified value of battery is set to 3.6V.
5.
Language setting: choose Chinese or English display interface and report data
It’s shown as below:

HAC-MLW Metering Module User Manual V1.0
P13
7.2.7.
Interface -【Parameters Setting】
1).
“Use Remote”, check “Use Remote” to enable the field strength value monitoring function of thefixed-
distance communication between the water meter and HAC-MLW-T2-M2.
2).
“The base meter with valve”,it’s selected according to the type of water meter valve. When the water meter
has a valve, check “The base meter with valve” and the valve control command will be executed.
3).
“Water meter parameters”, preset water meter parameters, including meter type, measurement mode, pulse
constant, maximum measurement value, current cumulative flow.
4).
“Meter number”,it’s automatically increased by 1 when it is turned on, and it’s automatically increased by
1 based on the success of the previous setting.
5).
“DeviceEui”, the DeviceEui of the water meter to be tested, scan the QR code label of the water meter with
the scanner to quickly obtain the DeviceEui of the water meter.
6).
Network access parameters: preset DeviceEui, APPEUI, APPKEY of sample meter. Among them, check
"AppKEY transmitted or not", you can set DeviceEui, APPEUI, APPKEY, and if you don’t transmit
AppKEY, you can only set DeviceEui.
7).
Valve and frequency deviation parameters: preset the valve type and frequency deviation of the sample
meter. Check the "valve and frequency deviation parameters" to set the sample meter frequency deviation
and valve type, and if you don’t select valve and frequency deviation parameters" , the valve type and
frequency deviation parameters have been set at the factory, so there is no need to set under the normal
condition.
8).
Timing time setting: the time of the entire setting process after clicking the "Set" button.
9).
After setting and presetting the parameters, click the "Setting" button to start the countdown. If the setting
is completed within 60 seconds, it will proceed to the next test. If the setting is not completed, the prompt
"Failure, detection timeout" will be output on the right.
10).
Real-time display of setting parameters and test results.

HAC-MLW Metering Module User Manual V1.0
P14
It’s shown as below.
7.2.8
Interface -【Data Statistics】
After the test is passed, the last reported data will be recorded (the data will not be recorded when the test is
unqualified), and the recorded data will be generated into an Excel and stored in the "ExcelFile" file in the
installation directory.
It’s shown as below:

HAC-MLW Metering Module User Manual V1.0
P15
7.2.9
Interface-【Running Meter Test】
Real-time display of data in the process of setting parameters, and supports valve control.
1).
Valve control: fill in the DeviceEui number, click the button “valve open” or “valve close” , and then use a
magnet to trigger the water meter to report data to achieve valve control.
2).
Clear the data: click the button "Clear the Data" to clear the data displayed in the list.
It’s shown as below:
8.
Production Test Flow
8.1
Wireless communication mode
8.1.1
The production setting steps can be referred as below:
1). Check "Use remote" and "Base meter with valve".
2).
Preset the parameters of meter.
3).
Use the scanner to scan the QR code label of meter to obtain DeviceEui, or manually enter it.
4).
After clicking "Setting", the meter will be triggered to report data and start production test. After the
production test is completed, the corresponding prompted message will be output on the upper right. It’s
shown as below:

HAC-MLW Metering Module User Manual V1.0
P16
8.2.
Infrared communication method (the meter must support infrared communication)
8.2.1
The production setup steps are as follow:
1). Check "Use infrared communication".
2). Preset meter parameters
3).
Use the scanner to scan the QR code label of meter to obtain DeviceEui, or manually enter it.
4).
Align the infrared communication device vertically with the infrared transceiver diodes of meter, and the
distance between them is less than 8cm.
5).
After clicking "Setting", the meter will be triggered to report data and start production test. After the
production test is completed, the corresponding prompted message will be output on the upper right. It’s
shown as below:

HAC-MLW Metering Module User Manual V1.0
P17
8.3.
Precautions for production setup
1).
The magnet triggers hall components of meter module. The triggering time must be greater than 2S. If it’s
less than 2S, there is a possibility that the triggering of the data report will fail.
2).
DeviceEui is the only address for communication between meter and the supported software. The
DeviceEui entered by the supported software must be consistent with the DeviceEui of meter.
3).
When the meter is connected to the Internet (the red light is always on) or when re-transmitting, the
function of triggering “data report” is invalid.
4).
There is a fault flag in the data reported by the meter, and the parameters can be set only after the fault flag
is cleared.
5).
Infrared communication will affect the communication between the product and infrared tools under strong
light. It is necessary to avoid performing infrared communication under strong light.
6).
Use wireless communication to set the parameters, try to avoid multi-station simultaneous production
settings, and the production settings will interfere with each other. The more stations, the greater the
interference, and the greater the probability of parameter failure.
7).
When modifying APPKEY, the default value of APPEUI must be modified. The default value of APPEUI
is 4841434D4C570001.
9.
LoRaWAN Gateway Device Feature
9.1.Electrical characteristics
No.
Function
Function Description
1
Working voltage
PoE IEEE 802.3af Class A, 24V;DC 12~24V
2
Working frequency
It’s compatible with LoRaWAN® (433~510MHz or 863~928MHz ,
which is optional)
3
Max transmitting power
27±1dBm (It conforms with the power limitation requirements of
different areas in the LoRaWAN protocol)

HAC-MLW Metering Module User Manual V1.0
P18
4
Receiving sensitivity
<-142.5dBm
5
Standby current
≤30mA
6
Working current
≤350mA( which is related to the transmitting power )
7
Average power
consumption
≤5W
8
Working temperature
-40℃~+80℃
9
Dimension
213*194*60 mm
10
Net weight
3KG
9.2.
Functional characteristics
1).
Support LoRaWAN® network.
2).
8 LoRa receiving channels, 1 transmitting channel, of which 8 receiving channels receive data at the same
time.
3).
The maximum line of sight communication distance between gateway and module is 15km.
4). Built-in GNSS synchronization position coordinate information.
5). Support Ethernet and 4G LTE data backhaul links.6).
Robust shell, waterproof IP65 ,
7).Working temperature: -40 ℃~ +80 ℃, which is suitable for the outdoor environment.

HAC-MLW Metering Module User Manual V1.0
P19
9.3.
LoRaWAN Gateway Structure and Interface Definition
9.3.1.
Gateway Structure Dimension
9.3.2.
External Interface Definition
No.
Interface/Button
Description
1
LAN POE
24V/1A POE power input
2
POWER
DC power input 12~24V
3
WiFi antenna interface
Connect WiFi_2.4G antenna
4
4G antenna interface
Connect 4G antenna
5
LoRa antenna interface
Connect LoRa antenna
6
GPS receiving antenna
GPS receiving antenna
Table of contents
Other HAC Wireless Module manuals