Skip to content

KS32 Dry Contact Input Module specificationV1.0

1. Product Introduction

2. Product Description

KS32 is a LoRaWAN-based ® The dry contact collector for communication, the product provides 6 Dry contact interfaces, triggers internal level reversal when the dry contact state changes, KS32 triggers interruption to realize real-time collection of the dry contact change state and uploads the dry contact state and count value to LoRaWAN's NS server through LoRaWAN gateway.

KS32 based on LoRa ® Wireless technology, supports standard LoRaWAN ® Networking communication has the characteristics of long communication distance and low power consumption.

Product built-in 4*2700mAh large-capacity lithium battery, life up to 6 years.

In addition, product support with ManThink/third-party LoRaWAN The gateway is combined with the third-party IoT platform of ThinkLink, Chirp stack, and TTN to realize the monitoring and management of dry-contact switches.

KS32 has a high protection level of IP65, which can adapt to the harsh outdoor environment and can be widely used in the management needs of smart industries, smart buildings and other scenarios.

3. Main features

  • IP65 protection level
  • Support 6 ports Dry contact
  • Battery powered, 10800mA high performance lithium battery, battery life up to 6 years
  • Support ThinkLink/ChirpStack/TTN platform docking
  • Support US902,AU915,AS923,EU868,EU433,CN470 LoRaWAN standards

4. Performance Parameters

ItemValue
§ Interface
connect TypePG7
Number of dry contact interfaces6
Number of grounding wires2
DisplayNone
§ Wireless Parameters
ProtocolStandard LoRaWAN ® Agreement
Regional StandardsCN470/EU433/EU868/AS923/AU915/Us902
Transmit powerMaximum Support 22dBm ( can be changed)
Receiving sensitivity-142dBm(SF=12,BW=125kHz)
Working modeOTAA/ABP Class A
§ Agreement /Configuration
Test/Trigger modeThe magnet 2 seconds trigger heartbeat data 6 Seconds trigger into the network
ConfigurationBy NS issue instruction
§ Physical Characteristics
Power supply mode4 x 2700 mAh ER14505 lithium battery
Sleep current<5uA (25 ℃ at room temperature)
Emission current<110mA (22dBm transmit power)
Battery life6 years (15-minute reporting cycle, 25 ℃ at room temperature)
Working Temperature-40°C ~85°C
Relative humidity≤95% (no condensation)
Protection levelIP65
Material & ColorABS + PC, White
Dimensions120mm * 72mm * 28mm
Installation methodWall Hanging

5. Dimensions and Interfaces

NumberInterface DescriptionSpecific Details
1LoRa Antenna interfaceInner hole outer screw, according to different LoRaWAN standard match
2Wiring PortPG7 waterproof connector 2 GND,6 DI input interface, a total of 8 leads

6. Model List

6.1 Model example

KS328-A1-AS923-N

6.2 Model component breakdown

  • KS328: product series and RF band.
    • KS32 identifies a second-generation IP65 dry-contact input module.
    • 8 identifies the 800 MHz-and-above RF version for EU868, AS923, AU915 and US902.
    • Other band option: 4 identifies the 400 MHz RF version for EU433 and CN470.
  • -A1: acquisition interface and power configuration.
    • A identifies six digital inputs (6DI).
    • 1 identifies a built-in 10800 mAh battery.
  • -AS923: LoRaWAN regional standard.
    • AS923 means that the device supports the LoRaWAN AS923 regional parameters.
    • Other regional codes are CN470, EU433, EU868, AU915 and US902; US902 denotes the LoRaWAN US915 (902–928 MHz) regional parameters.
  • -N: default version.
    • N identifies the default version.
    • Other values are reserved for customized or special versions.

6.3 Complete model meaning

The complete meaning of KS328-A1-AS923-N is:

This is a second-generation IP65 dry-contact input module in the 800 MHz-and-above RF class. It provides six digital inputs, includes a 10800 mAh battery, supports the LoRaWAN AS923 regional standard, and uses the default final version code N.

7. Network topology

