Contents 1. Preface.............................................................................................................................................3 2. Introduction.................................................................................................................................... 3 2.1 Features................................................................................................................................. 3 2.2 Parameters..........................................
1. Preface Thank you for choosing Ursalink UC1122 LoRa Remote I/O. This user guide will present in detail all the functions and features of the product. Ursalink UC1122 is designed for both industrial and commercial applications. The product should be used under the guidance of this user guide, referring to parameters and technical specifications.
2.
3. Installation 3.1 Environment Due to the product properties of Ursalink UC1122, we STRONGLY advise that it should not be installed in proximity to a variable speed drive or with any other electrically noisy equipment. DO NOT install the Ursalink UC1122 into a metal enclosure unless an antenna is mounted on the outside of the enclosure. 3.2 Power Supply The Ursalink UC1122 features a 2 pin 3.5mm terminal block where a power supply can be connected.
3.3 Micro USB Port The Ursalink UC1122 provides a micro USB port to connect to a PC via USB cable, which allows the PC to configure the unit. 3.4 Terminal Description 1 [DC 5-24V] Terminal Description VIN Positive terminal of the DC power supply (+) GND Negative terminal of the DC power supply (-) 2 [Analog Input] 4-20 mA 3 [Digital Input] Opto-isolated depending on voltage DC Voltage (3-24V) 4 [Digital Output] Driving relay to connect NC or NO 3.
3.6 Digital Input When the input is triggered either as high or low, the Ursalink UC1122 will take action if you have pre-configured related commands. Terminal "IN" is internally pulled high. Leaving the connection open or connecting it to "0 -1 V"will indicate an "Input-De-activate" state. When terminal "IN" is connected to "3-24 V", it will indicate an "Input-Activate" state. Trigger voltage: Minimum = 3 VDC, Maximum = 24 VDC. 3.
When the output is off, the COM and N/C terminals will be internally connected to each other. Here is a schematic of the output circuit: When the output is on, the COM and N/O terminals will be internally connected to each other.
4. Configuration 4.1 Configuration via PC Follow these steps: Step 1: Connect UC1122 to PC via the micro USB cable. Step 2: Power on UC1122. Step 3: Run the Ursalink ToolBox. The software will display this interface when getting started. Here you can create a new setup, import an existing setup from your PC, or retrieve the current setup from the Ursalink UC1122.
4.1.1 Serial Port Settings When the Ursalink ToolBox displays: Connecting to device, please wait... You can click Serial Port Settings to set the correct serial port parameters.
Serial Port Settings Item Description Default Serial Port Select the serial port for data transmission. Null Login Password Enter the login password. 123456 Baud Rate Select from "9600", "57600", "115200". 115200 Data Bits Select from "5", "7", "8". 8 Parity Bits Select from "Even", "Odd", "None". None Stop Bits Select from "1", "2". 1 If both the serial port parameters and the login password are correct, it will display: Serial port is connected. 4.
Status Item Local Time Join Status RSSI/SNR Channel Rx2DR Analog1 Analog2 Input Output Uplink Frame-counter Downlink Frame-counter Description Show the time of the device. Show if the device joined the network successfully. The "Activate" means the device has joined the network. Show the RSSI/SNR of received packet. Show the the channel currently used by the device to send packets. Show the RX2 datarate which used for the RX2 receive-window. Show the value of the Analog Input1.
Basic Setting Item Description Set the regular report interval. The device will send the I/O status/value and signal strength to the user-built server regularly. The interval range is 1-3600 seconds. Default Data Polling Interval The interval of reading data from analog input. 360 Change Password Click to change password. Null Old Password Enter the old password. Null New Password Enter the new password. Null Confirm Password Enter the new password again.
Ov = [(Osh - Osl) * (Iv - Isl) / (Ish - Isl)] + Osl This can be rewritten as: Ov = [(Osh - Osl)/(lsh - lsl)/(lsh - lsl)] + Osl 4.4 LoRaWAN 4.4.1 Basic Basic Settings Item Device EUI Description Enter the identifier of the gateway.
App EUI An AppEUI that will be attached to received packets and a Join EUI. 24e124c0002 a0002 Application Port The port used by the device to send and receive data. 85 Join Type Select from: "OTAA" and "ABP". OTAA:Over-the-Air Activation. For over-the-air activation, end-devices must follow a join procedure prior to participating in data exchanges with the network server. An end-device has to go through a new join procedure every time it has lost the session context information.
OTAA Settings Item Application Key Description Enter the application key. Whenever an end-device joins a network via over-the-air activation, the application key is used for derive the Application Session key.
device. The AppSKey is an application session key specific for the end-device. It is used by both the application server and the end-device to encrypt and decrypt the payload field of application-specific data messages. 6b4c6f5261323 0313823 4.4.2 Channel On this page, you can view all the supported LoRa frequencies and setup the channel frequency used for receiving and sending data. Note: Make sure that you have configured the corresponding channel on the gateway. E.g. If you have configured a 923.
4.4.3 Advanced Advanced Settings Item Description ADR Mode: Adaptive Data Rate. Enabled: The Network Server will adjust the datarate by MAC command. ADR Mode Disabled: Whatever how the signal quality is, the Network Server will not adjust the datarate of UC1122. The TX (transmit power) setting is used to control TXPower the transmission power of the device. Join Delay1 Number of seconds before receive windows are opened for join.
Receive Delay2 Join Trials ReTx RX2 Datarate RX2 Channel Frequency ACK Timeout Duty Cycle Switch Duty Cycle Uplink Frame Counter Downlink Frame Counter The Join Accept Delay between the end of the Tx and the Join Rx Window 2. The maximum number of the device to resend the join request when the device failed to join the network. The maximum number of the device to resend the data packet if no ACK is received after the specified time.
Users cloud reset the a personalized end-device ma nually, then the frame counters on the end-device a nd the frame counters on the network server for th at end-device will be reset to 0. 4.5 Command 4.5.1 Read Command from Device Click "Command" to go to the configuration page. Ursalink ToolBox will read command from the connected device automatically. The whole process takes about 5 seconds. 4.5.2 Open a Command File You can import the existing command file from your PC with following steps. 1.
4.5.3 Save the Command to Device You can click "Save the Command to Device" to save the command having been configured on the Ursalink ToolBox. 4.5.4 Save the Command as File You can click "Save the Command as File" to save the command having been configured on the Ursalink ToolBox as a file and save it on your computer. 4.6 IF-THEN Behaviour Command The Ursalink UC1122 is running with a number of defined behaviour commands. Each command takes the form of an IF-THEN statement pair.
The user can also set the time from 00:00 to 23:59 on a certain day. 4.6.1.2 IF Received a Specific Message A command containing this IF condition will be triggered by certain message defined by users. 4.6.1.3 IF Digital Input A command containing this IF condition will be triggered if the selected digital input changed according to the specified option. The user can setup multiple combinations; however, digital input 1 be activated before action is taken.
to active, the command will be triggered. Also, it applies to the remaining options when the preset conditions are met. The user is also able to specify a "Continued time" for this command, which will not be triggered until it remains Active or Inactive longer than the time specified. Moreover, the user can specify a "Lockout time" for this command. After the command has been triggered, it will not be allowed to be triggered again until the time specified has elapsed.
Thus, if the user chooses , then as soon as the value of this analog input goes within the specified threshold, the statement will be triggered. If you select a "Lockout Time" of 10s, a "Continue Time" of 5s, and choose , the statement will be triggered as soon as the value of the selected analog input goes above 10, and remains above 10 for 5s.
The user can choose from the following actions: • Will be activated • Will be deactivated • Will follow the input: When the triggering condition is the input changes state, you can then select change state as the action. If the user has configured: ➢ "Delay Time", the selected output will be activated after the specified time. ➢ "Duration", the output will remain current status for a certain period of time. 4.6.2.
4.7 Upgrade Step 1: Connect UC1122 to PC via USB port. Step 2: Power on UC1122. Step 3: Run the Ursalink ToolBox and go to "Upgrade". Step 4: Click "Browse" and select the correct firmware file from the PC. Step 5: Click "Upgrade" and the device will check if the firmware file is correct. If it's correct, the firmware will be imported to the device, and the device will restart after upgrading is completed.
5. Application Examples 5.1 Periodic Status Report Configuration: Software: UC1122 will send a custom message at 8 a.m. every Monday. 5.2 Control Appliances 5.2.1 Control a Bulb by Sending a Message In this case we need to turn on or off a 220 V light bulb via a suitable LoRa message. Hardware: We connect light bulb to a 220V power source via the output 1 contact on UC1122.
Configuration: 5.2.
5.2.