I built a Deadmau5 Helmet for halloween and was having a small issue getting my led strips to play nicely. I have a string of 160 or so in the mouth working great just using the FastLED DemoReel. I also have 7-led neopixel “jewels” in each of the eyes.
Is there an easy way to append the DemoReel code to provide some input to the LEDS in the eyes as well?
I tried to define another strip in a similar way but with slightly modified global variable names, but the eye LEDS would turn on for a few seconds, then turn off, then the mouth LEDS would run their DemoReel.
I would appreciate any guidance anyone could provide, I want my helmet to looks it’s best this weekend for halloween!
I am using an Arduino Mega and “neopixels” with the FastLED library 3.1
If you just want the same effects as in the mouth, you only have to run the signal wire to them as well. If you want separate effects – I’m a newbie and haven’t dabbled that far yet. Sorry.
+allanGEE I was worried about running that many strips in parallel to one another. Also, the DemoReel is set up for 160 LEDs so even if I were to use the same signal, the effects would look off given the smaller number in the eyes.
@Jarrod_Wagner I am at work currently but I can paraphase how I did it.
Areas with changes are lines 16-24 and then line 34.
I think you may be right with the overwriting, also created a possible issue with the usage of CRGB which from my understanding has to do with defining the space in memory that we are using.
I think that @allanGEE might have meant to connect them serially. So that your 160 strip plus the two 7-LED rings would be wired like one strip of 174 lights?
@dougal The way that everything is laid out would make that very difficult, although I am confident it would work, just a pain to wire. I was hoping there was some way to have 2 DATA_out pins and different things going to each, but that is proving to be harder than imagined.
@Jarrod_Wagner I don’t know how I missed “leds” and other pertinent variables being called out below. That’s definitely something to look into. Must have been the lack of sleep combined with solder fumes that caused me to miss that.