Natalie C. Landon-Brace deleted file Presence1.tex  about 10 years ago

Commit id: d72604ae8919ab7eff04e564e68a5a3a65da5f86

deletions | additions      

         

\subsubsection{Determining Light Presence}  It was found that the yellow sensors were the most reliable and as such they were also used for presence detection. This was done by sending a 4-bit select signal to an analog mux, and converting the incoming voltage read to a 10-bit binary number using ADC before the candlelights were turned on. The number was then compared to the threshold voltage rating of 0.8 V. If the voltage from the sensor was greater than 0.8, the light was considered not present as it meant the LEDs under the tray were shining through the holes. Conversely, if the voltage rating was less than 0.8 V it meant the light was present, so a temporary "pass" value was recorded. The code for this subroutine is shown in Figure \ref{fig:PRESENCE} and was repeated for each well on the tray.