Difference between revisions of "Team:Imperial College/Software"

 
(6 intermediate revisions by 3 users not shown)
Line 16: Line 16:
 
         </div>
 
         </div>
  
<p>In order to facilitate the control of our electrode array, we created an Android app that could connect to an Arduino via Bluetooth and send matrices of pattern data to program into our E.coli. The reason for this was twofold. From a purely practical perspective, the necessity to centre the voltages of our control logic around 0V (or the electrochemical reference voltage, close to 0V) prevented direct interfacing of the Arduino with a computer via a cable, leaving only two options for array control. Either we could use pre-programmed arrays, with no ability to control the arrays without hard-coding the patterns into the Arduino, or we could use a wireless connection to send patterns remotely to the array. The second reason for opting for a wireless programming scheme was to increase the usability and flexibility of the hardware, as well as to make the project accessible to a wider audience by removing the need for the user to be able to program in order to use the device.
+
<p>In order to facilitate the control of our electrode array, we created an Android app that could connect to an Arduino via Bluetooth and send matrices of pattern data to program into our E.coli. The reason for this was double. From a purely practical perspective, the necessity to centre the voltages of our control logic around 0V (or the electrochemical reference voltage, close to 0V) made direct interfacing of the Arduino with a computer via a cable impossible. This impossibility left us with only two options for array control: either using pre-programmed arrays, with no ability to control the arrays without hard-coding the patterns into the Arduino (which we discarded) or use a wireless connection to send patterns remotely to the array. The second reason for opting for a wireless programming scheme was to increase the usability and flexibility of the hardware, as well as to make the project accessible to a wider audience by removing the need for the user to be able to program in order to use the device.
 
</p>
 
</p>
 +
 +
</br>
 +
<div class="center">
 +
<img src="https://static.igem.org/mediawiki/2018/e/e6/T--Imperial_College--AppFig2.jpg" alt="" width="25%"; >
 +
 +
</div>
 +
</br>
 +
<div class="caption">
 +
<p><b>Figure 1.</b> User interface of the app with a pattern drawn in it</p>
 +
</div>
 +
 
<p> The app uses a pixel-drawing user interface, upon which the user draws patterns with their fingers. It incorporates a paintbrush tool, an eraser tool, a 'clear' tool, a swipeable menu, and a 'done' button. The menu contains pre-programmed patterns in multiple colours, and serves as both a way for the user to select pre-programmed patterns, and to select a colour with which to paint. Upon finishing their design, the user clicks done, and a prompt is displayed which asks the user to confirm that they have finished. Upon confirmation, the app searches for a paired electrode array, and, if successful, sends the data to it. There are individual error messages for both the case of the device being unable to initialise Bluetooth and find a paired array, and for the case of the device being unable to connect to the discovered array and successfully send the data.</p>
 
<p> The app uses a pixel-drawing user interface, upon which the user draws patterns with their fingers. It incorporates a paintbrush tool, an eraser tool, a 'clear' tool, a swipeable menu, and a 'done' button. The menu contains pre-programmed patterns in multiple colours, and serves as both a way for the user to select pre-programmed patterns, and to select a colour with which to paint. Upon finishing their design, the user clicks done, and a prompt is displayed which asks the user to confirm that they have finished. Upon confirmation, the app searches for a paired electrode array, and, if successful, sends the data to it. There are individual error messages for both the case of the device being unable to initialise Bluetooth and find a paired array, and for the case of the device being unable to connect to the discovered array and successfully send the data.</p>
  
 +
</br>
 +
<div class="center">
 +
<img src="https://static.igem.org/mediawiki/2018/4/4c/T--Imperial_College--AppGif1.gif" alt="" width="25%">
  
 +
</div>
 +
</br>
 +
<div class="caption">
 +
<p><b>Figure 2.</b> Animation of the use of the app</p>
 +
</div>
  
<p> The design was kept minimalistic, both in order to make the app intuitive to use, and to avoid overinflating the expectation of the users. For example, during the initial stages of app development, the user was able to draw patterns using multiple colours simultaneously. This was, however, deemed misleading, as the electrode array is only capable of binary programming, and so this feature was removed.
+
<p> The design was kept minimalistic, both in order to make the app intuitive to use, and to avoid overinflating the expectation of the users. For example, during the initial stages of app development, the user was able to draw patterns using multiple colours simultaneously. However, this feature was deemed misleading, since the electrode array is only capable of binary programming, and so this feature was removed.
 
</p>
 
</p>
  
  
 
</div>
 
</div>
</div>
+
 
  
  

Latest revision as of 01:51, 18 October 2018

Software



In order to facilitate the control of our electrode array, we created an Android app that could connect to an Arduino via Bluetooth and send matrices of pattern data to program into our E.coli. The reason for this was double. From a purely practical perspective, the necessity to centre the voltages of our control logic around 0V (or the electrochemical reference voltage, close to 0V) made direct interfacing of the Arduino with a computer via a cable impossible. This impossibility left us with only two options for array control: either using pre-programmed arrays, with no ability to control the arrays without hard-coding the patterns into the Arduino (which we discarded) or use a wireless connection to send patterns remotely to the array. The second reason for opting for a wireless programming scheme was to increase the usability and flexibility of the hardware, as well as to make the project accessible to a wider audience by removing the need for the user to be able to program in order to use the device.



Figure 1. User interface of the app with a pattern drawn in it

The app uses a pixel-drawing user interface, upon which the user draws patterns with their fingers. It incorporates a paintbrush tool, an eraser tool, a 'clear' tool, a swipeable menu, and a 'done' button. The menu contains pre-programmed patterns in multiple colours, and serves as both a way for the user to select pre-programmed patterns, and to select a colour with which to paint. Upon finishing their design, the user clicks done, and a prompt is displayed which asks the user to confirm that they have finished. Upon confirmation, the app searches for a paired electrode array, and, if successful, sends the data to it. There are individual error messages for both the case of the device being unable to initialise Bluetooth and find a paired array, and for the case of the device being unable to connect to the discovered array and successfully send the data.



Figure 2. Animation of the use of the app

The design was kept minimalistic, both in order to make the app intuitive to use, and to avoid overinflating the expectation of the users. For example, during the initial stages of app development, the user was able to draw patterns using multiple colours simultaneously. However, this feature was deemed misleading, since the electrode array is only capable of binary programming, and so this feature was removed.