> For the complete documentation index, see [llms.txt](https://teravolt.gitbook.io/teravolt/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://teravolt.gitbook.io/teravolt/strobes/strobeit/integration-and-control-logic.md).

# Integration & Control Logic

PWM input controls the strobe’s behavior in real time.

| Mode   | PWM Sent | Drone State                         | LED Pattern                          | Color               |
| ------ | -------- | ----------------------------------- | ------------------------------------ | ------------------- |
| Mode 1 | 1200 µs  | Disarmed / Idle (default)           | Solid ON                             | Hall-selected color |
| Mode 2 | 1000 µs  | Armed                               | Blink once (200 ms), pause 1.5 s     | Hall-selected color |
| Mode 3 | 1800 µs  | Battery voltage low or failsafe     | Blink twice (2× 200 ms), pause 1.5 s | Hall-selected color |
| Mode 4 | 1900 µs  | RC override active (manual trigger) | Rapid red flicker (alert mode)       | Forced red          |

#### Color Switching with Hall Sensor

* Pass a magnet over the Hall sensor to cycle LED color:
  * Green → Red → Blue → White → Green....

#### Use Cases

* Night flying / Visual ID
* Failsafe Indication
* Custom payload activation
* Hobbyist builds using RC gear only

{% embed url="<https://youtube.com/shorts/la5Cl2jRwp8?si=gHJFGkD8opyp9EiL>" %}
