{"id":215,"date":"2024-02-17T19:02:15","date_gmt":"2024-02-17T19:02:15","guid":{"rendered":"https:\/\/www.photometric.io\/blog\/?p=215"},"modified":"2024-10-14T10:00:22","modified_gmt":"2024-10-14T10:00:22","slug":"vis-spectrometer-hardware","status":"publish","type":"post","link":"https:\/\/www.photometric.io\/blog\/vis-spectrometer-hardware\/","title":{"rendered":"VIS Spectrometer &#8211; Hardware"},"content":{"rendered":"\n<p>I have started another interesting project: a spectrometer with a range of 380-720nm. This spectrometer can be assembled at a reasonable cost using components of a decent quality.<\/p>\n\n\n\n<p>Here&#8217;s a look at the completed device:<\/p>\n\n\n\n<figure data-wp-context=\"{ &quot;core&quot;:\n\t\t\t\t{ &quot;image&quot;:\n\t\t\t\t\t{   &quot;imageLoaded&quot;: false,\n\t\t\t\t\t\t&quot;initialized&quot;: false,\n\t\t\t\t\t\t&quot;lightboxEnabled&quot;: false,\n\t\t\t\t\t\t&quot;hideAnimationEnabled&quot;: false,\n\t\t\t\t\t\t&quot;preloadInitialized&quot;: false,\n\t\t\t\t\t\t&quot;lightboxAnimation&quot;: &quot;zoom&quot;,\n\t\t\t\t\t\t&quot;imageUploadedSrc&quot;: &quot;https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/full-3.png&quot;,\n\t\t\t\t\t\t&quot;imageCurrentSrc&quot;: &quot;&quot;,\n\t\t\t\t\t\t&quot;targetWidth&quot;: &quot;2003&quot;,\n\t\t\t\t\t\t&quot;targetHeight&quot;: &quot;1473&quot;,\n\t\t\t\t\t\t&quot;scaleAttr&quot;: &quot;&quot;,\n\t\t\t\t\t\t&quot;dialogLabel&quot;: &quot;Enlarged image&quot;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\" data-wp-interactive class=\"wp-block-image aligncenter size-large is-resized wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"753\" data-wp-effect--setStylesOnResize=\"effects.core.image.setStylesOnResize\" data-wp-effect=\"effects.core.image.setButtonStyles\" data-wp-init=\"effects.core.image.initOriginImage\" data-wp-on--click=\"actions.core.image.showLightbox\" data-wp-on--load=\"actions.core.image.handleLoad\" src=\"https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/full-3-1024x753.png\" alt=\"finished diy spectrometer\" class=\"wp-image-220\" style=\"width:642px;height:auto\" srcset=\"https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/full-3-1024x753.png 1024w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/full-3-300x221.png 300w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/full-3-768x565.png 768w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/full-3-1536x1130.png 1536w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/full-3.png 2003w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge image: finished diy spectrometer\"\n\t\t\tdata-wp-on--click=\"actions.core.image.showLightbox\"\n\t\t\tdata-wp-style--right=\"context.core.image.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"context.core.image.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button>        <div data-wp-body=\"\" class=\"wp-lightbox-overlay zoom\"\n            data-wp-bind--role=\"selectors.core.image.roleAttribute\"\n            data-wp-bind--aria-label=\"selectors.core.image.dialogLabel\"\n            data-wp-class--initialized=\"context.core.image.initialized\"\n            data-wp-class--active=\"context.core.image.lightboxEnabled\"\n            data-wp-class--hideAnimationEnabled=\"context.core.image.hideAnimationEnabled\"\n            data-wp-bind--aria-modal=\"selectors.core.image.ariaModal\"\n            data-wp-effect=\"effects.core.image.initLightbox\"\n            data-wp-on--keydown=\"actions.core.image.handleKeydown\"\n            data-wp-on--touchstart=\"actions.core.image.handleTouchStart\"\n            data-wp-on--touchmove=\"actions.core.image.handleTouchMove\"\n            data-wp-on--touchend=\"actions.core.image.handleTouchEnd\"\n            data-wp-on--click=\"actions.core.image.hideLightbox\"\n            tabindex=\"-1\"\n            >\n                <button type=\"button\" aria-label=\"Close\" style=\"fill: var(--wp--preset--color--foreground)\" class=\"close-button\" data-wp-on--click=\"actions.core.image.hideLightbox\">\n                    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" width=\"20\" height=\"20\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z\"><\/path><\/svg>\n                <\/button>\n                <div class=\"lightbox-image-container\">\n<figure class=\"wp-block-image aligncenter size-large is-resized responsive-image\"><img decoding=\"async\" data-wp-bind--src=\"context.core.image.imageCurrentSrc\" data-wp-style--object-fit=\"selectors.core.image.lightboxObjectFit\" src=\"\" alt=\"finished diy spectrometer\" class=\"wp-image-220\" style=\"width:642px;height:auto\"\/><\/figure>\n<\/div>\n                <div class=\"lightbox-image-container\">\n<figure class=\"wp-block-image aligncenter size-large is-resized enlarged-image\"><img decoding=\"async\" data-wp-bind--src=\"selectors.core.image.enlargedImgSrc\" data-wp-style--object-fit=\"selectors.core.image.lightboxObjectFit\" src=\"\" alt=\"finished diy spectrometer\" class=\"wp-image-220\" style=\"width:642px;height:auto\"\/><\/figure>\n<\/div>\n                <div class=\"scrim\" style=\"background-color: var(--wp--preset--color--background)\" aria-hidden=\"true\"><\/div>\n        <\/div><\/figure>\n\n\n\n<p>This device draws inspiration from existing DIY spectrometers, particularly the <a href=\"https:\/\/ottervis.wordpress.com\/\" target=\"_blank\" rel=\"noopener\">OtterVIS<\/a> project. However it differs from existing designs in several aspects:<\/p>\n\n\n\n<ul>\n<li>A modular design allows for quicker prototyping of modifications, incorporating a total of 12 3D-printed parts.<\/li>\n\n\n\n<li>Adjustable collimation is achieved through opposing screws.<\/li>\n\n\n\n<li>Focus can be adjusted via the focusing ring, simplifying the initial setup, facilitating easy refocusing during modifications, and accommodating dimensional instability in 3D-printed parts.<\/li>\n\n\n\n<li>It is designed to accommodate a higher quality glass grating for increased light sensitivity.<\/li>\n\n\n\n<li>It includes support for a UV\/IR cut filter to minimize stray light.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How the Spectrometer works<\/h2>\n\n\n\n<p>Below, I&#8217;ve provided an annotated cross-section of the design. Firstly, light passes through an optical slit. This light is then collimated, and a UV\/IR cut filter eliminates light outside the intended spectral range, serving as a measure to reduce stray light. Following this, the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Diffraction_grating\" target=\"_blank\" rel=\"noopener\">diffraction grating<\/a> diffracts light at a certain angle depending on its wavelength, similar to a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Prism_(optics)\" target=\"_blank\" rel=\"noopener\">prism<\/a>. Notably, some light (referred to as the zero-order beam) will not be diffracted, which could potentially lead to unwanted measurement errors if not properly managed. The light we&#8217;re interested in is the first order diffraction which is focused onto a linear CCD sensor. <\/p>\n\n\n\n<p>This configuration ensures that each wavelength component of the incoming light is focused onto a corresponding pixel on the sensor (or is otherwise absorbed within the system). The value measured by each pixel corresponds to the intensity of the respective wavelength.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"989\" src=\"https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/model_cut-1024x989.jpg\" alt=\"annotated spectrometer cross section\" class=\"wp-image-223\" srcset=\"https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/model_cut-1024x989.jpg 1024w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/model_cut-300x290.jpg 300w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/model_cut-768x742.jpg 768w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/model_cut.jpg 1218w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Bill of Materials<\/h2>\n\n\n\n<ul>\n<li><strong>Optical Slit<\/strong><br>About a year ago I bought <a href=\"https:\/\/diy-optics.com\/products\/precision-optical-slit-50um-12mm?variant=42276063510685\" target=\"_blank\" rel=\"noopener\">this 50um slit<\/a> for an admittedly cheap price of 12\u20ac, but unfortunately, the prices have quadrupled since then. The aluminium one is a bit cheaper and should also do the trick. Otherwise the goto DIY solution for an optical slit is to use two mounted razor blades.<\/li>\n\n\n\n<li><strong>Collimator and Focusing Lens<\/strong><br><a href=\"https:\/\/ottervis.wordpress.com\/lens-choice\/\" target=\"_blank\" rel=\"noopener\">Same as the OtterVIS spectrometer<\/a> I&#8217;m also using two Pentax SMC-M 50mm f\/2. These are fairly cheap when buying them used.<\/li>\n\n\n\n<li><strong>UV\/IR Cut Filter<\/strong><br>Adding this is completely optional and it&#8217;s not included in other DIY designs I&#8217;ve seen, but I decided to spend the money in order to reduce the stray light from light sources with a high IR intensity, like the sun. I went for an <a href=\"https:\/\/www.astronomik.com\/en\/astronomik-l-1-uv-ir-block-d27mm.html\" target=\"_blank\" rel=\"noopener\">Astronomik L-1 UV-IR Block 27mm<\/a>, but feel free to look for alternatives; I don&#8217;t earn anything for linking to products here.<\/li>\n\n\n\n<li><strong>Diffraction Grating<\/strong><br>I started out with the affordable foil diffraction gratings easily found on Amazon but later opted for a <a href=\"https:\/\/www.aliexpress.com\/item\/1005003089109534.html\" target=\"_blank\" rel=\"noopener\">higher quality one from aliexpress<\/a>. It&#8217;s important to select a grating with <strong>1000 lines\/mm<\/strong> unless you&#8217;re planning to modify the design.<\/li>\n\n\n\n<li><strong>Linear CCD module<\/strong><br>I used the TCD1304 sensor, but driving it is its own project in itself. Fortunately, there&#8217;s a comprehensive resource at <a href=\"https:\/\/tcd1304.wordpress.com\/\" target=\"_blank\" rel=\"noopener\">tcd1304.wordpress.com<\/a> where someone has already done the groundwork. <br>The site offers all the design files and software, and they even provide unpopulated and populated boards at very reasonable prices if you want to avoid the hassle of ordering and assembling the PCB yourself. A good video for getting started is available <a href=\"https:\/\/www.youtube.com\/watch?v=jLEGIcYzGrE\" target=\"_blank\" rel=\"noopener\">on YouTube<\/a>.<\/li>\n\n\n\n<li><strong>Black filament<\/strong><br>For the 3D printed parts, it&#8217;s crucial to use black or at least dark filament to prevent light reflection inside the spectrometer, which could affect your measurements. I used dark gray filament but added <a href=\"https:\/\/www.mjkzz.de\/products\/fineshut-sp-0-4-ultrablack-sheet?variant=38030463729847\" target=\"_blank\" rel=\"noopener\">an anti-reflective sheet<\/a> to any light-reflective surfaces since I had one available. <\/li>\n\n\n\n<li><strong>Compact Fluorescent Lamp (CFL)<\/strong><br>We&#8217;ll use a CFL for wavelength calibration and testing, as they emit many <a href=\"https:\/\/en.wikipedia.org\/wiki\/Spectral_line\" target=\"_blank\" rel=\"noopener\">spectral lines<\/a> in the visible range, making them suitable for our needs.<\/li>\n\n\n\n<li><strong>Screws + Heat Set Inserts<\/strong> (Metric)<br>You&#8217;ll need a couple of screws and heat set inserts. Feel free to adapt the model to accommodate what you have available. The current design requires:\n<ul>\n<li>3 * M1.4&#215;6 (needs to be M1.4, as it attaches to the lens)<\/li>\n\n\n\n<li>3 * M2x8 (needs to be M2, as it attaches to the lens. 8mm might be slightly too long, so use with washers to ensure free rotation of the focus ring)<\/li>\n\n\n\n<li>3 * M3x6<\/li>\n\n\n\n<li>3 * M3x8<\/li>\n\n\n\n<li>12 * M3x12<\/li>\n\n\n\n<li>9 * M3x16<\/li>\n\n\n\n<li>9 * M3 (d5 * h4) heat set inserts<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Tools<\/h2>\n\n\n\n<p>You&#8217;ll need some tools:<\/p>\n\n\n\n<ul>\n<li>Hex keys<\/li>\n\n\n\n<li>Small phillips screw driver for lens disassembly<\/li>\n\n\n\n<li>M3 thread cutter (requires 2.5mm drill to correctly size the holes) and optionally drill bits for post-processing of the parts if any holes come out undersized (2mm, 3mm)<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Assembly<\/h2>\n\n\n\n<p>First you&#8217;ll need to print the parts. <strong>The Fusion360 file has a &#8220;Clearance&#8221; parameter which you&#8217;ll have to adapt depending on your printer.<\/strong> I printed my parts on a Prusa Mk4, which can maintain tighter tolerances, so a clearance of 0.1mm was sufficient. The Fusion360 file is available here: <a href=\"https:\/\/a360.co\/4bHP4QD\" target=\"_blank\" rel=\"noopener\">a360.co\/4bHP4QD<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"font-size:clamp(0.984rem, 0.984rem + ((1vw - 0.2rem) * 1.214), 1.5rem);\">Lens Disassembly<\/h3>\n\n\n\n<p>You&#8217;ll need to disassemble the lenses up to a certain point which is depicted in the picture below. If you&#8217;re wondering why the image looks unusual: I didn&#8217;t remember to take a photo before assembling my spectrometer, so the left one required a bit of Photoshop work. Here is a <a href=\"https:\/\/www.youtube.com\/watch?v=pjYoDIpw_Jw\" target=\"_blank\" rel=\"noopener\">video of a <strong>complete <\/strong>disassembly of the lenses<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img decoding=\"async\" width=\"1024\" height=\"595\" src=\"https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/lens-1024x595.png\" alt=\"disassembled lenses\" class=\"wp-image-271\" style=\"width:556px;height:auto\" srcset=\"https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/lens-1024x595.png 1024w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/lens-300x174.png 300w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/lens-768x446.png 768w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/lens.png 1282w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>When both lenses are prepared as shown, remove the screws from <strong>ONE<\/strong> lens as illustrated and slide out the lens assembly from the focusing mechanism. Secure the rod that controls the aperture blades with electrical tape, ensuring they remain open.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"font-size:clamp(0.984rem, 0.984rem + ((1vw - 0.2rem) * 1.214), 1.5rem);\">Optical Slit<\/h3>\n\n\n\n<p>A good starting point is assembling the slit holder, assuming you&#8217;ve acquired an optical slit. Insert the heat set inserts as shown, align the optical slit, and secure it by screwing down the top piece. Optionally, you can affix a diffuser to the top and anti-reflective black foil to the bottom using double-sided tape.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img decoding=\"async\" width=\"1024\" height=\"516\" src=\"https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/slitholder-1-1024x516.png\" alt=\"optical slit assembly\" class=\"wp-image-269\" style=\"width:562px;height:auto\" srcset=\"https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/slitholder-1-1024x516.png 1024w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/slitholder-1-300x151.png 300w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/slitholder-1-768x387.png 768w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/slitholder-1-1536x774.png 1536w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/slitholder-1-2048x1032.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"font-size:clamp(0.984rem, 0.984rem + ((1vw - 0.2rem) * 1.214), 1.5rem);\">Collimator<\/h3>\n\n\n\n<p>To assemble the collimator, simply place the collimator lens into the 3D printed holder and secure it with the cap. Attach the slit assembly you&#8217;ve previously assembled, maintaining a spacing of about 1mm. Don&#8217;t worry about the possible light leak for now, this will be closed up after collimation.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img decoding=\"async\" width=\"1024\" height=\"637\" src=\"https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/collimator-1024x637.png\" alt=\"collimator assembly\" class=\"wp-image-270\" style=\"width:536px;height:auto\" srcset=\"https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/collimator-1024x637.png 1024w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/collimator-300x187.png 300w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/collimator-768x477.png 768w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/collimator-1536x955.png 1536w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/collimator-2048x1273.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"font-size:clamp(0.984rem, 0.984rem + ((1vw - 0.2rem) * 1.214), 1.5rem);\">UV\/IR Cut Filter<\/h3>\n\n\n\n<p>If you have a UV\/IR cut filter, insert it into its holder; if not, leave the slot empty. Ideally, cover the back screw as shown in the image below to minimize unwanted reflections.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img decoding=\"async\" width=\"1024\" height=\"370\" src=\"https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/uvirfilter-1-1024x370.png\" alt=\"uv\/ir cut filter assembly\" class=\"wp-image-282\" style=\"width:595px;height:auto\" srcset=\"https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/uvirfilter-1-1024x370.png 1024w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/uvirfilter-1-300x108.png 300w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/uvirfilter-1-768x278.png 768w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/uvirfilter-1-1536x555.png 1536w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/uvirfilter-1-2048x740.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"font-size:clamp(0.984rem, 0.984rem + ((1vw - 0.2rem) * 1.214), 1.5rem);\">Diffraction Grating<\/h3>\n\n\n\n<p>Place the grating in its holder, making sure the orientation is correct. Use double-sided tape to join the two 3D printed parts together, preventing the grating from falling out during further assembly. If you assemble everything correctly up to this point and shine a light through the optical slit, the result should resemble the image on the right:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/grating-2-1024x538.png\" alt=\"diffraction grating assembly\" class=\"wp-image-287\" style=\"width:643px;height:auto\" srcset=\"https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/grating-2-1024x538.png 1024w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/grating-2-300x158.png 300w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/grating-2-768x404.png 768w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/grating-2-1536x807.png 1536w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/grating-2.png 1994w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The current design looks slightly different than pictured here as it has the grating at an angle to address a problem that causes smooth spectra to have a peak at 550nm, caused by a specular reflection on one of the grating&#8217;s surfaces. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img decoding=\"async\" width=\"1024\" height=\"550\" src=\"https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/specular_reflection_peak-1024x550.webp\" alt=\"peak in spectrometer measurement caused by unwanted specular reflection\" class=\"wp-image-286\" style=\"width:417px;height:auto\" srcset=\"https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/specular_reflection_peak-1024x550.webp 1024w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/specular_reflection_peak-300x161.webp 300w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/specular_reflection_peak-768x412.webp 768w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/specular_reflection_peak.webp 1080w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">unwanted specular reflection causes peak in the measurement (spectrum of an incandecent bulb)<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"font-size:clamp(0.984rem, 0.984rem + ((1vw - 0.2rem) * 1.214), 1.5rem);\">Focuser + CCD Sensor<\/h3>\n\n\n\n<p>This is how the focuser + CCD sensor assembly should look like when finished. Refer to <a href=\"https:\/\/www.youtube.com\/watch?v=jLEGIcYzGrE\" target=\"_blank\" rel=\"noopener\">this video for setting up the TCD1304<\/a> and ensure that you can get a reading from the sensor with the pyCCDGUI listed in the <a href=\"https:\/\/tcd1304.wordpress.com\/downloads\/\" target=\"_blank\" rel=\"noopener\">downloads section<\/a>. Make sure that the focusing rotates freely over its whole range; if necessary, use washers for the M2 screws. <strong>Avoid overtightening the M1.4 screws!<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"757\" src=\"https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/focuser_cam-1024x757.png\" alt=\"focuser assembly\" class=\"wp-image-283\" srcset=\"https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/focuser_cam-1024x757.png 1024w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/focuser_cam-300x222.png 300w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/focuser_cam-768x567.png 768w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/focuser_cam-1536x1135.png 1536w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/focuser_cam-2048x1513.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">First Measurement<\/h2>\n\n\n\n<p>Combine the focuser assembly with the rest to get a working spectrometer. The collimation will likely still be off, but should suffice for a preliminary measurement. Connect your computer to the Nucleo board, start the pyCCDGUI and set it to continuous capture mode. Then power on your CFL and point the optical slit towards it. Change the exposure times to achieve a noticable intensity reading, which may appear blurry at first. Then adjust the focus to achieve sharp peaks as shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"984\" height=\"489\" src=\"https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/first_measurement.png\" alt=\"initial spectrum measurement of a fluorescent light\" class=\"wp-image-290\" srcset=\"https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/first_measurement.png 984w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/first_measurement-300x149.png 300w, https:\/\/www.photometric.io\/blog\/wp-content\/uploads\/2024\/02\/first_measurement-768x382.png 768w\" sizes=\"(max-width: 984px) 100vw, 984px\" \/><\/figure>\n\n\n\n<p>If everything is working up to this point, the spectrometer&#8217;s hardware is complete. In the next post I&#8217;ll cover how to adjust the collimation and do wavelength callibration. Intensity calibration is also on my list, but this is more challenging when being on a budget.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have started another interesting project: a spectrometer with a range of 380-720nm. This spectrometer can be assembled at a reasonable cost using components of a decent quality. Here&#8217;s a look at the completed device: This device draws inspiration from existing DIY spectrometers, particularly the OtterVIS project. However it differs from existing designs in several [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[19],"_links":{"self":[{"href":"https:\/\/www.photometric.io\/blog\/wp-json\/wp\/v2\/posts\/215"}],"collection":[{"href":"https:\/\/www.photometric.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.photometric.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.photometric.io\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.photometric.io\/blog\/wp-json\/wp\/v2\/comments?post=215"}],"version-history":[{"count":22,"href":"https:\/\/www.photometric.io\/blog\/wp-json\/wp\/v2\/posts\/215\/revisions"}],"predecessor-version":[{"id":435,"href":"https:\/\/www.photometric.io\/blog\/wp-json\/wp\/v2\/posts\/215\/revisions\/435"}],"wp:attachment":[{"href":"https:\/\/www.photometric.io\/blog\/wp-json\/wp\/v2\/media?parent=215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.photometric.io\/blog\/wp-json\/wp\/v2\/categories?post=215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.photometric.io\/blog\/wp-json\/wp\/v2\/tags?post=215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}