I snagged a Ethernet shield for $4.00 and wanted to use it right away. I found some tutorials online to control various devices and decided, just for fun, to make a project that will annoy the heck out of me. Head over to (offline) and see that you can control very bright LEDs.
Unfortunately, the webcam isn’t real time. It updates the picture
every two seconds. Also the WS2811 seems to be a bit glitchy, so
sometimes there will be incorrect LED colors displayed.
You may have remembered I started working on a binary clock project with the Arduino. There are two things I didn’t like about that project. First, the clock didn’t keep time. It ran about 37 seconds fast. Second, it required the use of almost all pins on the Arduino. I started working on a new binary clock project with the requirements that it kept accurate time, it didn’t use as many pins, and I could set the time. I sacrificed the addressable LEDs I had used for my Christmas Tree lights and began to work on the new binary clock.
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.
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.