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:
- Log into the Connect Sensor web UI from Digi Axess.
-
In the Interfaces section, click Digital I/O.
-
For Type, select Digital Input.
-
Configure the pin. Information about the fields is in the table below.
-
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:
|
Wake device on |
Specifies when you want the Connect Sensor to wake up and push data to Digi Axess. Options are:
|
Power output |
Enables or disables the power output source. Options are:
|
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. |