Public Lab Wiki documentation

  • Follow
  • Like (22)


03 Sep 17:29 242,670 views | Last edited by tonyc about 1 month ago | shortlink

Testing both spectrometer 3.0 and OTK - assembly Beta program

by Tofu 1 day ago | 0 | 234 views | 0

Hi! First part, assembly of the spectrometer and OTK Shipping boxes, simple, elegant I like ...

Read more »

Week 2: recap from Oil Testing Kit Beta Program: Assembly and Calibration

by warren 1 day ago | 0 | 259 views | 0

Hi, all - welcome to the Week 2 recap; we just wrapped up the weekly chat and some folks are maki...

Read more »

Oil testing kit Beta programme - Assembly: cuvette frame

by Cindy_ExCites 1 day ago | 0 | 275 views | 2

Oil testing kit Beta programme - Assembly notes Part 2: cuvette frame Contributors: @TedF and @c...

Read more »

Oil testing kit Beta programme - Package content

by Cindy_ExCites 1 day ago | 0 | 292 views | 2

Oil testing kit Beta programme - Assembly notes Part 1: content Contributors: @TedF and @cindy_e...

Read more »

Twin Peaks, Tb or Hg?

by cfastie 3 days ago | 8 | 403 views | 3

Jeff is making great improvements to the way you can calibrate spectra at Spectral Workbench. Hi...

Read more »

Fall delayed as LEAFFEST looms

by cfastie 7 days ago | 0 | 523 views | 2

Salisbury Vermont (LEAFFEST HQ) -- After nearly a decade of study, scientists in Vermont have dis...

Read more »

New wavelength calibration procedure preview for Spectral Workbench 2.0

by warren 8 days ago | 18 | 607 views | 1

What I want to do There's long been talk about a more intuitive, more precise, all-around better...

Read more »

Week 1: Recap from Oil Testing Kit Beta Program kickoff chat

by warren 8 days ago | 5 | 456 views | 1

Hi, all - thanks to those who attended the kickoff chat. We'll be meeting in the same place, same...

Read more »

More research on "spectrometer" »

Title Last edited Edits Pageviews Likes
Oil Testing Kit Beta 8 days ago by warren 27 2,087 0
Smartphone spectrometer 9 days ago by tonyc 27 31,907 3
Spectrometer construction about 1 month ago by wwd2010 8 22,070 2
Oil Testing Kit about 1 month ago by mathew 121 15,854 5
Oil Testing Kit Construction 2 months ago by warren 9 1,331 0
Desktop Spectrometry Kit 3.0 3 months ago by warren 43 12,611 4
Desktop Spectrometry Kit 3 months ago by warren 46 46,026 8
Desktop Spectrometer 3.0 parts list 3 months ago by warren 3 6,290 2
Ottawa 7 months ago by warren 2 3,090 2
Spectrometry Sampling 7 months ago by OpenSourceScience 22 10,679 1
Foldable Mini-Spectrometer 9 months ago by warren 19 77,105 5
Pesticide Detection Methods Development 11 months ago by silverhammer 27 8,851 6
The Homebrew Sensing Project 12 months ago by Becki 5 5,071 0
Oil Testing Kit Literature about 1 year ago by mathew 5 2,752 1
Refinery Watching about 1 year ago by warren 17 7,502 3
Spectrometer History about 1 year ago by mathew 4 4,060 0
Oil Testing Kit Illustrations about 1 year ago by warren 3 2,585 0
spectrometer-media over 1 year ago by warren 2 3,971 0
How to make a homemade spectrophotometer over 1 year ago by Haripriya 3 6,751 2
Spectrometer Curriculum over 1 year ago by bicwood 25 9,316 3
How Kickstarter backers will use the spectrometer about 2 years ago by Becki 4 8,202 0
Countertop Spectrometer about 2 years ago by warren 7 4,434 0
Spectrometry Meetups about 2 years ago by liz 3 2,651 1
Suggested Spectrometer Readings about 2 years ago by PeterDavidowicz 10 4,188 0
Spectral Challenge ideas about 2 years ago by philippg 18 4,520 3
Spectrometry health applications over 2 years ago by warren 10 4,183 1
DIYBIO Ideas and Applications over 2 years ago by briandegger 3 3,158 2
Spectral Challenge Teams over 2 years ago by warren 1 2,496 0
Spectral Challenge over 2 years ago by warren 30 6,678 1
Spectrometry FAQ almost 3 years ago by warren 1 2,686 0

Desktop Spectrometry Kit v3

The standard -- plugs into your laptop

Build one Buy one

Smartphone Spectrometer

Rigid plastic version which attaches to your smartphone

Build one

Foldable Mini-Spectrometer

Cheap, easy, starter version for smartphones and webcams

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.

See the lead image of this page for a diagram of a fluorescence spectrometer setup. 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 links at the top of the page offer step-by-step instructions on making your own spectrometer. Our main design, the Desktop Spectrometer, features:

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


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 the Upgrades section of its documentation.



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:

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