Close

Part 6: An Interactive Tool for Selecting Spectrometer's Focusing Lens and Detector

A project log for JASPER: VIS-NIR SPECTROMETER

Grating-based VIS-NIR Spectrometer: Customizable for spectral range, resolution, SNR, and detector options aided by a software design tool

tony-francisTony Francis 09/18/2025 at 18:470 Comments

In the last blog post, we delved into the theoretical foundations of spectrometer design, particularly the relationship between spectral resolution and detector pixel size.

https://hackaday.io/project/202421-jasper-vis-nir-spectrometer/log/243375-part-5-a-guide-to-selecting-detector-length-and-focusing-lens-for-grating-spectrometer

Building on that, we have designed a new tool to help you tackle a critical design challenge: selecting the perfect combination of a focusing lens and a detector.

The Problem: A Catch-22 in Spectrometer Design

When you're designing a spectrometer from scratch, you quickly realize you're faced with a classic "chicken-and-egg" problem. The required length of your detector is directly dependent on the focal length of your focusing lens, and vice versa. Since both are unknown at the beginning, it's difficult to know where to start. Customizing a lens is prohibitively expensive, so you have to work with standard, off-the-shelf components.

To solve this, we've developed a practical, iterative approach. Our tool lets you choose a standard focal length from a list of commercially available lenses. It then calculates the exact detector length you would need to capture your full wavelength range. From there, you can choose the closest-matching detector from a catalog.

Introducing the Interactive Design Calculator

Our new web-based calculator takes the guesswork out of this process. It's a single-page application that allows you to experiment with your design parameters in real-time.


Try it out here: 

https://checkag.github.io/detector_and_focusing_lens/

A snapshot of the design tool:

How it works:

This interactive tool is a significant step forward in our project, turning complex equations into a straightforward, visual experience. We believe this will be incredibly useful for anyone building their own spectrometer.

Discussions