Let It Rain: A wearable vest that emulates a rainy day
Six LED strips are laid out in parallel, three on each of the front sides of the vest. The LED strips turn and off in a manner that simulates a raindrop falling down. First LED turns on (blue color), a split second later, the second LED turns on, and the first LED turns off. Then the thirds LED turns on and the second turns off, and so on. When the light reaches the final pixel of the strip, it goes back to the top.
This happens on all 6 strips. The only difference is that they don’t all start the loop at the same time, so as the rain to look like it is falling organically.
Extra fun stuff (optional): the rain gets ‘heavier’ or ‘lighter’ with the turning of a sensor (a potentiometer?). Heavier means that the raindrops would fall faster, which in code would mean that the delay between the lighting of each subsequent LED would be less.
Polyfill, black velvet fabric (base), black transluscent fabric (to conceal and protect LEDs) Adafruit GEMMA, Adafruit Soft flexible NeoPixel strip (50 NeoPixels), 1200 mAh battery
Early Circuit Tinkering
After lots of research, I thought I needed something similar to the ‘simple’ sketch in the Adafruit NeoPixel library. I added a ‘pixels.clear’ function to the end of the code to make it look like rain. However, I then had trouble attaching more NeoPixel strips and having the same code run simultaneously, instead of having only one strip light up at a time. See the Tinkercad circuit here.
The “Florabella” rain program kind of did the job for the 2-strip set up I had made. Then it completely stopped working when I added 6 strips. See new circuit with 6 strips here.