Difference between revisions of "DNA Melting Part 1: Measuring Temperature and Fluorescence"

From Course Wiki
Jump to: navigation, search
m (Wire the Peltier device and test it)
 
(341 intermediate revisions by 8 users not shown)
Line 3: Line 3:
 
{{Template:20.309}}
 
{{Template:20.309}}
  
<span style="color: red;">'''This overview needs to be revised.'''</span>
+
<center>
 +
''In theory, there is no difference between theory and practice. But, in practice, there is.''  
  
{|
+
''&mdash;[http://en.wikiquote.org/wiki/Jan_L._A._van_de_Snepscheut Jan L. A. van de Snepscheut]/[http://en.wikiquote.org/wiki/Yogi_Berra Yogi Berra]/and or [http://c2.com/cgi/wiki?DifferenceBetweenTheoryAndPractice Chuck Reid]''
|- valign="top"
+
</center>
| __TOC__
+
| [[Image:DNA_Excitation.JPG|thumb|right|top|300px|DNA Melting Apparatus]]
+
|}
+
  
The DNA melting instrument system consists of five major subsystems:
+
<br />
 +
<br />
  
*mechanical subsystem
+
==Overview of part 1==
*thermal subsystem
+
[[Image:Normalized DNA melting curve.gif|thumb|right|386 px|Normalized DNA melting curve. (Plot from [http://www.gene-quantification.de/hrm-dyes.html gene-quantification.de] )]]
*optical subsystem
+
In this part of the lab, you will construct a crude version of a temperature-cycling fluorometer and measure a DNA melting curve or two. Even though this first version of the instrument has some shortcomings, it will give you a good idea of how all of the parts work together to make melting curves. The instrument includes a resistance temperature detector (RTD) to measure the temperature of the sample holder, a blue LED to excite the sample, a Peltier device that will heat the sample, optical filters, a photodiode for detecting fluorescent emission, a high-gain transimpedance amplifier to convert photocurrent to voltage, and a computer data acquisition system to record the voltages that come out of the instrument.
*electronics subsystem
+
*data acquisition hardware
+
*system control and data acquisition software
+
  
<center>[[Image:DNA Melting Block Diagram.jpg|frame|The DNA melting apparatus block diagram shows parts of the thermal, optical, electronics and data acquisition subsystems.]]</center>
+
When you get it all put together, the instrument will produce two voltages: one related to the sample temperature and another that depends on the amount of fluorescence coming out of the sample. The goal of part 1 is to produce at least one reasonable quality melting curve. This involves recording the temperature and fluorescence voltage as you heat a sample of DNA + dye from room temperature to about 95&deg;C and then let it cool back down. Computer software for recording the voltages has already been written for you. After you have a melting curve, you will use nonlinear regression to fit thermodynamic parameters to your data and do a little planning for part 2 of this lab. You will probably notice some shortcomings your instrument as you work. Don't worry about that &mdash; in part 2, you will make many improvements to your machine that will make it [https://youtu.be/3rQEbQJx5Bo sing like Elvis].
  
Major components of these subsystems include, respectively, a thermoelectric heater/cooler (or TEC, an LED, a DNA sample with dye, a photodiode, an amplifier and temperature detector, and a data acquisition system.
+
There are instructions below for assembling your DNA melter.
  
[http://en.wikipedia.org/wiki/SYBR_Green_I SYBR Green I] is a fluorescent dye with peak sensitivity to blue light at 497 nm, and the dye emits green light with an emission peak at 520 nm.<ref name="SYBR Green Paper">[http://www.pubmedcentral.nih.gov/articlerender.fcgi?artid=484200 Zipper H, Brunner H, Bernhagen J, Vitzthum F. Investigations on DNA Intercalation and Surface Binding by SYBR Green I, its Structure Determination and Methodological Implications. ''Nucleic Acids Res.'' 2004;'''32''':e103–10.]</ref> You should familiarize yourself with the spectrum of this dye<ref name="Invitrogen Spetral Viewer">[http://www.invitrogen.com/site/us/en/home/support/Research-Tools/Fluorescence-SpectraViewer.html Invitrogen Spectral Viewer]</ref>. Once you have your sample you will be able to easily observe that a room-temperature sample of dsDNA and SYBR Green I looks yellow from the combination of blue excitation and green fluorescence. At higher temperatures, when there is no dsDNA to which the dye can bind, the sample will appear blue or clear. In order to produce a melting curve, your apparatus will measure the amount of fluorescent emission from the SYBR Green I dye over a range of temperatures.
+
==Before you get started in the lab &hellip;==
 +
Two parts of the DNA melter require you to do some design work. You will have to decide what lenses (if any) you would like to use in your system and you will also need to select component values for your transimpedance amplifier. Come up with at least a preliminary design both of these before you start building.
  
Fluorescence intensity will be measured by the photodiode (and associated optical system to gather more light and concentrate it on the photodiode). Temperature will be measured by the RTD, which is a kind of resistor that predictably varies in value with temperature. The sample will be heated by the TEC. The DAQ and PC will record the signals from the photodiode and RTD. These signals must then be processed to convert them from raw voltage into temperature ''T'' and fractional dsDNA concentration, ''f''. The melting temperature, ''T<sub>m</sub>'', can be estimated from a plot of ''f'' vs. ''T'' or of ''f'' vs. ''dT/dt'' (''T'' differentiated with respect to time).
+
===Excitation and emission optics===
 +
It's possible to build a DNA melter with no lenses at all. Most people find that they can get a better signal-to-noise ratio if they use lenses. The goal is to get as much of the light from the LED to fall on the sample as possible and to get as much of the fluorescent emission on to land on the photodiode as possible. The active area of the photodiode is 3.6 mm x 3.6 mm. Take a little time to think about what lenses you'd like to use between the LED and the sample and photodiode and the sample. It wouldn't hurt to draw a ray diagram.
  
As shown in the diagram, an aluminum heating block holds a cuvette (or a scintillation tube) containing the sample under test. The sample contains a combination of DNA, SYBR Green I, and a salt (either KCl or NaCl, it doesn't matter which). In addition to being a convenient holder, the block transfers heat to the cuvette and its sample, while also allowing the block's temperature to be measured without affecting said temperature. (In your report, tell us about the practical problems with this approach and ways to improve it.)
+
===Transimpedance amplifier===
 +
[[File:Transimpedance amplifier part 1.png|thumb|right|400px|Two-stage transimpedance amplifier for converting photocurrent to voltage.]]
 +
Fluorescent light from the sample falls on the photodiode and produces a photocurrent. The amount of current depends on the irradiance of the sample and the light collection efficiency of your optical system (and probably some other stuff). In most instruments, the photocurrent is around a microamp, but this number can vary up or down by a few orders of magnitude depending on the details of your optics. This small current must be amplified to a level where it can be easily measured. The voltage measurement range of the data acquisition system is &plusmn;10 V. It makes sense to shoot for an output voltage that fills most of the range of the data acquisition system. The circuit shown to the right is a two-stage amplifier which converts the photodiode current to a voltage, and amplifies this voltage.
  
Light from a blue LED illuminates one side of the cuvette. A 470 nm bandpass optical filter placed between the two will shape the output spectrum of the LED so that only the desired wavelengths of light fall on the sample.
+
Before you build the circuit, you will need to choose values for the resistors and capacitors to get the right amount of gain and an appropriate cutoff frequency. The following questions will guide you in selecting these components (note that these questions are very similar to PSet 3).  
  
A photodiode placed at 90&deg; to the LED source detects the green light emitted by SYBR Green I, which fluoresces 100 to 1000x greater when bound to dsDNA compared to ssDNA. The photodiode is placed after a 515 nm long pass optical filter to ensure that only green and longer wavelength light is detected. (In your report, describe how you ensure that only this emitted light falls on the photodiode.)
+
<ol type = "1">
 +
<li> For the amplifier circuit shown at the above right, in what case can we ignore the effect of the capacitor? At high or low frequencies? </li>
 +
<li> Stage 1 of the circuit (shown below) is a transimpedance amplifier, which converts the current coming from your photodiode into a voltage. Ignoring the effect of the capacitor for now (for the case you described in the above question), write an expression for the gain (<math>V_1/i_{in}</math>) of Stage 1 of your amplifier circuit in terms of the resistor values.
 +
[[File:Transimpedance_Stage1_NoCap.png|thumb|center|220px|Stage 1.]] </li>
 +
<li> Let’s look at Stage 2 of the amplifier circuit. This stage is a voltage amplifier to further amplify the signal from Stage 1. We need this second stage because when the gain of a single stage is very high (~10<sup>6</sup> &Omega;), the circuit starts to misbehave. At very high gains, you can't ignore the nonidealities of the op amp as casually as you can at low gains. Thus, to achieve an adequate gain, we need the second stage of amplification. What is the gain (<math>V_2/V_1</math>) of Stage 2?
 +
[[File:Transimpedance_Stage2.png|thumb|center|200px|Stage 2.]] </li>
 +
<li> Now that you know the gain of each stages of your amplifier circuit. Pick resistor values such that 1uA current from your photodiode will produce ~10V signal at the final output of the circuit (<math>V_2</math>). Remember that it is best to put as much gain in early stages of a multi-stage amplifier as possible. Since you won’t know the exact current values from your photodiode until you build your system, you will start with these values and adjust them as necessary after you build it. </li>
 +
<li> It is now time to reconsider the capacitor in Stage 1 of the amplifier circuit. What does this capacitor do at high frequencies? What kind of filter is this? Using impedance analysis, find the gain (<math>V_1/i_{in}</math>) of Stage 1 in terms of the capacitor and resistor values. </li>
 +
<li> What value capacitor will you choose to filter out 60 Hz and 120 Hz noise from the lab? </li>
 +
</ol>
  
Since photodiodes produce only a very small amount of current, it will be necessary to build a very high gain amplifier to produce a signal that is measurable by the DAQ. Photodiode amplifiers can be challenging because many of the non-ideal characteristics of op amps become apparent at high gain. For this reason it is suggested that you build a two-stage amplifier. And furthermore it is suggested that your first stage be a transimpedence amplifier like the one shown in the figure. (In your report, comment on why a transimpedence amplifier is better for photodiode output amplification, compared to, say, a resistor in combination with a simpler non-inverting amplifier.)
+
==Assembling the system==
 +
If you have forgotten your way around the lab, consult the [[Lab orientation]] page.
  
An RTD attached to the heating block and wired to a voltage divider provides an indication of temperature. The temperature of the heating block will be a proxy for the sample temperature. It is not a perfect proxy, however, and in Part 2 you will need to determine the transfer function between the temperature you measure on the outside of the block, and the temperature inside the cuvette, say, in the middle of your DNA sample. If you wish to estimate the sample temperature in Part 1, refer to lecture notes and ask your Instructors or TA for help. Reminder/Hint: An electrical circuit can be used to describe many types of systems, including thermal systems. Draw a diagram of the block and the cuvette and follow the path of heat flow from the TEC to the sample and back to the air of the room or objects also at ambient temperature.
+
Start by mounting all of the main structural components on an optical breadboard. Onward!
  
Finally, the DAQ digitizes the amplified photodiode and RTD signals. A Matlab program is provided that will record the RTD and photodiode signals over time so that data can be saved to a file. That file can be loaded into Matlab for analysis, or if you prefer, Python or equivalent.
+
===Mount the DNA melting chassis on an optical breadboard===
 +
<gallery widths=216px caption="Stuff you need:">
 +
File:DNA melting chassis.jpg|1 DNA melting chassis (on top of Center Cabinets)
 +
File:Optical breadboard.jpg|1 aluminum optical breadboard (1 foot by 2 foot, part number MB1224, located in the Instructor Cubbies)
 +
File:Quarter twenty by half screws.jpg|4 &frac14;-20x&frac12;" screws
 +
File:Three wire nuts.jpg|3 wire nuts (DNA melting drawer &mdash; rightmost drawer on the wet bench.)
 +
File:DNA_part_1_TEC_wire_assembly.jpg| TEC extension wire assembly (on top of Center Cabinets)
 +
</gallery>
  
==Mechanical subsystem==
+
The chassis includes a support bracket, fan, heat sink, and sample holder. There are two Peltier devices sandwiched between the holder and the heat sink. When current is applied to the Peltier device, the sample block will either heat up or cool down, depending on the direction of the current. There is a temperature sensor embedded inside the sample holder.
  
Build a mechanical system on optical breadboard to hold your sample, the LED for illumination, the photodiode for emission detection, the electronics and DAQ connections. [http://www.thorlabs.com ThorLabs] manufactures most of the hardware stocked in the lab. Components that you will certainly use include a 12x24" optical breadboard, TR2 1/2" diameter posts and PH2 post holders, CP02 cage plates, and SML03 and SML05 1" diameter lens tubes. Refer to the figure below as well as the reference setup in the lab and be sure to understand each aspect as you build your own.
+
# Mount the chassis on the optical breadboard using the &frac14;-20x5&frac12;" screws.
 +
#* Leave room for your optical setup and an electronic breadboard.
  
<center>[[Image:DNA_Setup_v2_Iso.png|700 px|thumb|center|<span style="color, red;"'''Figure to be revised'''</span>DNA Melting System Model]]</center>
+
===Wire the Peltier device and test it===
 +
[[Image:Diablotek switching power supply.jpg|thumb|right|Diablotek switching power supply (inside east cabinet) provides power to the Peltier devices.]]
 +
Heating and cooling the sample with a Peltier device requires a lot of current. In part 1 of the lab, you will hook the Peltier device (also called a thermoelectric cooler, or TEC) directly to its own power supply. When you turn the power supply on, the sample will heat up. After you turn the supply off, the sample will return to room temperature by radiation, conduction, and convection &mdash; all that heat stuff. This is a pretty crude way to control the sample temperature. We'll come up with something better in part 2.
  
==Thermal subsystem==
+
[[Image:DNA part 1 TEC hookup.jpg|thumb|right|Power supply connected to Peltier devices (TECs).]]
 +
# Hook up the Peltier devices (TECs) in series.
 +
#* There are two Peltier devices (TECs) sandwiched between the sample holder and the heat sink.
 +
#* They must be connected in series.
 +
#* The black lead of the top device should be connected to the red lead of the bottom device.
 +
#* If these two wires are not already connected, twist them  together and secure the connection with a wiring nut.
 +
# Connect the TEC to the power supply
 +
#* Use the TEC extension wire assembly (the correct one has black/white/black/yellow colored wires) 
 +
#* Join the white wire to the red lead of the top TEC and the black wire to the black lead on the bottom TEC using wire nuts.
 +
# Warning: there are two connectors on the Diablotek power supply that the connector on the TEC extension wire can fit into. Make sure to use the '''black''' connector, not the white one.
 +
#* Connect the TEC extension to the '''black''' connector on the Diablotek power supply.
 +
# Test the TECs by touching the base of your heating block and turning the Diablotek on.
 +
#* The base should start to feel warm within 10-15 seconds.
 +
#* If the power supply immediately shuts off (the fan inside the power supply stops spinning) it is likely that you either used the wrong connector or there is a short circuit. Double check your wiring.
  
==Optical subsystem==
+
===Measure temperature===
 +
<gallery widths=216px caption="Stuff you need:">
 +
File:Electronic breadboard.jpg|1 electronic breadboard (on top of east cabinet)
 +
File:CL5 clamps.jpg|2 CL5 clamps (on top of center cabinet)
 +
File:15 KOhm resistor.jpg|15 K&Omega; resistor
 +
File:Jump wires.jpg|jump wires (on top of east cabinet)
 +
File:Banana cables.jpg|3 banana cables &mdash; preferably two red and one black or three different colors
 +
</gallery>
  
Build an optical system to illuminate the sample and capture the emitted fluorescence light. See the figure for the name and location of each component. There are a variety of ways to construct the apparatus. A good design will be compact, stable, and simple.
+
A platinum RTD is embedded inside the heating block. The resistance of the RTD varies with temperature according to the equation ''R<sub>RTD</sub>''=1000 &Omega; + 3.85 ''&theta;'', where ''&theta;'' is the temperature of the RTD in degrees Celsius.  
  
==Electronics subsystem==
+
# While the output is off, set the power supply to 15 V and 0.1A  (SERIES operation) and connect to the breadboard.
 +
# Connect the 15k&Omega; resistor in series with the RTD on the breadboard as shown in the diagram. [[Image: DNA_Lab_RTD_circuit.png|thumb|right|RTD circuit]]
 +
#* The maximum current of the RTD is 1 mA. Since you will use a 15 V supply to the circuit, the resistor must be at least 14 k&Omega;.
 +
#* Measure the actual resistance of the 15 k&Omega; resistor with a DMM and record the value in your lab report.
 +
# Making sure your circuit is powered and grounded properly, turn on the output of the power supply.
 +
#* Make note of the actual supply voltage measured by your DMM.
 +
#* Measure the voltage across the RTD using the DMM.
 +
# You may mount your electronic breadboard to your optical breadboard using the CL5 clamps, along with some screws and washers, as shown in right image. [[Image: CL5clamp.JPG|thumb|right|Clamp usage]]
  
==Data acquisition hardware subsystem==
+
* Find an equation for the voltage across the RTD as a function of temperature. What voltage do you expect given an input voltage of 15 V with the RTD at room temperature?
 +
* What is the measured voltage of the RTD at room temperature and how does it compare to your predictions above?
 +
* What is the temperature, based on your measured voltage and how does it compare with the clock on the wall (or some better measure)?
 +
* How is the temperature calculation affected by a 1% change in the 15 V input voltage? In other words, if you assume the same measured voltage across the RTD, but have a 1% change in the input voltage, how much does your calculated temperature change? Note the importance of keeping track of your input voltage.
  
==Instrument control and data acquisition software subsystem==
+
===Excite the sample with blue light===
 +
<figure id="fig:DNA_LED_circuit_part_1">[[File:DNA_LED_Circuit_part_1.svg|thumb|right|50 px|<caption>Schematic diagram of LED circuit</caption>]]</figure>
 +
The circuit for illuminating the sample is pretty simple &mdash; just a blue LED in series with a resistor, powered by the 15 V supply. The circuit is shown in <xr id="fig:DNA_LED_circuit_part_1"/>. In this connection, the LED will shine with a roughly constant intensity. This part of the circuit will more complicated in part 2. For part 1, a constant, blue light source will do the trick.
  
==Part 1 experimental procedure==
+
Light coming out of the LED diverges pretty quickly. You might be able to get more light to fall on the sample with a lens.
  
.<br>
+
<gallery widths=216px caption="Stuff you need:">
.<br>
+
File:Blue LED with mounting ring.jpg|1 blue LED with mounting ring (rightmost drawer of west drawers)
.<br>
+
File:62 ohm resistor.jpg|1 62 &Omega; resistor
 +
File:D470 filter.jpg|1 D470/40 excitation filter (DNA melting drawer- rightmost drawer on wet bench)
 +
File:SM1L05.jpg|1 &frac12;" SM1 lens tube (on shelves)
 +
File:Optical parts for excitation.jpg|lenses and mounts for excitation optical path
 +
</gallery>
  
 +
# Mount the LED in its mounting ring and secure it in a lens tube with a retaining ring.
 +
# Assemble your excitation optical path.
 +
#*  LEDs have a broad emission spectrum, so it's necessary to put an optical filter between the LED and the sample.
 +
#* The arrow on the side of the filter should point toward the sample.
 +
# Use your electronic breadboard to wire the 62 &Omega; resistor in series with the LED, as shown in <xr id="fig:DNA_LED_circuit_part_1"/>.
 +
# Use banana cables to route the 5V output of the lab power supply to the LED circuit.
 +
#* Don't forget to connect the resistor &mdash; if there is no resistor in series the LED will blow out.
 +
# Turn on the power supply and enable the output.
 +
#* If the LED doesn't glow, it's time for some debugging.
  
==Building the optical system==
+
===Detect green fluorescence===
 +
You will use a photodiode, a transimpedance amplifier, an emission filter, and possibly some lenses to detect fluorescent light from the sample. It's time to put all of that together. Start by building and testing the amplifier. Then put the optical system together.
  
As mentioned above, the optical system consists of an LED, an excitation filter, a sample cuvette, a heating block (because it contains mechanical apertures), an emission filter, optional lenses, a photodiode, and associated mounting hardware. Each of these components present design constraints in addition to their intended purpose. You should discuss these in your lab report. Construct your system on an optical breadboard. The breadboard has a grid of tapped holes for mounting all kinds of optical and mechanical hardware. [http://www.thorlabs.com ThorLabs] manufactures most of the hardware stocked in the lab. A few of the components that you will certainly use include: TR2 1/2" diameter posts and PH2 post holders, CP02 cage plates, and SML03 and SML05, 1" diameter lens tubes. You may reference the TA setup to get started.
+
====Construct the emission optical path====
 +
<gallery>
 +
File:SM05PD1A Photodiode.jpg|1 SM05PD1A photodiode (DNA melting drawer)
 +
File:SM1A6 adapter.jpg|1 &frac12;" to 1" adapter (DNA melting drawer)
 +
File:E515LPv2 filter.jpg|1 E515LPv2 emission filter (DNA melting drawer)
 +
File:Optical parts for emission.jpg|lenses and mounts for emission optical path
 +
</gallery>
  
There are a variety of ways to construct the apparatus. A good design will be compact, stable, and simple.
+
# Mount the photodiode in its adapter and place the whole thing inside a lens tube.
 +
# Mount and secure the emission optical path. Don't forget the filter (the arrow should be pointing toward the sample).
 +
# Consider using a lens to focus the light emitted from your sample onto your photodiode.
  
===Excitation light collimation===
+
====Build the transimpedance amplifier====
 +
It's time to build the transimpedance amplifier that will convert the tiny current produced by the photodiode into a measurable voltage. If you didn't already select component values, you are probably not very good at following directions. Pick component values before you start building.
  
You will use a high-brightness blue LED manufactured by LedEngin, Inc.<ref>[http://www.ledengin.com/files/products/LZ1/LZ1-00B200.pdf Datasheet for Blue LED from LEDengin]</ref> to excite the sample. Light from the LED diverges in a cone with an angle of about 100&deg;. It will be advantageous to include lenses in your system to collimate light from the LED onto the full area of your sample. In your report, talk about why you would not focus the light on the sample.
+
<gallery widths=216px caption="Stuff you need:">
 +
File:LF411 op amps.jpg|2 LF411 op amps (rightmost drawer of west drawers)
 +
File:Resistors for transimpedance amplifier circuit.jpg|Resistors for amplifier circuit
 +
File:DNA bypass capacitors.jpg|4 capacitors > 1 &mu;F (rightmost drawer of west drawers)
 +
File:SMA to BNC.jpg|1 SMA to BNC adapter (DNA melting drawer)
 +
File:BNC cable.jpg|1 BNC cable
 +
File:BNC to wires adapter.jpg|1 BNC wire adapter (on center cabinet)
 +
</gallery>
  
This LED has a dominant wavelength of 465 nm. A Chroma Technology D470/40 bandpass filter<ref>[http://www.chroma.com/products/part/247/ D470/40 Bandpass filter spectrum]</ref> eliminates unwanted parts of the spectrum that might interfere with detection of the fluorescence signal, such as the very wavelengths you want to measure in the fluorescent emission. The filters have exposed, delicate coatings and must be handled carefully<ref name="Optics Cleaning"> [http://www.chroma.com/resources-support/filter-support/cleaning-handling-and-orientation Handling, orientation, and care of a coated optical filter]</ref>. In addition, the filter works better in one direction than the other<ref name="Optics Cleaning" />.
+
# Disable the power supply before you start.
 +
# Configure the lab power supply for series mode and set the voltage to &plusmn;15 V.
 +
# Use banana plugs to wire +15 V, ground, and -15 V to the breadboard terminals.
 +
# Mount the two op amps a short distance apart on the electronic breadboard. The amplifiers should straddle the notch on the breadboard that separates the two sets of bus strips.
 +
#* Make sure to use the correct kind of amplifier &mdash; there are several types in the drawer that look very similar. The package should say "LF411" on it.
 +
#* Orient the op-amps so that pin 1 (marked with a dot on the package) is at the upper left.
 +
#* Use jump wires to connect the power supplies from the breadboard terminals to the bus bars on the left and right of the op amps.
 +
#** Wire the +15 V power supply to the red bus bar on the right of the op amps.
 +
#** Wire the -15 V power supply to the red bus bar to the left of the op amps.
 +
#** Connect the blue bus bars on either side of the amplifiers to ground.
 +
#* Use short wires to connect the power pins of the op amps to the correct power supplies. Double check your connections &mdash; there is no faster way to ruin an op amp than to wire the power backwards.
 +
#* Add the bypass capacitors (the blue ones in the above image) to your circuit to reduce noise from the power supply. Do this by straddling a capacitor between the +15 V supply (pin 7) to ground, and another capacitor between the -15 V supply (pin 4) to ground. Be sure to note the polarity of your capacitor (the black stripe should go toward the more negative potential) otherwise you might get an unwanted explosion.
 +
# Build the transimpedance amplifier circuit with the component values you selected. [[Image: LF411.jpg|thumb|right|LF411 op amp pin configuration]]
 +
# Use a SMA to BNC adapter; BNC cable; and BNC to wire adapter to connect the photodiode terminals to the electronic breadboard.
 +
# Before you enable the power supply, double check that your component values are correct and your connections match the design.
 +
# Test it out
 +
## Enable the power supply and verify that +15V appears on pin 7 and -15V on pin 4.
 +
## Temporarily disconnect the photodiode from the amplifier input. This will set the input current to zero.
 +
## Measure the voltage on the output pins of both amplifiers (pin 6).
 +
##* If the outputs are not close to zero (say, less than a hundred millivolts), there is probably something wrong. Time for some debugging.
 +
## Reconnect the photodiode. Hook a voltmeter to the amplifier output.
 +
## Point the photodiode at the lights. Now cover the photodiode with your thumb or another appendage.
 +
##* If the voltage doesn't change as expected, it's time for some debugging.
  
===Emitted fluorescent light collection===
+
==Connect your instrument to the computer data acquisition system==
 
+
The Thorlabs SM05PD1A<ref>[http://www.thorlabs.com/Thorcat/8700/8770-D02.pdf Thorlabs SM05PD1A photodiode]</ref> photodiode is mounted in a short tube with SM05 threads. Use an SM1A6<ref>[http://www.thorlabs.com/thorProduct.cfm?partNumber=SM1A6 Thorlabs SM1A6 adapter] </ref>adapter to mount the photodiode in a CP02 cage plate or lens tube. Mount the photodiode assembly to the breadboard at 90&deg; to the LED. Also hold the Chroma E515LPV2 emission filter<ref>[http://www.chroma.com/products/part/370/ Chroma EV515LPv2 Long pass filter spectrum]</ref> in front of the photodiode. If you wish, use one or more lenses to focus light from the sample onto the detector. In your lab report, discuss the primary design goals for these optics in terms of concepts you learned in the Microscopy module.
+
 
+
Do not connect the sample block to any other pieces of metal &mdash; this will draw off heat and affect your instrument's performance. Do not connect the sample block to the fluorescence detection arm. This will cause your heating block to make poor contact with the TECs. Make sure your optical path is mechanically stable during and between your experimental runs.
+
 
+
==Building the Electrical System==
+
 
+
===LED driver===
+
 
+
The LED will be powered using 5 V by placing the LED in series with a ~25 &Omega; resistor. Use the fixed 5 V output from your Instek power supply.
+
{{Template:Safety Warning|message=Don't forget the resistor. Directly connecting the 5 V will blow out the LED without a low current limit at your supply.}}
+
 
+
===Heating control===
+
 
+
After ensuring that the power is off, directly connect a Diablotech power supply to a '''double''' TEC stack using the male 4-place connector on the supply with two yellow and two black wires that supplies 12 V and up to 15 A, to the connector provided on the counter top near the optical samples. The connector provided is a female 4-place Molex connector with a black and white twisted pair of wires coming out. It is best to connect the TECs to this connector using blue or gray "wire nuts" that are available in the DNA Melting Lab drawer under the hot plate. Keep the white/black wire and connector with your setup. Each station will have an identical Diablotech power supply.
+
 
+
If you connect the white wire of the connector to the red wire of the TEC then the top side of the TEC, as pictured below, will be the hot side. Ask a TA or Instructor for assistance if needed.
+
 
+
Be sure that you have attached a heat sink to the under side of your aluminum bracket, the TECs should rest on this, with a very thin film of thermal grease between them. Also, it is easier if you attach the fan to your bracket before assembling the heat sink and TECs.
+
 
+
When you are ready to heat your sample later on, you will simply switch on the Diablotech. When you the block reaches no more than 100 C, switch it off and your sample will passively cool down.
+
 
+
[[Image:TEC_picture.jpg|350 px|thumb|center|TEC showing hot side up when current flows into the black lead]]
+
 
+
===Temperature detection===
+
 
+
[[Image:rtd2.png|right|thumb|250px|Temperature Detection Circuit]]
+
 
+
The electrical resistance of most materials varies with temperature. An RTD is a special resistor (usually made out of platinum) that exhibits a nearly linear change in its value with temperature. An RTD may be used to accurately measure temperature by including it as an element in a voltage divider. As the resistance of the RTD changes, so will the voltage across it.
+
 
+
A PPG102B1 RTD from US Sensors<ref>[http://www.ussensor.com/thin-film-platinum-rtds Datasheet for PPG102B1 RTD]</ref> has been pre-mounted on the DNA heating block. This RTD has a nominal resistance of 1 k&Omega; and its value increases with temperature. Note that the maximum current carrying capacity of this device is 1 mA, so if you alter the voltage divider design, be sure that no more than 1 mA flows through the RTD. To test basic functionality of your circuit, you can press your finger on the RTD while your lab partner measures the divider voltage with a digital multimeter. Or you can see the temporal effect by doing the same measurement with your oscilloscope.
+
 
+
The diagram to the right shows the suggested temperature detection circuit. The capacitor across the RTD implements a low pass filter whose purpose is to eliminate noise in your temperature reading. Consider the following points when choosing a capacitor value: What noise sources are you attempting to filter. What is the cutoff frequency above which you want to attenuate said noise? Think also about the time constant of the temperature change you wish to observe, you don't want to filter your desired signal. Compare this to the time constant of your filter? If it is too large compared to the rate of change of temperature, it could cause a delay in your temperature reading.
+
 
+
===Photodiode signal amplification===
+
 
+
Excited SYBR Green I molecules emit photons in all directions, some of which pass through the aperture in the heating block then the emission filter and then strike the photodiode. This generates a tiny current in the photodiode, which must be converted to a voltage and amplified to a level that can be conveniently measured. From past experience, the photodiode output current could be on the order of 15 nA but this depends on excitation light flux and your emission collection optical system design. Can you calculate it from first principles, starting with the current applied to the LED?
+
 
+
====The amplification circuit====
+
 
+
The NI-DAQ interface card used in lab can digitize a voltage between positive and negative 10 V. A first approach to providing this voltage swing at the digitizer inputs was demonstrated in the homework: a transimpedance amplifier with a gain of approximately 7x<math>10^8</math> V/A would produce this voltage amplitude if the photodiode current is as stated above. In your report, describe why we could not simply use a resistor, and omit the op-amp. You should also realize from the real electronics lecture, and comment in your lab report, that implementing the photodiode amplifier in a single stage presents its own set of challenges. Because of this it is suggested that you implement a two-stage amplifier as shown in the figure below. Your job as circuit designers will be to fill in the appropriate feedback resistor and capacitor values in order to achieve the desired gain at the output while also filtering unwanted noise sources where possible. If you have another topology in mind, feel free to discuss with your TA and/or Instructors. We like variety and new ideas.
+
 
+
Think carefully about how you want to distribute the gain of the system across the stages: how does feedback affect the noise of the amplifier?  What are the dominant sources of noise in the DNA melting setup? Which ones do you have most control over. How could you reduce them instead of trying to filter them? By applying your new knowledge of feedback and transfer functions, you should be able to determine the optimal gain configuration of each stage for lowest output noise.
+
 
+
<center>[[Image:Part1_TransimpedanceAmplifier.jpg|700 px|thumb|center|Multi-stage photodiode amplification circuit]]</center>
+
 
+
===Practical matters===
+
 
+
<blockquote>
+
<div>
+
''As with most amplifiers, care should be taken with lead dress, component placement and supply decoupling in order to ensure stability.''
+
 
+
''&mdash;[http://www.ortodoxism.ro/datasheets/nationalsemiconductor/DS005655.PDF LF411 Datasheet]''
+
 
+
''In theory, there is no difference between theory and practice. But, in practice, there is.''
+
 
+
''&mdash;[http://en.wikiquote.org/wiki/Jan_L._A._van_de_Snepscheut Jan L. A. van de Snepscheut]/[http://en.wikiquote.org/wiki/Yogi_Berra Yogi Berra]/and or [http://c2.com/cgi/wiki?DifferenceBetweenTheoryAndPractice Chuck Reid]''
+
 
+
</div>
+
</blockquote>
+
The universe is rife with electrical noise. Keeping the noise out of sensitive electronic instruments requires a great deal of care. Unfortunately, electronic breadboards are a poor environment in which to construct high gain amplifiers. A few simple tricks can improve things.
+
 
+
*Use power supply bypass capacitors. Connect a large capacitor between all supply voltages and ground, close to the point of use. Large, electrolytic capacitors of at least 0.1 &mu;F work well for this purpose. Electrolytic capacitors are polarized. Make sure to put them in the right direction (If put in wrong, they may explode, and they will definitely start to smell bad.).
+
*Use the binding posts on the breadboard to connect your power supplies and be sure to strip enough insulation for good contact.
+
*Use the black post for ground, and, via several wires, connect it to the upper, horizontal blue "minus rail" on your breadboard. Then connect this to each of the vertical blue "minus rails." Use these for all local ground connections. In your lab report, comment on why you might want to connect several wires between the black post and the top, ground rail. If you need help with this practical matter, talk to an Instructor or TA.
+
*Power Supplies: Use a separate power supply for the op-amp circuits (+/-15 V supplies), LED driving circuit (5 V supply), and the heating control (12 V supply).
+
 
+
Even with these optimizations, it will be important to keep your wiring short and neat. A neat circuit works better, because it will be easier to debug and visualize. At the high gain of this circuit, local field coupling, between the circuit and your fingers, for example, can cause disturbances in your amplifier output. For this and related reasons, the amplifier and its wiring will be susceptible to physical movement, so prevent things from getting bumped during experimental runs. Low, short wire runs will help alleviate all of these issues.
+
 
+
A note about resistors and capacitors: recall that resistors introduce thermal noise, while capacitors do not. Therefore, the optimized system will use as low resistor values as are reasonable in filters and feedback paths.
+
 
+
===Testing the circuit===
+
[[Image:TestCurrentSource.png|thumb|right|Input test circuit for transimpedance amplifier gives 10nA current per volt.]]
+
The circuit is designed to amplify a small current input into a easily measured voltage.  To test the circuit, a suitable current source can be used in place of the photodiode.  Since the input to the circuit (at IC1 pin 2) is at virtual ground (= 0V), a voltage source in series with a large value resistor will produce a small current proportional to the test voltage.  The largest resistor value available in the lab is 9.1M&Omega;.  For finer control of the current, this resistor may be combined with a resistor divider to attenuate the input current.  For example, for the circuit shown would give a current of 10nA per volt.
+
 
+
Use a digital signal generator as Vtest and oscilloscope to measure Vtest and the output of the circuit both at IC1 pin 6 and IC2 pin 6.  Verify the gain and low-pass cutoff frequency of the circuit. It’s very easy to make an order of magnitude error when selecting components, so it’s important to test the frequency response. If the circuit does not act as expected, here are some items to check:
+
*Verify that all your component connections are correct and match the design.  Check that wires and components are properly seated in the breadboard and not suspiciously loose.  Use the ohm-meter function of the digital multi-meter to verify continuity.
+
*Verify that power is actually getting to the op-amps, i.e., +15V on pin 7 and -15V on pin 4.
+
*Verify that pins 2 and 3 (the V- and V+ inputs to the op-amp) are equal.
+
*For 0 nA input, you may still see a significant offset voltage at IC1 pin 6 (50-100mV, this is due to an inherent input offset voltage in the op-amp itself), which may cause IC2 to saturate (output voltage > 10V).  You may be able to reduce this voltage by lowering the ratio of R3 to R2 while increasing R1 to preserve the gain.
+
 
+
When the circuit is working as expected, connect the photodiode.  Use any convenient light source to excite the photodiode and verify that the circuit output changes in response.  Use the emission filter and/or neutral density filter to cut down on the light intensity.
+
 
+
Once your apparatus is built, use samples of fluorescein (~ 30uM concentration) as a stand-in for SYBR+DNA (fluorescein is cheap, non-toxic, and will not bleach as quickly as SYBR) to test and tune the optics.
+
 
+
==PC Data Acquisition System==
+
 
+
===The DAQ===
+
  
 
{{:20.309:DAQ System}}
 
{{:20.309:DAQ System}}
Line 195: Line 211:
 
<center>[[Image:DAQ_Wire_Colors.png|450 px|thumb|center|DAQ Connection Cable]]</center>
 
<center>[[Image:DAQ_Wire_Colors.png|450 px|thumb|center|DAQ Connection Cable]]</center>
  
====Things to watch out for====
+
==DNAMelter software==
 
+
*The DAQ has only one ADC (analog-to-digital converter), which is multiplexed between all of its analog inputs. The ADC has input limits of +/-10V. If one input is outside this range, it will get confused and give nonsensical values for all inputs. The upshot is, if either your temperature or fluorescence measurement is nonsensical, check to make sure the others are not receiving a higher voltage, like 15 V or 12 V, at the DAQ.
+
*If you short-circuit your DAQ, it will also get confused. One symptom of this is the data acquisition program refusing to run, for example, wrongly complaining that the limits on the band-pass filter do not satisfy some condition. If this happens, unplug and re-plug the DAQ and use the Measurement and Automation software to check its condition and the test panels therein to check signals on the AI0 and AI1 inputs.
+
 
+
===PC and Software===
+
 
+
====Lab station PC====
+
 
+
Log in to your lab station PC using the credentials provided. The computer is connected to the lab station DAQ device via USB. Check this connection before you start the Matlab GUI.
+
 
+
====Matlab GUI====
+
 
+
The Matlab DNA Melting GUI is called <code>DNAMelter.m</code> and is located in the <code>CourseMaterials/Labs/DNAMelting</code>. You may make a copy in your directory of choice, double click that copy to open the code in Matlab, then run the code via the Run button.
+
 
+
Follow the instructions in the GUI. Graphs and readouts are labeled.
+
  
At the end of a run, use the "Save Data" button to save to a file. The data will be tab-delimited and can be read into Matlab with the <code>load</code> command.
+
[[Image:BasicDNAMelterIcon.png|75 px|left]]
 +
Use the <code>Basic DNA Melter GUI</code> program (located on the lab computer desktop) to collect data from the apparatus.
  
Troubleshooting: If Matlab gives you a data acquisition error, for example, "<code>NO DATA ACQUISITION DEVICE FOUND!</code>", open the Measurement and Automation Explorer ("MAX"), open the Devices and Interfaces drop-down on the left side, and make sure there is only one "NI USB-6xxx" entry and that it is called "Dev1." If it is not, or there is more than one device listed, physically disconnect the USB cable from your DAQ, then delete all "NI USB-6xxx" entries, then reconnect your DAQ, then verify that one entry reappears and that it is called "Dev1." Try to run the DNAMelter program again, and/or close it, re-open it, and run it again. If this does not work, consult a TA or Instructor.
+
Use the "Open file ..." button to write the data to a file. The data will be tab-delimited and can be read into Matlab with the <code>load</code> command.
  
More info: [[DNA Melting: Using the Matlab DNAMelter GUI]]
+
Documentation for the DNAMelter software is available here: [[DNA Melting: Using the Basic DNAMelter GUI]]
  
==Debugging the apparatus==
+
====If you need to debug the DAQ (skip otherwise!)====
 +
* When debugging problems, it is frequently useful to ascertain whether the data acquisition system is working properly. National Instruments provides an application for this purpose called Measurement and Automation Explorer. Use Measurement and Automation Explorer to verify that the DAQ is properly connected to and communicating with the computer. The program also provides the ability to manually control all of the DAQ system's inputs and outputs.
 +
** Launch Measurement and Automation Explorer by selecting Start->All Applications->National Instruments->Measurement and Automation.
 +
** In the "Configuration" tab, select "Devices and Interfaces" and then "NI-DAQMx Devices." Select "Dev1."
 +
** If Dev 1 does not show up, the problem is that computer cannot communicate with the DAQ system. Ensure that the USB cable is connected to the DAQ system. If the cable is connected and the device still does not show up, unplug the USB cable, count to five, and plug it back in.
 +
** If the DAQ shows up under a different name, disconnect the USB cable. Delete all the "NI USB-6xxx" entries and then reconnect the USB cable. Verify that one entry reappears and that it is called "Dev1."
 +
** Select the "Test Panels" tab to manually control or read signals from the DAQ.
 +
* If you run DNAMelter and there is a data acquisition error, for example, "<code>Data acquisition cannot start!</code>", open Measurement and Automation Explorer and follow the steps above. Run DNAMelter again. If it still doesn't work, grab a beer or ask an instructor for help.
 +
* The DAQ has only one analog-to-digital converter (ADC). A multiplexer circuit sequentially samples voltages from the analog inputs configured in the control software. If any of the inputs is outside the allowable range of +/-10V, all of the inputs may behave erratically. The voltages reported may look reasonable so this can be very misleading. If none of the DAQ readings make sense, ensure that all of the analog voltages are in the allowable range and reset the DAQ by cycling the power of the DAQ (use the switch on the 6341 or disconnect the USB of the 6212).
 +
* If the DAQ gets short-circuited, it may crash. If this happens, Matlab will frequently give a deceptive error message, for example claiming that the limits on the band-pass filter do not satisfy some condition. In this case, correct the connection and cycle the DAQ power.
  
#Use your finger to make sure the temperature circuit is working properly. Touching the washer over the RTD will produce a response if the circuit is working.
+
==Part 1 measurements==
#Cover and uncover the photodiode, exposed to room light, to verify operation of the fluorescence measurement system. You can use one or more neutral density filters (NE20A) to reduce the room or LED light down to levels close to that of the fluorescence from your DNA.
+
#Close your emission optical path to shield your photodiode from ambient light. Can you measure the difference between a cuvette filed with water and one with DNA and SYBR Green?
+
#Observe every electrical signal node with the oscilloscope. Are any signals noisy? Is there a way to improve the quality of poor signals?
+
#Watch the fluorescence readout over time. Is it stable or does it drift even when block temperature is constant?
+
#Is your temperature reading nonsensical, for example, far too large or negative?  Make sure you are using 15 V supply and 15 k&Omega; resistor.  Also make sure that the DAQ input is placed across the RTD not the 15 k&Omega; resistor.
+
#Is your LED turning on?
+
  
==Part 1 Experimental procedure==  
+
===Test your instrument with fluorescein===
 +
use ~ 30&mu;M fluorescein to test your instrument before you get started with DNA samples. Fluorescein is good for testing; it's cheap, non-toxic, and it does not bleach as quickly like LC Green.
  
Once your instrument is running to your (and your TA's) satisfaction, you will measure three consecutive melting curves for a 20 bp DNA sample. If you have time, you can run additional experiments with other samples. For example, you could gather additional base pair number, ionic strength, or mismatch data points and evaluate your instrument's ability to discern the different melting points of these samples.
+
# Pipette 500 &mu;l of fluorescein into a glass sample vial.
 +
# Pipette 500 &mu;l of DI water into a another sample vial.
 +
# Alternate between the two samples. You should see a difference in the transimpedance amplifier output.
  
====Experiment steps====
+
===Measure signal to noise ratio===
  
#Open and run the <code>DNAMelter.m</code> in Matlab and follow the instructions there.
+
Measure the signal to noise ratio (SNR) of the instrument by comparing the difference between the average signal with a sample present and with water as a null reference. This process requires a vial containing 500 uL of 30 uM fluorescein and a vial containing the same amount of water.  
#Confirm that you can accurately measure block temperature, then take your block through one temperature cycle
+
#Next prepare a sample as described below, use our stock of "junk" DNA, and place cuvette in heating block, but do not heat yet.
+
#First, at steady room temperature, use the DNAMelter GUI to record photodiode output and measure the signal to noise of your instrument with this sample. (See instructions below)
+
#Use the DNAMelter GUI to record RTD and photodiode output during heating and cooling, and save the data.
+
#Repeat the first few steps with a good sample, then measure more curves (with the same sample) only enough to feel confident of your data, and save the data for each run.
+
#Record melting curves for additional sample types if desired. Talk to your TA or Instructor, we have some old DNA of different types.
+
#Make any modifications to the code that will help you. Be sure to save your own copy in your own directory.
+
  
===Making a sample===
+
# Run the <code>Basic DNA Melter GUI</code>.
 +
# Place a vial of DI water in your instrument.
 +
# Clear the data and wait 10 seconds.
 +
# Replace the water vial with the DNA of fluorescein vial, record for another 10 seconds, then save the data.
 +
#* Be sure that all other conditions, such as temperature, are stable throughout the test.
  
{{Template:Biohazard warning|message=SYBR Green I in DMSO is readily absorbed through skin. Synthetic oligonucleotides may be harmful by inhalation, ingestion, or skin absorption. Wear gloves when handling samples. Wear safety goggles at all times when pipetting the SYBR Green/DNA samples. Do not create aerosols. The health effects of SYBR Green I have not been thoroughly investigated. See the SYBR Green I and synthetic oligonucleotide under <code>../EHS Guidelines/MSDS Repository</code> in the course locker for more information.}}
+
Compute the signal to noise ratio, <math>\text{SNR}=\frac{\langle V_{fluorescein} \rangle - \langle V_{water} \rangle}{\sigma_{fluorescein} }</math>, where <math>V_{fluorescein}</math> is the portion of the data recorded with a fluorescein sample, <math>V_{water}</math> is the portion of the signal corresponding to the water sample, and <math>\sigma_{fluorescein}</math> is the standard deviation of <math>V_{fluorescein}</math>.
  
====Sample prep steps====
+
===Make a DNA melting curve===
  
#Pipet 500 &mu;l of DNA plus dye solution into a glass cuvette.  (Ask your TA or an Instructor for one of these reusable, and expensive, cuvettes).
+
Once the instrument is confirmed to be functioning properly, follow these instructions to generate melting curve data for a 20 bp DNA and green dye solution.
#Pipet up to 200 &mu;l of mineral oil on top of the sample to help prevent evaporation. It will help to pipette into the corners first. Be careful not to get oil on the cuvette sides far above the sample. It will run down during your experiment and cause shifts in the photodiode signal. Put a disposable top (available in a drawer under the bench) on the cuvette.
+
*Keep the sample vertical to make sure the oil stays on top.
+
*You should be able to use the same sample for several heating/cooling cycles (What makes it go bad?  What can you do to limit this effect?). Only discard it if you lose significant volume due to evaporation or your signal gets too low.
+
*If you need to leave the sample overnight, store it in the lab refrigerator.
+
*When not being used, you should protect the sample from light so that photobleaching is minimized.
+
  
To clean your glass cuvette between samples, flush with alcohol in the waste container, rinse with water at the drain, and if you wish by also soak/rinse with the Lysol cleaner. Whatever you do, your last rinse should be with DI water. You can suck out residual liquid with the vacuum and drawn pipette to the left of the sink.
+
{{Template:Biohazard warning|message=LC Green in DMSO is readily absorbed through skin. Synthetic oligonucleotides may be harmful by inhalation, ingestion, or skin absorption. Wear gloves when handling samples. Wear safety goggles at all times when pipetting the LC Green/DNA samples. Do not create aerosols. The health effects of LC Green have not been thoroughly investigated. See the LC Green and synthetic oligonucleotide under <code>../EHS Guidelines/MSDS Repository</code> in the course locker for more information.}}
  
===Measuring DC signal to noise===
+
#Pipet 500 &mu;L of DNA plus dye solution into a glass vial.
Carry out a simple test of the signal to noise ratio (SNR) of your instrument by comparing your signal with a sample present to your signal with no sample present. This process includes a fresh sample of DNA in a cuvette, to be inserted into your heating block when it is steady at room temperature.  
+
#Pipet up to 20 &mu;L of mineral oil on top of the sample to help prevent evaporation.
 +
#* The oil layer will reduce evaporation.
 +
#* Be careful not to get oil on the cuvette sides far above the sample. It will run down during your experiment and cause shifts in the photodiode signal.
 +
#*Keep the sample vertical to make sure the oil stays on top.  
 +
# Make sure that the Diablotek power supply is off and the sample block is near room temperature.
 +
# Place the vial in the instrument
 +
#* To reduce bleaching, keep the LED off until you start the measurement.
 +
# Open and run the Basic DNA Melter GUI and follow the instructions there.
 +
# Confirm that sample block temperature displayed in Basic DNA Melter GUI is near room temperature.
 +
# Turn on the Diablotek power supply until the block temperature reaches 95&deg;C.
 +
# Attempt to hold the temperature at 95&deg;C for a minute or so by repeatedly switching the Diablotek power supply off and on.
 +
# Switch off the power supply and allow the block to cool down to room temperature.
 +
#* Be sure to save your data so you can plot it in your Part 1 report.
  
Start by using the DNAMelter GUI to record the photodiode signal with no sample present. Click "Clear Data" in the GUI and wait about 10 s.
 
  
Next insert your cuvette and record for another 30 s to 1 min or more. Be sure that all other conditions of your instrument are exactly the same when you have the sample present and when you do not.
+
* You can use the same sample for several heating/cooling cycles.
 +
* Only discard a sample if you lose significant volume due to evaporation or if your signal gets too low.  
  
====Analyze this data in Matlab to calculate the SNR.====
+
To clean your glass vial between samples, flush with alcohol in the waste container and rinse with water at the drain. Suck out residual liquid with the vacuum and drawn Pasteur pipette to the left of the sink.
First separate the data into two parts, the part with no sample, and the part with a sample present. In Matlab or Python, fit a straight line to the data with no sample present, this is your background level. Calculate the rms value of this data, this is your zero signal noise.
+
  
Next fit an exponential (or another straight line) to the data with a sample present. The exponential comes from the fact that the SYBR Green is bleaching when exposed to the bright excitation illumination. You may see a pronounced effect if you measured the sample for more than a minute. Here the value is your signal plus background, and the rms value is your signal noise.
+
====Sample disposal====
  
Compare the levels of these curves, this difference is your signal. Divide the signal level by the signal noise, take the base-10 log, and multiply by 20. This is your exceedingly simple SNR, signal to noise, in dB. (Is your background noise the same as your signal noise?)
+
{{Template:Environmental Warning|message=Discard pipette tips with DNA sample residue in the pipette tips or the ''Biohazard Sharps'' container. Do not pour synthetic oligonucleotides with LC Green down the drain. Pour your used samples into the waste container provided in the middle of the wet bench.}}
  
You will carry out a much more robust measurement of SNR for your Phase II instrument, but this type of SNR calculation is a reasonable place to start.
 
  
===Sample disposal===
 
  
{{Template:Environmental Warning|message=Discard pipette tips with DNA sample residue in the pipette tips or the ''Biohazard Sharps'' container. Do not pour synthetic oligonucleotides with SYBR Green down the drain. Pour your used samples into the waste container provided in the middle of the wet bench.}}
+
{{:DNA Melting Report Requirements for Part 1}}
  
 
==Lab manual sections==
 
==Lab manual sections==
Line 288: Line 297:
  
 
==References==
 
==References==
<references />
+
<references/>
  
 
==Subset of datasheets==
 
==Subset of datasheets==
 
(Many more can be found online or on the course share)
 
(Many more can be found online or on the course share)
#[http://sine.ni.com/nips/cds/view/p/lang/en/nid/207096 National Instruments data acquisition card user manual]
+
#[http://www.ni.com/pdf/manuals/371931f.pdf National Instruments USB-6212 user manual]
#[http://www.sigmaaldrich.com/etc/medialib/docs/Sigma/Datasheet/8/s9430dat.Par.0001.File.tmp/s9430dat.pdf SYBR Green I datasheet]
+
#[http://www.ni.com/pdf/manuals/370784d.pdf National Instruments USB-6341 user manual]
 
#[http://www.national.com/ds/LF/LF411.pdf Op-amp datasheet]
 
#[http://www.national.com/ds/LF/LF411.pdf Op-amp datasheet]
#[http://www.clare.com/home/pdfs.nsf/www/CPC1709.pdf/$file/CPC1709.pdf Relay datasheet]
 
#[http://www.learn-c.com/tip120.pdf Darlington transistor
 
  
 
{{Template:20.309 bottom}}
 
{{Template:20.309 bottom}}

Latest revision as of 17:49, 19 April 2017

20.309: Biological Instrumentation and Measurement

ImageBar 774.jpg


In theory, there is no difference between theory and practice. But, in practice, there is.

Jan L. A. van de Snepscheut/Yogi Berra/and or Chuck Reid



Overview of part 1

Normalized DNA melting curve. (Plot from gene-quantification.de )

In this part of the lab, you will construct a crude version of a temperature-cycling fluorometer and measure a DNA melting curve or two. Even though this first version of the instrument has some shortcomings, it will give you a good idea of how all of the parts work together to make melting curves. The instrument includes a resistance temperature detector (RTD) to measure the temperature of the sample holder, a blue LED to excite the sample, a Peltier device that will heat the sample, optical filters, a photodiode for detecting fluorescent emission, a high-gain transimpedance amplifier to convert photocurrent to voltage, and a computer data acquisition system to record the voltages that come out of the instrument.

When you get it all put together, the instrument will produce two voltages: one related to the sample temperature and another that depends on the amount of fluorescence coming out of the sample. The goal of part 1 is to produce at least one reasonable quality melting curve. This involves recording the temperature and fluorescence voltage as you heat a sample of DNA + dye from room temperature to about 95°C and then let it cool back down. Computer software for recording the voltages has already been written for you. After you have a melting curve, you will use nonlinear regression to fit thermodynamic parameters to your data and do a little planning for part 2 of this lab. You will probably notice some shortcomings your instrument as you work. Don't worry about that — in part 2, you will make many improvements to your machine that will make it sing like Elvis.

There are instructions below for assembling your DNA melter.

Before you get started in the lab …

Two parts of the DNA melter require you to do some design work. You will have to decide what lenses (if any) you would like to use in your system and you will also need to select component values for your transimpedance amplifier. Come up with at least a preliminary design both of these before you start building.

Excitation and emission optics

It's possible to build a DNA melter with no lenses at all. Most people find that they can get a better signal-to-noise ratio if they use lenses. The goal is to get as much of the light from the LED to fall on the sample as possible and to get as much of the fluorescent emission on to land on the photodiode as possible. The active area of the photodiode is 3.6 mm x 3.6 mm. Take a little time to think about what lenses you'd like to use between the LED and the sample and photodiode and the sample. It wouldn't hurt to draw a ray diagram.

Transimpedance amplifier

Two-stage transimpedance amplifier for converting photocurrent to voltage.

Fluorescent light from the sample falls on the photodiode and produces a photocurrent. The amount of current depends on the irradiance of the sample and the light collection efficiency of your optical system (and probably some other stuff). In most instruments, the photocurrent is around a microamp, but this number can vary up or down by a few orders of magnitude depending on the details of your optics. This small current must be amplified to a level where it can be easily measured. The voltage measurement range of the data acquisition system is ±10 V. It makes sense to shoot for an output voltage that fills most of the range of the data acquisition system. The circuit shown to the right is a two-stage amplifier which converts the photodiode current to a voltage, and amplifies this voltage.

Before you build the circuit, you will need to choose values for the resistors and capacitors to get the right amount of gain and an appropriate cutoff frequency. The following questions will guide you in selecting these components (note that these questions are very similar to PSet 3).

  1. For the amplifier circuit shown at the above right, in what case can we ignore the effect of the capacitor? At high or low frequencies?
  2. Stage 1 of the circuit (shown below) is a transimpedance amplifier, which converts the current coming from your photodiode into a voltage. Ignoring the effect of the capacitor for now (for the case you described in the above question), write an expression for the gain ($ V_1/i_{in} $) of Stage 1 of your amplifier circuit in terms of the resistor values.
    Stage 1.
  3. Let’s look at Stage 2 of the amplifier circuit. This stage is a voltage amplifier to further amplify the signal from Stage 1. We need this second stage because when the gain of a single stage is very high (~106 Ω), the circuit starts to misbehave. At very high gains, you can't ignore the nonidealities of the op amp as casually as you can at low gains. Thus, to achieve an adequate gain, we need the second stage of amplification. What is the gain ($ V_2/V_1 $) of Stage 2?
    Stage 2.
  4. Now that you know the gain of each stages of your amplifier circuit. Pick resistor values such that 1uA current from your photodiode will produce ~10V signal at the final output of the circuit ($ V_2 $). Remember that it is best to put as much gain in early stages of a multi-stage amplifier as possible. Since you won’t know the exact current values from your photodiode until you build your system, you will start with these values and adjust them as necessary after you build it.
  5. It is now time to reconsider the capacitor in Stage 1 of the amplifier circuit. What does this capacitor do at high frequencies? What kind of filter is this? Using impedance analysis, find the gain ($ V_1/i_{in} $) of Stage 1 in terms of the capacitor and resistor values.
  6. What value capacitor will you choose to filter out 60 Hz and 120 Hz noise from the lab?

Assembling the system

If you have forgotten your way around the lab, consult the Lab orientation page.

Start by mounting all of the main structural components on an optical breadboard. Onward!

Mount the DNA melting chassis on an optical breadboard

The chassis includes a support bracket, fan, heat sink, and sample holder. There are two Peltier devices sandwiched between the holder and the heat sink. When current is applied to the Peltier device, the sample block will either heat up or cool down, depending on the direction of the current. There is a temperature sensor embedded inside the sample holder.

  1. Mount the chassis on the optical breadboard using the ¼-20x5½" screws.
    • Leave room for your optical setup and an electronic breadboard.

Wire the Peltier device and test it

Diablotek switching power supply (inside east cabinet) provides power to the Peltier devices.

Heating and cooling the sample with a Peltier device requires a lot of current. In part 1 of the lab, you will hook the Peltier device (also called a thermoelectric cooler, or TEC) directly to its own power supply. When you turn the power supply on, the sample will heat up. After you turn the supply off, the sample will return to room temperature by radiation, conduction, and convection — all that heat stuff. This is a pretty crude way to control the sample temperature. We'll come up with something better in part 2.

Power supply connected to Peltier devices (TECs).
  1. Hook up the Peltier devices (TECs) in series.
    • There are two Peltier devices (TECs) sandwiched between the sample holder and the heat sink.
    • They must be connected in series.
    • The black lead of the top device should be connected to the red lead of the bottom device.
    • If these two wires are not already connected, twist them together and secure the connection with a wiring nut.
  2. Connect the TEC to the power supply
    • Use the TEC extension wire assembly (the correct one has black/white/black/yellow colored wires)
    • Join the white wire to the red lead of the top TEC and the black wire to the black lead on the bottom TEC using wire nuts.
  3. Warning: there are two connectors on the Diablotek power supply that the connector on the TEC extension wire can fit into. Make sure to use the black connector, not the white one.
    • Connect the TEC extension to the black connector on the Diablotek power supply.
  4. Test the TECs by touching the base of your heating block and turning the Diablotek on.
    • The base should start to feel warm within 10-15 seconds.
    • If the power supply immediately shuts off (the fan inside the power supply stops spinning) it is likely that you either used the wrong connector or there is a short circuit. Double check your wiring.

Measure temperature

A platinum RTD is embedded inside the heating block. The resistance of the RTD varies with temperature according to the equation RRTD=1000 Ω + 3.85 θ, where θ is the temperature of the RTD in degrees Celsius.

  1. While the output is off, set the power supply to 15 V and 0.1A (SERIES operation) and connect to the breadboard.
  2. Connect the 15kΩ resistor in series with the RTD on the breadboard as shown in the diagram.
    RTD circuit
    • The maximum current of the RTD is 1 mA. Since you will use a 15 V supply to the circuit, the resistor must be at least 14 kΩ.
    • Measure the actual resistance of the 15 kΩ resistor with a DMM and record the value in your lab report.
  3. Making sure your circuit is powered and grounded properly, turn on the output of the power supply.
    • Make note of the actual supply voltage measured by your DMM.
    • Measure the voltage across the RTD using the DMM.
  4. You may mount your electronic breadboard to your optical breadboard using the CL5 clamps, along with some screws and washers, as shown in right image.
    Clamp usage
  • Find an equation for the voltage across the RTD as a function of temperature. What voltage do you expect given an input voltage of 15 V with the RTD at room temperature?
  • What is the measured voltage of the RTD at room temperature and how does it compare to your predictions above?
  • What is the temperature, based on your measured voltage and how does it compare with the clock on the wall (or some better measure)?
  • How is the temperature calculation affected by a 1% change in the 15 V input voltage? In other words, if you assume the same measured voltage across the RTD, but have a 1% change in the input voltage, how much does your calculated temperature change? Note the importance of keeping track of your input voltage.

Excite the sample with blue light

Figure 1: Schematic diagram of LED circuit

The circuit for illuminating the sample is pretty simple — just a blue LED in series with a resistor, powered by the 15 V supply. The circuit is shown in Figure 1. In this connection, the LED will shine with a roughly constant intensity. This part of the circuit will more complicated in part 2. For part 1, a constant, blue light source will do the trick.

Light coming out of the LED diverges pretty quickly. You might be able to get more light to fall on the sample with a lens.

  1. Mount the LED in its mounting ring and secure it in a lens tube with a retaining ring.
  2. Assemble your excitation optical path.
    • LEDs have a broad emission spectrum, so it's necessary to put an optical filter between the LED and the sample.
    • The arrow on the side of the filter should point toward the sample.
  3. Use your electronic breadboard to wire the 62 Ω resistor in series with the LED, as shown in Figure 1.
  4. Use banana cables to route the 5V output of the lab power supply to the LED circuit.
    • Don't forget to connect the resistor — if there is no resistor in series the LED will blow out.
  5. Turn on the power supply and enable the output.
    • If the LED doesn't glow, it's time for some debugging.

Detect green fluorescence

You will use a photodiode, a transimpedance amplifier, an emission filter, and possibly some lenses to detect fluorescent light from the sample. It's time to put all of that together. Start by building and testing the amplifier. Then put the optical system together.

Construct the emission optical path

  1. Mount the photodiode in its adapter and place the whole thing inside a lens tube.
  2. Mount and secure the emission optical path. Don't forget the filter (the arrow should be pointing toward the sample).
  3. Consider using a lens to focus the light emitted from your sample onto your photodiode.

Build the transimpedance amplifier

It's time to build the transimpedance amplifier that will convert the tiny current produced by the photodiode into a measurable voltage. If you didn't already select component values, you are probably not very good at following directions. Pick component values before you start building.

  1. Disable the power supply before you start.
  2. Configure the lab power supply for series mode and set the voltage to ±15 V.
  3. Use banana plugs to wire +15 V, ground, and -15 V to the breadboard terminals.
  4. Mount the two op amps a short distance apart on the electronic breadboard. The amplifiers should straddle the notch on the breadboard that separates the two sets of bus strips.
    • Make sure to use the correct kind of amplifier — there are several types in the drawer that look very similar. The package should say "LF411" on it.
    • Orient the op-amps so that pin 1 (marked with a dot on the package) is at the upper left.
    • Use jump wires to connect the power supplies from the breadboard terminals to the bus bars on the left and right of the op amps.
      • Wire the +15 V power supply to the red bus bar on the right of the op amps.
      • Wire the -15 V power supply to the red bus bar to the left of the op amps.
      • Connect the blue bus bars on either side of the amplifiers to ground.
    • Use short wires to connect the power pins of the op amps to the correct power supplies. Double check your connections — there is no faster way to ruin an op amp than to wire the power backwards.
    • Add the bypass capacitors (the blue ones in the above image) to your circuit to reduce noise from the power supply. Do this by straddling a capacitor between the +15 V supply (pin 7) to ground, and another capacitor between the -15 V supply (pin 4) to ground. Be sure to note the polarity of your capacitor (the black stripe should go toward the more negative potential) otherwise you might get an unwanted explosion.
  5. Build the transimpedance amplifier circuit with the component values you selected.
    LF411 op amp pin configuration
  6. Use a SMA to BNC adapter; BNC cable; and BNC to wire adapter to connect the photodiode terminals to the electronic breadboard.
  7. Before you enable the power supply, double check that your component values are correct and your connections match the design.
  8. Test it out
    1. Enable the power supply and verify that +15V appears on pin 7 and -15V on pin 4.
    2. Temporarily disconnect the photodiode from the amplifier input. This will set the input current to zero.
    3. Measure the voltage on the output pins of both amplifiers (pin 6).
      • If the outputs are not close to zero (say, less than a hundred millivolts), there is probably something wrong. Time for some debugging.
    4. Reconnect the photodiode. Hook a voltmeter to the amplifier output.
    5. Point the photodiode at the lights. Now cover the photodiode with your thumb or another appendage.
      • If the voltage doesn't change as expected, it's time for some debugging.

Connect your instrument to the computer data acquisition system

Each lab PC is equipped with a National Instruments USB-6212 or USB-6341 data acquisition (DAQ) card.

The USB-6212[1] has 16, 16-bit analog input channels which can, in sum total, accomplish 400 thousand samples per second (400kS/s). That is, if there are two channels, each one will be alternately sampled, and EACH sampled at 200kS/s. A multiplexer sequentially selects from among the 16 single-ended and 8 differential input signals. The card also supports two 16 bit analog output channels with an update rate of 250 kS/s and an output range of +/-10 V and up to +/-2 mA.

The USB-6212 also has 32 digital input/output channels and a digital ground. A 50 kΩ pull-down resistor is typically used in series with connections to these channels.

The USB-6341[2] is s little more powerful. It has 16, 16-bit analog input channels which can, in sum total, accomplish 500 thousand samples per second (500kS/s). Again, a multiplexer sequentially selects from among the 16 single-ended and 8 differential input signals. The card also supports two 16 bit analog output channels but they have an update rate of 900 kS/s and an output range of +/-10 V and up to +/-2 mA.

Finally, the USB-6341 has 24 digital input/output channels and a digital ground, as well as 4, 100 MHz counter/timers.

Summary of DAQ inputs/outputs

A special connector has been prepared for you, connected as shown below. The connections and cable wire colors are also summarized in a memo.

Signal Name Signal Location Ground Location Pin wire color
DAQ Inputs
RTD AI0+ AI0- +Orange / -Black [lone pair, not with third (red) wire]
Photodiode AI1+ AI1- +Green / -White
DAQ Connection Cable

DNAMelter software

BasicDNAMelterIcon.png

Use the Basic DNA Melter GUI program (located on the lab computer desktop) to collect data from the apparatus.

Use the "Open file ..." button to write the data to a file. The data will be tab-delimited and can be read into Matlab with the load command.

Documentation for the DNAMelter software is available here: DNA Melting: Using the Basic DNAMelter GUI

If you need to debug the DAQ (skip otherwise!)

  • When debugging problems, it is frequently useful to ascertain whether the data acquisition system is working properly. National Instruments provides an application for this purpose called Measurement and Automation Explorer. Use Measurement and Automation Explorer to verify that the DAQ is properly connected to and communicating with the computer. The program also provides the ability to manually control all of the DAQ system's inputs and outputs.
    • Launch Measurement and Automation Explorer by selecting Start->All Applications->National Instruments->Measurement and Automation.
    • In the "Configuration" tab, select "Devices and Interfaces" and then "NI-DAQMx Devices." Select "Dev1."
    • If Dev 1 does not show up, the problem is that computer cannot communicate with the DAQ system. Ensure that the USB cable is connected to the DAQ system. If the cable is connected and the device still does not show up, unplug the USB cable, count to five, and plug it back in.
    • If the DAQ shows up under a different name, disconnect the USB cable. Delete all the "NI USB-6xxx" entries and then reconnect the USB cable. Verify that one entry reappears and that it is called "Dev1."
    • Select the "Test Panels" tab to manually control or read signals from the DAQ.
  • If you run DNAMelter and there is a data acquisition error, for example, "Data acquisition cannot start!", open Measurement and Automation Explorer and follow the steps above. Run DNAMelter again. If it still doesn't work, grab a beer or ask an instructor for help.
  • The DAQ has only one analog-to-digital converter (ADC). A multiplexer circuit sequentially samples voltages from the analog inputs configured in the control software. If any of the inputs is outside the allowable range of +/-10V, all of the inputs may behave erratically. The voltages reported may look reasonable so this can be very misleading. If none of the DAQ readings make sense, ensure that all of the analog voltages are in the allowable range and reset the DAQ by cycling the power of the DAQ (use the switch on the 6341 or disconnect the USB of the 6212).
  • If the DAQ gets short-circuited, it may crash. If this happens, Matlab will frequently give a deceptive error message, for example claiming that the limits on the band-pass filter do not satisfy some condition. In this case, correct the connection and cycle the DAQ power.

Part 1 measurements

Test your instrument with fluorescein

use ~ 30μM fluorescein to test your instrument before you get started with DNA samples. Fluorescein is good for testing; it's cheap, non-toxic, and it does not bleach as quickly like LC Green.

  1. Pipette 500 μl of fluorescein into a glass sample vial.
  2. Pipette 500 μl of DI water into a another sample vial.
  3. Alternate between the two samples. You should see a difference in the transimpedance amplifier output.

Measure signal to noise ratio

Measure the signal to noise ratio (SNR) of the instrument by comparing the difference between the average signal with a sample present and with water as a null reference. This process requires a vial containing 500 uL of 30 uM fluorescein and a vial containing the same amount of water.

  1. Run the Basic DNA Melter GUI.
  2. Place a vial of DI water in your instrument.
  3. Clear the data and wait 10 seconds.
  4. Replace the water vial with the DNA of fluorescein vial, record for another 10 seconds, then save the data.
    • Be sure that all other conditions, such as temperature, are stable throughout the test.

Compute the signal to noise ratio, $ \text{SNR}=\frac{\langle V_{fluorescein} \rangle - \langle V_{water} \rangle}{\sigma_{fluorescein} } $, where $ V_{fluorescein} $ is the portion of the data recorded with a fluorescein sample, $ V_{water} $ is the portion of the signal corresponding to the water sample, and $ \sigma_{fluorescein} $ is the standard deviation of $ V_{fluorescein} $.

Make a DNA melting curve

Once the instrument is confirmed to be functioning properly, follow these instructions to generate melting curve data for a 20 bp DNA and green dye solution.


Biohazard.jpg LC Green in DMSO is readily absorbed through skin. Synthetic oligonucleotides may be harmful by inhalation, ingestion, or skin absorption. Wear gloves when handling samples. Wear safety goggles at all times when pipetting the LC Green/DNA samples. Do not create aerosols. The health effects of LC Green have not been thoroughly investigated. See the LC Green and synthetic oligonucleotide under ../EHS Guidelines/MSDS Repository in the course locker for more information.


  1. Pipet 500 μL of DNA plus dye solution into a glass vial.
  2. Pipet up to 20 μL of mineral oil on top of the sample to help prevent evaporation.
    • The oil layer will reduce evaporation.
    • Be careful not to get oil on the cuvette sides far above the sample. It will run down during your experiment and cause shifts in the photodiode signal.
    • Keep the sample vertical to make sure the oil stays on top.
  3. Make sure that the Diablotek power supply is off and the sample block is near room temperature.
  4. Place the vial in the instrument
    • To reduce bleaching, keep the LED off until you start the measurement.
  5. Open and run the Basic DNA Melter GUI and follow the instructions there.
  6. Confirm that sample block temperature displayed in Basic DNA Melter GUI is near room temperature.
  7. Turn on the Diablotek power supply until the block temperature reaches 95°C.
  8. Attempt to hold the temperature at 95°C for a minute or so by repeatedly switching the Diablotek power supply off and on.
  9. Switch off the power supply and allow the block to cool down to room temperature.
    • Be sure to save your data so you can plot it in your Part 1 report.


  • You can use the same sample for several heating/cooling cycles.
  • Only discard a sample if you lose significant volume due to evaporation or if your signal gets too low.

To clean your glass vial between samples, flush with alcohol in the waste container and rinse with water at the drain. Suck out residual liquid with the vacuum and drawn Pasteur pipette to the left of the sink.

Sample disposal


Global Tree.gif Discard pipette tips with DNA sample residue in the pipette tips or the Biohazard Sharps container. Do not pour synthetic oligonucleotides with LC Green down the drain. Pour your used samples into the waste container provided in the middle of the wet bench.


Report requirements

  • One member of your group should submit a single PDF file to Stellar in advance of the deadline. The filename should consist of the last names of all group members, CamelCased, in alphabetical order, with a .pdf extension. Example: CrickFranklinWatson.pdf.
  • Include answers to questions embedded in the lab manual (e.g. the questions in the RTD section)
  • The file must be less than 20 MB.
  • Include code at the end of the document in an appendix, in the same pdf file, not as as separate upload.
  • Not counting the appendix, your report should be no longer than 10 pages.

Part 1 report outline

  1. Document your circuit design, optical design, and any ways that your instrument differs from the system described in the lab manual.
    • Include values for all of the resistors, capacitors in your circuit.
    • If you have not modified the circuits from their form in the report, you do not need to include the schematic in your report.
    • Draw a block digram of your optical system, including focal lengths of lenses and key distances.
    • Include a picture of your instrument.
  2. Report your signal to noise measurement.
  3. Plot at least one melting curve.
    • The plot should have temperature in °C on the horizontal axis and fraction of double stranded DNA on the vertical axis.
    • On the same set of axes, include a simulated curve generated by DINAMelt, OligoCalc, or another software simulator.
    • Also on the same set of axes, plot the output of the DnaFraction function evaluated with best-fit parameters. You may use nlinfit to choose the best-fit parameters or you may choose them manually. (See: DNA Melting: Simulating DNA Melting - Basics)
    • Include a legend.
  4. Report the estimated melting temperature and the best-fit values of ΔH°, ΔS°.
  5. Explain the statistical method you will use to identify your group's unknown sample in part 2 of this lab.

Lab manual sections

Lab manual sections

References

  1. Datasheet for the USB-6212
  2. Datasheet for the USB-6341

Subset of datasheets

(Many more can be found online or on the course share)

  1. National Instruments USB-6212 user manual
  2. National Instruments USB-6341 user manual
  3. Op-amp datasheet

</div>