This dissertation involves two different studies. The first concerns the real-time detection of microbial contamination in drinking water using intrinsic fluorescence of the microorganisms. The prototype, “Blinky”, uses LEDs that emit light at 365nm, 590nm, and 635nm for ultraviolet, amber, and red light, respectively. At 365 nm, the cellular components excited include reduced pyridine nucleotides (RPNs), flavins, and cytochromes to distinguish viable bacteria; at 590 nm, the cellular components excited include cytochromes for non-viable bacteria; at 635 nm, the cellular components excited include calcium dipicolinic acid (DPA) for spores. By using these three different wavelengths, the prototype can differentiate between viable and non-via...