Public Lab | Wiki documentation

  • Follow
  • Like (8)


16 Nov 17:43 165,571 views | Last edited by warren 10 days ago

Thermal Imaging: Heat Insulation in Older Building

by SCG | 1 day ago | 0 | 81 views | 0

Our second attempt was in a bedroom in an older apartment. We tested the apartment on November 24...

Read more »

Thermal Imaging: Heat Insulation Comparison

by SCG | 3 days ago | 0 | 196 views | 1

We hope to test the insulation in different apartment buildings among the Northeastern University...

Read more »

a paper spectrometer design

by mathew | 19 days ago | 6 | 471 views | 2

What I want to do build a spectrometer that doesn't use a conduit box, out of mostly paper and c...

Read more »

CFL detection by contrast, for auto-calibration

by warren | about 1 month ago | 0 | 380 views | 0

What I want to do I was thinking we might be able to do a crude but very fast CFL detection by m...

Read more »

Passing Light Through an Object.

by amysoyka | about 1 month ago | 0 | 424 views | 1

What I wanted to do Related Posts:

Read more »

Spectral Workbench previewing and clipping warnings

by warren | about 1 month ago | 1 | 836 views | 2

Just a quick update here - I added a webcam preview to the capture interface (see above) as well ...

Read more »

Quantifying reflector brightness assistance

by warren | about 1 month ago | 1 | 325 views | 1

