![Adeunis RF LoRaWAN COMFORT CO2 User Manual Download Page 65](http://html.mh-extra.com/html/adeunis-rf/lorawan-comfort-co2/lorawan-comfort-co2_user-manual_2850772065.webp)
EN
LoRaWAN COMFORT CO2 - Guide utilisateur / User guide version V1.1.1
65
Page
of 69
FR
2.9. Button alarm
The device proposes a connected button that could be activated to send a frame. This connected button runs only on events (no periodic data).
Example:
Register
Encoding
value
Value
Result
S380
Hexadecimal
0x01
Connected button activated
S381
Decimal
1
The device send a frame as soon as the
button is pushed
In this example the device send a frame as soon someone push the button.
NOTE: it is also possible to configure a threshold of events to detect before to send a frame
(S381).
Example:
Register
Encoding
value
Value
Result
S380
Hexadecimal
0x01
Connected button activated
S381
Decimal
5
The device send the frame after having
detected 5 push-buttons
NOTE
: a long push (>5s) is configured to launch a calibration and is note considered as an
event on the button. A push-button = push <500 ms.
2.10. Alarm on the digital input
The device proposes a digital input that can be connected through a terminal block and that can detect a change of state. The digital input runs
only on events (no periodic data).
When the digital input is activated the device send a frame when a change of state is detected.
Example:
Register
Encoding
value
Value
Result
S382
Hexadecimal
0x41
Configuration of the digital input:
• Detection of high edges
• Debounce time* 100ms
S383
Decimal
1
The device sends a frame every time an
event is detected
* Debounce time: minimum time to take account of a change of state. For example, if this period is
10 ms all pulses (high or low level) whose duration is less than 10 ms will not be considered. This
technique avoids potential rebounds during a change of state.
In this example the device:
• The digital input has a debounce time of 100ms
• The device detects only high edges and send a frame after each detections.
Product in standby
Send frame 0x51
Push on the
button ?
Yes
No
Threshold
reached
?
No
Yes
Product in standby
Send frame 0x52
Change of
state ?
Yes
No
Threshold
reached
?
No
Yes