Skip to content

3D printable DIY spectroscopes and web based capture tools

License

Notifications You must be signed in to change notification settings

joshbrew/Digital-Spectroscope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DIY Digital Spectroscopy

This repository contains free digital spectroscopy software and 3D printable .3mf files (by Davis Fay and Bernard Markus) for an Arducam + 10deg-20deg lens digital spectroscope. Uses stock 1000 line/mm diffraction grating sheets over the lens. The slit uses single edge stainless steel razor blades glued to an adjustible front plate for precise slit width control, we achieved <0.05mm easily with a spacer.

3D Printing:

Additional Resources

We are working on a web based hyperspectral imaging tool on top of a proof of concept identification pipeline.

Revision 2 Phone and Arducam Mounts by Davis Fay:

boxa boxb
boxc boxd

Phone Hyperspectral Imaging Results:

setup light fossil
scan scan2

Revision 1 by Bernard Markus:

capturea boxb boxb
boxc boxd Chocolate bar wrapper hyperspectral scan:
Capture2

Make sure the diffraction grating is aligned vertically with the slit. The camera rotation should be so that the image is horizontal, you can have it aligned right to left or left to right for increasing wavelength at your preference.

Software demo

Perform digital spectral decomposition in your browser!

ONNX Camera ID Demo for a real time video image classifier demo, which will analyze averaged frames from your digital spectroscope and run results through a classifier or let you generate datasets on the fly. Also links to the training and exporting software for creating compressed XGBoost models from your dataset.

This repo comes with a digital spectrometer workbench prototype, works with any webcam or image/video uploads. This is a pre-alpha functional test. See the live demo at https://camspectrometer.netlify.app built directly from this repo using Netlify.

To run: npm start or tinybuild

Or npm i -g tinybuild then the above command.

Software example (cropped): scrn

My first test of a tabletop spectrometer using a 1080p wifi cam, 1000 line/mm off-the-shelf diffraction grating (e.g. from Amazon), black foam board, and a lot of tape: test

Results - sunlight through my window: wind

  • Not yet added: wavelength estimation, etc.

All of the prototypes by Bernard:

Credits

  • 3D print files by Bernard Markus and Davis Fay
  • Spectrometer software demo by Joshua Brewster and Garrett Flynn.
  • Fishazam project by Yassine Santissi.
  • This project is being developed for creating a fish identification dataset.

Inspired by the Theremino spectrometer tutorial, with a much needed update using an accessible browser framework. You can use this to build your own.

Sponsored by Schmidt Marine Foundation.

We recommend using the 1080p Arducam with an 8mm lens with no IR-CUT filter or night vision LEDs (you can just unplug them if they come with it). The diffraction grating is the one from children's toy science kits. The box, well we just used what was within reach...

We're going to develop our own dedicated low cost solution to help run mass data collection experiments to test fish being sold on the market for quality, correct identification, etc. purposes.

About

3D printable DIY spectroscopes and web based capture tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published