BioBoard

From Noisebridge
(Difference between revisions)
Jump to: navigation, search
(Achieve The Insiders Info Around mulberry bags Before You Are Too Late)
m (Reverted edits by 98.126.199.82 (talk) to last revision by 50.0.90.162)
Line 1: Line 1:
 +
=Abstract=
  
 +
"The BioBoard" is an Arduino-controlled sensor package that allow users to monitor a range of physiochemical factors related to microbiological processes (e.g. algae growing, youghurt production, kombucha fermentation, sourdough culturing, etc.) in liquid media/cultures, with real-time data transmission and graphic data visualization designed to make key correlations between these factors easily graspable.
 +
 +
 +
=Goals / Features=
 +
 +
As a minimum, we want to be able to monitor temperature, pH and dissolved oxygen. We'd also like to be able to measure biomass, either directly or by proxy. The current plan is to build a thermometer, a dissolved oxygen sensor and a biomass probe ourselves, and supplementing with a commercial pH meter. Failing that, we'll buy a thermometer and an oxygen probe as well and attempt to hack them instead, and concentrate on standardising data protocols, building the supporting controller hardware and making the graphics look pretty.
 +
 +
=Hardware=
 +
 +
==Sensors==
 +
 +
Important considerations are affordability, accessibility and required precision. Biologically relevant temperature range is approx. 0-100°C; accuracy should not be less than ±0.5°C at 25-35°C. pH range is (1-14), and required precision is approx. ±0.5, preferably better. dO probe should be able to measure % conc. with an accuracy of approx. ±2%, preferably better. Biomass probe will likely be measuring absorbance as a proxy for total biomass, and can be validated using classic spectrophotometer and CFU count.
 +
 +
===Thermometer===
 +
 +
'''Digital Temperature Sensors (DTS)'''
 +
 +
Pros
 +
* Avaliable as one-wire devices, use single digital pin
 +
* Require no amplification or moderation to connect to Arduino
 +
* Good precision in biological range
 +
** ±0.5°C accuracy from –10°C to +85°C for DS1820
 +
* Very cheap ($0.75 to $3.95)
 +
Cons
 +
* Comparatively limited temperature range
 +
** –55°C to +125°C for DS1820
 +
** -40°C to +125°C for TC1047A
 +
* Accuracy only ±2°C for TC1047A at 25°C
 +
* Sensitive to mechanical damage and liquid, so require protection/casing
 +
 +
'''Thermistors'''
 +
 +
Pros
 +
* Single analog pin use
 +
* Very cheap ($1.75 from Hacktronics)
 +
Cons
 +
* Comparatively limited temperature range (-40°C to +125°C)
 +
* Accuracy approx. ±1°C at 25°C
 +
 +
 +
'''Commercial resources'''
 +
 +
DTS
 +