What I want to do At the New Orleans oil testing meetup, started using reflective foil mylar (li...

Read more »

shorter spectrometer geometry with two slits?

by mathew | about 1 month ago | 3 | 530 views | 2

What I want to do answer two questions: Can straylight be eliminated in a simple spectrometer se...

Read more »

More research on "spectrometer" »

Title Last edited Edits Pageviews Likes
Desktop Spectrometry Kit 10 days ago by warren 40 32,894 5
Foldable Mini-Spectrometer 10 days ago by warren 18 45,682 4
Pesticide Detection Methods Development 14 days ago by silverhammer 27 5,799 6
The Homebrew Sensing Project about 1 month ago by Becki 5 2,527 0
Oil Testing Kit about 1 month ago by warren 74 6,361 5
Spectral Workbench API 2 months ago by warren 30 6,411 2
Oil Testing Kit Literature 2 months ago by mathew 5 697 1
Spectrometer construction 4 months ago by warren 6 15,311 0
Spectrometry Sampling 4 months ago by warren 21 6,969 1
Refinery Watching 4 months ago by warren 17 4,969 3
Spectrometer History 4 months ago by mathew 4 1,096 0
Oil Testing Kit Illustrations 4 months ago by warren 3 650 0
spectrometer-media 5 months ago by warren 2 2,603 0
How to make a homemade spectrophotometer 5 months ago by Haripriya 3 2,361 0
ottawa 5 months ago by Haripriya 1 693 1
Smartphone spectrometer 8 months ago by mathew 26 15,025 3
Spectrometer Curriculum 9 months ago by bicwood 25 6,766 3
Spectral Analysis Techniques 10 months ago by Markos 7 3,747 1
How Kickstarter backers will use the spectrometer about 1 year ago by Becki 4 6,133 0
Countertop Spectrometer about 1 year ago by warren 7 3,396 0
Spectrometry Meetups over 1 year ago by liz 3 1,899 1
Suggested Spectrometer Readings over 1 year ago by PeterDavidowicz 10 3,196 0
Spectral Challenge ideas over 1 year ago by philippg 18 3,626 3
Spectrometry health applications over 1 year ago by warren 10 3,396 1
Spectral Workbench exporting over 1 year ago by warren 6 3,361 0
DIYBIO Ideas and Applications over 1 year ago by briandegger 3 2,207 2
Spectral Challenge Teams over 1 year ago by warren 1 1,777 0
Spectral Challenge over 1 year ago by warren 30 5,637 1
Spectrometry FAQ almost 2 years ago by warren 1 2,022 0
Spectrometer preorders about 2 years ago by warren 1 1,438 0

USB Desktop Spectrometry Kit

Build one Buy one

Smartphone Spectrometer

Build one Buy one

Foldable Mini-Spectrometer

Build one Buy one

Public Lab's Do-It-Yourself spectrometers are designed to help everyday people detect pollutants where they live.

Our community has been working since the 2010 Deepwater Horizon oil spill to develop a cheap, open source, Do-It-Yourself spectrometer which we hope to use to identify oil pollution in soil and water, as well as a range of other possible contaminants.

What's spectrometry?

Colored light is often a blend of different colors. A spectrometer is a device which splits those colors apart, like a prism, and measures the strength of each color. A typical output of a spectrometer looks like this spectrum of the daytime sky, with the actual light spectrum at the top and the graph of wavelength (horizontal axis) and intensity (vertical axis) below:


Types of spectrometry

There are different ways to use spectrometers, and the key difference is how you illuminate your sample.


This project focuses on fluorescence spectrometry in order to identify oil pollution samples, which is where a high-energy light like an ultraviolet laser is used to excite a sample so that it fluoresces, or glows.


Since different oils fluoresce in different colors, this technique can be used to match an unknown sample with a reference sample to identify it.

Read more on the Oil Testing Kit page



Emission spectroscopy is the kind often done in the classroom, where burning a material emits a colored flame. A spectrum of this colored flame can be used to match a material, but it can be unsafe to burn unknown samples, so we have primarily begun to use this technique to attempt to monitor distant flares, for example at gas refineries in Louisiana, to try to detect heavy metals.

[image of refinery watching]


Absorption spectroscopy -- shining a full-spectrum light like a halogen or incandescent (not a fluorescent or laser) through a sample to see what colors are absorbed -- is a bit more difficult in the visible light range, as most of the "fingerprint" features of spectra are too long or too short wavelengths for our webcam-based devices. However, a considerable amount of work has been done on absorption spectrometry of:

Make a spectrometer

The Public Lab Spectrometer is a Do-it-Yourself device made from simple materials:

  • stiff black card paper
  • a clean DVD-R
  • a USB webcam (preferably HD)
  • a Type LB conduit body (basically a light-proof box with a couple holes)
  • double-sided foam tape and a box cutter/x-acto knife

The DVD's tightly packed grooves act as a diffraction grating -- like a prism.

Spectrometer construction »

The above link offers step-by-step instructions on making your own spectrometer. It features:

  • around 400-900 nanometer range, maybe wider (what you can see with the naked eye, plus some infrared)
  • 5-10 nm spectral resolution
  • 20-30 samples per second
  • ~ $15 in materials
  • < 1 hour construction time
  • open-source software

Though these specs look pretty good, they still need to be compared rigorously with a traditional laboratory spectrometer. Are you interested in trying it?


Once you've built a spectrometer, there are many ways to improve it -- by using a narrower slit, darkening the interior, using a better camera, and more.

For upgrading the USB webcam-based Desktop Spectrometry Kit, see



Along with the physical devices, the Public Lab community has also developed Spectral Workbench, an website to capture data with your spectrometer, analyze and compare spectra, share them in an open database, and comment and collaborate with others.

The software includes:

  • direct connection to your USB-based or smartphone-based device
  • calibration, comparison, and matching tools
  • XML, JSON, and CSV data download
  • a JavaScript API
  • offline mode
  • read more in the documentation


Frequently Asked Questions can be found here »


This document, and this methodology, is still under active development. What you see on this page is only the best attempt so far at collating and presenting the work of Public Lab contributors to date. Some of the challenges that remain include:


Along with the physical devices, the Public Lab community has also developed Spectral Workbench, an website to capture data with your spectrometer, analyze and compare spectra, share them in an open database, and comment and collaborate with others.

Other uses

While many of us have focused on identifying oil pollution with fluorescence spectrometry, there are many other uses for cheap, open source spectrometers, and many other ways to use a spectrometer.


In 2012, Public Lab ran a Kickstarter project to distribute an early version of our DIY spectrometers to over 1600 people. The video is a bit out of date, but is still a compelling way to understand what we're attempting to do:

The Homebrew Sensing Project is made possible in part by the generous support of the John S. and James L. Knight Foundation, Knight News Challenge: Health.


Tags: spectrometer list:plots-spectrometry tabbed:notes tabbed:wikis tool