Focus stacking makes for fantastic macro images, but the process can be tedious without the right tools. While some focus stacking rigs require the camera to be moved away from the subject in small increments, others choose to keep the camera stationary while focusing the lens before each shot.
Both methods produce great results, but you need a steady hand and a lot of patience to get the job done. [Oleg] uses the focus stacking technique relatively frequently, so he decided to automate the process in order to save himself some time. Using an Arduino and a USB host shield from Adafruit, he put together a focus stacking assistant for his Canon EOS camera.
The assistant allows him to set two focal points, leaving the Arduino and his camera with the task of taking pictures. The Arduino commands the camera to tweak the focal point ever so slightly between each image, resulting in an array of images ready for stacking.
He says that the process is a bit slow at the moment, but he’ll be cleaning up the code and building a Nikon-compatible unit in the weeks to come.