background image

1

GSM/GPRS/3G/4G/NB-IoT

Sensor To Cloud

IoT Series

Sensor To Cloud

User Manual

Version

1.1

Model

IOT1xx

Date

2019-08-15

All rights reserved by

King Pigeon Hi-Tech. Co., Ltd.

WWW.GPRS-M2M.COM

Summary of Contents for IoT Series

Page 1: ...1 GSM GPRS 3G 4G NB IoT Sensor To Cloud IoT Series Sensor To Cloud User Manual Version 1 1 Model IOT1xx Date 2019 08 15 All rights reserved by King Pigeon Hi Tech Co Ltd WWW GPRS M2M COM ...

Page 2: ...the radio products especially GSM 3G 4G The company does not bear property or personal injury caused by improper use of the product Document revision record Date Version Revised instructions 2019 02 22 V1 0 The first version 2019 08 15 V1 1 Update model Device selection table Order Model I O type Communication Optional Communication Protocol Optional IOT100 RS485 Transparent Transmission 1 GSM GPR...

Page 3: ...atory Work 10 8 2 Configuration Software Functions Overview 11 8 3 Basic Settings 11 8 4 Number Settings 13 8 5 Network Settings 14 8 6 I O Settings 16 8 6 1 DO Digital Output Open Collector Settings 16 8 6 2 DIN Digital Input Settings 17 8 6 3 AIN Analog Input Settings 18 8 6 4 DS18B20 Temperature Settings 19 8 6 5 AM2301 Temperature Humidity Settings 20 8 6 6 RS485 Settings 21 8 7 Timer Settings...

Page 4: ...28 9 19 Reboot Device 29 9 20 Restore factory settings 29 9 21 Set device language 29 10 Transmission protocol 29 10 1 Modbus RTU protocol 29 10 1 1 Modbus address and example of DO types 29 10 1 2 Modbus address and example of DIN types 30 10 1 3 Modbus address and example of AIN types 31 10 1 4 Modbus address and example of DS18B20 types 31 10 1 5 Modbus address and example of AM2301 types 32 10...

Page 5: ...ose the waterproof plastic shell for industrial metal shell or outdoor use acting as a complete finished product connection sensor monitors data collection remote control and abnormal warning notifications through SMS phone network wechat web end and cloud platform It can also be used as a PCBA module embedded in a third party motherboard for secondary development to facilitate the traditional sen...

Page 6: ...configuration software cloud platform change the configuration and viewing real time data Supports 10 user numbers each of which can be set up separately to receive specific alarm messages and alarm calls Support 10 timer task Inbuilt inter lock logic programmer and powerful timer program function Supports 2 different server centers that can set IP addresses or domain names Support for Modbus RTU ...

Page 7: ...contact compatible wet contact 0 1V is close 2 30V is open AIN analog input 4 20mA or 0 5V AM2301 temperature and humidity input AM23001 temperature measuring range 40 to 80 C precision 0 5 C humidity measuring range 0 99 9 RH precision 3 RH DS18B20 temperature input DS18B20 temperature measurement range 55 to 125 C precision 0 5 C RS485 serial communication A single package transmitted through th...

Page 8: ...al input AIN analog input DS18B20 temperature input AM2301 temperature humidity input etc Was triggered Buzzers follow extinguished when recovery On when DO digital output type closed Off when DO open Blink when RS485 is transmitting data 6 2 Wiring instructions Metal shell labels Waterproof shell label Wiring instructions 7 24 VDC IN Red line DC7 24V positive entry Black line DC7 24V negative ent...

Page 9: ...ion and the side of the metal shell has an opening that can insert the card directly The waterproof shell needs to be opened to insert the card 7 Factory Data Reset Some methods to restore factory settings 1 connect the computer configuration software and reset it by the Reset button of the configuration software 2 remote reset by sending the message instruction password RESET if success to reset ...

Page 10: ...ware from the website WWW GPRS M2M COM and then unzip and run it 3 Insert the SIM card into the card seat of the device and ensure that the connection is reliable and install the antenna at the same time 4 To connect the power supply to the input port of the device pay attention to the positive and negative pole not to be connected reverse 5 Use the USB line to connect the device to the computer 6...

Page 11: ...usly saved configuration file parameters into the device you can quickly configure the device Export Save the edited parameter configuration to the computer configuration file for the next configuration Reset All parameters of the device will be restored to the factory default value after the factory is clicked Reboot Restart the device immediately after clicking 8 3 Basic Settings Work Mode 0 Nor...

Page 12: ...password is 1234 SIM Tel Number At most 22 bits Model Display the current device model and cannot be set Firmware Version Displays the firmware version of the current device and cannot be set IMEI The module IMEI code that displays the current device and cannot be set SIM ICCID Displays the SIM card ICCID code in the current device read empty without the card Signal Value To show the current devic...

