Button Alarm; Alarm On The Digital Input - ADEUNIS LoRaWAN COMFORT CO2 Guide Utilisateur

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

LoRaWAN COMFORT CO2 - Guide utilisateur / User guide version V1.1.1

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).
Product in standby
Push on the
button ?
Yes
Threshold
reached
?
Yes
Send frame 0x51

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.
Product in standby
Change of
state ?
Yes
Threshold
reached
?
Yes
Send frame 0x52
Example:
Register
S380
S381
No
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:
No
Register
S380
S381
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.
Example:
Register
S382
No
S383
* 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.
No
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.
Encoding
Value
value
Hexadecimal
0x01
Connected button activated
Decimal
1
The device send a frame as soon as the
button is pushed
Encoding
Value
value
Hexadecimal
0x01
Connected button activated
Decimal
5
The device send the frame after having
detected 5 push-buttons
Encoding
Value
value
Hexadecimal
0x41
Configuration of the digital input:
• Detection of high edges
• Debounce time* 100ms
Decimal
1
The device sends a frame every time an
event is detected
Result
Result
Result
Page
65
of 69
FR
EN

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Sigfox comfort co2

Table des Matières