Difference between revisions of "Team:Queens Canada/Luminometer Software"

Line 26: Line 26:
 
To transmit the data wirelessly, we have begun to develop an application for BLE transmission of luminometer data from within the pacifier to a smart phone device. Our code for BLE transmission can be found below. Additionally, apps avialable on the itunes appstore already exist and were used for wireless transmission of data. See the screenshot of wireless Luminometer data transmission below:</p>
 
To transmit the data wirelessly, we have begun to develop an application for BLE transmission of luminometer data from within the pacifier to a smart phone device. Our code for BLE transmission can be found below. Additionally, apps avialable on the itunes appstore already exist and were used for wireless transmission of data. See the screenshot of wireless Luminometer data transmission below:</p>
  
<div style="width:1200px;margin-left:12%">
+
<div style="margin-left:12%">
<img src="https://static.igem.org/mediawiki/2018/7/75/T--Queens_Canada--Wirless_Transmission.jpeg" alt='wirelessLum' height="10%"/>
+
<img src="https://static.igem.org/mediawiki/2018/7/75/T--Queens_Canada--Wirless_Transmission.jpeg" alt='wirelessLum'/>
 
</div><br>
 
</div><br>
  

Revision as of 04:30, 14 October 2018

Luminometer Software

Electrical Design

The light to frequency sensor used as a luminometer was attached to a digital input on the microcontroller. When the sensor detects a photon, it sends a pulse of high voltage to the digital input which is then detected by the controller. To properly count each photon, an interrupt was attached to this digital input in the software, such that any time the controller received a pulse of high voltage, the rest of the program was interrupted, and the photon count was increased. By allowing the program to run for a set amount of time, a rate can be calculated for the number of photons per second. By increasing the length of this sampling period, lower levels of light can be more accurately measured and compared. To transmit the data wirelessly, we have begun to develop an application for BLE transmission of luminometer data from within the pacifier to a smart phone device. Our code for BLE transmission can be found below. Additionally, apps avialable on the itunes appstore already exist and were used for wireless transmission of data. See the screenshot of wireless Luminometer data transmission below:

wirelessLum

Check out our arduino file that outputs the portable luminometer's readings here.
Check out our app for transmitting luminometer data wirelessly here.