Close
0%
0%

DAV5 V3.01 Raman Spectrometer

The only thing worth doing, is the thing worth doing right!

Similar projects worth following
This is my place to play...My own little private Idaho!

UPDATE 01/12/2018 6:31:PM

Tactical flashlight scan @ 2ms CCD 8-Bit (TCD1304DG) detector circuit test:

A better 1st mirror alignment and a 2nd 150mW laser line test:

The plot above has a FWHM value of 1.005nm resolution.

Fixed the 1st mirror position, I have much better resolution now :)

Another test scan today using my Aries 150mW green laser and a 0.1mm slit width @ 3ms integration time:

A little bit of clipping can be seen even though I had the variable polarizing lens at 75% still got a resolution factor of 2nm :)

New test scans using the 8-Bit CCD detector (TCD1304DG)

Final version of the Motor Control Targeting Interface unit for the diffraction grating turret control system:


Excel chart data:

New CCD scans using a 32mm achromatic coated lens @ the 1st collimation mirror and a compact fluorescent lamp, below is the raw data of various scans:

Below is the processed data of my CFL lamp:

and finally, the FWHM data from the above spectrum:


A calibrated Solux lamp spectrum (mine,) 4700K/50W/12vdc/1.2A/0.10mm slit width

Turret @ zero position (baseline) 0.00 nm/ Integration time: 150ms

2400ln/mm diffraction grating:

7 Dark Count scans I did to determine which integration time is the most ideal and it appears to be 50ms, 15ms and 10ms:


CCD detector Allmon & Haffner v1.1 is done.

-Testing Platform


PLX-DAQ v2.11 Dual Trace Transfer to Excel

New 8-Bit TCD1304 CCD detector driver board

New schematic

8-Bit Main SCH 1

8-Bit Sheet 2


Cost analysis comparing Raman Spectrometers and Lasers from StellerNet Inc. to the DAV5 V3.01 3D printable Raman Spectrometer:

DAV5 V3.01 Raman Spectrometer uses an Aries 532nm 150mW CW/DPSS Green Laser

Cost - $ 199.99 US

The DAV5 V3.01 3D Printable Raman Spectrometer

DAV5 V3.01 Raman Spectrometer - $ 657.35 US

... Read more »

Spectral-Database-1.0-master (3).zip

This is the latest installment to my spectral database on github, there are now 125 absorption and emission scans. PNG pics are also included relative to the particular studies being done.

x-zip-compressed - 3.19 MB - 04/15/2017 at 14:16

Download

Spectral-Database-1.0-master (2).zip

4 new raw data files added, parts 1 and 2 from; Effects of Solvents on Fluorescence of Biological Dyes done on 8/26/2016

x-zip-compressed - 1.70 MB - 04/13/2017 at 15:00

Download

Spectral-Database-1.0-master.zip

This is the begining of my spectral database collection project over at Github

x-zip-compressed - 1.49 MB - 04/13/2017 at 08:31

Download

FIXED cuvette holder FEB 2 (Meshed).stl

*UPDATED: 2/5/2017 re-designed the Raman filter slot again, I found a less expensive Raman edge filter at Thorlabs that will work just fine, so the new slot is now 25.5 x 4.45mm and 39mm deep so the filter is at 12.5mm center line.

Standard Tesselated Geometry - 1.41 MB - 02/05/2017 at 13:12

Download

25 x25 x 6mm diffraction hologrphc done (Meshed).stl

UPDATE 1/17/2017:Holographic Diffraction grating mount holder. Dimensions; 27 x 27x with a 6mm width slot for grating mount. Inlayed 2mm at slot bottom.

Standard Tesselated Geometry - 597.64 kB - 01/17/2017 at 23:07

Download

View all 12 files

  • 1 × Cuvette Holder W/ Exit slit plate Dimensions; 45 X 45 X 25 mm / 3D-printed by Sculpteo
  • 1 × Round standoff M3 Nylon 13mm
  • 1 × Round standoff M3 Brass 11mm Used for enclosure
  • 1 × Machine screw Pan head phillips M3
  • 1 × Machine screw Pan head phillips M4

