LEDs Adressables []

Outils pour utilisateurs

Outils du site


LEDs Adressables

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
documentation:microcontroleurs:arduino:modules:leds_adressables:index [2018/09/19 23:04] f1slsdocumentation:microcontroleurs:arduino:modules:leds_adressables:index [2022/09/01 16:52] (Version actuelle) – [Connexions aux micro-contrôleurs] f1sls
Ligne 1: Ligne 1:
 ====== LEDs Adressables ====== ====== LEDs Adressables ======
 +
 +===== NeoPixel + Arduino =====
 +
 +  * https://wiki.mchobby.be/index.php?title=NeoPixel-UserGuide-Arduino
  
 ===== WS2811 ===== ===== WS2811 =====
Ligne 12: Ligne 16:
 \\ \\
 {{:documentation:microcontroleurs:arduino:modules:leds_adressables:ws2812-vs-ws2812b-schematics-diagram-comparison-001.jpg?direct|}} {{:documentation:microcontroleurs:arduino:modules:leds_adressables:ws2812-vs-ws2812b-schematics-diagram-comparison-001.jpg?direct|}}
 +
 +===== Connexions aux micro-contrôleurs =====
 +// Source : Adafruit //
 +{{:documentation:microcontroleurs:arduino:modules:leds_adressables:leds_wiring-diagram.png|}}
 +
 +<WRAP center round alert 60%>
 +When connecting NeoPixels to any LIVE power source or microcontroller, ALWAYS CONNECT GROUND (–) BEFORE ANYTHING ELSE. Conversely, disconnect ground last when separating.
 +</WRAP>
 +
 +<WRAP center round alert 60%>
 +When using a DC power supply, or an especially large battery, we recommend adding a large capacitor (100 to 1000 µF, 6.3V or higher) across the + and – terminals. This prevents the initial onrush of current from damaging the pixels. See the photo on the next page for an example.
 +</WRAP>
 +
 +<WRAP center round important 60%>
 +With through-hole NeoPixels (5mm or 8mm round), add a 0.1 µF capacitor between the + and – pins of EACH PIXEL. Individual pixels may misbehave without this “decoupling cap.” Strips and boards have these caps built-in.
 +</WRAP>
 +
 +<WRAP center round important 60%>
 +Adding a ~470 ohm resistor between your microcontroller's data pin and the data input on the NeoPixels can help prevent spikes on the data line that can damage your first pixel. Please add one between your micro and NeoPixels! Our NeoPixel rings already have this resistor on there
 +</WRAP>
  
 ===== Matrices ===== ===== Matrices =====
Ligne 20: Ligne 44:
     * Les lignes / colonnes s'enchaînent du début à la fin puis de la fin au début = « ZIGZAG »     * Les lignes / colonnes s'enchaînent du début à la fin puis de la fin au début = « ZIGZAG »
   * Dans le code on indique dans quel coin est la première LED, puis l'arrangement, puis le type de LED   * Dans le code on indique dans quel coin est la première LED, puis l'arrangement, puis le type de LED
 +  * On peut aussi indiquer si c'est une matrice de matrices (pour faire un truc immense !)
  
 ==== Arrangements des LEDs ==== ==== Arrangements des LEDs ====
documentation/microcontroleurs/arduino/modules/leds_adressables/index.1537391068.txt.gz · Dernière modification : de f1sls