SENSBLUE ATLAS/Datasheet: Difference between revisions
Appearance
No edit summary |
|||
| Line 2,275: | Line 2,275: | ||
| | | | ||
|} | |} | ||
==== 35.5 Buzzer - diagram ==== | |||
[[File:Buzzer - diagram.svg|center|frameless|901x901px]] | |||
==== '''35.6 Buzzer Command timing charts - Examples''' ==== | |||
The following charts represent the command-level buzzer state over time. | |||
They do not show the internal 2700 Hz switching frequency. | |||
Instead, they show when the buzzer is logically: | |||
{| class="wikitable" | |||
|'''State''' | |||
|'''Meaning''' | |||
|- | |||
|1 | |||
|Buzzer active / sound ON | |||
|- | |||
|0 | |||
|Buzzer inactive / silence | |||
|} | |||
===== '''35.6.1 Default BEEP command''' ===== | |||
<syntaxhighlight lang="json"> | |||
{ | |||
"id": <TIMESTAMP>, | |||
"origin": "APP", | |||
"task": { | |||
"action": "BEEP", | |||
} | |||
} | |||
</syntaxhighlight>Default values used: | |||
{| class="wikitable" | |||
|'''Parameter''' | |||
|'''Value''' | |||
|- | |||
|duration_s | |||
|0.2 s | |||
|- | |||
|count | |||
|1 | |||
|- | |||
|gap_s | |||
|0.15 s | |||
|} | |||
'''Buzzer State''' | |||
[[File:Default Beep.svg|left|frameless]] | |||
0.0 s 0.2 s | |||
duration_s = 0.2 s | |||
count = 1 | |||
===== '''35.6.2 BEEP Sequence - 5 beeps''' ===== | |||
<syntaxhighlight lang="json"> | |||
{ | |||
"id": 1779789836000, | |||
"origin": "APP", | |||
"task": { | |||
"action": "BEEP", | |||
"params": { | |||
"duration_s": 1, | |||
"count": 5, | |||
"gap_s": <GAP_BETWEEN_BEEPS> | |||
} | |||
} | |||
} | |||
</syntaxhighlight>'''Buzzer State''' | |||
[[File:5 beeps.svg|left|frameless|700x700px]] | |||
duration_s = 1.0s | |||
sgap_s = 0.5s | |||
scount = 5 | |||
===== '''35.6.3 Infinite BEEP Sequence''' ===== | |||
This happens when: "count": 0<syntaxhighlight lang="json"> | |||
{ | |||
"id": 1779789836000, | |||
"origin": "APP", | |||
"task": { | |||
"action": "BEEP", | |||
"params": { | |||
"duration_s": 1, | |||
"count": 0, | |||
"gap_s": 0.5 | |||
} | |||
} | |||
} | |||
</syntaxhighlight> | |||
=== 36. Included Software Stack === | === 36. Included Software Stack === | ||