* [http://www.hacktronics.com/Sensors/Digital-Temperature-Sensor-DS18B20/flypage.tpl.html DS18B20 digital temperature sensor] - $3.95 from Hacktronics
 +
** [http://www.datasheetarchive.com/pdf/getfile.php?dir=Datasheets-8&file=DSA-149089.pdf Datasheet for DS1820 1-wire DTS]
 +
* [http://us.element-14.com/jsp/displayProduct.jsp?sku=89C8093&CMP=KNC-KEY-SKU-MIC&s_kwcid=TC|20219|tc1047avnbtr||S|b|6383206454 TC1047A microchip] - $0.60 from element14
 +
** [http://www.datasheetarchive.com/pdf/getfile.php?dir=Datasheets-304&file=55284.pdf Datasheet for TC1047AVNBTR DTS microchip]
 +
Thermistor
 +
* [http://www.hacktronics.com/Sensors/Thermistor-Temperature-Sensor/flypage.tpl.html Thermistor] - $1.75 from Hacktronics
 +
** [http://www.vishay.com/doc?29049 Datasheet for thermistor]
 +
 +
 +
===pH-meter===
 +
 +
'''Commercial resources'''
 +
 +
Probes
 +
* [http://www.heavydutysupplies.com/servlet/the-15/Checker,-HI-98103,-HI98103/Detail HANNA Instruments HI 98103] $55
 +
* [http://www.amazon.com/Milwaukee-pH600-Portable-pH-meter/dp/B004CZ8632 Milwaukee pH600] $20 - doesn't look like it needs specific buffers for calibration, but the accuracy is probably not great. Maybe it's enough, though.
 +
* [http://www.google.com/products/catalog?hl=en&q=ph+electrode&sqi=2&cid=15011737823946485839&os=sellers# Google shopping results] approx. $40 upwards
 +
* [http://www.pulseinstruments.net/sotaphelectrode.aspx SOTA pH Electrode] $100 - expensive, but so so sweet: designed for continuous measurement, and comes with any kind of connector.
 +
pH tester units
 +
* [http://www.jencostore.com/ph-meter/ph-testers.html?price=1%2C100 Jenco 610 pH tester] for $30 - perhaps it could be hacked?
 +
 +
'''DIY resources'''
 +
 +
* [http://phduino.blogspot.com/ pHduino] - Arduino-based pH-amplifier circuit for interfacing with a commercial pH probe.
 +
* [http://www.ph-meter.info/pH-meter-construction pH meter construction] - this could perhaps be adapted to use an Arduino instead of a voltmeter - not necessarily cheaper than buying, although it’d certainly be both fun and informative.
 +
 +
 +
 +
===Dissolved oxygen (DO) probes===
 +
 +
'''Optode''' (a.k.a. build an intensity- or time-based optode from scratch)
 +
 +
Recently, people have been using a [http://www.sigmaaldrich.com/catalog/ProductDetail.do?lang=en&N4=85793|FLUKA&N5=SEARCH_CONCAT_PNO|BRAND_KEY&F=SPEC ruthenium complex] as a visual (fluorescent) indicator of oxygen concentration. This complex is excited by a blue LED, then its transmission is measured by a filtered photoresistor (more details [http://www.env.gov.nl.ca/env/waterres/rti/rtwq/07_14.pdf here in pdf])
 +
 +
Pros
 +
* All solid state (super low maintenance)
 +
* No calibration needed
 +
Cons
 +
* Could be some serious tecnical hurdles to overcome on this one
 +
* Ru molecule is expensive (~$70/mg)
 +
 +
Film Contruction Ideas
 +
* Disperse catalyst in PVC powder, bake in oven on top of PET film under compression. May hit a rheology problem with the PET film. Melting point of PET is close to that of PVC.
 +
* Film coat: PVC dissolves in 2-butanone, whereas PET will not. Make a thin liquid layer, then allow to evaporate. PVC morphology may not provide necessary mechanical stiffness after this process.
 +
 +
'''Commercial resources'''
 +
 +
* [http://www.sigmaaldrich.com/catalog/ProductDetail.do?lang=en&N4=85793|FLUKA&N5=SEARCH_CONCAT_PNO|BRAND_KEY&F=SPEC ruthenium complex]
 +
* [http://www.vernier.com/probes/do-bta.html DO-BTA Dissolved Oxygen Sensor] $209
 +
* [http://www.google.com/products/catalog?q=dissolved+oxygen+sensor&hl=en&safe=off&cid=1714170039035567861&os=sellers# Yellow Springs Dissolved Oxygen Meters] $80-104
 +
 +
'''Lab-Built Option'''
 +
* [http://www.cebtechservices.com/probe&sensorA.htm Diagram for the construction of a lead-silver galvanic probe]
 +
* [https://srac.tamu.edu/index.cfm/event/getFactSheet/whichfactsheet/167/ A discussion of the various types of dissolved oxygen probes from the Southern Regional Aquaculture Center. This article also contains a diagram of the typical polarographic sensor]
 +
 +
===Biomass===
 +
 +
'''[http://en.wikipedia.org/wiki/Nir_spectroscopy NIR spectroscopy] / [http://en.wikipedia.org/wiki/Absorbance Absorbance]'''
 +
 +
Pros
 +
* Currently lots of DIY spectroscopy projects under development
 +
* Relatively easy build, can be made using a LED and a photoresistor, phototransistor, an old cell phone [http://en.wikipedia.org/wiki/Charged_coupled_device CCD] or other simple photodetector
 +
* Validation of results with known absorbance values should be easy
 +
Cons
 +
* Will likely need re-calibration for every use
 +
* Could be very hard to pack into a probe
 +
 +
'''Commercial resources'''
 +
 +
* [http://www.optek.com/Product_Detail.asp?ProductID=12 ASD19-N Single Channel NIR Absorption Probe]
 +
** [http://www.optek.com/Schematic_Single_Channel_NIR_LED_Probe.asp NIR probe schematic]
 +
** [http://www.optek.com/pdf/optek-ASD19-N_Data-Sheet_english.pdf ASD19-N datasheet]
 +
* [http://www.finesse.com/files/pdfs/app-tech-notes/TruCell.TN.AUvsOD.pdf TruCell] - NIR probe promotion PDF; basic intro to using spectrometry for biomass measurements, incl. calibration curves and equations 
 +
 +
'''Other resources'''
 +
 +
* [http://www.optek.com/Application_Note/Biotechnology/English/2/Fermentation_and_Cell_Growth_Monitoring.asp Industrial application of NIR spectroscopy] in fermentation and cell growth monitoring
 +
* [http://www.asdlib.org/onlineArticles/elabware/Scheeline_Kelly_Spectrophotometer/index.html Cell phone spectrophotometer]
 +
* [http://www.rsc.org/Education/EiC/issues/2007Sept/BuildYourOwnSpectrophotometer.asp Article] on how to build your own spectrophtometer
 +
* [http://topologicoceans.wordpress.com/2011/03/15/diy-spectro-ii/ DIY Spectrometer]
 +
** [http://topologicoceans.wordpress.com/2011/01/29/diy-spectro-faq/ DIY Spectrometer FAQ] - lots of useful links to other DIY spectro projects
 +
 +
==Microcontroller assembly==
 +
 +
A bare-bones Arduino set-up with USB connection to a dedicated lap-top initially; later - when we have more time for integration - an ethernet shield will be added to the assembly to give us wireless data transmission to the server.
 +
 +
=Software=
 +
 +
==Data logging and visualization==
 +
 +
'''Data transmission'''
 +
 +
Data should be timestamped, categorized (pH, temperature, etc) and transmitted in real-time
 +
* JSON data serialization format
 +
* HTTP for transmission to server
 +
** Include "export to CSV" function with option for data set selection - should allow people to use a variety of programming languages and data analysis tools without a lot of work on their part or ours
 +
 +
'''Web server'''
 +
 +
Custom Rails app
 +
* Receives data
 +
* Logs to database
 +
* Generates graphs on demand
 +
** Add Comet server for live-updated graphs 
 +
* Include 'export to CSV' function to allow users to extract data for analysis with tool(s)
 +
* All code on github so others can fork and add features
 +
 +
* We could add features that lets new users sign up and get a unique key which they use when transmitting their own data to the JSON web service on our server. The server then uses the key to associate the data with the user, and the user can look at their graphs and share them with others.
 +
 +
=BioBoard documentation=
 +
 +
*[[BioBoard/Documentation]]
 +
**[[BioBoard/Documentation/Temperature]]
 +
**[[BioBoard/Documentation/pH]]
 +
**[[BioBoard/Documentation/Oxygen]]
 +
**[[BioBoard/Documentation/Optical loss]]
 +
**[[BioBoard/Documentation/Arduino protocol]]
 +
**[[BioBoard/Documentation/PC Software]]
 +
*[[BioBoard/Time_line]]
 +
*[[BioBoard/Equipment]]
 +
*[[BioBoard/Archive]]

Revision as of 11:57, 6 December 2012

Contents

Abstract

"The BioBoard" is an Arduino-controlled sensor package that allow users to monitor a range of physiochemical factors related to microbiological processes (e.g. algae growing, youghurt production, kombucha fermentation, sourdough culturing, etc.) in liquid media/cultures, with real-time data transmission and graphic data visualization designed to make key correlations between these factors easily graspable.


Goals / Features

As a minimum, we want to be able to monitor temperature, pH and dissolved oxygen. We'd also like to be able to measure biomass, either directly or by proxy. The current plan is to build a thermometer, a dissolved oxygen sensor and a biomass probe ourselves, and supplementing with a commercial pH meter. Failing that, we'll buy a thermometer and an oxygen probe as well and attempt to hack them instead, and concentrate on standardising data protocols, building the supporting controller hardware and making the graphics look pretty.

Hardware

Sensors

Important considerations are affordability, accessibility and required precision. Biologically relevant temperature range is approx. 0-100°C; accuracy should not be less than ±0.5°C at 25-35°C. pH range is (1-14), and required precision is approx. ±0.5, preferably better. dO probe should be able to measure % conc. with an accuracy of approx. ±2%, preferably better. Biomass probe will likely be measuring absorbance as a proxy for total biomass, and can be validated using classic spectrophotometer and CFU count.

Thermometer

Digital Temperature Sensors (DTS)

Pros

  • Avaliable as one-wire devices, use single digital pin
  • Require no amplification or moderation to connect to Arduino
  • Good precision in biological range
    • ±0.5°C accuracy from –10°C to +85°C for DS1820
  • Very cheap ($0.75 to $3.95)

Cons

  • Comparatively limited temperature range
    • –55°C to +125°C for DS1820
    • -40°C to +125°C for TC1047A
  • Accuracy only ±2°C for TC1047A at 25°C
  • Sensitive to mechanical damage and liquid, so require protection/casing

Thermistors

Pros

  • Single analog pin use
  • Very cheap ($1.75 from Hacktronics)

Cons

  • Comparatively limited temperature range (-40°C to +125°C)
  • Accuracy approx. ±1°C at 25°C


Commercial resources

DTS

Thermistor


pH-meter

Commercial resources

Probes

pH tester units

DIY resources

  • pHduino - Arduino-based pH-amplifier circuit for interfacing with a commercial pH probe.
  • pH meter construction - this could perhaps be adapted to use an Arduino instead of a voltmeter - not necessarily cheaper than buying, although it’d certainly be both fun and informative.


Dissolved oxygen (DO) probes

Optode (a.k.a. build an intensity- or time-based optode from scratch)

Recently, people have been using a ruthenium complex as a visual (fluorescent) indicator of oxygen concentration. This complex is excited by a blue LED, then its transmission is measured by a filtered photoresistor (more details here in pdf)

Pros

  • All solid state (super low maintenance)
  • No calibration needed

Cons

  • Could be some serious tecnical hurdles to overcome on this one
  • Ru molecule is expensive (~$70/mg)

Film Contruction Ideas

  • Disperse catalyst in PVC powder, bake in oven on top of PET film under compression. May hit a rheology problem with the PET film. Melting point of PET is close to that of PVC.
  • Film coat: PVC dissolves in 2-butanone, whereas PET will not. Make a thin liquid layer, then allow to evaporate. PVC morphology may not provide necessary mechanical stiffness after this process.

Commercial resources

Lab-Built Option

Biomass

NIR spectroscopy / Absorbance

Pros

  • Currently lots of DIY spectroscopy projects under development
  • Relatively easy build, can be made using a LED and a photoresistor, phototransistor, an old cell phone CCD or other simple photodetector
  • Validation of results with known absorbance values should be easy

Cons

  • Will likely need re-calibration for every use
  • Could be very hard to pack into a probe

Commercial resources

Other resources

Microcontroller assembly

A bare-bones Arduino set-up with USB connection to a dedicated lap-top initially; later - when we have more time for integration - an ethernet shield will be added to the assembly to give us wireless data transmission to the server.

Software

Data logging and visualization

Data transmission

Data should be timestamped, categorized (pH, temperature, etc) and transmitted in real-time

  • JSON data serialization format
  • HTTP for transmission to server
    • Include "export to CSV" function with option for data set selection - should allow people to use a variety of programming languages and data analysis tools without a lot of work on their part or ours

Web server

Custom Rails app

  • Receives data
  • Logs to database
  • Generates graphs on demand
    • Add Comet server for live-updated graphs
  • Include 'export to CSV' function to allow users to extract data for analysis with tool(s)
  • All code on github so others can fork and add features
  • We could add features that lets new users sign up and get a unique key which they use when transmitting their own data to the JSON web service on our server. The server then uses the key to associate the data with the user, and the user can look at their graphs and share them with others.

BioBoard documentation

Personal tools