King Pigeon S281 User manual

2
GSM/GPRS/3G/4G/Ethernet/Cloud
LoRa Gateway
【
F
o
r
e
w
o
r
d
】
Thank you for using the S281 LoRa wireless data acquisition module of Shenzhen King Pigeon Hi-Tech Co., Ltd.
Read this product user manual to help you to know the function and usage of this product quickly.
【Copyright Notice】
All rights reserved belongs to Shenzhen King Pigeon Hi-Tech Co., Ltd, No company or individual has the right to
copy, duplicate or transmit any parts of this manual in any forms. Otherwise Shenzhen king Pigeon Hi-tech.,Ltd will
reserve the right of legal responsibility.
【Disclaimer】
This product is mainly used for wireless data transmission application based on LoRa technology. Please follow the
parameters and technical specifications provided in the manual,and pay attention to the precautions when using the
product.The Company shall not bear any property or personal injury caused by the improper use or improper use of
this product.
【Document Revision Record】
Update date
Version
Description
2019.06.29
V1.00
1st Version

3
GSM/GPRS/3G/4G/Ethernet/Cloud
LoRa Gateway
Table of Contents
1.Brief Introduction......................................................................................................................................................................................4
1.1 Overview............................................................................................................................................................................................ 4
1.2 Typical Application............................................................................................................................................................................. 5
1.3 Packing List ....................................................................................................................................................................................... 6
1.4 Features..............................................................................................................................................................................................8
1.5 Gateway Technical Parameter............................................................................................................................................................9
2.Hardware illustration.............................................................................................................................................................................. 10
2.1 ID...................................................................................................................................................................................................... 11
2.2 LED Indicator.................................................................................................................................................................................... 12
2.3 Interface Definition.......................................................................................................................................................................... 12
2.4 Installation........................................................................................................................................................................................13
3.Configuration...........................................................................................................................................................................................14
3.1 Before Configuration........................................................................................................................................................................ 14
3.2 Basic Setting..................................................................................................................................................................................... 16
3.3 Alarm Numbers Setting.................................................................................................................................................................... 18
3.4 Timer Setting.................................................................................................................................................................................... 18
3.5 Cellular Network Setting.................................................................................................................................................................. 19
3.6 Ethernet Setting............................................................................................................................................................................... 20
3.7 Add slave device...............................................................................................................................................................................23
3.7.1 Slave device spec..........................................................................................................................................................................23
3.8 Manage slave device........................................................................................................................................................................ 29
3.9 History Record..................................................................................................................................................................................29
3.10 Alarm Record..................................................................................................................................................................................30
4. Upgrade Firmware..................................................................................................................................................................................31
5. Warranty Terms...................................................................................................................................................................................... 31
6. Technical Support................................................................................................................................................................................... 31
Appendix A SMS Command....................................................................................................................................................................... 31
Appendix B Modbus Register Address....................................................................................................................................................... 36
Appendix C Communication Protocol........................................................................................................................................................ 36
1.Modbus RTU Protocol......................................................................................................................................................................... 37
2.Modbus TCP Protocol..........................................................................................................................................................................37

4
GSM/GPRS/3G/4G/Ethernet/Cloud
LoRa Gateway
1.Brief Introduction
1.1
Overview
S281 is wireless data ,wireless temperature and humidity acquisition &alarm system. It is based on LoRa radio, mainly used
for multi-point and long-distance distributed temperature and humidity acquisition and transparent transmission from
equipment to cloud platform. LoRa modulation technology is adopted to realize on-site distributed multi-point IO
equipment monitoring and temperature &humidity collection. Communication distance can be up to 1km.Built-in LoRa
SX1278 chip, GSM/GPRS/3G/4G/RJ45 module, S281 can transfer sensor, PLC, smart meter and other data via wireless RF,and
then through SMS/2G/3G/4G/Ethernet Send it to the cloud platform or mobile phone to realize remote monitoring and
control, and solve the problem of on-site wiring.
This system includes LoRa gateway and LoRa slave device.LoRa slave devices connect sensors,PLC and other devices,and
transfer data to cloud,phone App via RF.It realizes the dual communication between cloud and PLC or other devices.When
slave device acquires temperature&humidity data,alarm values can be set by gateway to realize SMS alarm.
S281 System Topology
Gateway
S281

