Public Lab Wiki documentation



Desktop Spectrometry Kit 3.0

This is a revision from October 18, 2016 15:41. View all revisions
7 | 77 | | #11533

« Back to Spectrometry

The Desktop Spectrometry Starter Kit (now at version 3.0) is our most recent “reference design” incorporating some community improvements while balancing low cost and relative ease of construction. The DSSK was originally created as part of the Public Lab Spectrometry Project’s goal of identifying suspected oil residue after the BP oil spill.

We have not yet met all our intended goals for this design, which is still being refined by contributors like you. Explore its capabilities in the Activity grid, and post your own for others to try. Improve on this design by (for example) adding a sample holder or attaching a light, and contributing to the Additions & Modifications section section of the main spectrometry page.

Capabilities

Many basic improvements or additions can improve the capabilities of the DS3. But with the starter kit alone, you should be able to:

Can you propose an experiment to provide a better answer?

Limitations & Goals

Because most webcams’ exposure compensation cannot be disabled, we don’t know if or how much colors have been “boosted” between different photos. Because of this, you can compare spectra taken with the same device, but you can't necessarily compare between different devices -- but this is a challenge we’re working towards (see gain calibration in the grid below).

Note: If you are working on an urgent issue such as a threat to your or someone else’s health, please know that these techniques may not be ready for your use; it's possible that they never will be. Read more here

Add limitations here in the form of questions like "How can we correct for gain compensation in webcams?" so that others can propose solutions. Propose a solution, upgrade, or new feature yourself by first posing the question it addresses:

Title Author Updated Likes Comments
Can I use a DVD or does it have to be a DVD-R ? @tmanmerlin over 6 years ago 12
Do I need to use a DVD-R? Will a CD-R work too? @jordankc almost 7 years ago 2
Whats the detection limit of the Desktop Spectrometry kit? @partyparrot4eva almost 7 years ago 3
Would the desktop spectrometry kit work for measuring fluorescent responses? @ICSK about 7 years ago 7
How do I start? i made the spectrometer 3.0. I do not see instructions? I had trouble getting my computer to use it as the camera. Is there any help available? Thanks. @RPiach about 7 years ago 2
Does anyone know where I can get a new usb connector for my spectrometer 3.0 ? @programmer1200 about 7 years ago 3
Assembly completed but the camera doesn't work. @1987123 over 7 years ago 4
Desktop Spectrometry Kit to arduino? @jjoll over 7 years ago 5
Desktop Spectrometer Kit Availablility @bicwood over 7 years ago 3
JDEPC-OV05 camera intelligent exposure @tim_spec over 7 years ago 5
Is the webcam from spectrometer v2.0 suitable for the upgrade to 3.0? @pablo about 8 years ago 16
Instuctions say to go to publiclab.org/n/11533 to watcha video. It isn't there @dcchallener about 8 years ago 2
How can I reduce ambient light inside the Desktop Spectrometry Starter Kit? @warren about 8 years ago 8
What mechanical specs can and should PLab spectrometers meet? @stoft about 8 years ago 18
Is there a simple and reliable way to test the rigidity of the spectrometer? @bsugar over 8 years ago 5
How can a spectrometer's wavelength resolution be measured? @warren over 8 years ago 1
Desktop spectrometry 3.0 kit: Can it quantify/identify a mixture of chemical solvents? @peace over 8 years ago 2

Ask a new question to explore further possible upgrades

Here are some which we'd like to adapt into question/answer format:


Activities

These are some activities specific to the Desktop Spectrometry Starter Kit -- for a full list of activities you can do with a DIY spectrometer, see the main Spectrometry page


Activities should include a materials list, costs and a step-by-step guide to construction with photos. Learn what makes a good activity here.

Add your own activity Request an activity guide

Guides should include a materials list and a step-by-step construction guide with photo documentation. Learn what makes a good activity here.


Upgrades

Have you added to your starter kit, improved it, or redesigned it? Show others how to take it to the next level by posting a build guide here:

