Difference between revisions of "Team:Edinburgh/Software"
Line 155: | Line 155: | ||
</div> | </div> | ||
<div class="column"> | <div class="column"> | ||
− | <img class="img-responsive" src="https://static.igem.org/mediawiki/2015/0/06/Casingandenclosure.jpeg" width=" | + | <img class="img-responsive" src="https://static.igem.org/mediawiki/2015/0/06/Casingandenclosure.jpeg" width="300"> |
</div> | </div> | ||
</section> | </section> |
Revision as of 00:21, 19 September 2015
gh
Overview
The integration of Policy and Practices into the device design led us to explore how we could effectively incorporate software into our project. This led us to the idea of having a smartphone app which would take a photograph and give simple text based results. Having this app would remove the subjectivity of colour detection by eye and also gives us an accurate way to display results.
The Problems
The idea of the making a smartphone app introduced some hurdles which had to be overcome. We had to ensure the positioning of the biosensor was always fixed relative to the camera, the lighting was controlled and the photo was taken from a distance more than the focal length of the smartphone camera.
Biosensor Casing and Enclosure
To solve these problems we decided to make a plastic casing in which you would place the biosensor before application of the sample. We also designed an enclosure into which the casing would slide. The casing made sure that the biosensor was always in the correct position and the enclosure made sure the light was controlled. We designed the top of the enclosure so that the phone can be secured in the optimum position to take the photo. In order to obtain a clear image every time the box was set to be greater than the focal length of the camera. The enclosure and casing are reusable, so as only the paper biosensor needs to be replaced for each different test.
The Smartphone Application
After we finalised the casing and enclosure, we built an application for iPhone 5s, which can be easily modified for use on other phones. We developed it using swift programming language and used Xcode tools to help our development. We tried to use standard and efficient software engineering practices wherever possible. The code can be accessed on the following github link.//link here
To use the app all you have to do is slide your iPhone into the enclosure. The app will tell you to take a photo and with just a push of a button you will have accurate and non-subjective results