5
GSM/GPRS/3G/4G/Ethernet/Cloud
LoRa Gateway
1.2 Typical Application
Smart agricultural temperature and humidity data acquisition and monitoring.
Smart breeding temperature and humidity data acquisition and monitoring.
Smart factory temperature and humidity acquisition and monitoring.
Other distributed monitoring points.
ATM、POS、PLC、DAQ and other devices’ data transmission.
Smart grid data transmission.
Smart traffic data transmission.
Industrial automation data transmission.
Environmental protection data transmission.
Meteorological station Data acquisition and monitoring.
Data transfer of agriculture, water, coal mines, etc.
Smart agriculture, smart fire protection, smart city, intelligent building control and other places.
Other situations where temperature, humidity, and data interaction need to be monitored.

6
GSM/GPRS/3G/4G/Ethernet/Cloud
LoRa Gateway
1.3 Packing List
Before install and use S281,pls confirm the contents in box:
1)S281 gateway

7
GSM/GPRS/3G/4G/Ethernet/Cloud
LoRa Gateway
2)3.5mm female jack
3)MINI USB cable
4)Adaptor(12VDC-2A,EU/US/UK/AU Plug optional)
5)LoRa Antenna(433MHz)
6)2G/3G/4G SMA Cellular Antenna

8
GSM/GPRS/3G/4G/Ethernet/Cloud
LoRa Gateway
Remark:If anything above missing,pls contact King Pigeon sales.
Optional accessories:35mm DIN X2
1.4Features
Embedded ARM® CortexTM-M4 32-bit RISC core real-time operating system, software watchdog and hardware watchdog to
prevent false downtime.
Wide working voltage design,gateway support 9~36VDC power supply, LoRa sensor support 3.3-24V power supply and with
wrong wiring protection design.
Modular structure design, GSM/3G/4G network upgrade can be upgraded by simply replacing the module.
Support remote SMS restart device and configure device parameter.
Through local configuration software, remote SMS, APP to set parameters, easy to operate, easy to use.
Support 10 user numbers for receiving specific SMS alarm information of device daily report, drop line, serial port data
overrun, and abnormal trigger.
Built-in powerful timer function, support timely automatic report, timely SMS daily report, timely online, timely restart and
other functions.
Modbus TCP protocol and Modbus RTU protocol are compatible with transparent transmission.
Ethernet transformer isolator, 2KV electromagnetic isolation, housing isolation protection.
Time-division multiplexing, multichannel mounting, less interference, more mounting nodes, and up to 100 temperature and
humidity collection points.
Real-time monitoring of slave device battery power to ensure that device data is not dropped.

