Public Lab is an open community which collaboratively develops accessible, open source, Do-It-Yourself technologies for investigating local environmental health and justice issues.
Desktop Spectrometry Kit
<div class="alert alert-warning">
<h3 style="color:#333;">New version available</h3>
<p>This version of the kit is no longer in production, and have been replaced with the <a href="/wiki/dsk3">Desktop Spectrometry Kit v3.0</a>.</p>
<p><a href="http://store.publiclab.org/products/desktop-spectrometry-kit-3-0" class="btn btn-large btn-primary">Order one from our store »</a></p>
The 1-page instruction sheet which shipped with your spectrometer remains the best documentation to date on how to assemble it. There are now **two versions** of these instructions, as the kit was updated in late 2013. Please check that the type of camera matches the kit you have. The **flat, gum-stick-shaped circuit board cameras** are the newer ones (version 2.5 of the kit) and the **small grey box webcams** are the older 2.0 version:
<b>JDEPC-OV04 "gum stick" 3.0 version (see notice above for new instructions page)</b>
<b>SANM "gum stick" 2.5 version: <a href="https://i.publiclab.org/system/images/photos/000/002/528/original/desktop-kit-instructions-2.5.pdf">desktop-kit-instructions-2.5.pdf</a> (140 kB)</b>
<b>SYBA "grey box" 2.0 version: <a href="https://publiclab.org/sites/default/files/desktop-kit-instructions-0.4.pdf">desktop-kit-instructions-0.4.pdf</a> (200 kB)</b>
Here are the v2.5 instructions:
<iframe width="100%" height="450px" src="http://publiclab.org/pdf.js/web/viewer.html?file=http://publiclab.org/system/images/photos/000/002/528/original/desktop-kit-instructions-2.5.pdf"></iframe>
###Using your spectrometer
Once you've assembled your spectrometer and are ready to use it, plug it in and visit [SpectralWorkbench.org](https://spectralworkbench.org) to begin recording data with it. The web-based software works in the **Chrome, Firefox and Opera browsers** on most computers and Android phones.
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:
* [Common hardware issues](/wiki/spectral-workbench-help#hardware-troubleshooting)
* [Using the software](/wiki/spectral-workbench-usage) (including setup and software troubleshooting)
* [Frequently asked questions](/wiki/spectrometer-faq)
* [Background about the project](/tool/spectrometer)
* peer-contributed [research on open source spectrometry](/notes/spectrometer)
<a href="https://www.flickr.com/photos/jeffreywarren/8199226437/" title="Desktop spectrometry kit insert by jeferonix, on Flickr"><img src="https://farm9.staticflickr.com/8064/8199226437_5a2a066eb5.jpg" width="500" height="325" alt="Desktop spectrometry kit insert"></a>
Insert for cutting out of stiff matte black card paper: https://publiclab.org/sites/default/files/desktop-spec-insert-1.1.pdf
A list of documented upgrades to the kit, if you're looking to further refine your device!
* upgrade to the new version 3 spectrometer with [the upgrade kit](http://store.publiclab.org/collections/spectrometry/products/dsk-3-0-upgrade)
* using an [acetate collimation slit](/notes/mathew/09-25-2013/photo-printed-collimation-slit-for-the-backpack-spectrometer) (as [available in the PL store](http://store.publiclab.org/collections/spectrometry/products/acetate-collimation-slits) -- basically a more precise, narrower slit, printed on plastic film -- for a more precise, though less light-sensitive, device (This needs better documentation on how to integrate it with the Desktop kit!)
* darken the inside of the spectrometer box with black, matte, absorbent paint or felt
* use a more light-sensitive camera
<div class="alert warning">These photos document the older, "grey box" version of the kit. If you have photos of the more recent version, please post them!</div>
Here are some photos of the build process to help you figure it out. It doesn't hit on every step but just the important parts -- **refer to the above PDF guide for a step-by-step guide**.
<a href="https://www.flickr.com/photos/jeffreywarren/8277432503/" title="Desktop Spectrometer Kit assembly by jeferonix, on Flickr"><img src="https://farm9.staticflickr.com/8217/8277432503_98fc18cb40.jpg" width="500" height="375" alt="Desktop Spectrometer Kit assembly"></a>
Crease and fold up your black card insert. This will reduce reflection in the interior of your device. Keep the ink on the "outside" as it is reflective.
<a href="https://www.flickr.com/photos/jeffreywarren/8277431773/" title="Desktop Spectrometer Kit assembly by jeferonix, on Flickr"><img src="https://farm9.staticflickr.com/8058/8277431773_b43e90626c.jpg" width="500" height="375" alt="Desktop Spectrometer Kit assembly"></a>
Using a piece of double-sided foam tape, form a box with the tabs on the outside, keeping the longer tab on the bottom, as shown above.
<a href="https://www.flickr.com/photos/jeffreywarren/8278490346/" title="Desktop Spectrometer Kit assembly by jeferonix, on Flickr"><img src="https://farm9.staticflickr.com/8210/8278490346_da345b74b6.jpg" width="500" height="375" alt="Desktop Spectrometer Kit assembly"></a>
Press the foam tape firmly onto the bottom of the spectrometer case, with the long tab on top, as shown. Keep the imaging slit pressed up against the inside of the box's hole.
<a href="https://www.flickr.com/photos/publiclaboratory/7704832890/" title="Now snap off the useless half of the webcam by publiclaboratory, on Flickr"><img src="https://farm8.staticflickr.com/7264/7704832890_c79dc16088.jpg" width="500" height="375" alt="Now snap off the useless half of the webcam"></a>
###Snap off the useless half of the webcam###
Some cameras may rest flat on the side of the box; our kit includes a nice, compact camera with flat sides (hard to find! too much ergonomics!) but to make it fit you have to snap it in half. Don't worry, the non-camera half is empty!
(If you're building this without a kit and can't find a flat-bottomed camera, you can use hot glue, epoxy, moldable plastic, or metal brackets to ensure that your camera stays level and rigidly in place.)
<a href="https://www.flickr.com/photos/jeffreywarren/8291330009/" title="Unscrew the lens to focus it to ~9" by jeferonix, on Flickr"><img src="https://farm9.staticflickr.com/8215/8291330009_abb096325c_m.jpg" width="240" height="180" alt="Unscrew the lens to focus it to ~9""></a><a href="https://www.flickr.com/photos/publiclaboratory/7704826464/" title="Using a knife, pry off the infrared filter by publiclaboratory, on Flickr"><img src="https://farm9.staticflickr.com/8160/7704826464_904405fe00_m.jpg" width="240" height="180" alt="Using a knife, pry off the infrared filter"></a>
###Unscrew the lens and remove the infrared filter###
Heating the lens a bit with a hair dryer, or by leaving it close under halogen desk lamp can help loosen it. The filter will look iridescent -- pry it out with a knife or sharp screwdriver, and throw it away. Screw the lens back in close to how it was.
More tips on removing filters from other types of webcams can be found here: [Webcam filter removal](/wiki/webcam-filter-removal)
<a href="https://www.flickr.com/photos/jeffreywarren/8291093841/" title="Focus at 9" by jeferonix, on Flickr"><img src="https://farm9.staticflickr.com/8221/8291093841_850b624627_n.jpg" width="320" height="240" alt="Focus at 9""></a>
###Look at a barcode through the webcam to refocus it to about 22 cm (9") away###
<div class="messages status"><b>Be aware:</b> the printed instructions incorrectly indicated only 5" away. You must focus 9" away to have in-focus spectra.</div>
Use a webcam program like Photo Booth or even https://spectralworkbench.org/capture (experimental). A barcode has fine details so it's a nice test of focus. (The above image is of an older kit)
Rotate the camera lens to adjust the focus. You may need to *gently* use a pair of needle-nosed pliers at first. Anything around 9 inches away (22cm) from the lens should be in focus. This means your slit will be in focus when the box is closed. If you don't carefully refocus your camera, your spectra will be of very low resolution.
Now snap your webcam back together.
<a href="https://www.flickr.com/photos/publiclaboratory/7704830406/" title="Now split the DVD-R into 2 layers by publiclaboratory, on Flickr"><img src="https://farm8.staticflickr.com/7117/7704830406_fe8dbb1ddc_m.jpg" width="240" height="180" alt="Now split the DVD-R into 2 layers"></a><a href="https://www.flickr.com/photos/publiclaboratory/7704829890/" title="Cut a rough 0.5cm square with no fingerprints by publiclaboratory, on Flickr"><img src="https://farm9.staticflickr.com/8022/7704829890_b723016cc8_m.jpg" width="240" height="180" alt="Cut a rough 1 cm square with no fingerprints"></a>
###Split the DVD-R into layers and cut a small rectangle from the clear layer ###
You should be able to easily pry apart the DVD layers, and they're far easier to cut once they are separated. You'll need about a 1cm x 1cm square of the 'outside' edge of the disc.
Don't get fingerprints on the DVD, and cut your "grating" from the outside edge where the track lines are more parallel. You can cut this piece down more precisely later.
See also: <a href="http://publiclab.org/notes/MrBumper/01-11-2015/preparing-a-dvd-r-to-act-as-a-diffraction-grating">Preparing a DVD-R to act as a diffraction grating</a> for more information on removal of the residual aluminium and dye layers.</b>
<a href="https://www.flickr.com/photos/jeffreywarren/8291328233/" title="Use foam tape to attach the DVD shard by jeferonix, on Flickr"><img src="https://farm9.staticflickr.com/8503/8291328233_26c03e7c25_m.jpg" width="240" height="180" alt="Use foam tape to attach the DVD shard"></a><a href="https://www.flickr.com/photos/jeffreywarren/8277432203/" title="Desktop Spectrometer Kit assembly by jeferonix, on Flickr"><img src="https://farm9.staticflickr.com/8206/8277432203_a37d9eae09_m.jpg" width="240" height="180" alt="Desktop Spectrometer Kit assembly"></a>
Use two thin strips of double-sided tape to adhere the DVD fragment to the front of your camera.
Use double-sided tape on the top of the webcam. If you're worried about the lens cover closing, you can use the tape to hold it open.
<a href="https://www.flickr.com/photos/jeffreywarren/8292384740/" title="Position the webcam in the box by jeferonix, on Flickr"><img src="https://farm9.staticflickr.com/8359/8292384740_99cf863ff2_m.jpg" width="240" height="180" alt="Position the webcam in the box"></a><a href="https://www.flickr.com/photos/jeffreywarren/8291331061/" title="A zip tie can prevent tugging on the USB cable by jeferonix, on Flickr"><img src="https://farm9.staticflickr.com/8354/8291331061_9c082f0539_m.jpg" width="240" height="180" alt="A zip tie can prevent tugging on the USB cable"></a>
Using the provided 45 degree angle guide, place the webcam -- facing outward -- on the side of the box as shown. You should first plug in the USB cable to be sure it will fit when the webcam is in position. Press it firmly down to adhere the foam tape to the side of the box.
Now you can fold down the long black tab, close the 2 side tabs over it, and close your spectrometer, screwing it firmly shut.
A zip tie or strip of tape can keep the USB cable from tugging on the camera and messing up your data.
<a href="/system/images/photos/000/000/957/medium/8247399028_8b24a3d14f_c.jpg"><i class="icon icon-file"></i> 8247399028_8b24a3d14f_c.jpg</a>
Better showing of discarding of opaque DVD piece: