BioBuilding: Synthetic Biology for Students: Lab 3 --Electronics

From OpenWetWare
Revision as of 15:09, 28 July 2011 by Nkuldell (talk | contribs)
Jump to navigationJump to search

Home

Eau That Smell Lab

iTunes Device Lab

Picture This Lab

What a Colorful World Lab

Bioethics Essay Assignment

Design Assignment

Glossary

back to BioBuilder.org

PDF of this page

Lab 3: Picture this

Explore an engineered biological system through a computer simulation, an electronics building kit, and a real-life example.


If you have not had a lesson on how the bacterial photography system works, go read the first half of the design assignment page.

Part II. Electronic vs Biological Circuits

Circuit kit.

In this activity, we'll explore signaling in the context of an electrical circuit. As you work through this exercise, consider how the lessons learned from experimenting with an electronic circuit would map to the engineering of biological systems. You will be given a kit to construct this circuit.

Safety

Safety for you:
In this exercise, you'll be working with circuits connected to a battery. Although you are unlikely to seriously injure yourself, you should make a habit of unplugging / powering-off the circuit before you touch it.

Safety for the circuit components:

  • Never directly connect the two battery terminals (+/power and -/ground) with only wire. This is called a "short circuit" and can damage or drain your battery.
  • Take note of which components require power to be applied in one direction and not the other. Applying power backwards can fry your components. Specifically:
    • The OpAmp has one pin for + power and one pin for ground.
    • The diodes (photodiode and LED) must have their positive legs toward power and their negative legs toward ground. Notice that the diodes are round except for one flat side, which indicates the negative leg (flat line looks like a minus sign).
    • Make sure not to connect your battery backwards. Use red for power and black/blue for ground.
    • Wires and resistors don't care which direction they are plugged in.


System design

A diagram of the electrical circuit that is analogous to the bacterial photography system. Circuit designed by Steve Wasserman, MIT

This system is a fairly simple one, consisting of only a few components. In contrast to the bacterial photography system in which the signal is propagated through protein activities, here signals are propagated as either voltage or current. When light hits the photodiode, it generates a current signal. The OpAmp takes in this current signal and produces a voltage, which signals the LED to produce light. As you can see in the schematic, the circuit contains the following parts:

  • Photodiode: a light sensor. When light shines on the photodiode, its resistance decreases, and current flows through it. The photodiode is analogous to the Cph8-OmpR signaling system in the living bacterial photography system.
  • OpAmp: a signal propagator. More generally, an OpAmp is a logic device that detects and amplifies a difference between the currents into its plus and minus inputs. With the addition of the feedback resistor connecting the output to the minus input, the OpAmp translates an incoming current signal into an outgoing voltage signal. The OpAmp is analogous to the transcription/translation machinery that translates an OmpR signal into synthesis of LacZ in the living bacterial photography system.
  • Resistor: component which resists current flow by producing a voltage drop across it. The voltage equals the current times the resistance of the resistor; thus, the resistance sets the "gain" or amplifier strength of the system. By varying the resistance, we can vary the circuit's sensitivity to light. The resistor is analogous to the strength of the promoters and ribosome binding sites in the biological system, which raise or lower the efficiency of LacZ production in the living bacterial photography system.
  • LED: a device with a detectable output (analogous to LacZ). A voltage drop across its terminals turns the green-colored light on. The small 820Ω resistor is placed in line with the LED to ensure that the current through the LED isn't too high, which can fry the LED. This small resistor has no direct analogue in the bacterial photography system. The LED is analogous to LacZ in the living bacterial photography system.
Photodiode (sensor) OpAmp (logic) Resistor (gain) LED (actuator)
Photodiode (sensor) OpAmp (logic) Resistor (gain) LED (actuator)

Introduction to Breadboards

You will be building this circuit on a breadboard, which is a much cleaner way to construct circuits than just wiring everything together. Start by building a very simple, "Hello World" circuit to understand intuitively how breadboarding works. (If you have used a breadboard before, feel free to skip this section.)

