Team:Dundee/Project/SoftwareTheory

From 2013.igem.org

iGEM Dundee 2013 · ToxiMop

The Moptopus is an electronic environmental sensor, developed to collect and relay real-time data from water reservoirs. The device could be placed in a water body to measure:

  • Light Levels
  • Temperature
  • Humidity
  • pH level of the water
  • Dissolved oxygen level
  • An on-board camera

The Moptopus device could be used in conjunction with the biological microcystin detection system that we attempted to develop. Presence of microcystin in water would trigger the production of Green Fluorescence Protein (GFP) by the E. coli detector. The Moptopus has been designed to quantify the amount of GFP produced by the excitation of GFP via a blue light and the capture of fluorescence emitted via a highly green light sensitive photodiode.

Figure 1: Prototype design of the Moptopus

Important Guidelines

To ensure adequate monitoring of water bodies and the presence of toxic algal blooms, guidelines developed by relevant agencies (such as World Health Organization and United States Environmental Protection Agency among other) were analysed.

Keeping the guidelines below in mind, readings taken remotely by the moptopus can be used to aid in the rapid identification of water bodies susceptible to algal blooms and more specifically to toxic algal blooms.

  • Blooms are most expected to occur in late summer/early autumn and are most common in water bodies which are eutrophic or hypereutrophicWHO. Temperatures around 32oC correspond to the greatest growth rate. AJOL
  • Water temperatures between 15oC and 30oC and pH levels between 6 and 9,with adequate levels of nutrients, are required for the persistence of an algal bloom WHO
  • The optimal temperature for toxin production in cyanobacteria is between 20oC and 25oC.WHO Greatest toxicity has been recorded at temperatures of approximately 20oC.AJOL
  • Water temperatures greater than 25oC have proven advantageous for the growth of harmful algae when competing with non-harmful algae which grow faster than other non-harmful algae (specifically shown for Microcystis Aeruginosa). This advantage increases the likelihood of harmful algal blooms above this temperature.EPA
  • The optimal growth rate of Microcystis Aeruginosa occurs at light levels between 3600 and 18000 lux. Light levels greater than 18000 lux result in a rapid decline in the growth rate. AJOL, White light intensity over 40 microeinsteins m-2 s-1 (equivalent to approx. 2160 lux) results in an increase in toxicity of cyanobacteria.WHO
  • In terms of growth rate, However, in terms of toxicity the greatest cyanobacteria growth rate does not directly correspond to greatest toxicity.
  • Hypoxia (a decrease in oxygen content in the water body) is often caused by algal blooms. This occurs when the organic matter of cyanobacteria decomposes and reduces oxygen dissolved in the water.NOAA

Sources

WHO: http://www.who.int/water_sanitation_health/dwq/chemicals/cyanobactoxins.pdf
EPA: http://www2.epa.gov/sites/production/files/documents/climatehabs.pdf
AJOL: http://www.ajol.info/index.php/ajb/article/download/14935/61493
NOAA: http://www.noaa.gov/features/earthobs_0508/algal.html

Platforms and Communication

In order to use the sensors and detectors mentioned above, the Moptopus was created using two main control boards: the Raspberry Pi (Model B) and an Arduino (Mega 2560).







