Lego Spectrometer
question:lego-spectrometer

This is the latest version of Public Lab's DIY Desktop Spectrometry Kit -- the Lego Spectrometer. It addresses issues of rigidity, sourcing, modularity, and image quality over previous versions. We've been making and distributing [Do-It-Yourself spectrometers](/w//spectrometry) since 2011, and have been through [4 major kit versions](http://store.publiclab.org/collections/spectrometry) and hundreds of different community contributed modifications, new versions, changes, and more. ## Get a kit This is an open source kit, so you can just build your own -- but to **order parts for a kit**, visit the Public Lab Store: ## Design goals Over the years, we've identified a few really critical improvements that have been tough to solve: * rigidity * easy to source parts * modularity - working together * image quality Our mission is to make it **easier, cheaper, and more accessible to do environmental monitoring**, and to do that as an open source, collaborative community. And of course part of that is cost -- while people build upon our kits with more expensive options and upgrades, we want the basic kit to be extremely affordable. ## Quick start [notes:grid:lego-quickstart] ## Questions [questions:lego-spectrometer] ## Building your Lego Spectrometer [activities:lego-spectrometer] ## Spectrometry activities [activities:spectrometry-sampling] **** ## Spectrometer calibration [activities:spectrometry-calibration] **** [![tinkercad.png](https://publiclab.org/system/images/photos/000/022/935/large/tinkercad.png)](https://publiclab.org/system/images/photos/000/022/935/original/tinkercad.png) _Tinkercad model, below_ ## Parts ### 3D models * Tinkercad: https://tinkercad.com/things/43IqCTHE7Iz * Thingiverse: https://www.thingiverse.com/thing:2711528 ### 3D brick models Lots of great brick models are available here: https://printabrick.org/ and on http://thingiverse.com * assorted standard bricks: https://www.thingiverse.com/thing:2626413 * holey bricks: https://www.thingiverse.com/thing:1095326 * sloped brick: https://www.thingiverse.com/thing:527185 * corner L brick: https://printabrick.org/bricks/2357 * brick w/ peg: https://printabrick.org/bricks/2458 (I used this instead of a 1x2 hole brick + a friction peg, because I couldn't find a model for the brick) Brick dimensions are nicely described in this diagram from Wikipedia: https://commons.wikimedia.org/wiki/File:Lego_dimensions.svg Print files for the black cardstock insert can be [found here](https://publiclab.org/notes/abdul/10-19-2016/foldable-paper-spectrometer-instructions). ...


Author Comment Last activity Moderation
Ag8n "Maybe. It depends on the chromophores present, the assay method used, and a bunch of other factors. And that's before you talk about the instrume..." | Read more » almost 7 years ago
Ag8n "By definition, turbidity measures the amount of light scattered at a 90 angle. So there would have to be a change in the optical layout from the ..." | Read more » about 7 years ago
warren "It would also be really cool to see a design adapted for the Lego Spectrometer! https://publiclab.org/wiki/lego-spectrometer " | Read more » about 7 years ago
warren "Related: How can we detect contaminants in water samples with a DIY spectrometer using reagents? https://publiclab.org/notes/warren/12-18-2017/ca..." | Read more » about 7 years ago
warren "Looks like you can just load it as an image using this code, and insert it: var piImage = new Image(); piImage.onload = function() { ..." | Read more » about 7 years ago
warren "I did find some links here, but haven't tried it! https://learn.adafruit.com/turning-your-raspberry-pi-zero-into-a-usb-gadget/ethernet-gadget htt..." | Read more » about 7 years ago
warren "We're also now collecting more info on this page: https://publiclab.org/w/raspberry-pi-spectrometer " | Read more » about 7 years ago
warren "There's some really good starting code here: https://www.sitepoint.com/streaming-a-raspberry-pi-camera-into-vr-with-javascript/ Please help out if..." | Read more » about 7 years ago
warren "We had an old idea for this a ways back -- posted below. But yours connects so beautifully to the spectrometer, it's a great improvement! " | Read more » about 7 years ago
warren "This can be a helpful way to get the same exposure for two samples at once, which can be important when using a less-controlled camera like a webca..." | Read more » about 7 years ago
warren "Here's one attempt from a few years ago: https://publiclab.org/notes/cfastie/02-25-2014/mobile-cuvette-holder This was designed for a laser, but c..." | Read more » about 7 years ago
programmer1200 "Yes it is possible to redesign it for two cuvette at one time would just need to widen the area toward the spectrometer and double the area on the ..." | Read more » about 7 years ago
warren "Hi, @programmer1200 -- saw your post on a cuvette holder and wondered if it would be possible to use it for two cuvettes simultaneously? Perhaps by..." | Read more » about 7 years ago
warren "Yes, I think that's be great. I'm adding this as a "challenge" on the Spectrometry page, hope someone picks it up. Also see related: https://public..." | Read more » about 7 years ago
warren "Also see this question on getting data off a Raspberry Pi via keyboard emulation: https://publiclab.org/questions/warren/04-29-2017/getting-a-raspb..." | Read more » about 7 years ago
warren "Just wanted also to link to @stoft's input on this question in this comment: As to the RPi camera, it seems to have two "difficulties" which need ..." | Read more » about 8 years ago
warren "Oh great; @khufkens also shared that on this site! https://publiclab.org/notes/khufkens/11-02-2015/ov5647-raspberry-pi-camera-spectral-response-qua..." | Read more » about 8 years ago
warren "I found that V4L2 driver apparently makes it possible to use the raspberry pi camera in Firefox with webrtc, the API Spectral Workbench uses: https..." | Read more » about 8 years ago
Siphirobe "I was wondering the same thing, just with the PiNoIR camera since I am more interested in remote sensing of vegetation. " | Read more » about 8 years ago
stef "@warren After sleeping it over, realized that due to the no IR filter of the raspberry the bandwidth response will be different from the published..." | Read more » about 8 years ago
stef "@warren Here is a link http://www.khufkens.com/projects/ov5647-spectral-response/ and here is a zip file khufkens-pi-camera-response-curves-3342e..." | Read more » about 8 years ago
warren "That's a great thing to point out -- do you per chance have a link to the spectral bandwidth of the sensors? Thanks! " | Read more » about 8 years ago
stef "The BIG advantage of the Raspberry Pi is the use of the Sony IMX298 sensor whose spectral bandwidth is known and is 16 megapixel sensor. Much like ..." | Read more » about 8 years ago
abdul "@warren is there a chance to write a note about using a raspberry pi and post it as a build? I think others have had interest about this. Did we al..." | Read more » over 8 years ago