Purpose Category Status Author Time Difficulty Builds
OTK Proto3 - - @stoft - - 0 builds: Try it »
Stability upgrade mockup for PLab Spectrometer 3.0 build review-me @stoft 1h easy 1 builds: Try it »
PLab 3 Spectrometer Upgrade Prototype - - @stoft - - 0 builds: Try it »
Some Suggestions for Spectrometer v3.0 and Oil Testing Kit (OTK) Attachment - - @ygzstc - - 0 builds: Try it »
Constructing a Desktop Spectrometer with no Wood, and no Velcro build in-progress @abdul 1h easy 0 builds: Try it »
Prototype of easy-to-build rigid spectrometer housing - under-development @warren 3h easy 0 builds: Try it »
Reduce interior reflections in your spectrometer with black ink build review-me @warren 10m easy 2 builds: Try it »
Camera Focus IR Filter Removal - - @stef - - 0 builds: Try it »
Spectrometer 3.0 Cuvette Add-on - - @programmer1200 - - 0 builds: Try it »
Ongoing design of compact cuvette frame - under-development @warren 5h medium 0 builds: Try it »
Spectrometer Light Tight Cover Build build - @stef 30m easy 0 builds: Try it »
PLab-3 Proto Slit Upgrade - - @stoft - - 0 builds: Try it »
Spectrometer 3.0 Upgrades - - @programmer1200 - - 0 builds: Try it »

Add your upgrade guide here Request or propose an upgrade

Mods should include a parts list and a step-by-step construction guide with photo documentation. See an example.


Get involved in the next revision

As these upgrades mature, the Kits initiative will incorporate some into the Desktop Spectrometry Starter Kit itself (depending on cost & complexity) as part of our commitment to an open hardware design process


Frequently Asked Questions

This section is for questions about the Desktop Spectrometry Starter Kit, specifically. For questions about spectrometry in general, see this FAQ.

Ask a question about the DSSK

Title Author Updated Likes Comments
Can I use a DVD or does it have to be a DVD-R ? @tmanmerlin over 6 years ago 12
Do I need to use a DVD-R? Will a CD-R work too? @jordankc almost 7 years ago 2
Whats the detection limit of the Desktop Spectrometry kit? @partyparrot4eva almost 7 years ago 3
Would the desktop spectrometry kit work for measuring fluorescent responses? @ICSK about 7 years ago 7
How do I start? i made the spectrometer 3.0. I do not see instructions? I had trouble getting my computer to use it as the camera. Is there any help available? Thanks. @RPiach about 7 years ago 2
Does anyone know where I can get a new usb connector for my spectrometer 3.0 ? @programmer1200 about 7 years ago 3
Assembly completed but the camera doesn't work. @1987123 over 7 years ago 4
Desktop Spectrometry Kit to arduino? @jjoll over 7 years ago 5
Desktop Spectrometer Kit Availablility @bicwood over 7 years ago 3
JDEPC-OV05 camera intelligent exposure @tim_spec over 7 years ago 5
Is the webcam from spectrometer v2.0 suitable for the upgrade to 3.0? @pablo about 8 years ago 16
Instuctions say to go to publiclab.org/n/11533 to watcha video. It isn't there @dcchallener about 8 years ago 2
How can I reduce ambient light inside the Desktop Spectrometry Starter Kit? @warren about 8 years ago 8
What mechanical specs can and should PLab spectrometers meet? @stoft about 8 years ago 18
Is there a simple and reliable way to test the rigidity of the spectrometer? @bsugar over 8 years ago 5
How can a spectrometer's wavelength resolution be measured? @warren over 8 years ago 1
Desktop spectrometry 3.0 kit: Can it quantify/identify a mixture of chemical solvents? @peace over 8 years ago 2


Table of contents & resources
Spectrometry wiki page | About our overall spectrometry program
Development history | How our spectrometer was collaboratively developed
Previous versions | Background on versions 2-2.5
Parts list | In case you want to to source parts on your own
Assembly | Instructions on putting this kit together
- - Bench
- - Assemble the box
- - Put it all on the bench

Plans

instruction_booklet_1.0-print-halfpage.pdf - Print a cleaned-up version of this page from a PDF

spectrometer3.0-instructions1.0-booklet.pdf - Print a booklet-formatted version from a PDF


Parts List

