I made an LED mask with 11 patterns to demonstrate how to code for a matrix that is not rectangular. It runs on an Arduino Nano and uses FastLED library. If you just want to look at pretty flashing lights, skip to 07:35. Watch right to the end to see the basic sound reactive part - this still needs some work!
GitHub repository for code and schematics: https://github.com/s-marley/LEDMask
FastLED XY example code for rectangular matrix: https://github.com/FastLED/FastLED/blob/master/examples/XYMatrix/XYMatrix.ino
FastLED XY Map Generator: https://macetech.github.io/FastLED-XY-Map-Generator/
If you've found this useful and you'd like to support me to create more stuff, you can now buy me a coffee: https://www.buymeacoffee.com/scottmarley
The mask runs from an Arduino nano and the LEDs are controlled using the FastLED library.
As an Amazon Associate I earn from qualifying purchases from the links below. It doesn't cost you any more and it helps me to keep making videos!
Black mask to make one yourself: https://amzn.to/30VHMWV
5m LED strip LED strip: https://amzn.to/2SKL62v
Ender 3 Pro 3D printer: https://amzn.to/33OR7Sf
111 Comments