AutoFocus Telescope

Spring 2011:    Microcontroller  Projects

 

For the final project in the course EID300: Microcontroller Projects, headed by Professor Alan Wolf, I built an automatically focusing Galilean telescope.  The telescope consists of a camera looking through an eyepiece lens and a movable objective lens.  The camera takes a picture looking through both lenses which is then sent to MATLAB.  There, a self-made focusing program uses the discrete laplacian and fourier operators to output a focus score.  Depending on how that focus score compares to previous trials, instructions are sent to an Arduino microcontroller.  The Arduino then powers an H-Bridge which causes a motor to move the objective lens.  The procedure is repeated until the image is in focus.