Page 13: ...ened SMS Timer SMS If checked the number will receive timer SMS The timer SMS function is in the Timer Settings Low Signal SMS If checked when the device signal value is lower than 12 for more than 30 seconds a message will be sent to inform the number Networking Failure SMS If checked when the connection server fails the device will send a message to inform this number Alarm Call If checked the n...

Page 14: ...per item and the server address can be set up to 32 characters per item APN Username Password If the access parameters of the SIM card are not available consult the local operator for the relevant parameters MQTT Username Password Path MQTT protocol connection parameters When connecting to King Pigeon cloud platform the relevant parameters have been default Usernamer is MQTT password is MQTTPW To ...

Page 15: ... disconnect when it receives this data from the server Server Heartbeat Each item can be set up to 60 characters Heartbeat Interval Heartbeat package send cycle range 0 9999 seconds set to 0 means not to send default 60 seconds Heartbeat Message The device sends the server a heartbeat package to maintain the connection Heartbeat ACK Message The server responds to heartbeat package downlink if this...

Page 16: ... 1 day default 60 seconds indicates that every 60 second device will upload data to the server 8 6 I O Settings The I O parameter page displays different parameter settings pages according to the device model 8 6 1 DO Digital Output Open Collector Settings DO Switch ON SMS Content The SMS content sent to the authorization number when DO closed DO Switch OFF SMS Content The contents of messages sen...

Page 17: ...g period Range 2 65535 unit 100ms 0 1 second by default 2 indicating that the DIN state is collected every 200 milliseconds 0 2 seconds In low power mode it is recommended to extend the sampling period according to actual needs which can reduce power consumption Alarm Recovery Verify Time Range 0 65535 seconds default 2 which means that the DIN state changes 2 seconds before it is confirmed as ala...

Page 18: ...efault 2 indicates that the value exceeds the threshold for 2 seconds before it is confirmed as alarm or recovery it can prevent misreporting Set to 0 means that if the value of AIN exceeds the threshold the alarm will be made immediately Minimum Maximum The sensor s maximum minimum measure range E g 0 100 Celsius degree Usually it can be found out at the sensor s specification Note Measuring rang...

Page 19: ...ature Settings Sampling Period Range 2 65535 unit 100ms 0 1 second by default 10 indicating that the DS18B20 temperature is collected every 1000 milliseconds 1 second In low power mode it is recommended to extend the sampling period according to actual needs which can reduce power consumption Alarm Recovery Verify Time Range 0 65535 seconds by default 2 indicates that the temperature exceeds the t...

Page 20: ...ampling Period Range 2 65535 unit 100ms 0 1 second by default 10 indicating that the AM2301 temperature humidity is collected every 1000 milliseconds 1 second In low power mode it is recommended to extend the sampling period according to actual needs which can reduce power consumption Alarm Recovery Verify Time Range 0 65535 seconds by default 2 indicates that the temperature or humidity exceeds t...

Page 21: ...h to 60 High Alarm SMS Content Low Alarm SMS Content Recovery SMS Content This device allows you to customize the content Support up to 40 characters the SMS content sent to the authorized number when temperature alarmed or returned to normal Enable Recovery Inform If checked the device will send a message to the authorized number when temperature returns to normal 8 6 6 RS485 Settings Baud Rate O...

Page 22: ...ble the network and connect to the server 2 Network Offline Disconnect from the server 3 Timing SMS Report Send SMS to users who have enabled the Timer SMS in Number Settings It is about the current status of the device 4 DO ON For DO only Only device of the DO output is valid DO output will always close 5 Pulse Output For DO only Only device of the DO output is valid DO pulse output and pulse out...

Page 23: ...lt password is 1234 and you can send the SMS Instruction to modify the password 2 The password in the following instructions refers to the device password 3 The number that appears in the following note is not an instruction 4 If a symbol appears in the instruction it must be entered under the English input method 5 Unless otherwise specified the letters in the instruction must be capital letters ...

Page 24: ...e boots Instructions Return Set Password TEL x Note x is the device number that is the SIM card number installed in the device which supports up to 22 bits Example the Device number is 18812345678 instruction 1234TEL18812345678 Please pay attention to reset when replacing SIM card Set successfully 9 3 Set time of device Instructions Return Set Password Dxxyyzz Thhmm Note xx year yy month zz day hh...

