Milesight UC50 Series Manuale utente

LoRaWAN®Controller
UC50x Series
User Guide

2
Safety Precautions
Milesight will not shoulder responsibility for any loss or damage resulting from not following the
instructions of this operating guide.
The device must not be remodeled in any way.
Do not place the device close to objects with naked flames.
Do not place the device where the temperature is below/above the operating range.
Make sure electronic components do not drop out of the enclosure while opening.
When installing the battery, please install it accurately, and do not install the reverse or
wrong model.
Make sure both batteries are newest when install, or battery life will be reduced.
The device must never be subjected to shocks or impacts.
Declaration of Conformity
UC50x series is in conformity with the essential requirements and other relevant provisions of
the CE, FCC, and RoHS.
Copyright © 2011-2022 Milesight. All rights reserved.
All information in this guide is protected by copyright law. Whereby, no organization or individual
shall copy or reproduce the whole or part of this user guide by any means without written
authorization from Xiamen Milesight IoT Co., Ltd.
For assistance, please contact
Milesight technical support:
Email: iot.support@milesight.com
Tel: 86-592-5085280
Fax: 86-592-5023065
Address: Building C09, Software Park III,
Xiamen 361024, China
Revision History
Date
Doc Version
Description
Jan. 20, 2021
V 1.0
Initial version
Nov.26, 2021
V 1.1
Description Update
Dec. 9, 2021
V 2.0
Update based on 2.0 hardware

3
Contents
1. Product Introduction.................................................................................................................................4
1.1 Overview........................................................................................................................................... 4
1.2 Features............................................................................................................................................4
2. Hardware Introduction..............................................................................................................................4
2.1 Packing List......................................................................................................................................4
2.2 Hardware Overview.........................................................................................................................5
2.3 Internal Interfaces...........................................................................................................................6
2.4 Dimensions...................................................................................................................................... 7
3. Hardware Switch....................................................................................................................................... 7
4. Operation Guide.........................................................................................................................................7
4.1 Log in the ToolBox.......................................................................................................................... 7
4.1.1 NFC Configuration...............................................................................................................8
4.1.2 USB Configuration............................................................................................................... 8
4.2 LoRaWAN Settings..........................................................................................................................9
4.3 Interface Settings..........................................................................................................................12
4.3.1 RS485 Settings...................................................................................................................13
4.3.2 RS232 Settings...................................................................................................................16
4.3.3 GPIO Settings..................................................................................................................... 16
4.3.4 AI Settings...........................................................................................................................18
4.4 Maintenance.................................................................................................................................. 20
4.4.1 Upgrade...............................................................................................................................20
4.4.2 Backup.................................................................................................................................21
4.4.3 Reset to Factory Default...................................................................................................22
5. Installation................................................................................................................................................23
6. Milesight IoT Cloud Management........................................................................................................ 24
7. Device Payload........................................................................................................................................ 25

4
1. Product Introduction
1.1 Overview
UC50x series is a LoRaWAN®controller used for data acquisition from multiple sensors. It
contains different I/O interfaces such as analog inputs, digital inputs, digital outputs, serial ports
and so on, which simplify the deployment and replacement of LoRaWAN®networks.
UC50x series can be easily and quickly configured by NFC or wired USB port. For outdoor
applications, it provides solar or built-in battery power supply and is equipped with IP67-rated
enclosure and M12 connectors to protect itself from water and dust in harsh environments.
1.2 Features
Easy to connect with multiple wired sensors through GPIO/AI/RS232/RS485 interfaces
Long transmission distance up to 15 km with line of sight
Waterproof design including IP67 case and M12 connectors
Solar powered and built-in battery optional
Quick wireless configuration via NFC
Compliant with standard LoRaWAN®gateways and network servers
Quick and easy management with Milesight IoT Cloud solution
2. Hardware Introduction
2.1 Packing List
1 × Fixing Screw
1 × Quick Guide
1 × Warranty Card
1 × Solar Panel Kit
(Optional for UC501)
If any of the above items is missing or damaged, please contact your sales Representative.
1 × UC50x Device
2 × Data Cables
(30 cm)
1 × Mounting
Bracket
4 × Wall
Mounting Kits
2 × Hose Clamps

5
2.2 Hardware Overview
UC501 UC502
Data Interface 1:
Pin
Description
1
5V/9V/12V OUT (Switchable)
2
3.3V OUT
3
GND
4
Analog Input 1
5
Analog Input 2
6
5-24V DC IN (UC501 Only)
Data Interface 2:
Pin
Description
1
5V/9V/12V OUT (Switchable)
2
3.3V OUT
3
GND
4
GPIO1
5
GPIO2
6
RS232/RS485 (Switchable)
7
8
Reserved
Pin
RS232
RS485
6
TXD
A
7
RXD
B

