Oil Testing Workshop 3: calibration and scanning
Back to Homebrew Workshops Overview
Workshop 3: Calibration, Sample Prep and Scanning
Drafted by Gretchen Gehrke, Stevie Lewis, Liz Barry.
Why (The Situation): We want to calibrate the spectrometers we built. We want to prepare our oil samples for scanning. We want to learn how to use spectralworkbench.org. We want to scan known samples of oil to test the function of the equipment itself. We want to scan unknown samples and assemble their spectra into sets for comparing and contrasting with known samples to attempt categorization.
When: two and a half (2.5) hour workshop, part of a four-part series.
Where: a room with long tables, chairs, power outlets, and internet connection.
What (the content): calibrate a spectrometer using a fluorescent lightbulb; safely work with ultraviolet (UV) lasers; the features of spectralworkbench.org; troubleshoot your equipment to get a clear high-quality scan;
For What (Achievement Based Objectives):
In completing this four hour workshop, you will:
- Meet others attending the workshop
- Share with each other what motivated you to to participate
- Connect your spectrometer to the computer using the webcam’s cord & USB plug
- Login to spectralworkbench.org
- Look at a flourescent light bulb through the spectrometer
- Use spectralworkbench.org’s interface to set the calibration of the spectrometer
- Squeeze eyedroppers to put oil samples into cuvettes (small tubes with square sides)
- Shine a blue laser through a small container of oil, and capture the spectra the oil emits with your spectrometer and spectralworkbench.org
- Assign your calibration to your scan of oil
- “Read the rainbow” AKA the spectrum of fluorescence produced by oil
- Gain necessary information for use in the 4th and final workshop in this series
Notes for Facilitators:
Materials Needed:
- a large clean space for people to work (long tables work well)
- one computer per person or team constructing the spectrometer
- internet connection (preferably with google chrome)
- a power source that can support all your computers
- newspaper to cover the tables
- 3 poster boards
- markers and pens
- sticky notes
- paper research notes (insert link)
- a plugged in compact fluorescent light bulb
- the Public Lab Spectrometer 3.0 that was constructed in workshop 2
- the oil testing kit add on (if you do not have the add-on kit, including:
- a 405nm blue/violet laser pen: $3 from Alibaba, or for purchasing singles here
- cuvettes (1-2 per sample)
- droppers (1 per sample)
- protective eye gear
- gloves
- known samples such as specific oil samples, for example 80W90 and 20W50 (these also come with the kit)
- unknown sample (such as runoff water from the road, black tar like substances found on the beach etc.)
Setting up the event:
- Line your tables with newspaper
- Two of the poster boards should be prepared with the words “Notes” “Questions” “Ideas” evenly spaced down the left hand side. Each poster boards will also carry one of the titles: “Calibration” and “Scanning.” Put these on the wall. Leave the third poster board blank and hang it on the wall as well.
- Set up computer stations for each working group along with the spectrometers they built in workshop 2. Provide each group with the oil testing kit add-on or materials in it.
- Put pens, markers, paper research notes and sticky notes around for people to use to take notes.
Workshop Schedule:
- Introduction (10 minutes)
- Who’s in the room
- Introduction to the event
- Calibrating your spectrometer (20 minutes)
- Log into spectralworkbench
- Connect your spectrometer to your computer
- Scan your first fluorescent bulb
- Reflect on the calibration process
- Sampling (1 hour 30 minutes)
- Setting up for safe scanning!
- Scanning samples
- Creating sets
- Wrap up (10 minutes)
Workshop Outline
1. Introduction
1.1 Who’s in the room? (10 minutes)
Go around the room, with each person introducing themselves with their name, where they’re from, and the reason they are interested in being here today. If there are really a lot of people, then as a large group say names only, and then break into smaller groups at tables to share reasons, hopes, and expectations for attending.
- If you have not done so yet, introduce yourself:
- why you are interested in this project and
- a little bit about Public Lab.
- Give an overview of the event goals and structure (at the top of this page)
- Emphasize “the tools, technology and learning that happens here is always under development. One of the major outcomes of the event is to provide constructive feedback on the learning, the activities and the tool we will build in order to improve it for future participants.”
- Introduce the things in the room:
- Highlight the posters, markers and sticky pads available for people to put up their questions, comments, and ideas on as they work through the event.
- Identify the paper research notes for those who would like to take in depth notes on their steps for sharing back with the Public Lab community.
2. Calibrating your spectrometer
Quick overview: Calibration turns a device for looking at rainbows into an instrument that can accurately measure spectral data. We calibrate our spectrometer by looking through it at a common light source with well-known peaks -- a fluorescent bulb. Once we save this image, we can use the spectralworkbench interface to match-up two of our peaks with the corresponding two peaks in the reference spectrum. Picking these two points of correspondence scales the X-axis of our image and adds units to our graph. This is the calibration process. When using a calibrated spectrometer, we can know the true location in nanometers of the peaks and troughs of future scans we make.
Two important notes: 1) We are not calibrating the intensity of the light on the Y-axis. 2) Whenever the physical relationship of the pieces of your spectrometer changes (if anything moves such as the camera, the DVD, or the slit), then you must recalibrate.
2.1 Log into spectralworkbench.org
- Ask your group if there’s anyone with a publiclab.org username.
- If no one has one, choose someone to create one for themselves at https://publiclab.org/signup
- Go to spectralworkbench.org and log in. You will be directed through the Publiclab.org site, just keep clicking through until you are back to spectralworkbench.org and your username shows in the upper righthand corner.
2.2 Connect your spectrometer to your computer via spectralworkbench.org
FACTS: each spectrometer has to be calibrated before it is used.
Choose one person at the table to read the following text out loud:
Calibration helps us to make sure the readings of an instrument are consistent. For example, if this were a scale, we would want to make sure that when it read that something weighed two pounds, the item you were weighing was really two pounds. Because we know certain colors always show up at the same place on the nanometer scale (recall from workshop 2), the way we calibrate a spectrometer is by using a known type of light. In this case, we use a compact fluorescent light where the green light wave always peaks at 546 nanometers. By shining the compact fluorescent light into our spectrometer, and graphing the color peaks on SpectralWorkbench.org we can measure our future samples against that known calibration of the compact florescent light. In this way, we know our future scans will be accurate.
Individually, write down any questions you have about these concepts and discuss as a group. Going through the activity may help clarify, and afterwards if you still have questions, you can email plots-spectrometry@googlegroups.com.
Follow the following 4 steps to connect your spectrometer to your computer:
- Plug the cord into a USB port on your computer
- In an internet browser (we strongly recommend Chrome for reasons that will later become clear), navigate to http://spectralworkbench.org (make sure you’re logged in! See 2.1)
- On Spectral Workbench, click “Capture Spectra” (the live capture drop down).
- Make sure it is working:
- If you see black or just a light line of color, you will know you are using the correct camera (i.e. not the built-in one on your computer) and you are ready to proceed.
- If you see yourself, you need to switch the input camera by using the button on the right under the picture that says “change camera.”
- If you still see yourself, use Chrome’s address bar to “allow” or “enable” the camera on your spectrometer from the browser’s address bar. Once you are seeing the rainbow image from your spectrometer on SpectralWorkbench, you are ready to proceed.
2.3 Scan your first fluorescent bulb
Follow the following 4 steps to take your first scan of a fluorescent lightbulb:
- Hold the front end of the spectrometer (where the slit is) towards the lit compact fluorescent light bulb. Make sure the color line that appears on your image appears straight, as in the example from the calibration page on SpectralWorkbench.
- Troubleshooting information: if the colors are really not straight, you can open up your spectrometer and try to move the angle of the DVD slightly.
- Once your color line is straight, click the middle of it to position the yellow line directly through it, as in the example.
- Click the button “begin capture”, and once you do so, you (and perhaps a partner) will need to hold the spectrometer steady.
- Once you click “begin capture”, you will see a new page where the “live feed” of your spectra is coming through. You may have to work to re-align your equipment to see a clear spectra of all the colors -- then, click the blue “save” on the left of the screen.
- This will open a new page where you will see your calibration and can fill in some information about it. Title the spectra “CFL Calibration” and click the button “save and calibrate later.”
- On the new page, click the blue “calibrate” button below your sample. This will walk you through matching your sample (the above bar) to the example scan (the below bar) so the colors line up.
- Leave these pages open in your browser.
Additional calibration directions can be found on this wiki: http://publiclab.org/wiki/spectral-workbench-calibration
2.4 Reflect on the calibration process
Once you have finished calibrating your spectrometers, take five minutes and brainstorm notes, questions, and ideas on the calibration process. Post these up on the poster board. These will be reviewed and compiled at the end of the workshop and posted back to Public Lab. If you still have questions, you can email plots-spectrometry@googlegroups.com.
------ (10 minute break) ------
3 Sampling
3.1 Setting up for safe scanning! (90 minutes)
YOU MUST REVIEW AND FOLLOW THESE SAFETY GUIDES (10 minutes)
- Do not turn on the laser unless it is in your testing frame and be sure to never look directly at the light. Even looking at the beam indirectly can be damaging to your eye.
- Always wear your safety glasses when working with oil samples, suspected oil samples and the laser.
- The materials that come in the beta kit are hazardous and should only be handled with gloves in a well ventilated area. Here are the Material Safety Data Sheet (MSDS) for each oil type included in the Oil Testing Kit: MSDS_5W30_motor_oil_Hess.pdf, MSDS_20W50_Gulfpride.pdf, MSDS_crude_oil_sweet_Hess.pdf, MSDS_80W90_Lucas.pdf, MSDS_Diesel_fuels_Hess.pdf, MSDS_gasoline_Hess.pdf
3.2 Scanning samples (50 minutes)
The Public Lab community advises to scan each sample 3 times. Following this rule, a rough time estimate would be that a first time user can achieve the scanning of 3 unique samples in an hour. As we learned in Workshop 1 (Experimental Design), taking triplicate samples of each one of your materials will increase the accuracy of your results.
- Identify which of your oil samples are “knowns” and begin with them.
- Use the dropper to fill the cuvette with your sample to the line above where it curves in (just over halfway full)
- Place your sample in the sample holder on your oil testing kit add-on
- Place the cover over the sample
Press and hold the button on the laser.
Return to the open “capture” tab on spectral workbench. There you will see your spectra. Ideally, you want your spectra line to fall between 25-75%.
- Look at the top line of the graph -- Is it yellow? It turns yellow when your are peaks touching or getting cut off by this line. If the top line is yellow, you need to dim your spectra by using the physical dimmer on the oil testing kit add-on. The higher you pull the dimmer, the less light it lets in.
- Once you’ve captured a good spectra, click “Save” and title it the name (whatever it is you’re sampling) and the number 1.
- Leave this tab open and repeat steps 1-5 with the same samples naming the consecutive ones (Sample name)2, and (Sample name)3. For example Diesel1, Deisel2 and Diesel3.
3.3 Creating sets (30 minutes)
- Once you have all three scans of one sample, click the “Save as a set” button on your most recent scan (Sample3). This will start a page for you where you can add your samples to one graph -- see https://publiclab.org/wiki/spectral-workbench-usage#Sets.
- On the page that comes up, give some information about the set you’re creating. For example, you’ll want to title it with the sample name for example (Diesel Set for Oil Testing or Unknown Set for Oil Testing).
- Return to your open tab for the sample2 you’ve just created (sample2) and click the “add to set” button.
- This will pull up a search bar where you will need to find the set you created for your first sample (in this example we used “Diesel Set for Oil Testing). Find that set, click “Add spectrum to this set”)
- Do the same for sample1
- Find the tab that has the set you’re creating, and refresh it. This should show you all three samples on one graph.
- Press the “Equalize Area” Button which will make sure the light intensities of your three samples are the same.
- In the “more tools” button, click the “Find graph centers.” The closer these lines are together, generally the more similar your sample spectra are to each other.
- Take a screenshot of your graph and save it with the name of your sample in a place you will be able to find it later. We will return to these graphs in Workshop 4 to publish your results research note on Public Lab.
Follow all the steps of activity 3B for all of your samples. More notes on scanning can be found on this wiki: https://publiclab.org/wiki/oil-testing-kit#Scan)
Once you have finished scanning your samples, take five minutes and brainstorm notes, questions, and ideas on the scanning process. Have participants post these up on the poster board. These will be reviewed compiled on the end of the workshop and posted back to Public Lab
Individually, what do you remember from Workshop 1 about taking multiple samples? Why is this important?
4. Reflection and Wrap up
Send one person from the entire group to take notes on the poster board while everyone reflects on the day’s activities through the following questions:
- what was hard?
- what was easy?
- what questions are you left with?
- what questions are you inspired to explore?
- any other takeaways you’d like to share with the Public Lab community?
Choose someone from the group to write up their experience as a Public Lab Research Note.