Page 25: ...ing mode Instructions Return Set Password MOD x Note x is 0 or 1 0 represents normal mode and 1 represents low power mode Example 1234MOD1 Working Mode Normal Mode Low Power Mode 9 7 Set Device ID Instructions Return Set Password ID x Note x is 1 247 default 1 Example 1234ID1 ID x Inquiry Password IDE 9 8 Set network parameter of SIM card Instructions Return Set Password AP x y z Note x is Access ...

Page 26: ... 2 Password IPBDEL 9 10 Enable Disable network Instructions Return Online enable transmission protocol Password GPRSonline Example 1234GPRSonline GPRS Online Offline disable transmission protocol Password GPRSOFF Example 1234GPRSOFF Disabled GPRS 9 11 Set Login Message Instructions Return Set Password RTP x Note x is the contents of the registered package which can be set up to 60 characters Examp...

Page 27: ...0 s Query pulse close time Password DOT Control pulse output Password DOP DO Pulse Output 9 15 Set threshold high and low only for AIN DS18B20 AM2301 input Instructions Return Set Password AINR x L y H z Note x is 1 or 2 1 represents AIN or temperature 2 represents humidity y for threshold low z for threshold high To have a higher accuracy the device uses a number which is 10 times of the real val...

Page 28: ...ment value decrease the calibration value to decrease the AIN measurement value For example if the factory calibration value is 3315 if the AIN measurement value is smaller than the actual value you can try to increase the calibration value like 3325 3335 3345 if the AIN measurement value is larger than the actual value you can try to decrease the calibration value like 3305 3295 3285 Example set ...

Page 29: ...and MQTT protocols Reference is made to the specific communication rules of the Modbus RTU protocol and the MQTT protocol 10 1 Modbus RTU protocol The Modbus RTU protocol used in this product is essentially a transmission of a Modbus RTU communication instruction on the basis of the TCP or UDP protocol The device is a TCP UDP client 10 1 1 Modbus address and example of DO types Register address De...

Page 30: ...Perform the action FF 00 means close relay 00 00 means open relay BC 3A CDCA CRC validation The response Modbus message is the same to the request message 10 1 2 Modbus address and example of DIN types Register address Definition Data type Function code Data description 0 DIN input state bit 2 0 is open 1 is close Example Server query DIN status issue data 01 02 00 00 00 01 B9 CA Issue data Detail...

Page 31: ... bytes in length 00 7B The data returned is 00 7B real value register value 10 hexadecimal number 7B is equal to decimal number 123 so the real value is 123 10 12 3 F9 13 CRC validation 10 1 4 Modbus address and example of DS18B20 types Register address Definition Data type Function code Data description 0 DS18B20 temperature 16 bit sign integer 4 Real value register value 10 Example Server query ...

Page 32: ...e return data 01 04 04 00 7B 00 2D 4B 80 Return data Detailed description 01 Device ID address 04 Function code 04 04 The data returned is 4 bytes in length 00 7B 00 2D The data returned are Temperature 00 7B Humidity 00 2D The real temperature register value 10 hexadecimal number 7B is equal to decimal number 123 so the real temperature is 123 10 12 3 The humidity is equal to the original value o...

Page 33: ...ol the DO Device subscribe topic device serial number subscribe topic needs to add wildcard after serial number sensorDatas sensorsId 211267 server sensor identification switcher 1 switch type data 0 is open 1 is close flag DO1 DO identification down down server downlink 10 2 3 MQTT data format published by DIN types Device publish topic device serial number data filled out in the Login Message fo...

Page 34: ...umerical type data flag AI1 AIN identification 10 2 5 MQTT data format published by DS18B20 types Device publish topic device serial number data filled out in the Login Message for the Network Settings on the configuration software sensorDatas addTime 2019 01 02 12 34 56 timestamp value 12 3 numerical type data flag T1 temperature identification 10 2 6 MQTT data format published by AM2301 types De...

Page 35: ...password Default password 1234 Set the SIM card number Password TEL SIM card number For automatic calibration of time on device Set time of device Password D year month day T hour minute Year month day hour minute each have two digits Inquiry time of device Password D Set the user Tel number Password A serial number T user Tel number The serial number range 01 10 2 digit Inquiry the user Tel numbe...

Page 36: ...quiry the Heartbeat Interval Password HTE DO output close Password DOC Only for DO output The close time is 0 65535 unit second default 0 indicating that the pulse output is always closed DO output open Password DOO Query the current state Password DOE Pulse output close time Password DOT close time Query pulse close time Password DOT Control pulse output Password DOP Set threshold high and low Pa...

Page 37: ...eon Hi Tech Co Ltd Ver 1 1 it if no necessary Delete cache data Password HISDEL Reboot Device Password REBOOT Restore factory settings Password RESET Set to Chinese Password CH Set to English Password EN If you have any questions please contact us http WWW GPRS M2M COM End ...

Reviews: