Difference between revisions of "Team:UNIK Copenhagen/Arduino"

 
(27 intermediate revisions by 2 users not shown)
Line 20: Line 20:
 
</style>
 
</style>
  
<h1>Arduino protocol</h1>
+
<h1>Arduino Protocol</h1>
  
 
<h2>Aim</h2>
 
<h2>Aim</h2>
  
<p>The aim of this experiment is to build a prototype for conducting gradient temperature experiments. We will do this by programming an arduino to receive input from 5 DS18B20 temperature sensors and display this data. More specifically our experiment will involve testing moss’s survivability at 5 different temperatures by placing petri dishes of wild type moss on a temperature gradient.</p>
+
<p>The aim of this experiment is to build a prototype for conducting gradient temperature experiments. We will do this by programming an arduino to receive input from 5 DS18B20 temperature sensors and display this data. More specifically our experiment will involve testing moss’s survivability at 3 different temperatures by placing petri dishes of wild type moss on a temperature gradient.</p>
  
<img src="https://static.igem.org/mediawiki/2015/8/8d/UNIK_Copenhagen_Arduino_set_up.png" width=80% style="margin:0px 0px 0px 80px">
+
<br></br>
 +
 
 +
<img src="https://static.igem.org/mediawiki/2015/7/71/UNIK_Copenhagen_harwaresketch.png" width=50% style="margin:0px 0px 0px 80px">
 +
<br></br>
 +
<img src="https://static.igem.org/mediawiki/2015/2/2f/UNIK_Copenhagen_moresketch.jpg" width=50% style="margin:0px 0px 0px 80px">
  
  
Line 32: Line 36:
 
<li>Flamingo box
 
<li>Flamingo box
 
<li>Dry ice
 
<li>Dry ice
<li>5 Petri dishes with wild-type moss
+
<li>3 Petri dishes with wild-type moss
 +
<li>3 Petri dishes with moss transformed with antifreeze protein gene
 
<li>Tape
 
<li>Tape
<li>Arctic silver thermal adhesive
 
 
<li>Pencil soldering iron
 
<li>Pencil soldering iron
 
<li>Solder
 
<li>Solder
 
<li>Aluminium rod
 
<li>Aluminium rod
<li>Arduino UNO
+
<li>Arduino <b>UNO</b>
 
<li>Breadboard
 
<li>Breadboard
 
<li>USB A to B cable
 
<li>USB A to B cable
Line 44: Line 48:
 
<li>Five 4.7k resistors
 
<li>Five 4.7k resistors
 
</li>
 
</li>
 +
 +
 +
<div class="container">
 +
<img src="https://static.igem.org/mediawiki/2015/6/6d/UNIK_Copenhagen_Arduinostuff.jpg" width=400px style="margin: -300px 0px 0px 500px">
 +
</div>
  
 
<br><br>
 
<br><br>
Line 51: Line 60:
 
  <div class="container">
 
  <div class="container">
 
<li>Hammer aluminium rod into the flamingo box
 
<li>Hammer aluminium rod into the flamingo box
<li>Mark 5 places 12 cm apart on the aluminium stick
+
<li>Mark 3 places evenly spaced on the aluminium rod
 
<li>Estimate using the eye where the middle of the moss culture is on the petri dishes
 
<li>Estimate using the eye where the middle of the moss culture is on the petri dishes
 
<li>Place the middle of the moss culture roughly on the line marked on the aluminium rod
 
<li>Place the middle of the moss culture roughly on the line marked on the aluminium rod
<li>Tape the petri dishes onto the aluminium rod  
+
<li>Tape the petri dishes onto the aluminium rod with wild type moss on one side and transformed moss on the other
<li>Glue thermosensors onto aluminium rod as close to the petridishes as possible  
+
<li>Tape thermosensors onto aluminium rod as close to the petri dishes as possible  
<li>Fill the box with __ kg of dry ice
+
<li>Fill the box with 10 kg of dry ice
 +
<li>Set the computer to collect temperature data and write it into a text file
 +
<li> Leave the experiment overnight
 +
<li> Next day the moss can be studied under the microscope to determine it's survival
 
</li>
 
</li>
 
</div>
 
</div>
  
 
  <div class="container">
 
  <div class="container">
<img src="https://static.igem.org/mediawiki/2015/4/4e/UNIK_Copenhagen_Moss_temperature_experiment.png" width=400px style="margin: -185px 0px 0px 110px">
+
<img src="https://static.igem.org/mediawiki/2015/c/c7/UNIK_Copenhagen_setup.jpg" width=400px style="margin: -185px 0px 0px 110px">
 
</div>
 
</div>
  
Line 67: Line 79:
  
 
<h3>Arduino Hardware</h3>
 
<h3>Arduino Hardware</h3>
 +
 +
Introduction to Arduino hardware
 +
 
<h4>Removing thermosensors from breadboard</h4>
 
<h4>Removing thermosensors from breadboard</h4>
  
Line 116: Line 131:
  
 
  <div class="container">
 
  <div class="container">