KS32 is a standard LoRaWAN device and needs LoRaWAN network support to work properly. You can use the LoRaWAN gateway of ManThink or a third-party LoRaWAN gateway with the support of LoRaWAN NS.

KS32 supports accessing standard LoRaWAN networks such as ThinkLink, Chirp stack, and TTN. You can use the ThinkLink configuration model to implement business functions, card view presentation, and other business logic.

The LoRaWAN network topology is as follows:

8. Working mode

8.1 Periodic Upload and trigger Upload

- [x] KS32 has 6 DI interfaces. KS32 monitors the Accessed DI signals in real time. When the state of any DI interface changes, it will record the number of overturns and send a packet of data to the state of the DI interface.
- [x] When no trigger event occurs, KS32 periodically reports the status and count values of six DI interfaces 
- [x] The Upload cycle of KS32 is set according to the heartbeat cycle address.

Note: KS32 can only be connected to dry contacts*.*

8.2 Communication Test

Use a magnet to stick the loction of QR code on KS32 to trigger 2S-4S, which can trigger a packet of upstream measurement data.

8.3 Network access

Use a magnet to stick the location of QR code on KS32 to trigger 6s-8s, which can trigger a packet of network access data.

9. Installation and fixing

  • [x] Use the drill to fix the back plate to the Wall (keep the back plate Arrow Up)

  • [x] Hatch the product on the back plate (slide down after aligning the groove on the back of the sensor with the convex part of the back plate)

10. According to the standard

Reference: PTL-D01 ManThink Technology IoT Terminal Application Layer General Protocol V1.5

11. Data Items and Identifiers

  • [x] LoRaWAN port number = 15

KS32 supports only one data format, for example:

82 24 1A FF00AE 0D000000 D1000000 52000000 52000000 1C000000 28000000

NumberData ItemExampleStart AddressLengthDescription
1Version number0x8201 byteFixed at 0x82
2Control word0x2411 byteFixed at 0x24
3Identifier0x1A21 byteFixed at 0x1A
4DI status0xFF31 byteSee the bit0–bit5 mapping and values below
5Fault status0x0041 byte0x00: normal; 0x01: ferroelectric-memory fault
6Battery voltage0xAE51 byteActual value = sample × 1.6 / 254 + 2 V
7Port 1 count0x0000000D64 bytesUnsigned 32-bit little-endian integer
8Port 2 count0x000000D1104 bytesUnsigned 32-bit little-endian integer
9Port 3 count0x00000052144 bytesUnsigned 32-bit little-endian integer
10Port 4 count0x00000052184 bytesUnsigned 32-bit little-endian integer
11Port 5 count0x0000001C224 bytesUnsigned 32-bit little-endian integer
12Port 6 count0x00000028264 bytesUnsigned 32-bit little-endian integer

11.1 DI status bit mapping

BitDI input01
bit0DI1ClosedOpen
bit1DI2ClosedOpen
bit2DI3ClosedOpen
bit3DI4ClosedOpen
bit4DI5ClosedOpen
bit5DI6ClosedOpen

The current KS32 thing model uses only bit0–bit5 and six counter values. It does not map bit6, bit7, or trailing bytes after index 29 to DI7/DI8, and it does not parse those fields.

Sign in to ThinkLink, search for KS32 in the model menu, and add the device with the MT-KS32 template.

12.1 Telemetry thing model

The telemetry thing-model identifier is mt_ks32, and the LoRaWAN port is 15.

FieldsType / unitDescription
chan1chan6NumberSix dry-contact states: 0 = closed, 1 = open
statusNumberDevice fault status
batteryVConverted battery voltage
counter1counter6Unsigned 32-bit integerSix device cumulative counter values
rssi, snrdBm, dBLoRaWAN link-quality fields

counter1counter6 are the final counts calculated by the device and already include their corresponding initial values. Applications must not subtract base1base6 again.

12.2 Parameter thing model