9
GSM/GPRS/3G/4G/Ethernet/Cloud
LoRa Gateway
1.5Gateway Technical Parameter
Item
Parameter
Description
Power
Working Voltage
9~36V DC
Power
Consumption
Normal:130mA@12V,Max:150mA@12V
Power Protection
Anti wrong wiring,air ESD:15KV,surge:4KV
Built-in Lithium
Battery
3.7V/900mAh,standby time 1-2hrs
USB
USB
1 x mini USB
Network Port
Port Type
1 x RJ45,10/100Mbps
Port Protection
ESD:8KV, surge:4KV(10/1000us)
LoRa
Parameter
Communication
Frequency
420HMz-450MHz(can customize 868MHz and 915MHz)
Indoor
Communication
Distance
1km
No Obstacle
Communication
Distance
2km
Transmit Power
<24dBm
Receiving
Sensitivity
<-120dBm
Communication
Speed
1.0Kbps
Cellular
Network
2G
GSM/EDGE:850,900,1800,1900MHz
3G
GSM/EDGE:850,900,1800,1900MHz
UMTS:850/900/2100MHz
4G(E)
GSM/EDGE:900/1800MHz
WCDMA:B1,B5,B8
FDD:B1,B3,B5,B7,B8,B20
TDD:B38,B40,B41
4G(AU)
GSM/EDGE:850/900/1800MHz
WCDMA:B1,B2,B5,B8
FDD:B1,B2,B3,B4,B5,B7,B8,B28
TDD:B40
4G(A)
WCDMA:B2,B4,B5
FDD:B2,B4,B12
4G(V)
FDD:B4,B13
4G(J)
WCDMA:B1,B3,B8,B18,B19,B26
FDD:B2,B4,B12
TDD: B41
4G(CE)
GSM/EDGE: 900/1800MHz
WCDMA:B1,B8
TD-SCDMA:B34,B39
FDD:B1,B3,B8
TDD:B38,B39,B40,B41
SIM/UIM Card
Support 1.8V/3V SIM/UIM,inbuilt 15KV ESD protection
Software
Parameter
Protocol
IPV4、TCP/UDP、DHCP、DNS、Modbus RTU、Modbus TCP
LED Indicator
Cellular network signal,status,Ethernet,LoRa RF
User
Configuration
PC software configuration,support WIN XP、WIN 7、WIN
8,WIN 10
Number of
supported nodes
Max 200

10
GSM/GPRS/3G/4G/Ethernet/Cloud
LoRa Gateway
transparent
transmission
Support
Modbus Protocol
Support Modbus RTU/Modbus TCP
Log in message
Support customized log in message
Heartbeat
message
Support customized Heartbeat message
Memory
Max can save 2000 history records and 500 alarms
Certificates
MTBF
≥100,000hrs
EMC
EN 55022: 2006/A1: 2007 (CE &RE) Class B
IEC 61000-4-2 (ESD) Level 4
IEC 61000-4-3 (RS) Level 4
IEC 61000-4-4 (EFT) Level 4
IEC 61000-4-5 (Surge)Level 3
IEC 61000-4-6 (CS)Level 4
IEC 61000-4-8 (M/S) Level 4
Others
CE/FCC/ROHS/3C
Environment
Working
Temperature
&Humidity
-45~85℃, 5~95% RH
Store
Temperature
&Humidity
-45~105℃, 5~95% RH
Others
Enclosure
Metal
Size
8.8cm×7.5cm×3.0cm(L*W*H)
IP Level
IP30
NW
235g
Installation
Wall-mounted, rail-mounted
2.1
Hardware Illustration
Front Left side Right side

11
GSM/GPRS/3G/4G/Ethernet/Cloud
LoRa Gateway
Bottom
2.2 LED Indicator
LED Indicator
Name
Color
Status
Description
Red
Fast flashing
2G:No signal(off 0.8s,on
0.2s)
3G/4G: No signal(off 2S,on
0.2s)
Slow
flashing
2G: Normal(off 2S,on 0.2s);
3G/4G:Normal(off 0.2S,on
2s);
OFF
Device issue
Status
Red
Constantly
bright
External power supply is
normal
OFF
External power supply off
Ethernet
Red
Flashing
Data in transmission
OFF
No data transmission
RF
Red
Flashing
LoRa RF data in transmission
OFF
LoRa RF data in transmission
Up
Up

12
GSM/GPRS/3G/4G/Ethernet/Cloud
LoRa Gateway
2.3 Interface Definition
2.3.1 Power Input
2.3.2 Ethernet Interface Definition
2.3.3 USB Port
Mini USB connect S281and PC,set S281configuration,also can update firmware.
Power Input
Item
Symbol
Description
1
+
Power input
positive
2
-
Power input
negative
Network Port Description
Item
568B
Definition
Description
1
Orange
white
TX+
Send
positive
2
Orange
TX-
Send
negative
3
Green
white
RX+
Receive
positive
4
Blue
Data+
Dual channel
data +
5
Blue
white
Data-
Dual channel
data-
6
Green
RX-
Receive
negative
7
Brown
white
Data+
Dual channel
data +
8
Brown
Data-
Dual channel
data-
1
RJ45 mini USB
Power input
2

