DSLR Controller: AFMA (Auto-Focus Micro-Adjustment (Assistant)) v0.10 ALPHA
Posted on 2014-02-26, 9 comments, 97 +1's, imported from Google+/Chainfire

NOTICE: This content was originally posted to Google+, then imported here. Some formatting may be lost, links may be dead, and images may be missing.

(from the adding more words makes stuff better department)

Vacation time is here again, and with that comes the gathering of the cameras and cleansing of the lenses. It was also time to calibrate the lens/body combinations by adjusting the Auto-Focus Micro-Adjustment settings. There's loads of products on the market that can help with that, but none that I know of that run on an Android.

I've discussed that possibility with Reikan Focal's author when that product was still new, but nothing ever came of it. So what else could I do than build something myself ?

The result is DSLR Controller AFMA. (If you can come up with a better name that isn't used by fifty other software packages, I'm all ears). A portable AFMA calibration tool based on the moiré method ( See: http://www.komar.org/faq/camera/auto-focus-test/ ).

The app can control the camera to shoot at a target and calculate an AFMA value to set. That target can be a different Android device running the app and playing the target, or any other device able to run a web browser and navigate to the Android's built-in webserver (iPad, laptop, TV, etc). Heck, if your USB cable is long enough or you connect to your camera via Wi-Fi, the same device that controls the camera can show the target.

For the moiré method to work, it is important that the target is pixel-perfect on the device displaying it. Even if you can't connect your camera to the Android device, you can still perform the tests manually with this app providing the target for it, either on it's own screen or through its web-server.

I did grossly underestimate the time I would be spending on this little project, and as a result it's still bare and basic and my time is up. (In fact, time I had allotted to other projects like 500 Firepaper and Pry-Fi got swallowed as well, ouch!). Note that this isn't meant to be a competitor to extensive tools like Focal - this is just quick, rather dirty, and portable.

But, it does work. I've used it to calibrate about a dozen lenses, and those calibrations appear to be good, so I'm ready to go abroad.

You can get the app from Google Play by clicking the link in the box below.

You can find the manual here: http://dslrcontroller.com/afma/ . Reading the manual is a must for usage, by the way. You will mess up if you don't.

The XDA thread for discussion can be found here: http://forum.xda-developers.com/showthread.php?t=2662743

This is a very niche thing, I'd actually be really surprised if more than a few thousand people end up finding it useful...

J R Goldsberry commented on 2014-02-26 at 23:53:

Only for Canon? Dang.

Ning Yu commented on 2014-02-27 at 01:41:

I'd like to give it a try some time since I have both Android devices, and a Canon 5D II

Benjamin Rüder commented on 2014-02-27 at 07:16:

Will try this out soon, thank you for your effort

Max Lee commented on 2014-03-15 at 06:23:

i use this app every video i make. so awesome, much wow.

Luis Mansilla commented on 2014-11-09 at 00:16:


Sasan Hezarvand commented on 2015-03-13 at 02:47:


Dan Copeland commented on 2015-04-06 at 15:03:

Quick Question Can I just print the targets instead of using another Tablet? 

Sasan Hezarvand commented on 2015-04-06 at 16:09:


D- Force commented on 2015-06-28 at 19:22:

Hi Chainfire,

I've got Android 5.0.2 on a Sony Xperia Z3+ E6553 and the Phone won't see my Canon 5DII. Is there something I need to do before my Phone can detect my camera?

Kind regards,


This post is over a month old, commenting has been disabled.