Différences entre versions de « NeoPixel-UserGuide-Bonnes-Pratiques »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
Ligne 5 : Ligne 5 :
 
{{ADFImage|NeoPixel-UserGuide-Bonnes-Pratiques-01.jpg|640px}}
 
{{ADFImage|NeoPixel-UserGuide-Bonnes-Pratiques-01.jpg|640px}}
  
* Before connecting NeoPixels to any power source, add a large capacitor (1000 µF, 6.3V or higher) across the + and terminals as shown above.
+
* Avant de connecter des NéoPixels sur n'importe quelle alimentation, pensez à ajouter une grosse capacité (1000 µF, 6.3V ou plus) entre les broches + et  comme sur l'image ci-dessus.
 
* Place a 300 to 500 Ohm resistor between the Arduino data output pin and the input to the first NeoPixel. This resistor must be at the NeoPixel end of the wire to be effective! Some products already incorporate this resistor…if you’re not sure, add one…there’s no harm in doubling up!
 
* Place a 300 to 500 Ohm resistor between the Arduino data output pin and the input to the first NeoPixel. This resistor must be at the NeoPixel end of the wire to be effective! Some products already incorporate this resistor…if you’re not sure, add one…there’s no harm in doubling up!
 
* Try to minimize the distance between the Arduino and first pixel.
 
* Try to minimize the distance between the Arduino and first pixel.

Version du 24 février 2014 à 12:54


MCHobby investit du temps et de l'argent dans la réalisation de traduction et/ou documentation. C'est un travail long et fastidieux réalisé dans l'esprit Open-Source... donc gratuit et librement accessible.
SI vous aimez nos traductions et documentations ALORS aidez nous à en produire plus en achetant vos produits chez MCHobby.

Usage incorrect = destruction

NeoPixel-UserGuide-Bonnes-Pratiques-01.jpg
Crédit: AdaFruit Industries www.adafruit.com

  • Avant de connecter des NéoPixels sur n'importe quelle alimentation, pensez à ajouter une grosse capacité (1000 µF, 6.3V ou plus) entre les broches + et – comme sur l'image ci-dessus.
  • Place a 300 to 500 Ohm resistor between the Arduino data output pin and the input to the first NeoPixel. This resistor must be at the NeoPixel end of the wire to be effective! Some products already incorporate this resistor…if you’re not sure, add one…there’s no harm in doubling up!
  • Try to minimize the distance between the Arduino and first pixel.
  • Avoid connecting NeoPixels to a live circuit. If you simply must, always connect ground first, then +5V, then data. Disconnect in the reverse order.
  • Observe the same precautions as you would for any static-sensitive part; ground yourself before handling, etc.
  • NeoPixels require a 5V data signal. If using a 3.3V microcontroller you must use a logic level shifter such as a 74HCT245.
  • Make sure that your connections are secure. Alligator clips do not make reliable connections to the tiny solder pads on NeoPixel rings. Better to solder a small pigtail wire to the ring and attach the alligator clips to that.

Some of our NeoPixel project guides fail to mention the above precautions…they were written before these lessons were learned, and will be updated as required. The design changes are usually minimal (e.g. add inline resistor on data pin in circuit diagrams).

Smaller, battery-operated projects (e.g. FLORA and sewables) are usually fine omitting the capacitor and/or the resistor, but more substantive projects incorporating NeoPixel rings, matrices or a meter or more of NeoPixel strip, or using a plug-in power supply should definitely include both!


Source: NeoPixel UserGuide créé par Phillip Burgess pour AdaFruit Industries. Crédit AdaFruit Industries

Traduit par Meurisse D. pour MCHobby.be

Traduit avec l'autorisation d'AdaFruit Industries - Translated with the permission from Adafruit Industries - www.adafruit.com

Toute référence, mention ou extrait de cette traduction doit être explicitement accompagné du texte suivant : «  Traduction par MCHobby (www.MCHobby.be) - Vente de kit et composants » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.

L'utilisation commercial de la traduction (texte) et/ou réalisation, même partielle, pourrait être soumis à redevance. Dans tous les cas de figures, vous devez également obtenir l'accord du(des) détenteur initial des droits. Celui de MC Hobby s'arrêtant au travail de traduction proprement dit.