Solder your Pixie LEDs together as shown in the Pixie Guide, leaving around 2 feet of wire between each pixel. Since we've got a smaller power source and only a few Pixies, I used 26awg wire for the power and ground lines, and 30awg wire for the data line.
Soldering these pixies together with stranded wire can be a little tricky! The soldering holes are very, very close together and it's really easy to get a short from one hole to the next. I found it easiest to solder the power and ground wires back-to-front, and then the data wire front-to-back, to avoid any chance of having stray strands touching.
Next, solder the Flora and LSM303 together as shown in the Sparkle Skirt tutorial. The wiring is exactly the same, only we'll be using wires instead of conductive thread, and leaving a bit more space (around 8 inches of wire) between.
- LSM303 G --> Flora G
- LSM303 SDA --> Flora SDA
- LSM303 SCL --> Flora SCL
- LSM303 3v --> Flora 3.3v
Lastly, connect the Flora to the Pixies:
- Pixies - --> Flora G
- Pixies + --> Flora VBATT
- Pixies IN --> Flora 6
Spend a few minutes preparing for strain relief using zip ties to keep any of the wires from taking all the stress of movement. You'll sew these components into the dress later on.
If you haven't uploaded your code to the Flora yet, now is a great time to do that. Plug your battery into the Flora and wiggle the sensor around, and make sure all your Pixies light up and change colors.
Add an on/off switch to your battery as shown in the Neopixel Glow Fur Scarf Tutorial.
Adding an on/off switch to the battery is optional, since the Flora has an onboard switch you can use, but it's worth your time! This is a complicated costume, and searching for a teensy switch among all those ruffles can be tricky.