Spectrometry
spectrometry

The Public Lab spectrometry project is an open source community effort to develop low-cost spectrometers for a range of purposes. All open spectrometry hardware and software efforts are welcome here! **Join in by:** * Learning [what spectrometry is](#Whats+spectrometry) * Reading about goals and [asking great questions](#Frequently+Asked+Questions) * Building a basic spectrometer using [one of our starter kits](#Starter+Kits) * Trying (and critiquing) our [community-made how-to guides](#Activities) and posting your own * Building on others’ work; hack and remix the kits to refine and expand them * [Share your upgrades](#Upgrades) for others to try -- and perhaps for inclusion in an upcoming starter kit release or add-on kit **** ## Starter Kits Public Lab’s Kits initiative offers several starter kits, including many of the basic components, and instructions for constructing a basic visible light spectrometer. The point of the kits is to provide a shared reference design for building experimental setups onto. Lego Spectrometer Kit Our most recent kit, incorporating community improvements while balancing low cost and ease of construction. Choose between webcam and Raspberry Pi camera versions and build attachments width standard Lego connectors. Build one Buy one Papercraft Spectrometry Intro Kit A $9 paper spectrometer which you can attach to a smartphone or webcam. It’s made of paper to reduce cost and complexity, and is mainly intended as an “introductory” or educational kit. The flat design can be printed on a laser printer or photocopied to make more. Build one Buy one **** ## Activities This is a list of community-generated guides for specific applications using your spectrometry setup (either a [starter kit](#Starter+Kits) or a [modded design](#Upgrades)). These [activities can be categorized](https://publiclab.org/wiki/activity-categories), and some may be more reproduced -- or reproducible -- than others. Try them out to build your skills, and help improve them by leaving comments. Together, we can repeat and refine the activities into experiments. > **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](/notes/gretchengehrke/09-29-2016/common-low-cost-technique-limitations) ### Activity grid [activities:spectrometry] **** ## 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: [upgrades:spectrometry] 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._ **** ## Challenges We're working to refine and improve DIY spectrometry on a number of fronts; here, take a look at the leading challenges we're hoping to solve, and post your own. For now, we're using the Q&A feature, so just click "Ask a question" to post your own challenge. Be sure to add: * constraints: expense, complexity * goals: performance, use cases [questions:spectrometry-challenge] **** ## Builds There’s a lot going on in open source spectrometry -- if you’ve developed another open source design you’d like to show others how to construct, post it here! * [RamanPi](https://hackaday.io/project/1279-ramanpi-raman-spectrometer) * [Hackteria “drop”-style spectrometers](https://publiclab.org/notes/gaudi/04-03-2014/diy-micro-volume-spectrophotometer) / [DIY NanoDrop on Hackteria.org](http://hackteria.org/wiki/index.php/DIY_NanoDrop) * _Add yours here_ ##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, in nanometers of wavelength) and intensity (vertical axis) below: [![sky.png](https://i.publiclab.org/system/images/photos/000/005/455/original/sky.png)](https://spectralworkbench.org/analyze/spectrum/19882) > Needed: overview of spectra, calibration, units, comparison, and fluorescence/absorption. Please edit this page or link to a resource, potentially [the Wikipedia page](https://en.wikipedia.org/wiki/Spectroscopy), although that's quite full of technical jargon. ## Software Spectral data can be analyzed with https://spectralworkbench.org to create spectra plots, find centers of emissions plots, and find similar spectra. Data also can be exported in various formats (JSON, CSV, XML) for further analysis and visualization. ## How does this compare to a lab instrument? The [Desktop Spectrometry Starter Kit](/wiki/desktop-spectrometry-kit-3-0) is only one part in an experimental setup, and the following shows where it fits in an overall diagram of a lab spectrometric setup: [![tmp_31873-IMG_20161027_101601_2-79757779.jpg](https://publiclab.org/system/images/photos/000/018/635/large/tmp_31873-IMG_20161027_101601_2-79757779.jpg)](https://publiclab.org/system/images/photos/000/018/635/original/tmp_31873-IMG_20161027_101601_2-79757779.jpg) [![tmp_31873-IMG_20161027_095939_2-108076392.jpg](https://publiclab.org/system/images/photos/000/018/636/large/tmp_31873-IMG_20161027_095939_2-108076392.jpg)](https://publiclab.org/system/images/photos/000/018/636/original/tmp_31873-IMG_20161027_095939_2-108076392.jpg) There are many, many different types of spectrometry and spectrometers -- many don’t even measure light. Even among those that do, some detect light in the ultraviolet range, and others in the infrared range of light. The range of Public Lab spectrometers depends on the range of the commercially available cameras we attach them to (~400-700 nanometer wavelengths). A commercially available product with a slightly wider range (from 335 to 1000 nanometers) is [available from Cole Parmer](http://www.coleparmer.com/Product/Cole_Parmer_Visible_spectrophotometer_335_to_1000_nm_wavelength_range_analog_output/UX-83055-10). **** ## Frequently Asked Questions [questions:spectrometry] Note our previous Frequently Asked Questions page, which [can be found here »](/wiki/spectrometer-faq) -- please help port these into the new system, here!...


Author Comment Last activity Moderation
Pushpaw "Your Guvcview control panel looks much like mine running on a real Ubuntu PC (If I understand you correctly you are running it in a virtual machine..." | Read more » almost 6 years ago
Tomas0413 "And this example says FixedFocus: Look what I found on AliExpress http://s.aliexpress.com/yiIBvmiy " | Read more » almost 6 years ago
warren "Great, i look forward to seeing the photos. Please also upload one of the front slit of your box! I don't think autofocus would cause complete dar..." | Read more » almost 6 years ago
Tomas0413 "For example threre’s a similar camera on AliExpress and the description says that it’s AutoFocus and that this can’t be changed : Look what I found..." | Read more » almost 6 years ago
Tomas0413 "Thanks for the response, I’ll upload tve image tomorrow. But aa far as I remember even if I leave only the camera inside the box the moment lid clo..." | Read more » almost 6 years ago
warren "I actually usually use default webcam settings! So going back to the original question, I believe there may be an issue with the angle or the orien..." | Read more » almost 6 years ago
Tomas0413 "Thanks! Warren maybe you can post the settings that you use so that I can try them tomorrow? " | Read more » almost 6 years ago
warren "This is great to see. Good work! " | Read more » almost 6 years ago
Tomas0413 "uvcdynctrl -d video0 -c Listing available controls for device video0: Brightness Contrast Saturation Hue White Balance Temperature, Auto ..." | Read more » almost 6 years ago
Tomas0413 "uvcdynctrl -d video0 -c Listing available controls for device video0: Brightness Contrast Saturation Hue White Balance Temperature, Auto ..." | Read more » almost 6 years ago
Tomas0413 "I'm now able to control UVC Camera settings, however, the images are still dark when I close the list. I was hoping to be able to set Auto Focus to..." | Read more » almost 6 years ago
Tomas0413 "Update: got the camera to work on Ubuntu!. The issue was fixed by installing VirtualBox extension pack and choosing USB 3.0 (instead of USB 1.0 ) " | Read more » almost 6 years ago
Tomas0413 "On Ubuntu 18 via VirtualBox camera is visible to the OS and on spectralworkbench.org you get a request for permission to use the camera. However th..." | Read more » almost 6 years ago
Tomas0413 "Quick update:grinning: 1. I got the USB cable for the Raspberry Pi Zero delivered, however it doesn't fit into the original Public Lab enclosure. 2..." | Read more » almost 6 years ago
stinge_nz "Hi Warren Still having absolutely no luck getting this sorted :-( I've tried changing the angle on the camera as suggested but still not working. ..." | Read more » almost 6 years ago
troyb "I recently received this kit and got really good performance out of it. Our camera inclined at possibly even more of an angle than I interpret from..." | Read more » almost 6 years ago
Tomas0413 "I can't edit the previous comment, I get an error when I try. This is what I wanted to post: echo none | sudo tee /sys/class/leds/led0/trigger non..." | Read more » almost 6 years ago
Tomas0413 "I can confirm that this tuned activity LED on Pi Zero off: echo none | sudo tee /sys/class/leds/led0/trigger none echo 1 | sudo tee /sys/class/l..." | Read more » almost 6 years ago
Tomas0413 "OK! Maybe it's possible to just disable LED via software: https://www.jeffgeerling.com/blogs/jeff-geerling/controlling-pwr-act-leds-raspberry-pi " | Read more » almost 6 years ago
Pushpaw "My experience is that blocking all the light from a LED indicator is a lot harder than you might think. Other than disconnecting the LED's almost n..." | Read more » almost 6 years ago
Tomas0413 "Hmm! Interesting point. I didn't think about the flashing LEDs! But thinking about this, it should be possible to put some black tape on the LED. I..." | Read more » almost 6 years ago
warren "See if that helps! " | Read more » almost 6 years ago
warren "Note how we've put 2-3 pieces of sticky foam under the bottom edge of the camera in the pics @Bronwen posted, to slightly change the angle. " | Read more » almost 6 years ago
warren "Hm, this looks pretty good. Can you post a pic of the entire setup, including the lamp? I think using a more diffuse, larger light source (so align..." | Read more » almost 6 years ago