🐍 CircuitPython is the easiest way to program microcontrollers now celebrating over 200 boards!🐍

NeoPixel Cosplay Mask 8x stick Arrangement
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

NeoPixel Cosplay Mask 8x stick Arrangement

by JesseMac on Thu Jan 14, 2016 3:03 am

Hey! First time poster here so I'll try to be brief yet thorough. I've been trying to build a cosplay mask similar to the daft punk ones from the Adafruit learning guide. I'll post a link to the exact one I'm referring too below. Due to the nature of the masks design I chose to go with the 8x Neopixel sticks because they fit best. In the rough diagram I drew up I chose a flora as a default controller but after considerations from the daft punk tutorial it seems the Adafruit Feather 32u4 Bluefruit LE would be much better because I wanted to be able to change the patterns and colours via bluetooth app. So my main issue was wondering how I could get all of the 12 Neopixel sticks to react symmetrically with each other despite them being chained together in that order. Would I just connect them differently or can I code them to think that they are in order?

This is the project that I am referring too: https://learn.adafruit.com/3d-printed-d ... -bluetooth

And on a side note I was wondering if Fadecandy & also mic input for sound reaction can be incorporated into this build as well.

Parts list so far:

Adafruit Feather 32u4 Bluefruit LE - https://www.adafruit.com/product/2829

Fadecandy - https://www.adafruit.com/products/1689

(12) Neopixel 4-7V 8x Stick - https://www.adafruit.com/products/1426

Mic Amp W/Auto Gain - https://www.adafruit.com/products/1713

Ty for your time & cheers!
Wire_Diagram.png (120.31 KiB) Viewed 398 times

Posts: 3
Joined: Tue Feb 03, 2015 10:58 pm

Re: NeoPixel Cosplay Mask 8x stick Arrangement

by adafruit_support_bill on Thu Jan 14, 2016 6:44 am

If you want them to behave 100% symmetrically, the simplest way is to wire them symmetrically. Have 2 chains of 4 sticks and connect both data input lines to the same pin on the Feather. That way, both sets of pixels will get the same data stream and display the same colors at the same time.

Wired in a single string as you have them in your diagram, you could do it all in code. If you define a function something like this, you can use it to set both pixels with one call.

Code: Select all | TOGGLE FULL SIZE
void setSymetricalPixels(int pixel, uint32_t color)
    strip.setPixelColor(pixel, color);
    strip.setPixelColor(strip.numPixels - pixel, color);

Posts: 80836
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.