DIY Electronic Automatic Focuser (EAF)

I’ve built an electronic automatic focuser (EAF) for my Sky-Watcher Equinox 100ED refractor for automated and precise focusing.

The focuser was built with a stepper motor from an old printer, a gearbox from an electronic screwdriver, A4988 stepper motor driver, and an Arduino Uno. It runs on the firmware developed by R. Brown (2021).

The focuser is ASCOM compliant and works with astronomy software such as the Nighttime Imaging N Astronomy (NINA) for automated focusing during unattended imaging. When the autofocus command is called, NINA takes a series of photos (with a Canon 50D DSLR) at various focus distances and measures the diameter of stars for star fields or the highest contrast for moon and planets. It then calculates the proper distance travel for best focus, and then moves the focuser to focus. An automatic focuser ensures that stars remain focused during unattended imaging runs while you are away from the telescope.

Autofocusing with a DIY Electronic Focuser

This DIY electronic focuser attached to a standard Crayford focuser features 50,000 focus positions, with buttons for manual focus adjustment and calibration. The controller keeps track of the draw tube’s current position and saves this information even when the focuser is powered off.

Precise focusing of Jupiter using an Electronic Auto-Focuser

I have tested the focuser on several imaging runs now and it appears to be working fine, especially with planets in which I image at 3600 mm focal length.

To view posts on DIY projects and astronomical equipment, click here. To get a copy of the sketch, please email

Related links:
Remote Shutter Canon 50D
1990 Kenko NES Equatorial Mount
Ultra-Portable DIY Tracker

Night Sky in Focus | Astronomy and Amateur Radio
© Anthony Urbano | Manila, Philippines