13
GSM/GPRS/3G/4G/Ethernet/Cloud
LoRa Gateway
2.3.4 SIM card
S281support standard 1.8V/3V SIM card
2.3.5 Antenna Interface
S281 has 1* LoRa antenna interface and 1*GSM/3G/4G antenna interface
2.4 Installation
S281 supports flat desktop placement, wall mounting and rail mounting.
Connect LoRa antenna
Connect GSM/3G/4Gantenna

14
GSM/GPRS/3G/4G/Ethernet/Cloud
LoRa Gateway
2.4.1 Wall Mounting
2.4.2 Rail Mounting
Buckle installation
3.Parameter configuration
S281 software is with a very user-friendly UI design.User can connects the S281 gateway (hereinafter referred to as "gateway")
through the USB cable to configure related content, export and load configuration files or firmware upgrade.
3.1 Before Configuration
3.1.1 Install Driver
Skip this step if it is already installed.
Method 1) Download the configuration software and driver files of S281 from the official website of King
Pigeon(WWW.4G-IOT.COM), then release the file and install,
Method 2) Download the universal driver, install it on the computer, and then scan the hardware to install the driver.
Rail mounting

15
GSM/GPRS/3G/4G/Ethernet/Cloud
LoRa Gateway
3.1.2 Find Com Port
Right mouse click [My Computer] and click "Properties > Device Manager > Port". If the connection is normal and the
driver is installed properly, the following is displayed (the local port number is COM3):
Tips: In some computer, if install the USB driver with problem, please try to get technical supports from technical support page
of http://www.silabs.com directly.
3.1.3 Log in Configuration Software
Click Enter this page :

16
GSM/GPRS/3G/4G/Ethernet/Cloud
LoRa Gateway
Select connected com port, ,COM3,click open com button ,Then click the password (the initial
password is 1234).If the device is successfully connected, the left bottom will turn green and show “connect successfully”. If the
connection is not successful, please verify that the USB connection is good. If the password is incorrectly verified, please check
the port number and password.
3.2 Basic setting
Original password:default password is 1234. It is recommended to read the current configuration information before
configuring the parameters, that is, click and then configure it.
◆Gateway Device ID: The device ID is mainly used to identify the gateway in the monitoring center. Can be freely defined, the
range: 0-65536. If the device uses the Modbus protocol, the ID range is fixed at: 1-247, pls note when set.
◆Gateway Device Description: It is description of the master, such as: installation address, instructions for use, etc.
Read current time of gateway device
Write the current time of the computer to the master, then the device will run according to this time
Input new password and save gateway settings.
◆Read Gateway Device Version :click “Device Version”,then can read device model No, version number, IMEI, and
GSM signal values

17
GSM/GPRS/3G/4G/Ethernet/Cloud
LoRa Gateway
The device model number and version number are product default information.
◆IMEI:Device identification,every device has only 1 IMEI.
◆GSM Value:The signal strength of the GSM/3G/4G network ranges from 0 to 31. If the reading is always zero, please verify
that the SIM installation is secure and if the SIM card charge is overdue.
Range: 0~999, unit: minute,if set to 0, immediately report when power is off. Default: Immediate alarm when power is
lost.
Notice:
The SMS report is reported periodically, and the time point of the SMS report is based on the time set when the device is turned on.
The format of daily /periodically SMS report.
Notice:
After setting , please click the “Write Gateway Parameters” button above to save the set value.