A Raspberry Pi (http://www.raspberrypi.org) is a low cost, low power computer system which can fit in the palm of your hand. It has no onboard storage and instead runs various distributions of linux via insert-able SD Cards. The Raspberry Pi was chosen for our project due to its low cost and power requirements and the ability to easily program on it.
We implemented a Raspberry Pi as the control centre of the Moptopus. It carries out some information processing and controls the flow of information to any users. It is able to connect to the internet and allow a user to control the Moptopus while in operation. Our Raspberry Pi runs the Rasbian operating system (http://www.raspbian.org). .

An Arduino (http://www.arduino.cc) is a cheap microcontroller, able to control and read voltages from metal pins which are connected to it. The digital and analogue input/output pins on our Arduino Mega have been used to control modules such as an LCD screen, light sensors, temperature sensors and the dissolved oxygen and pH sensors. .

A number of methods of communication between the Raspberry Pi, Arduino and internet have been used. The Raspberry Pi is able to request data from a specific sensor by use of some of its own onboard pins. The configuration we used is called an I2C bus which is a serial communication method requiring just two pins on the Raspberry Pi and Arduino to communicate. Using this I2C bus, the Raspberry Pi asks the Arduino to take a specific measurement using one of the sensors. .
The Arduino is also equipped with an Ethernet shield allowing it to be connected to the Ethernet port aboard the Raspberry Pi. This allows the streaming of data from the Arduino to the Pi. Finally, the Raspberry Pi has an added USB Wi-Fi device for connection to a local wireless network. This allows the Raspberry Pi to be communicated with and remotely logged into.

Sensors

Light

The sensors used to detect light were simple and cheap Light Dependent Resistors (LDRs). The specific LDRs used were Excelitas Tech – VT90N1. These light sensors were implemented in the moptopus in order to monitor the intensity of light falling on the lake on a day to day basis.


Temperature and Humidity

A combined temperature and humidity sensor was implemented to sense at the surface of the water with high accuracy. The sensor used was a SHT71, which provided temperature and humidity measurements to 2 decimal places. According to the datasheet for the sensor, the typical error present in these measurements was ±0.4% for temperature and ±3% for humidity.


pH

The pH of the fresh water is of significance when determining whether an algal bloom is likely to break out and also has implications on the toxicity of the algal bloom. The pH sensor used was a silver/silver chloride probe produced by Atlas Scientific. This was accompanied by a data stamp via which communication with the Arduino system was possible.


Dissolved Oxygen

The dissolved oxygen concentration of a water body is significant in determining whether algal bacteria can grow in an explosive manner. Furthermore, it can also help detect the breakdown of cyanobacteria after an algal bloom. Thus, a dissolved oxygen sensor and accompanying stamp by Atlas Scientific was implemented and built into the Moptopus.


Onboard camera

The Moptopus was fitted with an onboard camera in order to view its surroundings. The camera selected was a Logitech C310 HD and this was mounted on the top of the Moptopus. By allowing a user to view the surroundings of the Moptopus, the conditions of the lake at any time can be viewed. The potential for such viewings would be to allow the monitoring of aspects such as the amount of waste rubbish which has been discarded into the water reservoir. Such waste can provide cyanobacteria with nutrients required for growth. Furthermore, should an algal bloom occur viewing of the site could allow for a monitoring of the growth pattern of the algae and in such a fashion be informative to potential action to reduce the likelihood of future algal blooms.


Testing the Moptopus in Clatto

A prototype of the Moptopus was finalised and tested in Clatto reservoir, just north of Dundee. This test demonstrated the viability of deploying such a system and displayed its operational use. There were several testing stages in the course of development, some of which are shown below.

Initially, all of the hardware and software components of the Moptopus were developed and tested in the lab with no exposure to water. This initial, somewhat disorganised, setup was required to ensure that all of the hardware parts functioned as required and could be implemented together.

The next step in development was the packaging of the Moptopus into a waterproof enclosure built to protect the electronics from any water damage. This involved a great deal of space management in dealing with the number of wires which were required to connect the device to its parts. We selected a lunch box as the optimal enclosure, because of its size and watertight seal.

After testing the Moptopus in an environment free from the danger of water, a local test of the waterproof enclosure was required. Naturally, the most obvious progression was to take the Moptopus for a bath!



Figure 2: Moptopus circuitry inside enclosure.

Figure 3: Deployment and testing in aquatic environment.



Finally, the Moptopus was ready to be deployed in the Clatto reservoir and to be tested in its intended environment. Data from the Moptopus was streamed back to a laptop by the shore and measurements from the array of sensors were taken.



Figure 4: Deployment in Clatto Reservoir.

Figure 5: Uploading data by the dock.

Moptopus in Action!