Editing BioBoard/Documentation/Optical loss

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 14: Line 14:
*how much can you afford to invest?
*how much can you afford to invest?


This design uses an 850nm plastic LED (Everlight HIR204 - $0.43) as the photoemitter, and a matching phototransistor (Optek OP506B - $0.80) as the photosensor, both of which are available at a variety of on-line electronics stores, at least in the U.S. - any equivalent pair should work as well, but resistance on the circuitry and parts of the Arduino code may need tweaking. For the HIR204/OP506B couple, the required circuitry is limited to a couple of resistors.  
This design uses an 850nm plastic LED (Everlight HIR204 - $0.43) as the photoemitter, and a matching phototransistor (Optek OP506B - $0.80) as the photosensor; the required circuitry is limited to a couple of resistors. Here's a quick [[Media:NIR_probe_schematic.jpg|hand-drawn sketch]] of our NIR probe to give you an overview of the construction described below.


==Things to keep in mind==
==Things to keep in mind==
Line 39: Line 39:


Optional: cell-phone motor (BubbleShaker Technology)
Optional: cell-phone motor (BubbleShaker Technology)
Here's a quick [[Media:NIR_probe_schematic.jpg|hand-drawn sketch]] of our NIR probe to give you an overview of the construction described below.


==How to build it==
==How to build it==
Line 82: Line 80:
To build one yourself, the first thing you'll have to do is find an old cell phone somewhere, crack it open, and extract the motor - get as much of the wires as you can, it'll make life easier for you when you have to solder extensions on. Solder about 2 ft / 60cm of additional wire (remember the colours) to both leads. Then take a piece of acrylic tube big enough to fit the motor and about 1/2" / 13mm wire and plug one end with glue. Insert the motor in the tube - make sure  fits tightly by wrapping the fixed part in electrical / gaffer tape, taking care not to block the rotor. Plug the other end of the tube carefully with glue, covering the soldered joint for extra strength.
To build one yourself, the first thing you'll have to do is find an old cell phone somewhere, crack it open, and extract the motor - get as much of the wires as you can, it'll make life easier for you when you have to solder extensions on. Solder about 2 ft / 60cm of additional wire (remember the colours) to both leads. Then take a piece of acrylic tube big enough to fit the motor and about 1/2" / 13mm wire and plug one end with glue. Insert the motor in the tube - make sure  fits tightly by wrapping the fixed part in electrical / gaffer tape, taking care not to block the rotor. Plug the other end of the tube carefully with glue, covering the soldered joint for extra strength.


Attach the BubbleShakerTM to your NIR probe by grinding one side of the tube flat, doing the same to the LED end of the probe, and glueing the two together with acrylic cement. There's a picture of a fully assembled unit [[Media:NIRprobe7.jpg|here]].
Attach the BubbleShakerTM to your NIR probe by grinding one side of the tube flat, doing the same to the LED end of the probe, and glueing the two together with acrylic cement. There's a picture of a fully assembled unit [[Media:NIRprobe5.jpg|here]].


=Interfacing and measuring=
=Interfacing and measuring=
Line 95: Line 93:
=Calibrating=
=Calibrating=


Calibrating measuring equipment is an important part of any scientific pursuit, because the accuracy of your calibration determines the reliability of your data. However, when it comes to biomass and cell density, determining absolute values may be somewhat difficult, so you might want consider whether you actually need to know; in a lot of cases, you are likely to be less interested in the absolute biomass than in the relative change in biomass over time.  
Calibrating measuring equipment is an important part of any scientific pursuit, because the accuracy of your calibration determines the reliability of your data. However, determining absolute accuracy may be somewhat difficult, so you might want consider whether you actually need absolute values; in a lot of cases, you are likely to be less interested in the absolute biomass than in the relative change in biomass over time.  


To get an absolute measure of biomass in a live microbial culture, you can use several different techniques:
To get an absolute measure of biomass in a live microbial culture, you can use several different techniques:
Line 103: Line 101:
* desiccating samples to measure total dry organic matter by weight
* desiccating samples to measure total dry organic matter by weight


