This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
docs:blox:examples-switched-output [2024/08/22 13:24] admin created |
docs:blox:examples-switched-output [2024/08/22 13:33] (current) admin |
||
---|---|---|---|
Line 2: | Line 2: | ||
BLOX can be used to turn devices on/off or control their speed/ | BLOX can be used to turn devices on/off or control their speed/ | ||
+ | |||
+ | |||
---- | ---- | ||
Line 10: | Line 12: | ||
---- | ---- | ||
+ | |||
+ | ===== 6.4.3.2 Use a switched output to turn a device on/off ===== | ||
+ | |||
+ | For example, an LED strip wired to Switched Output 1, and a PIR motion sensor wired to GPIO1. When the motion sensor detects movement, we turn on the LED strip. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | ===== 6.4.3.3 Use a switched output with PWM ===== | ||
+ | |||
+ | For example, an LED strip wired to Switched Output 1, and a PIR motion sensor wired to GPIO1. LED strip is always on, but only at 20% brightness. When the PIR motion sensor detects movement, we increase the brightness to 100% | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||