IMG_20150116_183204-annot.png

  • two-piece box
  • JDEPC-OV04 "gumstick" webcam with USB cable. (Datasheet: Spec_of_JDEPC-OV04_Ver_1.01.pdf) -- note, this is not the same "gumstick" webcam as used in the 2.5 Desktop Spectrometry Kit.

    _Webcam is purchased in bulk from China. For more details E-mail kits@publiclab.org _

  • extra paper for modifications

  • 45 degree wooden (ash) camera block, 3 cm x 4 x 4cm
  • wooden (ash) bench 1/4" (6mm) x 40mm x 235mm

    _Wood products are sourced locally in Portland, OR at Roeder Woodworking _

  • one 65-degree fold up collimation angle

  • one 45-degree fold-up camera angle.
  • 50cm of 3/4" (2cm) width adhesive-backed loop fastener (Velcro-style)
  • 25cm of 3/4" (2cm) width adhesive-backed hook fastener (Velcro-style)

    _We buy our velcro from McMaster Carr in bulk here. The two part numbers are 9489K21 and 9489K201 _

  • one DVD-R

    We buy ours from Amazon, choosing the cheapest option at time of purchase

  • photo emulsion printed slit 0.4mm wide printed on .004" acetate. (Design files on GitHub)

    Acetate is something made custom for Public Lab by Eberhardt Press

  • 6 yard roll of 1/8" Thermoweb Supertape double sided tape. (3mm wide)

  • printed assembly instructions (below)

Also see this longer illustrated parts list.


Using your spectrometer

Once you've assembled your spectrometer and are ready to use it, plug it in and visit SpectralWorkbench.org to begin recording data with it. The web-based software works in the Chrome, Firefox and Opera browsers on most computers and smartphones.

(Peer) Support

Public Lab is not a corporation; we're an open community of DIY environmental science researchers which you have just joined! The best place to get help is the spectrometry mailing list; to join, sign up in the form to the left.

The spectrometry mailing list is made up of people like you, who are building and improving open source spectrometry techniques. Ask questions, look for help, and consider helping others too!

You can also post a question on this site; it helps to share some photos or screenshots of what you're trying to do:

Ask a question about spectrometry or Sign up to answer questions on this topic


Assembly

Your spectrometer is composed of three functional elements:

  • a collimation slit that works as a lens, only allowing parallel light rays through its apeture.
  • a diffraction grating that deflects light more the lower the light's wavelength, creating a rainbow diffraction pattern.
  • a camera to capture the diffraction pattern, focused on the collimation slit.

arrangement_illustrated-labeled.jpg

These elements are mounted on an adjustable velcro bench in a black paper box.

IMG_20150210_143526_corrected-labeled.png


Bench

Put velcro on the bench

Everything is built up from the bench, an ash board 4cm (1.75 inches) wide. We will cover it with the loop tape (fuzzy side of the velcro).

IMG_20150210_160302-edit.jpg

velcro-labeled.png

The velcro loop tape is slightly wider than half the width of the bench, two strips will hang over each edge a bit.

IMG_20150210_160318-edit.jpg


Assemble the camera block

You will need the camera, double-sided tape, the block, and the hook side of the velcro tape. Try to hold the camera by its edges, as it can be sensitive to electrical shorts.

IMG_20150210_150024-ed-labels.png

Start by putting a strip of double-sided tape on the back side of the camera:

IMG_20150210_150202.jpg

Remove the pink protective film from the double-sided tape and attach to the center of the block's 45-degree angled side, with the white cable port on top:

IMG_20150210_150230.jpg

IMG_20150210_150258.jpg