Parameter readback is handled by the mt_ks32_para thing model. It contains period_up, triggerEnable, pulseThreshold, throttleWindow, and base1base6. The existing pulseThreshold thing-model field maps to the trigger dead-zone window at addresses 92–93, while throttleWindow maps to the throttle protection window at addresses 94–95; both values are in seconds. A device readback value of 0 or 1 for triggerEnable is normalized to a boolean for form prefilling and write-result validation.

13. Parameter modification and RPCs

Parameter changes follow PTL-D01 ManThink Technology IoT Terminal Application Layer General Protocol V1.5.

13.1 Configuration parameter address table

NumberData ItemDefault ValueStart AddressLengthDescription
1Upload interval (period_up)900404 bytesLittle-endian, unit: seconds
2Trigger-uplink enable (triggerEnable)true (1)901 byteSee the behavior values in 13.4
3Firmware version (FwVer)911 byteKS32 firmware version; read-only parameter
4Trigger dead-zone window (existing thing-model field pulseThreshold)0922 bytesLittle-endian, unit: seconds. Defines how long the device stops responding to subsequent DI level changes within the event segment after one trigger
5Throttle protection window (throttleWindow)5942 bytesLittle-endian, unit: seconds. Only one data packet is sent over LoRaWAN during this window
6Maximum pulse width0962 bytesLittle-endian, unit: ms. Pulses wider than this maximum are not measured or counted. For pulse measurement, set the trigger dead-zone window to 0
7Minimum pulse width200982 bytesLittle-endian, unit: ms. Pulses narrower than this minimum are not measured or counted. For pulse measurement, set the trigger dead-zone window to 0
8Initial-value modification key (modifyKey)Write only1002 bytesThe RPC writes 0xFAFA automatically when changing base1base6
9Channel 1 counter initial value01024 bytesbase1; counter1 continues from this value
10Channel 2 counter initial value01064 bytesbase2; counter2 continues from this value
11Channel 3 counter initial value01104 bytesbase3; counter3 continues from this value
12Channel 4 counter initial value01144 bytesbase4; counter4 continues from this value
13Channel 5 counter initial value01184 bytesbase5; counter5 continues from this value
14Channel 6 counter initial value01224 bytesbase6; counter6 continues from this value

The trigger dead-zone window suppresses responses to subsequent level changes after a trigger. The throttle protection window limits LoRaWAN transmission frequency; these two windows serve different purposes. For pulse measurement and counting, only pulses whose widths fall between the configured minimum and maximum are counted, and the trigger dead-zone window must first be set to 0.

RPC NameTypeParametersDescription
mt_ks32_setSETperiod_up, triggerEnable, pulseThreshold, throttleWindow, base1base6Sets parameters; pulseThreshold is the trigger dead-zone window in seconds, and throttleWindow is the throttle protection window in seconds; the form prefills current shared attributes and automatically includes modifyKey=0xFAFA
mt_ks32_getGETNoneReads the current parameters and updates the parameter thing model and shared attributes
mt_ks32_clear_counterACTNoneWrites zero to base1base6 to clear all six device counters; no current telemetry value is required

13.3 Counter initial values and clearing

The protocol field names remain base1base6, but these fields are not application-side offsets. After writing baseN=X, the corresponding counterN continues from X. The counterN reported on port 15 is already the final value, so applications must not calculate counterN - baseN.

To clear the counters, use mt_ks32_clear_counter. This RPC automatically includes modifyKey=0xFAFA and writes zero to all six counter initial values.

ValueBehavior when a DI input level changes
0x00Increment the counter only; do not send an uplink packet
0x01Send one uplink packet immediately when any DI input level changes

13.5 Protocol items not exposed by the current RPCs

The following device protocol addresses remain defined by PTL-D01, but the current MT-KS32 template does not expose them through its SET/GET RPCs:

Data ItemAddressCurrent status
Reset9Not implemented by the current RPCs
Firmware version (FwVer)91Not read by the current RPCs
Maximum pulse width96–97Not implemented by the current RPCs
Minimum pulse width98–99Not implemented by the current RPCs

14. Contact Us

Website: www.manthink.cn

Email: info@manthink.cn

Tel: +86-15810684257

15. Manual Downloads