All of these techniques will require special equipment, though, and multiple measurements over time to create enough data to draw reliable calibration curves and compare your NIR probe values to those curves. We're not going to go into detail with any of that here - Google will help you learn more if you want - but merely describe the ways in which you can adjust your probe if you need to.
All of these techniques will require special equipment, though, and multiple measurements over time to create enough data to draw reliable calibration curves and compare your NIR probe values to those curves. We're not going to go into detail with any of those here, but merely describe the ways in which you can adjust your probe if you need to.


The easiest way to calibrate this NIR probe is by tweaking the Arduino sketch. Use a voltmeter to measure the voltage coming off the leads from the phototransistor directly when the probe is just sitting in air (should be close to 5V), and simply enter that value instead of the default IMAX value in the calibration settings:
The easiest way to calibrate this NIR probe is by tweaking the Arduino sketch. Use a voltmeter to measure the voltage coming off the leads from the phototransistor directly when the probe is just sitting in air (should be close to 5V), and simply enter that value instead of the default IMAX value in the calibration settings:
Line 119: Line 117:
If you have problems covering the whole spectrum, the other two things you can adjust relatively easily are the distance between the LED and the phototransistor, and the resistance on the circuit. A low resistance potentiometer instead of the 100Ω resistor on the emitter lead would allow you to adjust the sensitivity of the phototransistor directly, and provide a way of tuning it without having to disassemble and rebuild it. You can also decrease the light intensity of the LED by increasing the value of the resistor; 470Ω seems to be a good mid-level.
If you have problems covering the whole spectrum, the other two things you can adjust relatively easily are the distance between the LED and the phototransistor, and the resistance on the circuit. A low resistance potentiometer instead of the 100Ω resistor on the emitter lead would allow you to adjust the sensitivity of the phototransistor directly, and provide a way of tuning it without having to disassemble and rebuild it. You can also decrease the light intensity of the LED by increasing the value of the resistor; 470Ω seems to be a good mid-level.


=Geeking out=  
=Making it cooler=
 
Tuning to different substances


The reduction in intensity of light passing through a mass is due to a combination of reflection, absorption and scattering - the relative importance of these depends on the specific properties of the mass or substance, and for any given substance will vary with the wavelength of the light. When measuring directly in liquids, surface reflection usually does not contribute significantly to optical loss, thus the reduction in light intensity is almost entirely due to absorption and/or scattering.
Multi-channel measurements


Most chemical substances absorb light in the visible spectrum, but don't absorb or scatter much in the infrared spectrum. Conversely, with the exception of chlorophyll-containing algae and bacteria, microbiological cells generally block / scatter IR light, but don't absorb or scatter much in the visible spectrum, which is also why they appear colourless or even translucent under a microscope. Thus, a sensor measuring optical loss in the near-infrared part of the radiation spectrum (850nm in our case) will generally be much more responsive to biomass / cell density than to any (inorganic) chemical compounds present in the medium.
=Geeking out=


=Making it cooler=
Reduction of light passing through a mass


Streamlining and verifying our current design is going to be a high priority, but we are also considering possible future develoments. One potential future improvement on the current design could be inspired by another commercial NIR probe called [Media:TruCell.TN.AUvsOD.pdf|TruCell], which uses a laser diode as lightemitter, enabling measurements at much higher cell densities. Another developement could be the construction of either a full-spectrum spectrophotometer - likely  very problematic to scale down far enough to fit in a piece of 1" PVC tube - or a probe with several emitter/sensor pairs that would allow us to measure at several wavelengths at once.
Absorbance vs. scattering


=Links=
=Links=


External links from the text above and additional resources
*Optek
*[http://en.wikipedia.org/wiki/Spectrophotometry] Wikipedia article on spectrophotometry
*Wikipedia
*[http://en.wikipedia.org/wiki/Photometer] Wikipedia article on photometers
*TruCell .pdf
*[http://en.wikipedia.org/wiki/Infrared#Different_regions_in_the_infrared] Wikipedia article on infrared radiation
*[http://www.optek.com/Schematic_Single_Channel_NIR_LED_Probe.asp] Single-channel NIR sensor from Optek
*[http://arduino.cc/en/Main/Software] The Arduino IDE
Please note that all contributions to Noisebridge are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see Noisebridge:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)