You can take macro photos on a huge variety of devices, whether you're using a DSLR with expensive lenses or just your iPhone (or any smartphone, for that matter). One common issue, though, is that it can be hard to get the image as crisp as you want because the depth of field is so small.
David Hunt had an old flatbed scanner sitting around, and he figured he could kill two birds with one stone by using it to create a setup that solves the focus problem with macro photography.
In combination with a Raspberry Pi, the scanner moves his camera a tiny bit at a time and takes a bunch of photos which can be stacked together to create one super sharp image.
The Raspberry Pi is attached to a stepper motor drive and his camera's shutter. It moves the camera at various speeds, sometimes as little as .02mm at a time, using the shutter release to take a photo each time.
The photos are then stitched together using a free, open-source program for Windows called CombineZM. All you have to do is load the photos into the program and go to Macro -> Do Stack.
It will automatically line them up and apply the appropriate filters. If this doesn't get the results you want, you can also stack them manually. If you can't get CombineZM, you can also use Photoshop to do some depth of field blending.
Check out the video to see the setup and how it works.
Keep Your Connection Secure Without a Monthly Bill. Get a lifetime subscription to VPN Unlimited for all your devices with a one-time purchase from the new Gadget Hacks Shop, and watch Hulu or Netflix without regional restrictions, increase security when browsing on public networks, and more.
Other worthwhile deals to check out: