SENSECAP S2100 User Manual

Lorawan data logger
Hide thumbs Also See for S2100:
Table of Contents

Advertisement

Quick Links

T H E N E W G E N E R A T I O N L O R A W A N S E N S O R S O F S E N S E C A P
S2100 LoRaWAN Data Logger
User Guide
Version: v1.0.0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S2100 and is the answer not in the manual?

Questions and answers

Summary of Contents for SENSECAP S2100

  • Page 1 T H E N E W G E N E R A T I O N L O R A W A N S E N S O R S O F S E N S E C A P S2100 LoRaWAN Data Logger User Guide Version: v1.0.0...
  • Page 2: Table Of Contents

    Power supply options of sensor .................. 9 4.2.3 How to install external 12V DC ................. 10 LED of Sensor Working Status ..............14 SenseCAP Mate App ................. 16 6.1 Download App ....................... 16 6.2 How to connect sensor to App ................17 6.2.1 Create a New Account ....................
  • Page 3 Bind Sensor to SenseCAP Portal ................43 7.2.4 Setup the Sensor ....................... 45 7.2.5 Set Frequency of Sensor via SenseCAP Mate App ..........46 7.2.6 Check Data on SenseCAP Portal ................47 7.3 Connect to SenseCAP with private TTN ..............49 7.3.1...
  • Page 4 11.3 How to send downlink ..................61 12. Device Installation ..................62 12.1 Check the waterproof performance of the device ..........62 12.1.1 Data logger connection port ..................62 12.1.2 The connection port of the junction box ..............62 12.2 Installing Sensor ....................62 12.2.1 Installing the Sensor Bracket ..................
  • Page 5: Product Introduction

    IoT into the Wild Product Introduction S2100 LoRaWAN Data Logger can collect data from different types of sensors and transfer the data through LoRaWAN network. If you have deployed sensors that are not based on the LoRaWAN network, then with our LoRaWAN data logger, you can change them into LoRaWAN-based sensors and use the LoRaWAN network to transfer data.
  • Page 6: Part List

    IoT into the Wild Part List Before installing, please check the part list to ensure nothing is missing. Picture Name Quantity Data Logger Bracket Quick Start Guide KA4*20mm Self-drilling Screw A junction box accessory kit is available as an additional option: Picture Name Quantity...
  • Page 7: Quick Start

    IoT into the Wild Quick Start Refer to the following steps for quick configuration with SenseCAP server. Step Description Section Hook up the sensor probe Section 4 Download SenseCAP Mate App Section 6.1 Configure the LoRaWAN parameters Section 6.3 Section 6.4 for level / pulse...
  • Page 8: Hook Up The Sensor Probe

    IoT into the Wild Hook up the Sensor Probe 4.1 Preparation 4.1.1 Sensor Probe Get one of these sensors ready: Type Sensor wire pin RS485 Modbus-RTU 1 x A, 1 x B, 1 x GND, 1 x VCC 4~20 mA 1 or 2 x signal pin 0~10V 1 or 2 x signal pin...
  • Page 9: Connect The Sensor Probe

    IoT into the Wild 4.2 Connect the Sensor Probe 4.2.1 Disassemble the Data Logger Unscrew three screws. Take down the cover. Remove the thread cap and pass it through the cable of the sensor, pass it through the bottom cover, and connect it to the wiring terminal.
  • Page 10: Power Supply Options Of Sensor

    IoT into the Wild Description External 12V input voltage. The Data Logger can be powered by an external 12V DC power supply. When using 12V power supply, the battery will serve as backup power supply. 5V output voltage, providing 5V voltage to the sensor. 3V output voltage, providing 3V voltage to the sensor.
  • Page 11: How To Install External 12V Dc

    When your sensor needs 12V power, the battery will not be able to drive the sensor. Therefore, an external 12V power supply is required. The SenseCAP ONE Weather Station is used as an example. 1) Prepare the following items: 12V DC adapter, Junction box, and 4-pin wire.
  • Page 12 IoT into the Wild 3) Wire to the terminal of the junction box. 4) Connect the sensor wire to the junction box.
  • Page 13 IoT into the Wild 5) Connect the 12V DC adapter to the power supply. 6) To complete the assembly. Tighten the screws and screw caps to check the waterproofing. If the wire diameter is too thin, add waterproof tape for winding.
  • Page 14 IoT into the Wild...
  • Page 15: Led Of Sensor Working Status

    IoT into the Wild LED of Sensor Working Status You can refer to the LED indicator for the Sensor Node for its working status. Please see the status explanations in the chart below: Actions Description Green LED Status Green LED flashes at 1s frequency, waiting for Bluetooth connection.
  • Page 16 IoT into the Wild 1. Waiting for Bluetooth connection: green LED flashes at 1s frequency 2. Enter configuration mode after Bluetooth connection is Press and hold for 3s Activate Bluetooth again successful: green LED flashes at 2s frequency If Bluetooth is not connected within 1 minute, the device will reboot and join LoRa network.
  • Page 17: Sensecap Mate App

    SenseCAP Mate App 6.1 Download App As a tool, SenseCAP Mate App is used to config LoRa parameters, set interval, bind devices to your account and check device basic information. For iOS, please search for “SenseCAP Mate” in the App Store and download it.
  • Page 18: How To Connect Sensor To App

    SenseCAP Mate supports device configuration and remote management. To use the SenseCAP Portal platform and other functions, please register an account. SenseCAP Mate supports offline functionality, and you can opt out of an account if you only use the configuration sensor. Just click Skip.
  • Page 19: Connect To Sensor To App

    1) Press button and hold for 3 seconds, the LED will flash at 1s frequency. Please use the App to connect the sensor within 1 minute; otherwise, the device will power off or reboot. 2) Please select “S2100 Data Logger”. Please click the “Setup” button to turn on Bluetooth and click “Scan” to start scanning the sensor's Bluetooth.
  • Page 20 IoT into the Wild 4) Enter configuration mode after Bluetooth connection is successful: LED flashes at 2s frequency.
  • Page 21: Configure Basic Parameters Through App

    When there is the Helium network around the user, data can be uploaded using sensors. Devices run on a private Helium console SenseCAP for Helium of SenseCAP. Users do not need to create devices on Helium console, right out of the box. Helium Connect Sensor to public Helium console.
  • Page 22 We built a private Helium Console with an embedded SenseCAP Portal. When users get the SenseCAP sensors, you can use it by scanning the code and binding it to the Portal. “SenseCAP for Helium” is selected by default. The device runs in a fixed main frequency and sub-band, refer to Helium Frequency Plan (https://docs.helium.com/lorawan-on-...
  • Page 23 IoT into the Wild AS923-1 Need to contact sales to purchase. AS923-2 Need to contact sales to purchase. 3) Helium Users can choose sensors to use on the public helium console: https://console.helium.com/ 4) The Things Network Users can choose sensors to use on the public The Things Network server: https://console.cloud.thethings.network/ 5) Other Platform: When you use other LoRaWAN network server, please select Other Platform.
  • Page 24 Note2: 1) When using the SenseCAP platform, the EUI, APP EUI and APP Key are fixed and are the same as the sensor label. 2) When the sensor is selected to be used with a public platform such as Helium or TTN, the...
  • Page 25: Set The Interval

    Unit: minutes, number from 1 to 1440. Note: The SenseCAP portal has a limit on uplink interval: minimum interval is 5 minutes. The interval using the other platforms ranges from 1 to 1440 minutes. 6.3.3 Set the EUI and Key The device uses OTAA to join the LoRaWAN network by default.
  • Page 26: Set The Packet Policy

    IoT into the Wild 6.3.4 Set the Packet Policy The sensor uplink packet strategy has three modes. Parameter Description 2C+1N (2 confirm packets and 1 none-confirm) is the best strategy, the mode can minimize the packet loss rate, however 2C+1N (default) the device will consume the most data packet in TTN, or date credits in Helium network.
  • Page 27: Restore Factory Setting

    6.3.6 Restore Factory Setting When selecting the SenseCAP platform, you must use the fixed EUI/App EUI/App Key. Therefore, you need to restore the factory Settings before switching back to the SenseCAP platform from other platforms. When we make a mistake or want to reset everything, we can click the button. The device will...
  • Page 28: Configure Level Or Pulse Sensor Via App

    IoT into the Wild 6.4 Configure Level or Pulse Sensor via App 1) Select the “GPIO” protocol. 2) Select the supply voltage to the sensor. It supports 3V/5V/12V. Please refer to section "Power Supply Options of Sensor". 3) Set the “Sensor Warm-up time”, the warm-up time denotes the amount of time it takes for the sensor to attain its highest accuracy or performance level once the voltage supply has been applied.
  • Page 29: Set The Pulse (Counter) Sensor

    IoT into the Wild Wake up the data logger when the input signal is high or low and upload the current level. If no, the data logger uploads data every uplink interval. For example, the upload interval is set to 60 minutes, and the Threshold mode threshold mode is set to collect high level.
  • Page 30 IoT into the Wild The warm-up time denotes the amount of time it takes for the Sensor Warm-up Time sensor to attain its highest accuracy or performance level once the voltage supply has been applied. Sets the type of input pulse. Digital input Pull High: Valid when a rising edge is detected.
  • Page 31 IoT into the Wild Enabling this function increases upload by a value: cumulative amount per hour. Unit time collection For example, if the value of Y within one hour is 1000, 1000/h will be uploaded.
  • Page 32: Configure Analog Sensor Via App

    IoT into the Wild 6.5 Configure Analog Sensor via App Select the “Protocol” as “Analog input”. Then set the following parameters in turn. Periodic power: Power the sensor before data collection, and power off the sensor after data collection. This mode reduces power consumption and increases battery life.
  • Page 33 IoT into the Wild Interface I1 The Data Logger supports two analog current signals. When the sensor wire is connected to I1/I2, the configuration can be enabled. Interface I2 “Y”: It is the value Datalogger will upload. “x”: It is the original current value. Factory A: Custom values that can be scaled up or down by multiples of the “x”.
  • Page 34: Set The 0~10V Voltage Sensor

    IoT into the Wild The uplink interval is the interval of LoRaWAN data is uploaded each time. In periodic mode, the uplink interval is equal to the collection interval. Range: 30~3600 seconds The threshold mode greatly increases power consumption and is not recommended.
  • Page 35 IoT into the Wild The warm-up time denotes the amount of time it takes for the Sensor Warm-up Time sensor to attain its highest accuracy or performance level once the voltage supply has been applied. 0~10V (The Data Logger can collect voltage signals within 0~10V Current Range and automatically adjust the upper limit to increase accuracy) Interface V1...
  • Page 36 IoT into the Wild Value = “Y”, it is the value calculated by Y= Ax + B. You can choose one of the four rules. Interface V1 Threshold For example, set the uplink interval = 60 min, collection interval =30s, interface I1 rule is value≥20. Datalogger collects data on port I1 every 30 seconds.
  • Page 37: Configure Rs485 Modbus-Rtu Sensor Via App

    IoT into the Wild 6.6 Configure RS485 Modbus-RTU Sensor via App Select the “Protocol” as “RS485 Modbus RTU”. Then set the following parameters in turn. Baud rate of communication with the sensor. Baud Rate Range: 4800/9600/14400/19200/38400/57600/115200 Modbus Address Slave address of the sensor. The range is 1 to 247. Periodic power: Power the sensor before data collection, and power off the sensor after data collection.
  • Page 38 IoT into the Wild The length of time the sensor can communicate from powered -on Startup Time to communicating with Modbus, unit: 100 milliseconds. Measurement Number Data Logger can collect 0 to 10 measurements in RS485 mode. Periodic collect mode: Periodically collect and upload data. Work Mode Threshold mode: Select a maximum of three measurements to set the threshold rule.
  • Page 39 IoT into the Wild “x”: It is the original current value. Factory A: Custom values that can be scaled up or down by multiples of the “x”. Factory B: A custom value that increments or diminishes the value of the “x”. By setting the values of A and B, you can calculate the desired value.
  • Page 40 IoT into the Wild Measurement Measurement: Select a measurement value that has been Threshold 1 configured. Measurement Value = “Y”, it is the value calculated by Y= Ax+B. You can choose one of the four rules. For example, set the uplink interval = 60 min, collection interval =30s, interface I1 rule is value≥20.
  • Page 41: Connect To The Sensecap Portal

    It is built on Azure, a secure and reliable cloud service from Microsoft. You can apply for an account and bind all devices to this account. SenseCAP provides the web portal and API. The web portal includes Dashboard, Device Management, Data Management, and Access Key Management, while API is open to users for further development.
  • Page 42: Other Functions

    SenseCAP Portal User Guide: https://sensecap-docs.seeed.cc/quickstart.html 7.1.3 API Instruction SenseCAP API is for users to manage IoT devices and data. It includes 3 types of API methods: HTTP protocol, MQTT protocol, and Websocket protocol.  With HTTP API, users can manage LoRa devices, to get raw data or historical data.
  • Page 43: Connect To Sensecap With Helium Network

    IoT into the Wild 7.2 Connect to SenseCAP with Helium Network 7.2.1 Quick Start Follow this process to quickly use the sensor, see the following section for details. 7.2.2 Preparation 1) SenseCAP Mate App Download the App, please refer to section 5 for using.
  • Page 44: Bind Sensor To Sensecap Portal

    Option 2: Deploy a new Helium gateway. You can purchase M1, M2 gateways to cover your surroundings with the Helium network: https://www.sensecapmx.com/ 7.2.3 Bind Sensor to SenseCAP Portal Please open SenseCAP Mate App. (1) Scan QR Code 1) Click “Add device” on the upper-right corner of device page to enter the device binding page.
  • Page 45 IoT into the Wild (2) Manually fill in the EUI If the QR code sticker is damaged, you can manually fill in the EUI of the device to bind the device to your account. Please make sure you put in the EUI in the format suggested by the system and then click “confirm”.
  • Page 46: Setup The Sensor

    IoT into the Wild 7.2.4 Setup the Sensor 1) Open the SenseCAP Mate App 2) Press button and hold for 3 seconds, the LED will flash at 1s frequency. 3) Please click the “Setup” button to turn on Bluetooth and click “Scan” to start scanning the sensor's Bluetooth.
  • Page 47: Set Frequency Of Sensor Via Sensecap Mate App

    7.2.5 Set Frequency of Sensor via SenseCAP Mate App Set the corresponding frequency band based on the frequency band of the gateway. Please refer to section 5 for detail. 1) Click the “Setting” and select the platform is “SenseCAP for Helium”.
  • Page 48: Check Data On Sensecap Portal

    6) After joining the network successfully, LED flashes fast for 2s. 7.2.6 Check Data on SenseCAP Portal On the SenseCAP App or the website http://sensecap.seeed.cc/ , you can check the device online status and the latest data. In the list for each Sensor, you can check its online status...
  • Page 49 IoT into the Wild...
  • Page 50: Connect To Sensecap With Private Ttn

    Download the App, please refer to section 5 for using. 2) SenseCAP Outdoor Gateway Now, the sensor needs to be used with the SenseCAP Outdoor Gateway (https://www.seeedstudio.com/LoRaWAN-Gateway-EU868-p-4305.html) to transmit data to the SenseCAP Portal. a) Setup the Gateway, connect to power cable and Internet.
  • Page 51: Bind Sensor To Sensecap Portal

    7.3.5 Set Frequency of Sensor via SenseCAP Mate App Set the corresponding frequency band based on the frequency band of the gateway. Please refer to section 5 for detail. 1) Click the “Setting” and select the platform is “SenseCAP for The Things Network”.
  • Page 52: Check Data On Sensecap Portal

    5) When the device is disconnected from Bluetooth, the LED lights up for 5 seconds and then flashes as a breathing light. 6) After joining the network successfully, LED flashes fast for 2s. 7.3.6 Check Data on SenseCAP Portal Please refer to the section 6.2.6...
  • Page 53: Connect To Helium Network

    IoT into the Wild Connect to Helium Network Please refer to the manual to connect sensors to Helium public console: https://files.seeedstudio.com/products/SenseCAP/S210X/How%20to%20Connect%20Sense CAP%20S210X%20to%20Helium%20Network.pdf Connect to The Things Network Please refer to this manual: https://files.seeedstudio.com/products/SenseCAP/S210X/How%20to%20Connect%20Sense CAP%20S210X%20to%20The%20Things%20Network.pdf Please refer to the link to use the TTN platform: The Things Network website: https://www.thethingsnetwork.org...
  • Page 54: Payload Decoder

    IoT into the Wild 10. Payload Decoder 10.1 Decoder Code TTN payload decoding script for SenseCAP LoRaWAN: https://github.com/Seeed-Solution/TTN-Payload-Decoder/blob/master/decoder_new-v3.js...
  • Page 55: Packet Parsing

    IoT into the Wild 10.2 Packet Parsing 10.2.1 Packet Initialization After being powered on or reboot, SenseCAP Sensors will be connected to the network using the OTAA activation method. Each Sensor Node will send data packets to the server, including the following data: Initial packets(no need to learn about these initial packets)...
  • Page 56: Data Parsing Example

    ℃ Air Temperature 0x1001 4097 0.01 Air Humidity 0x1002 4098 0.01 Light Intensity 0x1003 4099 0x1004 4100 ℃ Soil Temperature 0x1006 4102 Soil Moisture 0x1007 4103 Soil EC (Electrical 0x100C 4108 0.01 dS/m Conductivity) For the complete list, see: https://sensecap-docs.seeed.cc/measurement_list.html...
  • Page 57: Example - S2101 Air Temperature And Humidity Sensor

    IoT into the Wild 10.3.2 Example – S2101 Air Temperature and Humidity Sensor Air Temperature and Humidity Sensor measurement packet: 01 0110 B0680000 01 0210 88F40000 8CFF Part Value Raw Data Description 01 is the channel number. 0110 is 0x1001(little-endian byte order), which is the measurement ID for air temperature.
  • Page 58: Battery Information

    IoT into the Wild 10.4 Battery Information Please note the counter number. After 20 packets, it will follow one special packet with battery info. You can either ignore this packet or get rid of the battery info in your code. Original Info: 00070064000500010610B45F0000010710A41F00003259 Battery Package: 00070064000500...
  • Page 59 IoT into the Wild measurement value for soil temperature as 24.5℃. 01 is the channel number. 0710 is 0x1007 (little-endian byte order), which is the measurement ID for soil moisture. Soil 01 0710 A41F0000 Moisture A41F0000 is actually 0x00001FA4, whose equivalent decimal value is 8100.
  • Page 60: Lorawan Downlink Command

    IoT into the Wild 11. LoRaWAN Downlink Command 11.1 Set the Data Uplink Interval (1) Using the Network Server’s portal or API to send downlink command, then the Node will respond to the ack. The downlink command takes effect and responds the next time the node uploads data.
  • Page 61: Reboot The Device

    IoT into the Wild Example: Set the Node’s data interval is 10 minutes. Send the downlink command (HEX) via FPort=2: 00 89 00 11 22 0A 00 38 B4 0x00 0x89 0x00 prepareId_L prepareId_H duty_L duty_H crc-L crc-H ACK Response: 00 1F 00 11 22 01 00 78 0F 0x00 0x1F...
  • Page 62: How To Send Downlink

    IoT into the Wild 11.3 How to send downlink Example: use the Helium Console to send...
  • Page 63: Device Installation

    12.1.2 The connection port of the junction box 12.2 Installing Sensor 12.2.1 Installing the Sensor Bracket Specially designed for installing SenseCAP Sensors, the bracket is a sliding cap. With designated screw-holes, the bracket helps fasten the Sensor Node firmly onto a pole or a wall.
  • Page 64: Mount On Pole And Wall

    IoT into the Wild 1) With the sensor in one hand and a bracket in the other, find an unobstructed direction along the back of the sensor. 2) One hand holds the clasp while the other holds the device. Pull outward with opposite force.
  • Page 65 IoT into the Wild 2) Mount on wall...
  • Page 66: Replace The Battery

    IoT into the Wild 12.3 Replace the Battery 12.3.1 How to Buy the Battery We suggest buying it from Amazon. 1) EEMB ER34615: Click here 2) Search the key word: LiSOCI2 ER34615 battery. Compare the batteries that meet the following parameters. The most important thing is to match the voltage. Battery Specification Nominal capacity 19000mAh...
  • Page 67: How To Replace A New Battery

    IoT into the Wild 12.3.2 How to Replace a New Battery 1) Remove three screws. Note: The sensor and PCBA are connected by wire, please disassemble carefully. 2) Install a new battery. Note: Pay attention to the positive and negative terminals of the battery.
  • Page 68 IoT into the Wild 3) Install screws. Note: During the installation, ensure that the waterproof washer is properly installed and the screws are locked; otherwise, water will flow into the device.
  • Page 69: Trouble Shooting

    However, your questions will be answered as soon as possible in the before-mentioned schedule. Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc.) and send a mail to: sensecap@seeed.cc 13.4 Document Version Version Date...

Table of Contents