This senior design project focuses on designing, building, and validating a compact and affordable visible-near infrared VIS-NIR spectrometer capable of measuring spectral content of light across approximately 400 to 1000 nm.
The system is built around the TCD1304DG 3648 px linear CCD sensor for spectral detection, driven by an STM32 microcontroller for precise timing, signal acquisition, and data handling.
Conventional spectrometers are expensive and bulky. Our design emphasizes low cost, portability, modularity, and ease of use without sacrificing spectral performance, making it suitable for teaching labs and biomedical optics research alike.
This spectrometer directly supports the photoacoustic imaging research conducted by Dr. Avishek Das at the Biomedical Imaging Laboratory. Photoacoustic imaging relies on delivering specific wavelengths of light into tissue.
By firing high-power LEDs and laser diodes at biological samples and reading the resulting fluorescence that emanates, researchers are able to map tissue structures.
Our device ensures these excitation sources emit exactly the expected spectral profile. Validating the emission wavelength and intensity is a mandatory step for accurate spectral unmixing. This exact measurement allows the research team to differentiate tissue types reliably and produce quantitative imaging data.
The spectrometer integrates six key subsystems to deliver accurate, real-time spectral measurements in a portable form factor.
Entrance slit, collimating optics, diffraction grating, and focusing optics arranged to disperse incident light onto the linear CCD sensor.
Custom Driver board which performs DC offset adjustment and low-pass filtering to condition the signal for the MCU, maximizing signal-to-noise ratio before ADC conversion.
STM32 firmware manages precise CCD timing using 3 hardware timers and DMA, ADC acquisition, data buffering, and host communication.
Python based GUI for real-time spectral intensity visualization, data storage, and wavelength calibration workflows.
Compact PCB using surface-mount components with careful grounding and noise mitigation. 3D-printed mechanical enclosure for portability.
Calibration using narrow-line lasers or calibrated LEDs to map CCD pixels to wavelengths, validated against spectral accuracy targets.
All coding files, including the STM32 embedded firmware and the PC based graphical user interface code, are maintained on the Iowa State University GitLab server.
The project spans two semesters progressing from design and prototyping to full integration and validation.
Access weekly progress reports and formal design documentation.
A team of Electrical Engineering seniors from Iowa State University.
Electrical Engineering
Focusing on the optical subsystem. He leads the component selection and alignment to disperse light accurately onto the sensor.
Electrical Engineering
Has an emphasis in RF, antenna, and VLSI design. His focus in this project has been in the design and verification of the hardware and data transmission.
Electrical Engineering
Specializing in custom circuit design and software. He built the Python interface and handles the integration testing.
Electrical Engineering
Driving the system testing and validation. He verifies all operational parameters to guarantee the device meets the target specifications.