<img src="https://static.igem.org/mediawiki/2015/2/24/UNIK_Copenhagen_Multiple_termosensors.png" width=400px style="margin: -250px 0px 0px 0px">
+
<img src="https://static.igem.org/mediawiki/2015/2/24/UNIK_Copenhagen_Multiple_termosensors.png" width=400px style="margin: 0px 0px 0px 0px">
 
</div>
 
</div>
  
 
  <div class="container">
 
  <div class="container">
<img src="https://static.igem.org/mediawiki/2015/4/4f/UNIK_Copenhagen_Homemeade_termosensor.png" width=450px style="margin: 50px 0px 0px 25px">
+
<img src="https://static.igem.org/mediawiki/2015/4/4f/UNIK_Copenhagen_Homemeade_termosensor.png" width=450px style="margin: 0px 0px 0px 25px">
<p style="font-size:11px" style="margin: 4px 0px 0px 25px">Two sensors connected according to the method shown to te method shown above<p>
+
 
</div>
 
</div>
+
 
 +
<br><br><br><br>
  
 
<h3>Arduino Software</h3>
 
<h3>Arduino Software</h3>
Line 134: Line 149:
  
 
<br>
 
<br>
<img src="https://static.igem.org/mediawiki/2015/8/81/UNIK_Copenhagen_Arduino_software_one_wire.png" width=90% style="margin:0px 0px 0px 50px">
+
<img src="https://static.igem.org/mediawiki/2015/8/81/UNIK_Copenhagen_Arduino_software_one_wire.png" width=80% style="margin:0px 0px 0px 50px">
 
<br><br>
 
<br><br>
  
Line 142: Line 157:
  
 
<br>
 
<br>
<img src="https://static.igem.org/mediawiki/2015/c/c8/UNIK_Copenhagen_Arduino_software_serial_monitor.png" width=90% style="margin:0px 0px 0px 50px">
+
<img src="https://static.igem.org/mediawiki/2015/c/c8/UNIK_Copenhagen_Arduino_software_serial_monitor.png" width=65% style="margin:0px 0px 0px 50px">
<br><br>
+
<br><br><br>
  
 
<p><b>Multiple thermosensors</b></p>
 
<p><b>Multiple thermosensors</b></p>
Line 154: Line 169:
  
 
<br>
 
<br>
<img src="https://static.igem.org/mediawiki/2015/2/20/UNIK_Copenhagen_Arduino_software_multiple_thermosensors_code.png" width=90% style="margin:0px 0px 0px 50px">
+
<img src="https://static.igem.org/mediawiki/2015/2/20/UNIK_Copenhagen_Arduino_software_multiple_thermosensors_code.png" width=70% style="margin:0px 0px 0px 50px">
 
<br><br>
 
<br><br>
  
Line 160: Line 175:
  
 
<img src="https://static.igem.org/mediawiki/2015/c/ce/UNIK_Copenhagen_Arduino_software_multiple_thermosensors_output.png" width=50% style="margin:0px 0px 0px 200px">
 
<img src="https://static.igem.org/mediawiki/2015/c/ce/UNIK_Copenhagen_Arduino_software_multiple_thermosensors_output.png" width=50% style="margin:0px 0px 0px 200px">
 +
<br><br>
 +
 +
<p><b>Results from multiple thermosensors prototype:</b><p>
 +
 +
Below is a sample of the reading that we recieved from the prototype. As is evident we have gotten 3 different temperatures, with one of them way below freezing which very roughly constitutes to the temperature gradient that we wanted.
 +
 +
<br><br>
 +
<img src="https://static.igem.org/mediawiki/2015/a/a2/UNIK_Copenhagen_redlabdata.png" width=80% style="margin:0px 0px 0px 200px">
 +
<br><br>
 +
 +
 +
<h2>Conclusion and evaluation</h2>
 +
 +
<p>In order to have made out experiment more accurate we could have used a crimping technique instead of soldering to extend the wires from the breadboard. It is a more modern technique that does not require heating up the wire and instead uses plastic to fasten the wires together. This method is less "messy" and would be more effective as it is less likely to change the resistance of the wire which is used to read the temperature.
 +
<br><br>
 +
Another improvement that could improve our experiment is to use Arctic Silver Thermal Adhesive to attach the thermosensors to the aluminium rod instead of the tape we used. This is because thermal adhesive is specially tailored not to interfere with the temperature readings.
 +
<br><br>
 +
Further possible sources of error:</p>
 +
<li>Insulation if moss: Cannot wrap it in tin foil in order to insulate as moss is a biological system that needs light</li>
 +
<li>Moss unevenly distributed on the plates</li>
 +
<li>Conduction of heat of the aluminium rod: what if it is not pure aluminium? Alloy of different materials?</li>
 +
 +
<h2>Improvement suggestions for next year's team </h2>
 +
<br>
 +
If the next year's team would like to continue with our project it is possible that they can improve on the prototype and attach a heat-reservoir. This would create a more varied temperature gradient that would perhaps give more accurate temperature readings. We have not tried such a set up however we believe that if we had more time it would improve our experiment.
 +
