Team:Aachen/Notebook/Engineering/WatsOn

From 2014.igem.org

Revision as of 17:27, 15 October 2014 by Nbailly (Talk | contribs)

WatsOn

This page contains technical details and construction manuals for our measurement device WatsOn. For more details, please click on the respective tile.

Software

The software consists of several parts which provide a user interface and manage the connection to the hardware.

Different components of the software:

  • GUI : with the graphical interface the user can take images and time lapse of the chips in the device. The software is written in C++. It makes use of the Qt-Library[1] to provide a clear interface and a comfortable way to manage various software aspects such as handling images and establishing network connections. An advantage resulting from the utilization of Qt-Library is the multi-platform support for Windows, MacOS and Linux. Additionally Qt is available with an Open-source license which can be used for free. The software can be used locally on the Raspberry Pi or remotely from a device in the same network.
  • Features:
    • change settings:
      • the user can specify the iso-value and the shutter speed of the camera
      • custom settings can be labeled and saved for future usage
      • existing settings can be updated or deleted unless they are no default configurations
      • the excitation of the LEDs for GFP(480nm) and iLOV(450nm) can be selected
    • take image/s:
      • the GUI offers two possibilities to take images:
        • take single image with the active camera setting
        • take time lapse shootings with the active camera settings and the specified interval. When activated the images are saved automatically to a user defined directory with ascending filenames
      • the last image which was taken by the camera is shown in the GUI, information containing the timestamp and used camera settings are displayed next to the image. Previous images can be selected with the arrow buttons.
    • analyse image
      • the image is analysed by an image segmentation algorithm and shows whether the pathogen Pseudomonas aeruginosa is present on the chip or not
  • Backend: The backend is a software that runs on the Raspberry Pi and is responsible for the connection between the GUI and the hardware. If the user interface is executed on another device e.g. a notebook it has to be in the same network as the Raspberry Pi. The backend works like a webserver that receives commands and acts corresponding to the submitted parameters. It can take images and returns them to the GUI.

Before an image is taken the backend turns on the specified LEDs by sending a command to the connected Arduino board. Afterwards the LEDs are turned off using the same mechanism. These steps are repeated in the given interval for a time lapse shooting.

Hardware

Aachen Device Elektronikkomponenten1.jpg
Hardware components
  • Raspberry Pi : The Raspberry Pi is a small single-board computer which runs a Linux operating system.
  • Raspberry Pi camera:
  • Arduino: The arduino board sets the current and thus the temperature of the Peltier heater by evaluating the received values from the temperature sensors for the interior and the aluminium block. Additionally it receives commands from the Raspberry Pi to turn the LEDs on and off.
  • Relay:
  • Peltier heater:
  • Display: The display is connected to the arduino board and shows the current interior temperature


Aachen 14-10-15 DIY Cellocks iNB.png

DIY: How To Build Your Own WatsOn

If you want to create your own WatsOn first take a look at the following list of necessary components. All parts except the laser cutted acrylic glass only need to be bought.

Table 1: Needed number of pieces, components and material costs for building your own measurement device

number of pieces components costs [$]
1 filter slides (medium yellow 010, sally green 505)5.17
1 arduino UNO R311.65
1 2-channel relay shield3.46
40jumper-wire cable2.99
1 40er male header (10-Piece Pack)2.72
1 40er female header (10-Piece Pack)2.60
1 circuit board2.99
1 HDMI cable1.87
1 7 port USB hub6.71
1WLAN USB stick5.35
1USB mouse and keyboard12.50
1 case acrylic glass XT 6mm~0.5250.65
1spray paint for acrylic glass6.54
1 Raspberry Pi model B board35.00
1Raspberry Pi camera module25.00
17” display50.50
18-segment display3.86
2 digital temperature sensor DHT-227.50
1 aluminum block 100x100x15 mm14.23
1 Peltier heater 12V 60W4.49
1power supply32.89
6 superflux LED 480nm7.50
16LED 450nm7.50
2 Resistor 40 Ohm0.30
4 Resistor 100 Ohm0.60
1cupboard button1.24
-total309.45

You can find more economical information for WatsOn and the project on our Economical View page.

Aachen Device Fritzing.png
Wiring of our device
Aachen Device 1.jpg Start building your own WatsOn by assembling the base plate, the sides and the interior wall.
350px] [File:Aachen_Device_.3jpg Fix the Peltier heater on the back of the aluminum block and place it in the hole of the interior wall.
Arrange the 4x4 450nm LEDs and the 2x3 480nm LEDs
Aachen Device 7.jpg Assemble the camera holder with the camera and the corresponding filter slide on the lower part. Over the camera you can place the temperature sensor for measuring the indoor temperature. Finally put the fan on the back of the camera holder.
Aachen Device 8.jpg Connect the electronic components on the outside and the inside according to the wiring diagramm.
Aachen Device 4.jpg Put together the drawer.
Aachen Device 9.jpg Position the front panel and insert the drawer.
Aachen Device 10.jpg Place the temperature sensor for the aluminium block temperature directly on the block and put the back panel in front of it.
Aachen Device 6.jpg Setup the power supply and connect all devices to either 5V or 12V.
Aachen Device 11.jpg Mount the device on top of the power supply casing. Add the display and apply some stickers to enjoy your custom-made WatsOn.