Lines Matching +full:led +full:- +full:strips

1 .. zephyr:code-sample:: led-strip
2 :name: LED strip
3 :relevant-api: led_strip_interface
5 Control an LED strip.
10 This sample application demonstrates basic usage of the LED strip.
15 Zephyr supports various LED strip chips. For example,
17 - WS2812, such as the `NeoPixel(WS2812 compatible) LED Strip from AdaFruit`_.
18 - APA102, such as the `Dotstar(APA102 compatible) LED Strip from AdaFruit`_.
19 - LPD8806, such as the `LPD8806 LED Strip from AdaFruit`_.
21 - Power supply. These LED strips usually require a 5V supply.
23 - If the LED strip connects to the SPI bus, SPI communications usually use 5V
27 .. _NeoPixel(WS2812 compatible) LED Strip from AdaFruit: https://www.adafruit.com/product/3919
28 .. _Dotstar(APA102 compatible) LED Strip from AdaFruit: https://www.adafruit.com/product/2242
29 .. _LPD8806 LED Strip from AdaFruit: https://www.adafruit.com/product/1948
30 .. _74AHCT125 datasheet: https://cdn-shop.adafruit.com/datasheets/74AHC125.pdf
38 #. Ensure your Zephyr board, the 5V power supply, and the LED strip
44 #. Connect the 5V power supply pin to the 5V input of the LED strip.
49 #. Ensure your Zephyr board, and the LED strip share a common ground.
50 #. Connect the LED strip control pin (either I2S SDOUT, SPI MOSI or GPIO) from
52 #. Power the LED strip at an I/O level compatible with the control pin signals.
55 -------------------
58 The I2S driver supports inverting the output to suit this scheme, using the ``out-active-low`` dts
60 :zephyr_file:`samples/drivers/led/led_strip/boards/thingy52_nrf52832.overlay` for more detail.
65 The sample updates the LED strip periodically. The update frequency can be
70 .. zephyr-app-commands::
71 :zephyr-app: samples/drivers/led/led_strip
79 .. code-block:: none
81 ***** Booting Zephyr OS build v2.1.0-rc1-191-gd2466cdaf045 *****
82 [00:00:00.005,920] <inf> main: Found LED strip device WS2812
88 - `WS2812 datasheet`_
89 - `LPD8806 datasheet`_
90 - `APA102C datasheet`_
91 - `74AHCT125 datasheet`_
92 - `RGB LED strips: an overview`_
93 - An excellent `blog post on WS2812 timing`_.
95 .. _WS2812 datasheet: https://cdn-shop.adafruit.com/datasheets/WS2812.pdf
96 .. _LPD8806 datasheet: https://cdn-shop.adafruit.com/datasheets/lpd8806+english.pdf
97 .. _APA102C datasheet: https://cdn-shop.adafruit.com/product-files/2477/APA102C-iPixelLED.pdf
98 …S2812 timing: https://wp.josh.com/2014/05/13/ws2812-neopixels-are-not-so-finicky-once-you-get-to-k…
99 .. _RGB LED strips\: an overview: http://nut-bolt.nl/2012/rgb-led-strips/