Modifications

Sauter à la navigation Sauter à la recherche
2 845 octets ajoutés ,  1 mars 2014 à 16:37
aucun résumé de modification
Ligne 1 : Ligne 1 :  
{{NeoPixel-UserGuide-NAV}}
 
{{NeoPixel-UserGuide-NAV}}
 +
 +
== Alimenter des NéoPixels ==
 +
 +
{{ambox-stop|text=Lorsque vous connectez des NéoPixels sur n'importe quel source d'alimentation active ou microcontroleur,<br />TOUJOURS CONNECTER LA MASSE/GND (–) AVANT QUOIQUE CE SOIT D'AUTRE. Et a l'inverse, toujours<br />déconnecter la masse/GND en dernier.}}
 +
 +
 +
{{ambox-stop|text=Ajoutez une résistance de ~470 Ohms entre la broche de donnée du microcontrôleur et l'entrée de donnée NéoPixels ("''data input''")<br />sur le ruban NéoPixel pour prévenir pointes de tensions sur la ligne de donnée<br />qui pourrait endommager votre premier Pixel. Ajouter une résistance entre votre microcontroleur et les NéoPixels SVP!}}
 +
 +
NeoPixels are usually described as “5 Volt devices,” but the reality is a little more nuanced than that.
 +
 +
Some (''not all'') NeoPixel products can work with slightly higher voltages. This depends on the additional support components around the chip, based on available space, cost and the most likely application. '''Refer to the specific product description page for guidance on acceptable voltage limits for each type. When in doubt, aim for 5 Volts'''.
 +
 +
'''Lower voltages are always acceptable''', with the caveat that the LEDs will be slightly dimmer. There’s a limit below which the LED will fail to light, or will start to show the wrong color.
 +
 +
{{asm-begin}}
 +
 +
{{asm-row|img=NeoPixel-UserGuide-Alimenter-01.jpg}}
 +
{{asm-text}} '''Before connecting a NeoPixel strip to ANY source of power, we very strongly recommend adding a large capacitor (1000 µF, 6.3V or higher) across the + and – terminals. This prevents the initial onrush of current from damaging the pixels.'''
 +
 +
{{asm-row|img=NeoPixel-UserGuide-Alimenter-02.jpg}}
 +
{{asm-text}} For many wearable projects we recommend a lithium-polymer battery. These deliver 3.7 Volts — perfect for directly feeding low-power microcontrollers such as the Adafruit Flora, yet enough voltage to run a short length of NeoPixels.
 +
 +
{{asm-row|img=NeoPixel-UserGuide-Alimenter-03.jpg}}
 +
{{asm-text}} Three alkaline cells (such as AA batteries) can be installed in a battery holder to provide 4.5 Volts. Though larger and heaver than the fancy lithium-polymer pack, they’re inexpensive and readily available.
 +
 +
{{asm-row|img=NeoPixel-UserGuide-Alimenter-03.jpg}}
 +
{{asm-text}} Four nickel-metal hydride (NiMH) rechargeable cells can similarly be used in a 4-cell battery holder to provide 4.8 Volts.
 +
 +
'''Make sure you only use NiMH cells in this configuration. Four alkaline cells (the disposable type) will output 6V total — that’s too high for some NeoPixels, and definitely too much for the microcontroller!'''
 +
 +
{{asm-end}}
 +
 +
'''Battery-operated LED project planning is discussed in greater detail in [[Piles et accus pour alimenter les NéoPixels|Piles et accus pour alimenter les LEDs et Rubans NéoPixels.]]'''
       
{{NeoPixel-UserGuide-TRAILER}}
 
{{NeoPixel-UserGuide-TRAILER}}
29 917

modifications

Menu de navigation