Take a look at the rows of holes on your breadboard. In the middle, the holes are arranged in short rows of five. The five holes in each row are all connected to each other (via thin strips of metal inside the breadboard). On the sides are the rails, or long rows of holes marked with red or blue lines and a plus or minus sign. All the holes in a rail are connected to each other. Rails allow you to conveniently serve power/ground to many locations at once.

Example showing breadboard connections.

For example:

  • The purple wire and the orange wire are connected. The orange wire bridges the two separate halves of the breadboard.
  • The purple wire and the green wire are not connected.
  • Power is delivered to the red rail at the top of the breadboard via the red binding post, which connects to the battery holder. The short yellow wire, the purple wire, and the orange wire are all connected to power.
  • Ground is delivered to the blue rail at the bottom of the breadboard via the black binding post, which connects to the battery holder. The green wire is connected to ground.
Hooking up an LED
Our basic "Hello, World!" circuit.
  1. Deliver power from the battery to the rails on either side of the breadboard. Use the binding posts to connect the battery leads to wires, and plug the wires into the rails. Unscrew the plastic part of the binding post, insert a lead and a wire into the hole, and tighten the plastic part. To get a good connection, make sure you are clamping down on a metal wire and not on the plastic insulation around each wire.
  2. Now plug in the LED and the resistor. Push in the wires firmly to make a good connection.
  3. You should see light. If not, check your connections, make sure your battery is not dead, etc.

A few hints:

  • Remember that the LED allows current to flow through it in only one direction. If you try to put current through it backwards, it won't work. (But it won't damage the LED either, so feel free to try!)
  • The resistor is needed to limit the current through the LED. Too much current can damage it. The LEDs in this kit are strong enough that they won't burn out instantly if you connect them straight across the battery, but using a resistor is still recommended.
  • You could also put the resistor on the power side and the LED on the ground side; it makes no difference.


Building the bacterial photography circuit

Finished circuit.
  1. Power the breadboard: Connect the battery leads to wires using the binding posts. Connect the power wire to the red rail at the top of the breadboard, and the ground wire to the blue rail at the bottom. (Power off the breadboard before you continue building, by disconnecting the rails or snapping the battery out of its holder.)
  2. Position the OpAmp across the trench in the breadboard.
  3. Note the small dot or half-circle marking pin 1 or the "top" of the OpAmp, as shown in the connection diagram. Power the OpAmp by connecting its voltage source inputs to the power rails (pin 7 to +9V, pin 4 to ground).
  4. Connect the OpAmp's plus input (pin 3) to ground.
    Diagram showing the connection of each pin on the OpAmp. -IN = negative input, +IN = positive input, -Vs = negative voltage supply = ground, +Vs = positive voltage supply = +9V, OUT = output, NC = pin not connected to anything. (Reproduced from data sheet.)
  5. Connect the OpAmp's minus input (pin 2) to the photodiode. Remember, the photodiode is polarized. It must be connected so that the leg under the flat side is to ground.
  6. You'll make 2 connections to the OpAmp's output (pin 6). First, connect it to the LED and the small, 820 ohm resistor. Remember, the LED is polarized. It must be connected so that the leg under the flat side is to the resistor and the other leg is to power.
  7. Next, connect the OpAmp's output (pin 6) to the large, 10 mega-ohm resistor. Connect the other end of the resistor to the OpAmp's minus input (pin 2). You will change the gain of the amplifier by varying the resistance at this point (using the large resistor, a wire for zero resistance, and no wire for infinite resistance).
  8. Double check your connections with the circuit diagram above before you power it up.
  9. Test your circuit by shining a light on the photodiode and seeing if the LED responds.

Finally, if your teacher specifies, continue to the Exploring Gain exercise.

Discussion

  1. Explain the role each component plays in the electronic circuit. Which part of the biological circuit does each represent?
  2. No doubt, building this circuit was quicker and easier than actually assembling a biological circuit -- for example, you didn't have to wait for bacteria to grow, or spend time cutting and pasting wires the way you would cut and paste DNA to make a functional plasmid. What are some traits of these components, of the breadboard, or of electronics in general, that make electrical engineering easy in this way?
  3. Every analogy has limitations. What are the limitations of the circuit you built as a model of the bacterial photography system? What could you do to make it more realistic?

Navigation