Ever wonder how they capture seemingly perfectly timed photographs of water droplets? Most of the time it’s done by using an optointerrupter whereby it detects the droplet falling and then triggers a light source a few milliseconds later with your camera ready and waiting.
This is typically done with something called an air gap flash, which is usually rather expensive or difficult to make, but [Michal’s] figured out another easier way suitable for some applications — using an array of LEDs to illuminate the scene.
He’s got a IR diode, a photo-resistor, a few spacers, some plastic and a bunch of hot glue to make up his optointerrupter. When the droplet passes through the IR beam it breaks the signal from the photo-resistor which then triggers his ATmega48P. It waits 80 milliseconds (he timed it out) and then turns on the LEDs for approximately 50 microseconds. Meanwhile his camera is watching the whole event with a shutter-speed of a few seconds.
This works because LEDs have rise and fall times that are much shorter than a traditional camera flash — normal flashes light up for 1-2 milliseconds, as opposed to this 50 microsecond LED flash. Just take a look at some of the pictures!