NeoPixel color data must travel from the “in” end of the strand to the “out” end. Examine the backs of the pixels very closely. Printed on the PCB, you might see either some data direction arrows, or the words “IN” and “OUT” between pads. The weatherproofing epoxy makes things murky and you may need to look at several pixels before finding one. This is important! If you connect the microcontroller to the wrong end, the lights won't work.
If you have multiple LED strands, plug them into each other to create one long überstrand.
Each strand should have a pair of extra wires with exposed ends, for connecting power. Only one of these pairs is required. The rest should have their exposed tips trimmed flush or covered with tape or heat-shrink tubing to prevent electrical shorts.
For 1 to 3 linked strands, let’s use the pair of wires at the end. For longer strands, choose a pair near the middle.
Find the silver stripe on your diode.
Diodes have a specific polarity, passing current in only one direction…the silver stripe is the + end. So we want to connect the + side of the screw terminal to the “dark” end with no stripe.
Bend the diode's leg on this side and slip it into the port on the screw terminal. Solder the other leg to the RED wire coming from the LED connector.
(Diode not shown) Connect a female DC power adapter using the screw connectors, being super extra careful to follow the polarity markings stamped on the DC jack:
- + (plus) connects to the strand’s red wire
- – (minus) to the opposite wire
You may need to strip away a little extra insulation from the wires to make a good connection with the terminals. Tug a little on each wire to make sure it's firmly in place.
To connect the microcontroller at the “input” end of the strand, I soldered up this little adapter cable using a 3-pin JST plug (to the LEDs) and a 2-pin JST cable (to the Circuit Playground).
Don’t just follow the picture, take a good look at your actual hardware and be super extra careful to get the connections right:
- The RED wire from the LED strand should connect to the RED wire on the 2-pin JST plug.
- The OPPOSITE wire from the LED strand (furthest from the red wire) should connect to the BLACK wire on the 2-pin JST plug.
- The MIDDLE wire will get soldered to the Circuit Playground's A1 pin.
If you don’t have a 3-pin JST plug, and you’re 100% okay sacrificing the “output” end of your LED strand, you can cut that plug off and use it as an input-end adapter. Do this at the mid-point between the plug and the last pixel, so there’s enough wire to be useful. Was your DC jack connected to the extra power wires there? That’s okay! Remember, the strand can accept power from either end.
If you're doing this project with kids, you can use alligator clips instead of soldering. It won't stay permanently attached, but it's a fun and easy way to get the lights up and running.
Clip the 3d printed flowers gently onto each light. If they don't seem to fit right, turn them 90 degrees -- the spacing between the clips is not exactly even; the wire goes between the wider clip spacing.
If they still don't quite want to fit, use a heat gun on the clips for just 5-10 seconds to soften them a little bit, then press the flower onto the light. When the plastic cools it will grab and hold nice and tightly.
Page last edited March 08, 2024
Text editor powered by tinymce.