Team:EPF Lausanne/Hardware

From 2014.igem.org

(Difference between revisions)
Line 150: Line 150:
-
<p>When brainstorming how to build the detector, we initially drafted the follwing setup: <br /></p>
+
<p>When brainstorming how to build the detector, we initially drafted the follwing setup: </p>
<div class="cntr">
<div class="cntr">
<a href="http://2014.igem.org/wiki/images/3/37/Raspberry_.png" data-lightbox="raspberry"><img src="http://2014.igem.org/wiki/images/3/37/Raspberry_.png" alt="Raspberry Pi" class="img-border img-responsive" /></a></div>
<a href="http://2014.igem.org/wiki/images/3/37/Raspberry_.png" data-lightbox="raspberry"><img src="http://2014.igem.org/wiki/images/3/37/Raspberry_.png" alt="Raspberry Pi" class="img-border img-responsive" /></a></div>

Revision as of 20:38, 17 October 2014

Hardware





Having successfully engineered touch responsive bacteria, the next major step to build a functional BioPad is to detect and process the emitted signals. The microfluidic chip containing our engineered organisms has the advantage of being small and portable. We aimed to keep these characteristics all along the project. That is why, instead of using a big and cumbersome device to detect signals, we opted for a small and cheap Raspberry Pi. Let the adventure for building the BioPad Detector begin !

Raspberry Pi

Raspberry Pi

The Raspberry Pi is a small and cheap (40.- CHF) single-board computer. The raspberry Pi will be used to monitor the light emitted by each chamber of the microfluidic chip. We will be able to detect and process all emitted signals through this small device !


When brainstorming how to build the detector, we initially drafted the follwing setup:

Raspberry Pi


In order to track the light we need a high-resolution camera which is easily implementable in the final system.

Raspberry Pi

Near infrared corresponds to wavelengths between 700 and 1000nm. We will use this feature of the camera to track the IFP signal. This is especially useful for us, as few things emit infrared signal, it reduces the background noise

The idea is to collect the spectrum up to near infrared wavelengths and then use a filter to eliminate the visible spectrum.


Raspberry Pi Plan

Light tracking

In order to view the light change in a chamber, we need to track the light intensity. For this part, we made a custom C++ code using OpenCV (you can find the entire code there https://github.com/arthurgiroux/igemtracking/).

You can find the result output here:

The most common color space used in programming is RGB, where the pixel color can be split into three components - Red, Green, Blue – each taking a value between 0 and 255.

However, there are many other color spaces, each adapted to a different application. In our case, we are interested in light intensity and not in colors. This made us choose another color space: the YcrCb.

In the YCrCb color space, each pixel is decomposed into three components:

  • Y – the luma value (intensity)
  • Cr – the red difference
  • Cb – the blue difference

YCrCb
Representation of the YCrCb color space

Lenses

The Raspberry Pi camera that we use has a fixed lens which is not adapted to what we want to do, as we cannot change the focus, the aperture or the zoom.

We searched for a different lens which would allow us more control, and found that the easiest way was to remove the initial Raspberry Pi lens, put a CS mount on it and attach a much bigger lens.

The first thing we did was to unplug the camera module from the PCB. Then, the lens was carefully removed by unscrewing it and the new lens was mounted.

INSERT IMAGE

You will then see the camera sensor (CMOS).

The CS mount was screwed on the board and the lens plugged in.

You can see here what the lens sees:

IMAGE!!!

We can clearly see the chambers of the microfluidic chip.

Sponsors