LED lighting effect using an Arduino and LEDs

Sorry for the poor video quality. Because of the flash rate and the way a CMOS senor works, it cannot record the true effect.

This lightning effect uses addressable LEDs. The code generates a random number of flashes, a random brightness level for each flash, a random delay between flashes, and a random delay between the overall effect. See the code after the break.

Arduino Strobe Light Effect with Proximity Sensor

In December, a friend approached me and asked if I could create a visual effect for him. The requirements are to flash a strobe light, activate only when someone is in front of the effect for a couple of seconds, and wait for the person to walk away before it can be activated again.

Here’s the effect in action: