Monthly Archives: January 2015

LED lightning effect using an Arduino

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.

Read more

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.

Parts List:
Geeetech Infrared proximity switch module compatible with Arduino/Iduino
Waterproof Superbright 100cm White SMD Led Strip Light Lamp with USB Cable Port 5v
SainSmart Nano v3.0 Compatible with Arduino

See the code after the break.
Read more

Working on a binary clock

I started work on a binary clock. I found some code by Dennis Cwik and tweaked it to be able to rapidly advance the time as a crude way to set the clock. What I don’t like about this build is it is using all the digital outs. I think I will rewrite it to use addressable LEDs instead. That will only use one digital out and I can do so much more and look better as well. But for now, here’s what I have.