Configure a digital input for a Connect Sensor on the digital I/O pin

Connect Sensor has one digital I/O pin and you can configure the pin as a digital input.

Note You can also configure the digital I/O pin as a pulse counter. See Configure a pulse counter for a Connect Sensor on the digital I/O pin.

When configured as a digital input, Connect Sensor detects the presence of a voltage level that is either “high” or “low”. Connect Sensor detects voltage levels during sleep cycles and reports them to Digi Axess when prompted by the Wake device on option for the pin, and during the device's scheduled reporting intervals.

To configure the digital I/O pin as a digital input:

  1. Log into the Connect Sensor web UI from Digi Axess.
  2. In the Interfaces section, click Digital I/O.

  3. For Type, select Digital Input.

  4. Configure the pin. Information about the fields is in the table below.

  5. Click Update to save your changes.

Option Description
Internal pullup resistor

Enable or disable the internal pull-up resistor to drive a logic level voltage. For example, use this to drive a logic voltage across a mechanical switch to read the value (open or closed) of the mechanical switch.

Options are:

  • Enabled: When Digital Input is selected, this option is automatically enabled.
  • Disabled: This is the default.

Wake device on

Specifies when you want the Connect Sensor to wake up and push data to Digi Axess.

Options are:

  • None: Data is stored until the Connect Sensor wakes up at the next scheduled time.

  • Rising Edge: When the rising edge is met, the Connect Sensor wakes and sends data.

  • Falling Edge: When the falling edge is met, the Connect Sensor wakes and sends data.

  • Rising and falling edges: When the rising edge or the falling edge is met, the Connect Sensor wakes and sends data.

Power output

Enables or disables the power output source. Options are:

  • Enabled

  • Disabled: This is the default.

Output voltage

Specifies the voltage level output for the power source.

The default is 3.3 Volts.

Read delay

Specifies the time in seconds that the sensor voltage is enabled before Connect Sensor reads its value. This allows the sensor to stabilize to get an accurate reading.

The default is 0.

Note A higher read delay keeps the device powered on longer, which reduces battery life.