On the underside of the block, attach two short strips of the hook tape (the Velcro's scratchy side).

IMG_20150210_150318.jpg

OPTIONAL: Make the camera focus more precise. The camera's tiny lens is pre-focused to roughly 200mm at the factory, but you can do a little better. This requires twisting the lens until it is no longer held in place by the green glue on the lens, which is easiest after the camera is mounted on the block. Pliers may be needed. Once loose, point the camera at a target (like text) 200mm away and carefully twisting the camera lens until the image is in clearest focus.

See more research on lens focus.


Make a diffraction grating from a DVD

Do not touch the surface of the DVD, always hold it by the edges, fingerprints will blur this important optical component.

We are going to turn a DVD-R into a diffraction grating, a device for separating light by frequency. An ideal diffraction grating would create a straight rainbow. A DVD produces a curved rainbow, but its rigidity and consistency make it a very good grating, and the tiny webcam lens curves the spectrum anyways. Aligning your diffraction grating will take some tweaking. We’ve given you extra material to help.

ideal-vs-dvd-grating-ed.png

We have three steps, cutting a quarter of the DVD out, peeling off the reflective aluminum side, and trimming to a small piece.

cutpeeltrim-labeled.png

OPTIONAL: Wash the purple ink off of the DVD fragment for greater light transmission, as described in this note.

Peel apart a quarter of the DVD

Cut out a quarter of the DVD with scissors. It may take more than one try to get a good diffraction grating, so save the rest too.

Use a knife or a fingernail to dig under the corner of the DVD quarter and peel the two layers apart.

IMG_20150210_144414.jpg

IMG_20150210_144530-trim.jpg

You will get two layers. We are trying to get a transparent purple piece without aluminum stuck to it. If you can’t find a good piece you may want to try another quarter DVD. You only need a 2cm (.75”) square cut from the outer edge. Trim down to a small square with roughly 2cm of the DVD’s outer edge.

IMG_20150210_144232-labeled.png

Trim down to a small square with roughly 2cm of the DVD's outer edge.

2cm-label.png


Assemble the diffraction grating angle

You will need:

IMG_20150210_145901-labeled.png

Overview:

IMG_20150210_145742-ed-labeled2.png

When taping the three flaps together, make sure the bottom flaps are lined up. put hook tape on the bottom.

IMG_20150210_145304ed.jpg IMG_20150210_145343ed.jpg

Put the outer edge of the dvd at the mid-point of the hole, and then remove the handles from the binder clip.

IMG_20150210_145436ed.jpg

Put velcro on the bottom.

IMG_20150210_145536ed.jpg

Put the outer edge of the DVD at the mid-point of the hole, and then remove the handles from the binder clip.

IMG_20150210_145648ed.jpg


Assemble the slit card

You will need:

IMG_20150210_150959ed-labeled.png

The collimation slit should be in the DVD sleeve.

_We will attach the slit using the tape as single sided tape-- tape it on top and DO NOT remove the backing film. _ Line up the collimation slit with the line on the slit card.


Assemble the box

Watch this step-by step video:

For the purposes of this instructional I've highlighted the edges of the box in white and used an unprinted box. Your box will have a printed and unprinted sides, and no white edges.

Place the box with the printing facing down. Pre-crease all the creases towards you. and crease the box top as well.

together1-1ed.jpg

together1-3ed.jpg

Fold the left side "T" shape over to the right, and insert the tab from the leftmost edge into the slot at the base of the "T", as shown here:

together1-2ed.jpg

Lay the separate box top piece on top so that its tabs line up with the slots in the box bottom’s right side. Make sure the small rectangular holes on the top and bottom of the box line up. We will put the webcam cable through that hole later. Insert the tabs together. The box top will not lay flat-- don't worry. this is because there is extra space for the two sheets to fold together.

together1-5ed.jpg

together1-6ed.jpg

together1-7ed.jpg

Now open the box back up and fold left and right side flaps to the middle to form the inner walls. They will hook together.

IMG_20150701_141644.jpg

together1-12ed.jpg

Fold the outer walls up and over the inner walls. Use the two circular holes in the outer walls to position the inner walls while folding the outer wall over.

together1-13ed.jpg

IMG_20150701_141857.jpg

Flip the box upside down and make sure the tabs have all popped out of the bottom of the box. Walk your fingers along the inside of the box and make sure all the tabs are popped out of the bottom.

together1-15ed.jpg


Put it all on the bench

IMG_20150210_143526_corrected-labeled.png

Line up the the bench with the side of the box, and align the camera's lens with the 200mm marker on the side of the box. Press the camera block down firmly.

IMG_20150210_144844ed.jpg

Place the diffraction grating angle directly in front of the camera block and press it down firmly.

IMG_20150210_143810.jpg

Slide the slit card in the front of the box. The printing is slightly off, unfortunately. level the slit card's line just above the box's line. the card should wedge in place on its bottom edge.

IMG_20150210_160107.jpg

IMG_20150210_160149ed.jpg

Push the camera cable through the cable hole in the back of the box:

IMG_20150115_200145ed.jpg

You can add a knot in the cable to help stabilize it so that any pulling on the cable doesn't move the webcam:

IMG_20150713_153213.jpg

Plug it into the camera-- it only fits one way, don't force it.

IMG_20150210_161354ed.jpg

Slide the bench in at an angle, placing it down by the cable hole, and then pushing it down to the bottom.

IMG_20150210_160613ed.jpg

Complete!

You're done! Your computer should recognize your spectrometer as a webcam.

Now connect to your spectrometer using the web-based software at Spectralworkbench.org


Resources

Activities

Here are the series of notes printed on the spectrometer. Notes below by: @amysoyka, @straylight, @wagnerc4, @ygzstc, @cfastie, @stoft, & @Alex-McCarthy.

Spectrometer development:

Activities:

Design Notes

Consult the following notes on development for the evolution of this design: