Using a microscope sourced on eBay, designed custom 3D-printed motor mounts and gears to control the XY stage and focus. With the exception of using longer screws to replace existing microscope screws so that the motor mounts can be secured, and gluing on some magnets for home positioning the XY stage, there are no modifications needed for the microscope.
An Arduino MEGA is used with a prototyping shield to manage sensor, mouse input, and motor driver control. The control system is mounted in a custom 3D-printed box with external illuminated rotary encoder and push button to manage settings and modes.
A separate 3D-printed housing holds 3 stepper motor controllers; one each for X and Y movement, and one for focus. Geared steppers are used to ensure fine control.