Modifications

Sauter à la navigation Sauter à la recherche
1 565 octets ajoutés ,  24 février 2014 à 14:16
Ligne 16 : Ligne 16 :     
[[Installation_d'un librairie Arduino|Here’s a tutorial]] that walks through the process of correctly installing Arduino libraries.
 
[[Installation_d'un librairie Arduino|Here’s a tutorial]] that walks through the process of correctly installing Arduino libraries.
 +
 +
== Branchement de base ===
 +
To get started, let’s assume you have some model of Arduino microcontroller connected to the computer’s USB port. We’ll elaborate on the finer points of powering NeoPixels later, but for now you should use a separate 5V DC power supply (or a 3.7V lithium-ion battery for a Flora wearable project).
 +
 +
Identify the “input” end of your NeoPixel strip, pixel(s) or other device. On some, there will be a solder pad labeled “DIN” or “DI” (data input). Others will have an arrow showing the direction that data moves. The data input can connect to any digital pin on the Arduino, but all the example code is set up for digital pin 6 by default. The NeoPixel shield comes wired this way.
 +
 +
'''If using Flora with an attached lithium-ion battery''': connect the +5V input on the strip to the VBATT pad on Flora, GND from the strip to any GND pad on Flora, and DIN to Flora pin D6.
 +
 +
'''For other Arduino boards with a separate +5V DC power supply for the NeoPixels''': connect the +5V input on the strip to the + (positive) terminal on the power supply (don’t connect to the Arduino), DIN to digital pin 6 on the Arduino, and – (minus or GND) on the strip must connect to '''both''' the minus (–) terminal on the DC supply '''and''' a GND pin on the Arduino (there are usually several — any will do).
 +
 +
The 144 pixel strips are so tightly packed, there’s no room for labels other than –, + and the data direction arrows. Data in/out is the un-labeled pad.
 +
 +
{{ADFImage|NeoPixel-UserGuide-Arduino-Brancher-01.jpg|640px}}
    
{{NeoPixel-UserGuide-TRAILER}}
 
{{NeoPixel-UserGuide-TRAILER}}
29 918

modifications

Menu de navigation