<br><br>
 +
<img src="
 +
https://static.igem.org/mediawiki/2015/0/0d/UNIK_Copenhagen_futurevision.png" width=50% style="margin:0px 0px 0px 80px">
 +
 +
 +
 +
<br>
 +
 
</html>
 
</html>

Latest revision as of 19:47, 17 September 2015


Arduino Protocol

Aim

The aim of this experiment is to build a prototype for conducting gradient temperature experiments. We will do this by programming an arduino to receive input from 5 DS18B20 temperature sensors and display this data. More specifically our experiment will involve testing moss’s survivability at 3 different temperatures by placing petri dishes of wild type moss on a temperature gradient.





Materials

  • Flamingo box
  • Dry ice
  • 3 Petri dishes with wild-type moss
  • 3 Petri dishes with moss transformed with antifreeze protein gene
  • Tape
  • Pencil soldering iron
  • Solder
  • Aluminium rod
  • Arduino UNO
  • Breadboard
  • USB A to B cable
  • Temperature Sensor DS18B20
  • Five 4.7k resistors


  • Method

    Physical set up

  • Hammer aluminium rod into the flamingo box
  • Mark 3 places evenly spaced on the aluminium rod
  • Estimate using the eye where the middle of the moss culture is on the petri dishes
  • Place the middle of the moss culture roughly on the line marked on the aluminium rod
  • Tape the petri dishes onto the aluminium rod with wild type moss on one side and transformed moss on the other
  • Tape thermosensors onto aluminium rod as close to the petri dishes as possible
  • Fill the box with 10 kg of dry ice
  • Set the computer to collect temperature data and write it into a text file
  • Leave the experiment overnight
  • Next day the moss can be studied under the microscope to determine it's survival



  • Arduino Hardware

    Introduction to Arduino hardware

    Removing thermosensors from breadboard

    Soldering:

    1. Remove about 2 cm of wire insulation
    2. Twist both ends of the wire into a braid
    3. How to connect the wires:
      • Inline splice: crisscross the wires and twist them together
      • Pigtail splice: have the two wires parallel and twist them together
    4. Choose either of the above options, however make sure that the wires are well physically connected before beginning to solder
    5. Use an alligator clip or some other device to secure the wires in place so that they do not move during the soldering
    6. Heat soldering iron and put some soldering on the tip of the iron
    7. Knock off excess solder onto some paper
    8. Tin the tip again (step 6)
    9. Gently place the tip of soldering iron against the wires: heat the wire and melt some solder onto the wire joint
    10. The solder should begin to flow onto the wire
    11. Do this until the wire joint is completely covered and silver


    One thermosensor

    1. Insert DS18B20 sensor into breadboard with outer pins on rows 1 and 3 and middle pin on row 2.
    2. Insert resistor into breadboard with pins going into row 2 and 6
    3. Connect a wire:
      • From pin 10 on Arduino to pin 2, in order to get data input from thermo sensor
      • From GND ( ground pin on the arduino) to row 1
      • From 5V (power pin on the arduino) to row 3 and 6



    Multiple thermosensors

    This has a similar setup to the one above, however now there are multiple thermosensors connected in series to pin 11 and use the same resistor connected to the first thermosensor.





    Arduino Software

    One temperature sensor

    1. Download the Arduino Software IDE (Different versions depending on what operating system you have)
    2. Install the “One Wire” library in order to run the code for the temperature sensor This code looks like this:



    1. Then we can run the Serial Monitor from the Tools menu which should give you a reading of the temperature every second




    Multiple thermosensors

    For Multiple thermosensors we need to install the following libraries:

  • “One Wire” library as above
  • “Dallas Temperature Control Library”
  • The code looks like this:




    With data being shown as output on the computer in the following form:



    Results from multiple thermosensors prototype:

    Below is a sample of the reading that we recieved from the prototype. As is evident we have gotten 3 different temperatures, with one of them way below freezing which very roughly constitutes to the temperature gradient that we wanted.



    Conclusion and evaluation

    In order to have made out experiment more accurate we could have used a crimping technique instead of soldering to extend the wires from the breadboard. It is a more modern technique that does not require heating up the wire and instead uses plastic to fasten the wires together. This method is less "messy" and would be more effective as it is less likely to change the resistance of the wire which is used to read the temperature.

    Another improvement that could improve our experiment is to use Arctic Silver Thermal Adhesive to attach the thermosensors to the aluminium rod instead of the tape we used. This is because thermal adhesive is specially tailored not to interfere with the temperature readings.

    Further possible sources of error:

  • Insulation if moss: Cannot wrap it in tin foil in order to insulate as moss is a biological system that needs light
  • Moss unevenly distributed on the plates
  • Conduction of heat of the aluminium rod: what if it is not pure aluminium? Alloy of different materials?
  • Improvement suggestions for next year's team


    If the next year's team would like to continue with our project it is possible that they can improve on the prototype and attach a heat-reservoir. This would create a more varied temperature gradient that would perhaps give more accurate temperature readings. We have not tried such a set up however we believe that if we had more time it would improve our experiment.