6
2.3 Internal Interfaces
DIP Switch:
Interface
DIP Switch
Power Output
12V: 1 on 2 off 3 off
9V: 1 off 2 on 3 off
5V: 1 of 2 off 3 on
Analog Input
4-20mA ADC: 1 off 2 on 3 on
0-10V ADC: 1 on 2 off 3 off
RS485
Add 120 Ω resistor between A and B: 1 on 2 off 3 off
Add 1k Ω pull-up resistor on A: 1 off 2 on 3 off
Add 1k Ω pull-down resistor on B: 1 of 2 off 3 on
Note:
1) Analog inputs are set to 4-20mA by default, power outputs are set to 12V by default.
2) Power output on interface 1 is used for powering serial port devices, power output on
interface 2 is used for powering analog devices.
Power Button:
Function
Action
LED Indication
Turn On
Press and hold the button for more than 3s.
Off →
Turn Off
Press and hold the button for more than 3s.
→Off
Reset
Press and hold the button for more than 10s.
Blinks.
Check
On/Off Status
Quickly press the power button.
: Device is on.
Light Off: Device is off.

7
2.4 Dimensions (mm)
3. Hardware Switch
When using the analog input or power output of UC50x series, please follow the steps to switch
the working mode of hardware interface:
1. Remove the screw caps and take off the roof cover.
2. Change DIP switches that are related analog inputs and power outputs as shown in Section
2.3.
3. Put back the roof cover and screw the screws.
Note: turn off the device before changing DIP switches.
4. Operation Guide
4.1 Log in the ToolBox
UC50x series can be configured via NFC or Type-C port. Please select one of them to complete
configuration.

8
4.1.1 NFC Configuration
1. Download and install “Milesight ToolBox” App from Google Play or Apple App Store.
2. Enable NFC on the smart phone and launch Milesight ToolBox.
3. Attach the smart phone with NFC area to the device to read device information.
4. Basic information and settings of the device will be shown on ToolBox App if it’s recognized
successfully. You can read and configure the device by tapping the Read/Write device on the
App. In order to protect the security of the device, password validation is required when first
configuration. The default password is 123456.
Note:
1) Ensure the location of smart phone NFC area and it’s recommended to take off phone case.
2) If the smart phone fails to read/write configurations via NFC, keep the phone away and back
to try again.
3) UC50x series can also be configured by dedicated NFC reader, which can be purchased from
Milesight IoT.
4.1.2 USB Configuration
1. Download ToolBox software from Milesight IoT website.
2. Open the case of UC50x and connect the UC50x to computer via type-C port.
3. Open the ToolBox and select type as “General”, then click password to log in ToolBox.
(Default password: 123456)

9
4. After logging in the ToolBox, you can click “Power On” or “Power Off” to turn on/off device
and change other settings.
4.2 LoRaWAN Settings
LoRaWAN settings is used for configuring the transmission parameters in LoRaWAN®network.
Basic LoRaWAN Settings:
Go to “LoRaWAN -> Basic” of ToolBox software or “Setting -> LoRaWAN Settings” for ToolBox
App to configure join type, App EUI, App Key and other information. You can also keep all
settings by default.

10
Parameters
Description
Device EUI
Unique ID of the device which can also be found on the label.
App EUI
Default App EUI is 24E124C0002A0001.
Application Port
The port used for sending and receiving data, default port is 85.
Note: RS232 data will be transmitted via another port.
Working Mode
UC501: Class A and Class C are available;
UC502: Class A.
Join Type
OTAA and ABP mode are available.
Application Key
Appkey for OTAA mode, default is 5572404C696E6B4C6F52613230313823.
Device Address
DevAddr for ABP mode, default is the 5th to 12th digits of SN.
Network Session
Key
Nwkskey for ABP mode, default is 5572404C696E6B4C6F52613230313823.
Application
Session Key
Appskey for ABP mode, default is 5572404C696E6B4C6F52613230313823.
Spread Factor
If ADR is disabled, the device will send data via this spread factor.
Confirmed Mode
If the device does not receive ACK packet from network server, it will resend
data 3 times at most.
Rejoin Mode
Reporting interval ≤ 30 mins: the device will send specific mounts of
LoRaMAC packets to check connection status every 30 mins; If no reply after
specific packets, the device will re-join.
Reporting interval > 30 mins: the device will send specific mounts of
LoRaMAC packets every to check connection status every reporting interval;
If no reply after specific packets, the device will re-join.
Altri manuali per UC50 Series
3
Questo manuale è adatto per i seguenti modelli
4
Indice
Altri manuali Milesight Controllori

Milesight
Milesight UC50 Series Manuale utente

Milesight
Milesight UC50 Series Manuale utente

Milesight
Milesight UC300 Manuale utente

Milesight
Milesight WS558 Manuale utente

Milesight
Milesight UC11 Series Manuale utente

Milesight
Milesight UC300 Manuale utente

Milesight
Milesight UC500 Series Manuale utente

Milesight
Milesight UC51 Series Manuale utente

Milesight
Milesight UC100-868M Manuale utente

Milesight
Milesight UC51 Series Manuale utente
























