Want to talk about soil? Join us for Open Call every Tuesday until Mar. 30 and our kick-off call on this topic on Feb. 2! Click here for details on how to join!

Public Lab Research note

NoIR Camera Spectral Response

by wln215 | September 16, 2020 21:30 16 Sep 21:30 | #24474 | #24474


As I was going to assemble an infragram pi, I realized I had a magenta filter instead of a red one. Having recently configured my spectrometer to work with filters, I can now test the PiCamera's wavelength range and color filter response in the same experiment. I searched through the archives, and to my knowledge, nobody has tested this either on Public Lab or the rest of the internet. The only thing I found is this post on the RPi forums. So with a Pi powered spectrometer at my disposal I compared images taken on both cameras with and without filters of light from a CFL.

This is only a preliminary experiment, a more refined one is on the way. Some things immediately obvious is the fact that CFLs are manufactured to emit a majority of light in the visible spectrum so a better light would be an incandescent for looking at more of the IR spectrum.

My spectrometer:

The design for the spectrometer portion takes the mounting hardware from a previous spectrometer I designed, and it uses the geometry of PublicLab's Lego spectrometer. I use bulkheads that house: a 1000 lines/mm diffraction grating, the PiCamera, color filters, and a slit from razor blades. Designs are available in one of my past posts. I put the color filters in front of the razor blades because it fits best, but this should be tested in the next iteration of this experiment.

image description

The spectra:

A total of six spectra were captured between two piCameras and two filters. Links to all my spectralworkbench captures will be at the end.

First, a comparison of the two cameras without filters. regular pi camera

noir pi camera

The spectra could be calibrated better, but for now we can see the NoIr camera has a bit more intensity past 650 nm or so with the intensity dropping under 10% at about 725 nm. Additionally we can subtract the regular camera's spectrum from the noir camera to better view the wavelengths the IR filter normally attenuates.

image description

Here the little bump in intensity at 750 nm becomes more apparent.

Color filters with the camera experiments.

I calibrated my spectra with the blue filters of each test run. The blue filters out the red light which makes it easy to calibrate on spectral workbench, however my calibration might not be accurate as the zeroth order seems to be a bit to the left of where it should be. Without an incandescent to emit more IR wavelengths, the color filters do not show much, especially without NIR radiation from the source. The image taken on the NoIR camera with a blue filter shows what the blue and red sensors detect in NIR, again demonstrating a small increase in intensity at around 700-750 nm.

image description


The NoIR camera can get spectra up to at least 725 nm in the NIR spectrum, this is limited by the source in this experiment. With a larger control of light sources better results can be visited. Filters can be tested on spectral workbench to find out which wavelengths they can attenuate. Darkness in the spectrometer filters out the noise. CFLs might not make the best light sources for NIR experiments because they do not emit enough IR light for the sensor to effectively detect.

Next steps in this experiment:

  • Test the filters available in the Public Lab store
  • Test other light sources which may output more light in the NIR band (incandescents, sunlight)
  • Refine the design, make it darker
  • Filter positioning
  • Play with the camera's white balance settings, this may be a source for error

https://spectralworkbench.org/spectrums/188442 https://spectralworkbench.org/spectrums/188443 https://spectralworkbench.org/spectrums/188444 https://spectralworkbench.org/spectrums/188446 https://spectralworkbench.org/spectrums/188447 https://spectralworkbench.org/spectrums/188448


Login to comment.