View all 14 components

  • *Update* V3.02 Raman Spectrometer Solux Lamp spectrum Scan

    David H Haffner Sr11/30/2017 at 15:06 0 comments

    This is a critical alignment test before I install the new 1st collimation mirror and 1200ln/mm diffraction grating, I wanted to make sure that my mirror and diffraction grating placement are in their proper aligned positions.

    The results are very good, so now I can be assured that the CCD's angle will be correct as it relates to the 2nd mirror and I will get the full spectrum on the CCD.

    These are the main 3 points of reference for this particular broadband spectrum (Solux lamp 4700K, 50W, 12vdc.) The Original spectrum from the Solux factory has the points of reference at 529, 701 and 1013nm. 

    MIne is a little off right now because of my 1st mirror ( a special silver coated reflective flat mirror [99% reflectivity]

    not bad, but not good enough. The 1st mirror will be like the 2nd mirror, 1'' convex focusing mirror with a focal length of 100mm, and a working distance of; 3.54''. 

  • CCD Detector 8-Bit TCD1304 Finished

    David H Haffner Sr11/09/2017 at 19:24 0 comments

    The TCD1304DG CCD detector for the DAV5 3D printable Raman spectrometer is finished, this CCD was a collaborative effort between myself and Dave Allmon. His design, my work and experimentation and finally his debugging and final PCB product have made this beautiful detector possible :)

    All details and specs can be found here: Fast 8-Bit CCD detector TCD1304

    CCD detector MAIN SCH

    Motor Control Interface

  • Motor Control Targeting Interface Mega 2560 V3.02

    David H Haffner Sr11/06/2017 at 14:57 0 comments

    *UPDATED Turret Control Program:

    /*When you turn the rotary encoder clockwise, the angular displacement is increased;

      when you turn it counterclockwise, the displacement is decreased.  If you press the switch on the rotary encoder, the readings will return to zero  Original code can be found here://Email: support@sunfounder.com  //Website: www.sunfounder.com  //2015.5.7/
    
      **Although this is in the Public Domain, I have created a "Creative Commons License" for this work,  the reason is, I made enough mod's and put in many hours of work to make this program accurate and  efficient as part of a much larger project @ Hackaday.com, the DAV5 3D Printable Raman Spectrometer.
    
      There are individuals there that have engaged in "intellectual theft" and not bothered to give credit  where credit was certainly due, so I believe I have no choice but to go this route since I have put in  2 years of very hard work on this.**
    
      The creative commons license can be viewed here: http://thequantumhub.blog/
    
      I have modified this code to accomodate my diffraction grating turret for  the DAV5 Raman 3D printable Spectrometer (http://hackaday.io/project/18126-dav5-v301-raman-spectrometer)
    
      Written and modified by David H Haffner SR 10/18/2017
    
      Full project details can be found here @ https://hackaday.io/project/18126-dav5-v301-raman-spectrometer
    
      This program is also in the public domain @ https://playground.arduino.cc/Main/KY-040EncodeUsedToControlAHolographicDiffractionGratingForARamanSpectrometer
    
      It utilizes a KY-040 encoder to control the holographic diffraction grating  at steps of 1 & -1, each pin (SW,DT and CLK) has a 0.1uf ceramic cap for decoupling,  this is more effective for rise time spike removal. There are 2 LED indicators, a red for encoder step movements and  a yellow for home position indication that will light when the shaft docks back to a pre-determined home position,(I'm still  working on it,)This is accomplished by adjusting both "StepsToTake and RotoryPosition," they are in direct relation to steps per revolution  of the internal shaft according to the type of stepper motor you are using (mine is a 28-YBJ-48).Fine tuning can be done by playing between  STEPS (per revolution of shaft) and Speed, this will ensure smoother transitions when turning the encoder for fewer misses.  If you press the switch on the rotary encoder, the readings will return to approx zero 0.21 percent error.  a 0.1uf ceramic Cap is placed @ PinSW (4) to + (the reason for the pin pullup).
    
      The formula in this sketch is derived from the specifications of the 28-YBJ-48 stepper MTR  which has a step angle of 5.62deg, to convert degrees into nanometers you 1st have to convert  degrees into radians {RAD}, we do this for the 1st specification which is 5.625deg = 0.09817474 {RAD}  this # is then divided by the equitorial radius of the Earth which is 3,963.2 miles.
    
      Our new value would then be, 0.000024772 miles (NM), convert this into centimeters, (3.986667)
    
      Now with this #, we multiply it by the constant of 1 (NM) = 1609344e+012 miles *(Variable)/ 7  gives us our converting factor from encoder position count to nanometer counts.
    
      Sketch uses 9202 bytes (3%) of program storage space. Maximum is 253952 bytes.  Global variables use 519 bytes (6%) of dynamic memory, leaving 7673 bytes for local variables. Maximum is 8192 bytes.
    
    • /
    1. include <digitalWriteFast.h>
    2. include <math.h>
    3. include <Wire.h>
    4. include <LiquidCrystal_I2C.h>
    5. include "Stepper.h"
    6. define STEPS 64 // Number of steps for one revolution of Internal shaft

    // 2048 steps for one revolution of External shaft LiquidCrystal_I2C lcd(0x3F, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); // Set the LCD I2C address

    double double_x = 3.986667 * 1.609344e+012 * 0 / 7;

    volatile boolean TurnDetected; // need volatile for Interrupts volatile boolean rotationdirection;...

    Read more »

  • Final CCD Circuit Board TCD1304DG Verified Working...Ready for final steps

    David H Haffner Sr10/13/2017 at 14:13 0 comments

    Final board design (needs 1 minor track change from C9 & C13 on PCB, could have been my fault upon manual component placement.) All in all, this baby works :)

    The plots below will show a red laser pointer (<5mW) aimed approx. center on the CCD, NO diffraction grating but I used a 2nd order regression formula table I made on Excel to calibrate the pixels into wavelength (nm). 

    This is the un-calibrated plot, it has been corrected for Intensity sensitivity (using an official data set from the Solux corp. technical website/Solux broadband spectrum-4700K ( 260 - 1100nm)

    This is the summary output from Excel using 8 "true" wavelength peaks from an Hg calibrated lamp spectrum. The R squared value is not quite were it should be ( .999) but that's because there was no diffraction grating and I was holding the Laser pointer with my hand.

    Still very close, this is just an initial example, making sure the circuit board is functional. The laser pointer states 650nm, but I am getting a calibration of 700nm, probably is about 650nm when I get it in the enclosure with all the optics in place, it should register normally.

    This is the FWHM value data

    This is how I have the board designed so the USB cable enters the FTDI from the rear and power also enters from the rear and connects to the Arduino Mega 2560 mounted on the side of the enclosure.

    Finally, a front view of the PCB, everything is tightly placed together, I found out something very interesting since this is the 5th re-design, the ADC does NOT like to be too close the LM324 (opamp) I'm sure I could have solved this problem if I would have taken a little more time and perhaps followed the recommended PCB design on the data sheet for the LM324 but it also required a low pass buffer and I just was not in the mood for so much work, sorry.

    Anyway I am excited that it finally works well and can't wait to get it in the enclosure with all the fancy optics!

  • Consistency is the key to success

    David H Haffner Sr09/29/2017 at 13:48 0 comments

    As my project reaches its final phases, I am reminded of the basic tenets of the scientific method:


     The scientific method requires making observations, recording data, and analyzing data in a form that can be duplicated by other scientists. In addition, the scientific method uses inductive reasoning and deductive reasoning to try to produce useful and reliable models of nature and natural phenomena.

    One may not really pay that much attention to this when building projects as we do but the same applies as well, especially for a project such as this. 


    This flow chart depicts the four basic steps in this process, sometimes I think we forget how to properly utilize this chart when rushing to complete a project to gain a little popularity and monetary gain in the market place and what happens is, the final product becomes somewhat sub-standard at best and perhaps a bit in question as to quality standards of results.

    A shinny object with many bells and whistles but no substance under the hood, a good project does not make! A project with a trail of evidence acquired through the scientific method is best.  

    Case in point;

    The two resolution tests done today 09/28/2017, were carried out with two laser pointers, a 532nm green laser <5mW and a 405nm violet laser <5mW. The point of the experiment was to test my CCD driver (TCD1304DG,) detector’s resolution as it stands at this moment, and check for consistency. Even though I am not using any diffraction grating in my test platform I have a dichroitic mirror with a cutoff at 650nm that works like a beam splitter, quite adequate for testing purposes.

    The setup is simple, the entrance slit is 2 Gillette razor blades placed at 0.25mm width, distance to 1st mirror (silver coated @ 99% reflectivity,) is 70mm, the beam then travels @ 45 degrees to the dichroitic mirror and is reflected to the CCD @ 39 degrees (blaze angle).

    In this way I can capture 85 percent of the beams wavelength and tame the Ariel disk effect without having to use any additional filters or optics. A rather unconventional approach I know, but it works.

    This test platform allows me to utilize this circuit as my Beta board, meaning it’s not the final product. This lets me test its functionality in real time and lets me make real time adjustments and design changes as needed. The final board is already to go as soon as I do a few more test runs on this one and I’ll send off the files to get the PCB’s made.

    The new dimensions will allow for an excellent fit in the main spectrometer’s enclosure, I was able to reduce the circuit board to 3.5” X 3” (88.9 X 76.2 mm).


    Step number two in the scientific process here as it relates to spectroscopy is, spectral calibration. What I mean by this is, I can’t just drop a sample in the cuvette holder and shoot an image and call it a day, post a spectrum and claim its what I said it is, it doesn’t work that way.

    There are standards of practice when it comes to qualitive chemical analysis.

    • Use Traceable Standard Reference Materials

    Reference material uses include validating methods that help ensure accurate data from individual test runs, calibrating instruments and assessing analyst proficiency. In the United States, a NIST standard reference material is considered the “gold standard” for that material. 

    2.    Run in Duplicate

    The purpose of duplicate (sometimes triplicate) testing is to add to the confidence that the test run has produced good data for the test object. Replicate data that agrees is a good measure of method reproducibility but does not prove data accuracy (validity). If the same test run includes a reference material, then the confidence in the validity of the data for the test object is significantly raised. If the object’s replicate test data is not in agreement, one or more of the data points may be invalid; the object should be retested and/or the procedure should be reviewed....

    Read more »

  • 1nm Resolution Test Successful 8-Bit CCD Detector TCD1304DG

    David H Haffner Sr09/26/2017 at 15:17 0 comments


    Well, this may be the ugliest test platform I have ever made but it sure worked, I had to modify my circuit board @ R8 going to pin#3 at the opamp [LM324], by running a bypass from the C9 [200pf cap,] to pin#3 @ the LM324, some strange ground problem I can't quite figure out yet from manually placing the components on the PCB design circuit in DesignSpark.

    Anyway the bypass works like a champ, I have a very low noise floor [SNR] and a very good signal :) I used a RED 650nm laser pointer as my test spectrum to determine resolution, used NO diffraction grating, only a 0.25mm razor blade slit and my silver coated mirror. 

    Straight to the point, the data is UN-calibrated, for now, but initial results are beautiful.

    Data first...

    Figure 1 is the 1st spectral image starting from 1500 - 1726 pixels (X axis,) 


     Figure 2 shows the spectrum cutoff @ 1700 - 1726 pixels (X axis,)

    -

    Next figure (3) is the FWHM data set,


    Here we can see peak position @ 1717 pixels (nm) with A Full Width Half Maximum (FWHM) of 1.0547nm, most excellent, especially since I was only using a makeshift entrance slit made from two gillette razor blades @ a width of 0.25mm. 

    Below is my test platform I made just for this purpose:


    Next image is a closer look at the circuit board:


    And finally a better look at the angle of the mirror in relation to the detector:

  • PLX-DAQ v2.11 Dual Trace Transfer to Excel

    David H Haffner Sr09/20/2017 at 15:28 0 comments

    This is my second installment on using PLX-DAQ as an easy method of sending data from an Arduino or any AVR related MCU to Excel. Here I will be showing you how to process the data into a graphical chart for plotting it’s values…the easy way 🙂

    Download PLX-DAQ v2.11 here: http://forum.arduino.cc/index.php?top...

    Code can be found here: http://playground.arduino.cc/PLXDAQ64...

  • Updated PCB for 8-BIT CCD Detector (TCD1304DG)

    David H Haffner Sr08/25/2017 at 09:28 0 comments

    Updated 08/25/2017

  • Adjustable Mechanical Slit 3D-Printed for Raman Spectrometer

    David H Haffner Sr08/14/2017 at 16:05 1 comment

    This was a design I worked on back in December of 2016, I took the inspiration from a ThorLabs design, which gave me the idea to make one using a mechanical micrometer a means to manually adjust the entrance slit in increments of my choosing.

    Namely, in the range of 0.005/mm, it works on FreeCad v0.16 using the animation simulation, but I am still trying to work out some tolerance issues that are plaguing this design, mainly because of the 3d printing material and techniques.

    I'm going to upload the mesh/.stl files anyway in case someone can tweak it and make it better, don't worry there is no license or anything, as all my work here is provided freely, just relying on an honor system of giving credit where credit is due.


    The blue hexagon, are 2 Gillette utility knife razor blades, which I examined the edges with my microscope (100x) and the edges are surprisingly even, with fewer jagged edges than normal blades, so both edges come together with a very tight fit.


    I have the mechanical drawings available if anyone is interested, just let me know and I will email them to you.   

  • *Data Update* 8-Bit CCD Driver Circuit (TCD1304DG)

    David H Haffner Sr08/03/2017 at 19:50 0 comments

    Well I've worked out some noise issues concerning the 8 bit ccd design, I'm glad I got to play around with it on the breadboard before ordering the PCB. I was able to make some needed tweaks in DesignSpark and update the gerber files and now they are getting made @ PCBWay.com :) 

    I am confident in it's performance, even @ 8 bits, I did learn a few things though about working with CCD's, one is, thermal noise, yeah, even with NO power its still there, and on the breadboard it has little room for any air circulation underneath, so I had to compensate for this "dark current" by taking at least 5 dark frames and comparing the frame with the least amount pixel depth and then averaging the other frames together at their higher RMS #'s and subtracting that from the low pixel numbered frame and that gave me a pretty good representation of the most stable dark current values.

    I did the same procedure with the sample frame, I used my Solux 50 Watt Halogen lamp (4700K), which uses a 12vdc regulated power supply @ a distance of 52 cm and a slit width of 0.5 mm and slit length of 16 mm.  The biggest reason for following the same procedure with the sample frames is because of what is called "shot noise," 

    Which is caused by the random arrival of photons.  This is a fundamental trait of light.  Since each photon is an independent event, the arrival of any given photon cannot be precisely predicted; instead the probability of its arrival in a given time period is governed by a Poisson distribution.  With a large enough sample, a graph plotting the arrival of photons will plot the familiar bell curve.

    Shot noise is most apparent when collecting a relatively small number of photons.  It can be reduced by collecting more photons, either with a longer exposure or by combining multiple frames.

    I chose the multiple frames option because I am not capturing any live spectra, as one would if you were imaging a galaxy for example, so I used an integration time of 0.50 ms long enough to get the shot but short enough to not introduce unnecessary noise caused by longer exposure times.

    The first plot we will look at is figure 3, because its the raw spectrum from 260 pixels to about 1200 pixels in length. I processed the CCD data using Spectragryph 1.2.0 designed and written by Dr. Freidrich Menges PhD. and is now certified by the NIST. I already subtracted it from the dark frame and flipped it right side up using this LOG formula in excel; =(10*(-B2))*100. This will convert the Y values to -LOG so the spectrum will revert to a transmission spectrum, because negative numbers do not make sense in this case.


    The next plot figure 2, is the spectrum cutoff at 385 - 800 pixel counts. This was the reason for the 16 mm slit length, the only way to manually control the wavelength range was to simulate an actual spectral image on the CCD substrate without a diffraction grating.

    In figure 2 you also notice, how I calibrated my Solux spectral image to correspond to a master reference spectrum, a Solux spectral plot I downloaded from Solux Technical Data and Graphs


    Here is the spectral resolution data for this spectral plot below


    Keep in mind that, @ 1 and 2 nm it's not the best but we are working from a breadboard after all, with no diffraction grating or optics!

    Finally I put it all together in figure 1, best for last, and introduced a feature in Spectragryph 1.2.0 called "Spectropic view," where I can align the plot to fit a particular wavelength range and image the spectral lines.


    The next steps are clear when the PCB boards come in and then the final phase of testing can begin :)

View all 119 project logs

  • 1
    Step 1

    These are the build instructions for my LS-532 CB/fiber optic laser collimation tube;

    New Holographic diffraction grating holder assembly.W/drawings:

    The newly re-designed parts came in so I began to prep them and wanted to include them here under build instructions;

    These are the first preliminary drawings and CAD blueprints depicting several aspects in the assembly design and by no means is this the final assembly steps;

  • 2
    Step 2

  • 3
    Step 3

    10X Lens Holder Base assembly and holder design W/ slide rail feature:

View all 13 instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates