The SensorNode has 2 digital inputs. These are general purpose on off inputs. They have configurable pull up/down resistors, to allow them to work with open drain style interfaces.


The inputs will read on above 3.3V and off below 0.8V. The bias resistors will have a small affect on this. The maximum input voltage is 30V.


The parameters that apply to the digital inputs are shown below:

  1. Maximum Alarm Rate: alarms logged faster than this will not be sent. eg. With a default of 600s, a maximum of 1 alarm can be sent every 10 min. If input changes happen faster than this, the state will change on the device, but an alarm will not be sent.
  2. Input X Pull Direction: this is setting controlling the weak internal pull direction:
    1. Pull up: with nothing connected, the input will read high. This is useful with open drain interfaces, where the external interfaces either pulls to ground, or goes high impedance. Note: there is a small 70uA per input penalty for using this pull up setting. Depending on your setup, this could affect battery life.
    2. None: the SensorNode will not bias the input. 
    3. Pull down: with nothing connected, the input will read low. This is useful with an external interface that goes "off to "on" (low to high voltage).
  3. Input X Alarm on High: send an update if the input changes to a high state. The update is sent if there is LoRaWAN duty cycle available (region dependent) and the Maximum Alarm Rate has not been exceeded.
  4. Input X Alarm on Low: send an update if the input changes to a low state. The update is sent if there is LoRaWAN duty cycle available (region dependent) and the Maximum Alarm Rate has not been exceeded.
  5. Input X Count Edge: when counting changes, should the counter be incremented on the change to low or the change to high. Low means count on change from High to Low. High means count on change from Low to High.
  6. Input X Debounce Period: the state of the input is updated when it has stopped bouncing (changing state) for this amount of time. ie. 1000ms means it must stay in the new position for 1 sec before updating the state on the device.


Common questions:

  1. Can the SensorNode send updates on input changes?: Yes. Use the Alarm on High/Low check boxes. Choose a Maximum alarm rate that suits your expected change rate, and battery life (lots of changes could me lots of transmits, and reduced battery life).
  2. What if the device cannot send an alarm due to the maximum alarm rate or duty cycle?: Then this update will not be sent. The state will reflect on the device, so it will be sent on the next schedule (if configured) or on the next alarm change
  3. How should I use schedules with the inputs?: You have 2 options:
    1. Configure a schedule to send the current digital input states (Item = "Digital Inputs").
    2. Configure a schedule to send the current digital input change counts (Item = "Digital Input X Count")