Configure a pulse counter for a Connect Sensor on the digital I/O pin
Connect Sensor has one digital I/O pin and you can configure it as a pulse counter.
Note You can also configure the digital I/O pin as a digital input. See Configure a digital input for a Connect Sensor on the digital I/O pin.
When configured as a digital pulse counter, Connect Sensor continues to count pulses during sleep cycles and reports them to Digi Axess during normal reporting intervals.
For example, if Connect Sensor reports every hour, the sensor counts pulses during each hour Connect Sensor is in sleep mode. At the end of each hour, Connect Sensor wakes and reports the total pulse count for that hour to Digi Axess. The pulse counter resets to zero after each wake cycle and stores the values until the next reporting interval.
To configure a pulse counter on the digital pin:
- Log into the Connect Sensor web UI from Digi Axess.
-
In the Interfaces section, click Digital I/O.
-
For Type, select Pulse Counter.
-
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:
|
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. |