18
GSM/GPRS/3G/4G/Ethernet/Cloud
LoRa Gateway
3.3 Alarm Numbers Setting
Alarm Tel Numbers: Set the alarm receiver numbers, please includes the country code, e.g. in China is 0086, so input
8613570810254 neither +8613570810254 nor 008613570810254. Also, some GSM/3G Operators not required input
country code, so please remove country code, e.g. in China is 0086, and China Mobile not required country code, so can
set as 13570810254.
Timer Report: Tick it stands for Timer report SMS will send to this number.
Alarm/Alarm Recovery: Tick it stands for while alarm or recovery, will send SMS to this number.
External Power ON/OFF: Tick it stands for while external DC Power loss will send SMS to this number.
GPRS Failure: Tick it stands for while GPRS/3G/4G connection re-try 3 times and still failure will send SMS to this
number.
Low GSM Signal: Tick it stands for while GSM or 3G/4G Network signal strength lower than 14 will send SMS to this
number.
Notice:
After setting , please click the “Save Gateway Parameters” button above to save the set value.
3.4 Timer setting
This interface is to perform the corresponding operation at a specific time point. A total of 10 timed events can be set.

19
GSM/GPRS/3G/4G/Ethernet/Cloud
LoRa Gateway
◆Week: Set Monday to Sunday or every day.
◆Action:The specific action that is performed at the set time.
Notice:
After setting , please click the “Write Gateway Parameters” button above to save the set value.
3.5 Cellular Network Setting
This Page is for set the Cellular communication parameters, Cellular network Transmit data protocol and Server
information. Only when you have Server or need to use cellular network to transmit data then to set these parameters.
Cellular Network Access Network Configuration:

20
GSM/GPRS/3G/4G/Ethernet/Cloud
LoRa Gateway
Communication option: 0 Prohibited: (Disable cellular network)
1 Enable: (Enable cellular network)
Enable cellular network, Modbus TCP and Modbus RTU, transparent transmission can be used at the same time.
APN(Access Point Name), user name, user password: SIM card Internet access parameters, if the customer SIM can not
access the Internet, you can consult the local network operator, fill in the corresponding parameters
Protocol:TCP/UDP
Connect Target Server
:
Server domain or IP:Pls fill in domain or IP
Server port:The target server monitoring port.
The cellular network transmits data to the server: you can fill in server info to read the data. You can also access the King
Pigeon Cloud V3.0 platform (www.kpiiot.com). When connecting to our platform, the configuration are as follows. Domain
name: modbusrtu.kprtu.com Port: 4000.
Data transmission specification configuration
:
Heartbeat Interval Time: The period time of the device sends data to the master when the user adopts
self-defined protocol. Range: 0-65535, unit: second, default: 60
Idle Offline Re-connection Time: The device go online again after dropped. Range: 0-65535, unit: second,
default: 60.
Re-connection times if no response : Reconnect after the device dropped, limited the times of the server
Connecting. If it is not connected to the server within the limited times,the cellular network module will
automatically restart.
Login Message: The device ID sent by the device to the server to confirm the device information. If you want to
access King pigeon Cloud V3.0 platform (www.KPIIOT.com), please contact King pigeon to get a registration
code.
Login ACK Message: Confirmation data that the server feeds back to the device.
Logout Message: A confirmation online data sent by the device to the server.
HeartbeatMessage :self-defined command word that periodically notifies the other par
ty's own state between the client and the server, and sends it at a certain interval.
Heartbeat ACK Message: Heartbeat response message.
Login Message Strategy: registration package sending method.
Data transmission: The user needs to fill in the contents of the Login Message,Login ACK Message,registration response
packet, heartbeat packet, heartbeat response packet, and offline packet according to the cloud platform data transmission
rule used. KingPigeon KPIIOT cloud platform can be used simply by filling in the registration package and heartbeat package,
and the registration policy is sent once at startup.
Tips:
After setting, please click the “Save gateway Setting” button above to save the set value.
3.6 Ethernet Setting
Table of contents
Other King Pigeon Gateway manuals