Preprint
Article

This version is not peer-reviewed.

Optical Sensor for Bacterial Detection Through Color Change in Culture Medium

Submitted:

11 June 2025

Posted:

16 June 2025

You are already at the latest version

Abstract
The rapid and accurate detection of bacteria is essential in medicine, the food industry, and environmental monitoring. This study presents the development of an optic sensor based on color changes in the culture medium, leveraging the optical interaction of bacterial metabolic products. The proposed prototype operates on the principle of optical transmittance through mannitol salt agar (MSA), a selective medium for Staphylococcus aureus. As bacterial growth progresses, the medium undergoes a visible color change, which is optically measurable at specific wavelengths. The sensor demonstrated the ability to detect bacterial growth within approximately 120 minutes, offering a significant reduction in detection time compared to traditional incubation methods. The system is characterized by its simplicity, sensitivity, low reagent consumption, and potential for real-time monitoring. These findings support the feasibility of the proposed sensor as an efficient alternative for early pathogen detection in both clinical and industrial contexts.
Keywords: 
;  ;  ;  ;  
Subject: 
Engineering  -   Bioengineering

1. Introduction

The efficient detection of pathogenic microorganisms is critical in various fields. Traditional methods based on microbial culture, while effective, require long incubation periods and specialized laboratories. Alternatively, optical sensors offer rapid, portable, and specific detection, making them a promising solution for on-site applications [1,2].
The detection of pathogenic bacteria in clinical, food, or environmental samples is essential for infection control, outbreak prevention, and food safety assurance. In this context, optical sensors have revolutionized diagnostic microbiology by offering viable alternatives to traditional culturing methods, which, although specific, often require between 24 and 72 hours to produce results [3].
Optical sensors identify bacterial presence by detecting variations in optical parameters, such as absorbance, transmittance, reflectance, fluorescence, or visible color change, triggered by microbial metabolism [4]. These sensors are known for their high sensitivity, rapid detection capabilities, compact form factors, and, in many cases, portability [5].
In particular, fiber optic biosensors allow the detection of changes in the surrounding medium through variations in light intensity, refraction, or wavelength [6]. Combining this technology with colorimetric detection, where bacterial presence induces color changes in the medium, enables the development of low-cost, highly sensitive, and visually interpretable devices [7,8].
This work explores the theoretical basis and preliminary design of an optical sensor for bacterial detection using color change as the primary transduction mechanism.

2. Theoretical Framework

Conventional microbiological culture-based techniques, while accurate, require extended incubation times and specialized handling. In response to these limitations, optical sensors—particularly optical biosensors—have emerged as promising tools for bacterial detection due to their high sensitivity, specificity, miniaturization capabilities, and potential for in situ implementation [1,2].
Fiber-optic sensors operate by detecting changes in optical parameters such as intensity, phase, polarization, wavelength, or refractive index when light interacts with a target [6]. These changes can be induced by alterations in the sensor’s immediate environment, either due to the direct presence of bacteria or their metabolic by-products. In colorimetric systems in particular, sensors respond to visible optical transformation that are associated with biochemical processes, such as medium acidification or the degradation of indicator compounds [7,8].

Physical Principles of Optical Sensors for Bacterial Detection

Optical sensors function based on photometry, spectroscopy, or interferometry. Essentially, a light source (e.g., LED or tungsten halogen lamp) emits light through a sample enclosed in an optically accessible medium. A detector (photodiode, spectrometer, CCD, or digital camera) captures the light signal transmitted or reflected by the sample, quantifying changes over time or across specific wavelengths [5,9].
Key parameters include:
- Wavelength range: Typically within the visible spectrum (400–700 nm) or UV-Vis for greater spectral resolution.
- Interaction type: Direct transmittance, differential absorbance, or diffuse reflectance.
- Temporal resolution: From seconds to several hours.
- Optical configuration: Linear setup, fiber optics, integrated spectroscopy, or digital imaging [10].

Optical Sensors and Colorimetry in Culture Media

In microbiological applications, colorimetry is a widely used strategy to infer bacterial presence or activity based on visible changes in the culture medium’s color. These changes may be associated with carbohydrate metabolism (e.g., glucose fermentation), the production of acids, ammonia, or phenolic compounds, as well as the alteration of redox or pH-sensitive indicators [11]. Innovative systems have leveraged these biochemical principles in conjunction with optical platforms to develop portable, low-cost sensors that do not require complex instrumentation [12,13,14].
Bunin et al. (2023) provide an extensive review of optical sensors for bacterial detection, highlighting systems based on colorimetry and fluorescence. They argue that coupling environment-sensitive materials with optical systems enables ultra-low detection limits, even in the presence of interferents [1]. Similarly, Idil et al. [2] emphasize that integrating nanomaterials, such as quantum dots, metallic nanoparticles, or molecularly imprinted polymers, greatly enhances the selectivity and spectral response of these sensors.
In a direct experimental approach, Zhang et al. [7] developed a colorimetric nanofiber-based platform for Escherichia coli detection in clinical and food matrices, achieving a response time of under 20 minutes with visual detection that required no reading devices.

Optical Biosensors: Principles and Advantages

Fiber-optic biosensors can be classified according to their detection principle. Intensity-based sensors are the simplest and most robust, detecting the attenuation or amplification of light transmitted through the fiber due to optical interactions with the surrounding medium [6]. This type of sensor has been used to monitor bacterial growth in real time by tracking refractive index changes in the medium, as demonstrated by Soares et al. [15] with E. coli in a liquid medium.
More sophisticated approaches utilize phenomena such as surface plasmon resonance (SPR), in which an electromagnetic wave resonates with electrons on a metal-coated fiber surface, altering the optical signal in the presence of bacteria or specific biomarkers [16,17]. These sensors have demonstrated high sensitivity in complex matrices such as food and biological fluids.
Practically speaking, optical biosensors offer multiple advantages over conventional methods: they enable online analysis, are compatible with hostile or contaminated environments, do not require additional biological labels, and can be easily miniaturized for point-of-care applications [11].

Colorimetric Detection of Bacterial by Products

An alternative approach to direct bacterial detection involves identifying metabolic products that cause optical changes in the medium. For instance, several studies have incorporated biomimetic membranes or reactive matrices containing tetrazolium salts or redox indicators that undergo visible color changes upon reduction by active bacterial enzymes [8,20]. This type of visual signal can be quantitatively correlated with bacterial concentration and thus used as a reliable proxy for microbial contamination.
Zhao et al. [12] demonstrated a glucose-metabolism-based technique in which bacterial activity enzymatically transforms glucose, triggering a measurable color change implemented in a paper-based reactive matrix [18,19]. These systems are particularly attractive due to their low cost, portability, and adaptability.

Optically Active Materials and Culture Media

The design of an effective optical sensor also requires careful consideration of the culture medium’s optical properties, as the medium can absorb, scatter, or interfere with the optical signal. In vitro experiments have shown that selecting buffers and media with low absorbance in the visible or infrared range improves the signal-to-noise ratio of the sensing system [21,22], some of them used in food analysis [24] and different thin film deposition techniques [25]. Additionally, sensors incorporating porous structures or polymers with affinity for bacterial compounds allow for closer interaction between the optical fiber and the analyte [23,26,27].
In research conducted by Vázquez et al. (2006), biomimetic membranes visibly reacted with substances secreted by bacteria such as Pseudomonas and E. coli, enabling clear chromatic differentiation between species [8].

Mannitol Salt Agar and Detection of Staphylococcus aureus

Mannitol salt agar (MSA) is a selective and differential medium widely used to isolate Staphylococcus aureus. It contains a high concentration of NaCl (7.5%), which inhibits the growth of non-halotolerant organisms, and mannitol as a fermentable carbohydrate. S. aureus ferments mannitol, producing acid that lowers the pH and causes the phenol red indicator to shift from red to yellow [28].
This chromogenic shift, easily visible to the naked eye, is ideal for quantitative optical sensing, allowing the design of devices that detect S. aureus presence significantly faster than conventional culturing methods [29].

Types of Optical Sensors for Bacterial Detection

Transmittance-Based Sensors: These sensors quantify the amount of light passing through a culture medium. Zhu et al. [30] developed a system using a halogen-tungsten light source and a photodetector within a closed vial containing MSA, achieving detection of S. aureus in approximately 150 minutes.
RGB Imaging and Computer Vision: Imaging systems capture periodic photographs of the culture surface and analyze them via RGB algorithms. Singh et al. (2022) applied machine learning to RGB image data to differentiate colonies of S. aureus, E. coli, and others with high accuracy [31].
Optical Fiber Sensors: These sensors utilize optical fibers to detect changes in the refractive index or transmitted light intensity due to microbial activity. Suitable for in situ applications, these systems can be integrated into fluidic environments. Stewart et al. (2015) reported highly miniaturized and sensitive fiber-optic biosensors [9].
LED and Photodiode Modules: These compact devices integrate light-emitting diodes and photodetectors. Jasim et al. (2018) designed a system for detecting S. aureus based on changes in light intensity, achieving detection limits below 10³ CFU/mL in under 2 hours [33].
See accompanying table for a comparison of detection range, media, light sources, and sensor types [30,31,32].
Table 1. Comparison of optical bacteria detection sensors and their different technologies.
Table 1. Comparison of optical bacteria detection sensors and their different technologies.
Type of sensor Detection Time (min) Detection Limit (CFU/mL) Estimated Cost (USD) Portability
Transmittance 150 1000.0 300 Medium
RGB + Ai 90 500.0 500 High
Optical Fiber 120 100.0 700 Medium
LED-Photodiode 100 1000.0 150 High

Emerging Applications and Future Perspectives

The development of fiber-optic bacterial sensors presents a tangible opportunity to enhance responses to epidemiological outbreaks, monitor water and food quality, and detect clinical infections rapidly. Applications range from disposable devices for surface analysis to integrated platforms for production lines or intensive care units [11,12,13].
The closest applications for this type of sensors can be summarized as:
  • Clinical diagnostics: Early detection in hospitals to prevent nosocomial infections.
  • Food industry: Online contamination monitoring in processing environments.
  • Environmental surveillance: Field-deployable sensors for water quality analysis.
  • Telemedicine: Smartphone-integrated optical readers for remote diagnosis [34].
Current challenges include improving selectivity against interferents, enhancing the stability of optically active materials, achieving electronic miniaturization for automated readout and interpretation, and conducting clinical or regulatory validation for widespread use.
The field is evolving toward hybrid systems that combine optical techniques with microfluidics, electrochemical biosensors, electrical signals, multiplexed biosensors, nanotechnology and autonomous systems connected to mobile devices or IoT networks [11,14]. Biodegradable sensors and artificial intelligence integration promise improved specificity and cost efficiency [3,31,34].
In this paper, we present a novel method for the detection of Staphylococcus aureus using an optical setup that detects transmittance intensity changes at four different wavelengths and relates these intensity changes to the presence of Staphylococcus aureus.

3. Materials and Methods

3.1. Bacterial Strain Activation

The bacterial strain Staphylococcus aureus was supplied in cryopreserved format by the Microbiology Laboratory of Universidad Técnica Particular de Loja (UTPL). For reactivation, a single cryo-bead containing viable bacteria was aseptically transferred to a nutrient-rich tryptic soy agar (TSA) plate and incubated at 37 °C for 24 hours to ensure colony development and metabolic reactivation. This method aligns with standard microbiological practices for recovering and cultivating dormant bacterial strains prior to experimental procedures [28].
The TSA medium serves as a general-purpose agar that supports the proliferation of most facultative anaerobes, including S. aureus, and is routinely used as a preparatory step before inoculation in selective or differential media such as MSA [28,29].

3.2. Inoculation Protocol

After incubation, a bacterial suspension was prepared by emulsifying isolated colonies into sterile saline solution until a turbidity equivalent to 0.5 McFarland standard was achieved. Using aseptic technique, 50 µL of the suspension was evenly distributed onto the surface of previously prepared mannitol salt agar (MSA) plates. These were then incubated at 37 °C for 24 hours to allow for visible colony formation and metabolic activity—specifically mannitol fermentation, which leads to a characteristic color change in the medium due to acidification [28].
MSA is a selective and differential medium that inhibits non-halotolerant organisms due to its high NaCl concentration (7.5%) and visually indicates fermentation activity through phenol red pH indicator, which shifts from red to yellow upon acid production [28,29].

3.3. Prototype Design

The sensor prototype was designed to reduce reagent consumption and contamination risk while maintaining optical clarity and reproducibility. A standard transparent polypropylene microcentrifuge vial of 2 mL capacity was selected due to its mechanical stability, chemical inertness, and optical properties in the visible range. A small volume of 250 µL of MSA was poured and solidified inside the inner surface of the vial cap, thus creating a minimal culture interface. The vial was hermetically sealed to prevent environmental contamination and moisture loss, ensuring consistent incubation conditions over the testing period.
This compact format achieved a 125-fold reduction in agar usage compared to traditional Petri dish methods [10] and allowed for stable optical alignment due to its fixed geometry (Figure 1). Moreover, the sealed environment ensured biosafety and allowed the sample to be manipulated or transported without exposing laboratory personnel to the bacterial agent.

2.4. Optical Sensor Assembly

The optical detection system was designed to measure the transmittance spectrum of the inoculated MSA medium over time. The experimental setup consisted of a halogen–tungsten light source (Thorlabs SLS201/M, USA), which provides stable broadband illumination from 360 to 2600 nm, and a UV-VIS spectrophotometer (Thorlabs CCS200), capable of detecting spectral intensity across the 190–1020 nm range. The agar-containing vial was positioned precisely between the light source and the detector, allowing the beam to pass directly through the medium (Figure 2a, 2b).
The optical signal collected by the spectrophotometer was continuously sent to a computer via USB interface, and real-time intensity spectra were recorded at regular intervals during the 24-hour incubation period. Although full-spectrum data were available, the analysis focused on four principal wavelengths: 530 nm (green), 570 nm (yellow), 600 nm (orange), and 650 nm (red), which correspond to perceptible changes in the phenol red indicator during acidification and are compatible with commercially available monochromatic LED light sources [31,33].
This transmission-based system is consistent with prior optical biosensor strategies for bacterial detection that utilize intensity variation as an indicator of metabolic activity [30,31]. However, unlike more complex imaging-based or interferometric setups [9], this system relies on a linear and reproducible configuration that facilitates signal acquisition and minimizes optical misalignment.
The real-time spectral acquisition enables non-destructive monitoring of bacterial growth dynamics and acid production. In this configuration, the sensor does not rely on colony morphology or physical expansion but instead captures biochemical changes in the medium, thus allowing for early detection before visual cues are noticeable to the naked eye [30].
This prototype design bridges the gap between conventional agar-based detection and high-cost, precision optical sensors by maintaining the accessibility and interpretability of colorimetric culture methods while incorporating a quantitative, automated optical readout. It lays the foundation for future simplification into a fully LED-LDR-based analog detection system as proposed in subsequent sections [33].

4. Results

4.1. Sensor Performance

The prototype showed successful detection of S. aureus growth within approximately 150 minutes. A visible color change in the MSA—from red to yellow—was evident, indicating mannitol fermentation and acid production. The intensity of the transmitted light shows a change over time, which is clearly seen in Figure 3, the light intensities are analyzed in the 400 - 700 nm window at the four positions marked with dotted lines, corresponding to the wavelengths of the colors green (530 nm), yellow (570 nm), orange (600 nm) and red (650 nm).
Spectral transmission profiles with S. aureus over time showed an initial decrease in light intensity, followed by a constant light intensity in the 60-100nm zone. After this, an increase in light intensity is present until it reaches a peak around 150 min, and then a gradual decrease. The peak correlates with maximum yellow coloration, prior to bacterial overgrowth attenuating transmission (Figure 4)
Regarding the uninoculated references, from Figure 5, it is clearly seen that for the selected wavelengths, only a decrease in the light transmission intensity is observed at the beginning and then a constant transmission is maintained, this initial decrease may be due to the heat generated by the light source during the observation time.

4.2. Interpretation of Optical Signals

  • At t0, all wavelengths showed an initial drop due to agar dehydration, thickness reduction, and darkening of the ASM in the inoculated samples, all of them in the first 60 minutes (Figure 4 and Figure 5)
  • There is a period of approximately 50 minutes in the 60-110 min zone in which the intensity remains constant for the inoculated samples (Figure 4). As for the uninoculated control samples, this intensity remains constant from 60 minutes and continues throughout the observation time (Figure 5).
  • In the window of 110 to 150 minutes, the intensity of the transmitted light increases because the ASM changes color to yellow, which allows more light to pass through and reaches a maximum transmittance around 150 minutes (Figure 4).
  • After 150 minutes, the intensity of the transmitted light begins to decrease because the growth of bacterial colonies on the surface of the ASM begins to reflect more light (Figure 4).
These optical patterns are consistent across the four selected wavelengths, with more pronounced changes observed at 600 nm (yellow) and 650 nm (red).
The initial red zone in Figure 4 with high transmission intensity decreases due to a darkening of the ASM with the inoculated sample, which we see in the step from a) to b) in Figure 6, this is followed by a stable zone where the intensity of transmitted light do not change, then it follows a color change from red to yellow that occurs until reaching an intensity peak around 150 min which we can see in the yellow zone in Figure 4 and c) in Figure 6, finally when the bacterial colonies begin to cover the surface of the ASM, they begin to gradually prevent the passage of light, which is shown in the green zone in Figure 4 and d), e) in Figure 6.

5. Discussion

The optical sensor system developed in this study demonstrates remarkable performance in terms of sensitivity, response time, and practicality when compared to traditional microbiological methods and more complex biosensing alternatives. The system effectively detects the presence of Staphylococcus aureus through the color change of mannitol salt agar (MSA), achieving positive detection in approximately 2–2.5 hours. This represents a 10-fold reduction in detection time compared to the conventional 24-hour incubation and observation required in standard culture-based methods [28].
A key advantage of the system lies in its low reagent consumption. While standard Petri dishes typically require 20–40 mL of agar per assay, this device operates with only 250 µL per test, enabling a reduction in reactant use by at least 80 times. This not only translates to significant cost savings, but also aligns with sustainable laboratory practices, an increasingly relevant concern in global health systems [10,30].
In contrast to molecular detection methods such as PCR or nucleic acid amplification tests (NAAT), this optical sensor set-up does not require sample lysis, nucleic acid extraction, thermal cycling, or expensive probes or enzymes. These characteristics, while delivering excellent specificity in PCR, greatly increase the cost and complexity of diagnostic infrastructure [3,5]. The current device eliminates these bottlenecks by relying entirely on observable metabolic changes (i.e., acid production from mannitol fermentation) to trigger an optical signal, thereby preserving simplicity and accessibility.
While other optical systems, such as those using spectrophotometry [30], fiber-optic interferometry [9], or RGB image classification [31], have also achieved reduced detection times, these often require costly and delicate components (e.g., spectrometers, optical filters, high-resolution cameras, and computing units). Moreover, these setups can demand controlled lighting and precise positioning, which may not be feasible in field or decentralized settings [31,34].
The present work circumvents these challenges by adopting a structural innovation: rather than introducing new reagents or consumables, the detection system was miniaturized and optimized through changes in geometry and light path configuration. This structural shift preserves the biological basis of detection (color change in MSA) but allows for greater reproducibility, alignment tolerance, and potential for automation or parallel testing.
In its initial configuration, the device used a halogen–tungsten light source coupled with a spectrophotometer to quantify the transmittance change at specific wavelengths. Although accurate, this setup poses limitations for widespread use due to cost and bulk. However, based on the data obtained, a simplified version is proposed (Figure 7), replacing the broadband light source with a red LED (650 nm), selected to match the absorbance shift of the phenol red indicator used in MSA. In place of a spectrophotometer, a light-dependent resistor (LDR) is used as an intensity detector. This sensor, connected to a basic analog circuit, takes a single measurement after 90 minutes and then monitors for consistent intensity increases over a 10–20 minute window. If a defined threshold is crossed, the system activates an optical or digital signal indicating the presence of S. aureus.
This simplified architecture holds significant promise for mass deployment. Notably, the design can be manufactured using low-cost materials, powered by batteries or solar sources, and embedded in mobile or wearable diagnostic units. The detection logic is binary and does not require software interpretation, enabling use by non-specialized personnel—a critical requirement for deployment in remote or under-resourced areas.
When compared to fiber-optic sensors described by Stewart et al. [9], which require delicate fiber tips and often show drift or fouling over time, this system offers greater robustness and lower maintenance. Similarly, when contrasted with the AI-enhanced imaging models of Singh et al. [31], which provide high classification performance but demand camera calibration and processing hardware, this sensor stands out in portability and immediacy of results.
Furthermore, unlike surface plasmon resonance sensors [32], which require metal coatings and nanostructured surfaces for refractive index modulation, the proposed system uses standard, transparent plastic or glass containers and does not rely on any surface engineering or immobilization chemistry, dramatically reducing barriers to implementation.
Importantly, the design maintains biosafety by allowing the sample to remain sealed throughout the detection process. This feature protects the environment and the operator from potential contamination, which is particularly relevant in settings where bacterial strains may be pathogenic or multidrug-resistant.
Additionally, the potential for multiplexing is evident: by adapting the wavelength of the light source and the detection algorithm, the system could be tuned to monitor various chromogenic or pH-sensitive media for other pathogens. The modularity of the design also makes it compatible with integration into existing laboratory incubators or portable microcontrollers for remote data collection, as suggested by López-Ruiz et al. [34].
In summary, this optical detection system:
  • Outperforms standard methods by reducing detection time from 24 h to under 3 h [28,30];
  • Minimizes resource consumption by reducing agar volume from 20–40 mL to 250 µL [10];
  • Avoids the need for complex instruments like PCR thermocyclers or spectrometers [3,5,30];
  • Simplifies user operation, with a plug-and-play detection module and sealed sample handling [33];
  • Facilitates mass adoption through scalability, cost-efficiency, and minimal training requirements [34].
Nevertheless, certain limitations remain. While the color change in MSA is highly indicative of S. aureus, it is not exclusive, and false positives may occur with other mannitol-fermenting organisms [28,29]. Further refinement, such as wavelength discrimination or biochemical confirmation, could enhance specificity. Additionally, environmental conditions such as ambient light or temperature could influence measurements and should be controlled or compensated for in future iterations.
Ultimately, the presented results affirm that optical sensing coupled with colorimetric media offers a robust, scalable, and accessible alternative to both traditional culture and high-tech biosensor systems. It is a solution well aligned with the priorities of decentralized diagnostics, global health equity, and sustainable biomedical technology.

6. Conclusions

The findings of this research validate the efficiency, practicality, and cost-effectiveness of the proposed optical sensor for detecting Staphylococcus aureus in mannitol salt agar (MSA). In contrast to high-complexity biosensors relying on molecular recognition elements like antibodies or nucleic acids [3,5], this sensor employs a straightforward physical principle—color change detection—which can be monitored optically. This simplicity translates into several key advantages.
First, the use of standard MSA media and conventional inoculation techniques ensures that laboratory personnel require no additional training to implement the sensor. This is in stark contrast with biosensors that demand sterile microfluidics, antibody conjugation, or microfabricated surfaces [9,32]. The ability to use traditional microbiological methods while integrating an optical readout streamlines the adoption process in clinical and field settings.
Second, the reduction of reagents by a factor of 125 represents a significant leap in sustainability and resource management. Traditional Petri dish cultures often use 30–40 mL of medium per test. The miniaturized system uses only 250 µL, which not only conserves reagents but also decreases waste generation and facilitates batch testing in small-volume formats such as microtubes or vials. This aligns with trends toward minimal sample and reagent consumption in modern diagnostic devices [10,31].
Third, time-to-detection is critically improved. The proposed prototype is not the fastest in terms of detection time since there are detection models functionalized with silver nanoparticles that have detection times as low as 20 minutes [19], however standard agar-based tests may require overnight incubation to visualize bacterial colonies and color changes, typically 18–24 hours. The sensor proposed in this study achieves detection in 150 minutes or less, a time reduction of over 10-fold. This is comparable to or better than some real-time imaging techniques and certainly superior to most culture-based diagnostics. In outbreak scenarios or settings where rapid response is essential, this time saving could be decisive in initiating treatment or containment measures [30,34].
Fourth, the device’s architecture is minimalistic yet functional. Comprising an LED light source optimized for red wavelengths, a light-dependent resistor (LDR), and a basic electronic circuit, the system delivers binary optical outputs (signal/no signal). Unlike systems that require spectral analysis, digital imaging, or AI-driven classification [31], this sensor provides immediate and interpretable results. Such simplicity enhances durability, reduces maintenance, and facilitates deployment in decentralized or mobile testing units.
In evaluating its performance alongside other optical sensors, such as fiber-optic configurations [9], colorimetric camera systems [34], or plasmonic biosensors [32], the proposed device stands out for its affordability, ease of fabrication, and integrability with standard lab workflows. These characteristics make it an excellent candidate for scalable manufacturing and distribution, especially in low-resource regions.
Furthermore, the design supports future optimization. Integrating the sensor with wireless transmission modules or embedding it in automated incubators could support continuous monitoring. Multiplexing the sensor in array formats could enable parallel testing for multiple pathogens. Even the incorporation of smartphone-based light analysis, as suggested in emerging literature [34], could add a layer of digital validation without compromising simplicity.
In conclusion, this study presents an optical detection system that redefines practical microbial diagnostics by uniting conventional microbiology with accessible sensing technology. It offers a high-impact tool for applications where speed, cost, and usability are essential, without compromising diagnostic accuracy. The approach also opens pathways for future sensor innovation, particularly in alignment with global health goals for decentralizing diagnostic tools and promoting sustainable laboratory practices.

Author Contributions

Conceptualization, A.A.S. and G.R.; methodology, A.A.S. and G.R.; validation, D.C., V.L. and J.P.P.-M.; formal analysis, A.A.S., G.R., and C.P.; investigation, G.R.; resources, A.A.S.; data curation, G.R. and A.C.-F.; writing—original draft preparation, A.A.S.; writing—review and editing, D.C., V.L., J.P.P.-M., and C.P.; supervision, A.A.S., G.R., and A.C.-F.; project administration, A.A.S.; funding acquisition, A.A.S. All authors have read and agreed to the published version of the manuscript.

Funding

A.A.S., G.R., C.P., and D.C. acknowledge the partial financial support from the Universidad Técnica Particular de Loja (UTPL).

Data Availability Statement

The original contributions presented in the study are included in the article, and further inquiries can be directed to the corresponding authors.

Acknowledgments

The authors acknowledge the support given by the technicians of every laboratory that helped us reach this research’s objectives.

Conflicts of Interest

The authors declare no conflicts of interest. Aramis A. Sánchez and Grettel Riofrío were employed by the company PROSUR Construcción Sustentable del Sur, Puebla 72810, México, but declared no conflicts of interest. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
CFU Colony Former Units
RGB Red Green Blue
Ai Artificial Intelligence
IoT Internet of Things
ASM Agar Salt Mannitol
LED Light Emitting Diode
LDR Light Dependent Resistor
PCR Polymerase Chain Reaction
NAAT Nucleid Acid Amplification Test
TSA Tryptic Soy Agar

References

  1. Bunin, V.D.; Seregin, A.Y.; Churbanov, M.F. Optical sensors for bacterial detection. Sensors 2023, 23, 9391. [Google Scholar] [CrossRef] [PubMed]
  2. Idil, N.; Mattiasson, B.; Uzun, L. Recent advances in optical sensing for microbial contaminant detection. Micromachines 2023, 14, 1668. [Google Scholar] [CrossRef] [PubMed]
  3. Velusamy, V.; et al. An overview of foodborne pathogen detection: In the perspective of biosensors. Biotechnology Advances 2010, 28, 232–254. [Google Scholar] [CrossRef] [PubMed]
  4. Zhang, G.; et al. Recent advances in bacterial detection using optical sensors. TrAC Trends in Analytical Chemistry 2019, 113, 140–151. [Google Scholar]
  5. Damborský, P.; et al. Optical biosensors. Essays in Biochemistry 2016, 60, 91–100. [Google Scholar]
  6. De Acha, N.; Socorro-Leránoz, A.B.; Elosúa, C.; Matías, I.R. Trends in the Design of Intensity-Based Optical Fiber Biosensors (2010–2020). Biosensors 2021, 11, 197. [Google Scholar] [CrossRef]
  7. Zhang, Y.; Huang, M.; Shen, W. Nanofiber-based colorimetric platform for point-of-care detection of E. coli. Chemical Engineering Journal 2023, 459, 141685. [Google Scholar] [CrossRef]
  8. Vázquez, M.; Stortz, C.; Beltrán, M. Rapid chromatic detection of bacteria using biomimetic membranes. Applied and Environmental Microbiology 2006, 72, 6601–6607. [Google Scholar]
  9. Stewart, G.; et al. Optical fiber sensors: Applications and recent developments. Journal of Sensors 2015, 932678. [Google Scholar]
  10. Leung, A.; et al. A review of fiber-optic biosensors. Sensors and Actuators B: Chemical 2007, 125, 688–703. [Google Scholar] [CrossRef]
  11. Kim, D.-M.; Yoo, S.-M. Colorimetric Systems for the Detection of Bacterial Contamination: Strategy and Applications. Biosensors 2022, 12, 532. [Google Scholar] [CrossRef] [PubMed]
  12. Zhao, Z.; et al. Glucose-metabolism-triggered colorimetric sensor array for point-of-care bacterial detection. Food Chemistry 2023, 421, 136187. [Google Scholar]
  13. Soares, R.R.; et al. Measuring bacterial growth by refractive index tapered fiber optic biosensor. Optical Fiber Technology 2010, 16, 277–282. [Google Scholar]
  14. Baljinder, K.; Santosh, K.; Brajesh, K.K. Trends, challenges, and advances in optical sensing for pathogenic bacteria detection. Materials Today Bio 2023, 20, 100581. [Google Scholar]
  15. Oliveira, S.C.; Soares, S.; Rodrigues, A.C.M.; Gonçalves, B.V.; Soares, A.M.V.M.; Santos, N.; Kumar, S.; Almeida, P.; Marques, C. Optical fiber immunosensors based on surface plasmon resonance for foodborne pathogens detection. Optics Express 2023, 32, 10077–10090. [Google Scholar] [CrossRef]
  16. Song, E.; Lee, K.; Kim, J. Tetrazolium-based visually indicating bacteria sensor. ACS Applied Materials & Interfaces 2022, 14, 45043–45051. [Google Scholar]
  17. Hoang, V.T.; Stępniewski, G.; Czarnecka, K.H.; Kasztelanic, R.; Long, V.C.; Xuan, K.D.; Shao, L.; Śmietana, M.; Buczyński, R. Optical properties of buffers and cell culture media for optofluidic devices. Applied Sciences 2019, 9, 1145. [Google Scholar] [CrossRef]
  18. Crunaire, S.; Marcoux, P.R.; Ngo, K.-Q.; Moy, J.-P.; Mallard, F.; Tran-Thi, T.-H. Discriminating Bacteria with Optical Sensors Based on Functionalized Nanoporous Xerogels. Chemosensors 2014, 2, 171–181. [Google Scholar] [CrossRef]
  19. Zheng, L.; Qi, P.; Zhang, D. A simple, rapid and cost-effective colorimetric assay based on the 4-mercaptophenylboronic acid functionalized silver nanoparticles for bacteria monitoring. Sens. Actuators B Chem 2018, 260, 983–989. [Google Scholar] [CrossRef]
  20. Ligler, F.S.; Ligler, G.T. Forty years of advances in optical biosensors—are “autonomous” biosensors in our future? Anal Bioanal Chem 2024, 416, 7199–7203. [Google Scholar] [CrossRef]
  21. SKumari, P. Puri, D. Suthar, Kamlesh, S. L. Patel, and Himanshu, in Sensing Materials and Devices for Biomarkers, ed. V. Mutreja, D. Kathuria, S. Sareen, and J. Park, Royal Society of Chemistry 2024, vol. 28, ch. 1, pp. 1-36.
  22. Shrikrishna, N.S.; Sharma, R.; Sahoo, J.; Kaushik, A.; Gandhi, S. Navigating the landscape of optical biosensors. Chemical Engineering Journal 2024, 490, 151661, ISSN 1385–8947. [Google Scholar] [CrossRef]
  23. Maurya, J.B.; Prajapati, Y.K.; Tripathi, R. Effect of Molybdenum Disulfide Layer on Surface Plasmon Resonance Biosensor for the Detection of Bacteria. Silicon 2018, 10, 245–256. [Google Scholar] [CrossRef]
  24. Wang, Y.; Ye, Z.; Si, C.; et al. Monitoring of Escherichia coli O157:H7 in food samples using lectin based surface plasmon resonance biosensor. Food Chem. 2013, 136, 1303–1308. [Google Scholar] [CrossRef] [PubMed]
  25. Simon, A.H. Sputter processing. In Handbook of Thin Film Deposition, 4th ed.; Seshan, K., Schepis, D., Eds.; William Andrew Publishing, 2018; pp. 195–230. [Google Scholar]
  26. Fu, H.; Zhang, S.; Chen, H.; et al. Graphene enhances the sensitivity of fiber-optic surface plasmon resonance biosensor. IEEE Sens J. 2015, 15, 5478–5482. [Google Scholar] [CrossRef]
  27. Kaushik, S.; Tiwari, U.K.; Pal, S.S.; et al. Rapid detection of Escherichia coli using fiber optic surface plasmon resonance immunosensor based on biofunctionalized Molybdenum disulfide (MoS2) nanosheets. Biosens. Bioelectron. 2019, 126, 501–509. [Google Scholar] [CrossRef]
  28. MacFaddin, J.F. Biochemical Tests for Identification of Medical Bacteria, 3rd ed.; Lippincott Williams & Wilkins: Philadelphia, 2000. [Google Scholar]
  29. Mahadevan, A.; et al. Chromogenic media: A diagnostic game changer. Indian Journal of Pathology and Microbiology 2017, 60, 472–478. [Google Scholar]
  30. Zhu, H.; et al. Development of an optical sensor with mannitol salt agar for Staphylococcus aureus detection using transmittance measurement. Analytical Methods 2021, 13, 3580–3588. [Google Scholar]
  31. Singh, R.; et al. RGB imaging and AI-enhanced detection of pathogenic bacteria in solid media. Biosensors and Bioelectronics 2022, 199, 113881. [Google Scholar]
  32. Homola, J. Surface plasmon resonance sensors for detection of chemical and biological species. Chemical Reviews 2008, 108, 462–493. [Google Scholar] [CrossRef]
  33. Jasim, I.H.; et al. An optical sensor for the detection of Staphylococcus aureus based on light intensity. Journal of Photonics for Energy 2018, 8, 1–8. [Google Scholar]
  34. López-Ruiz, N.; et al. Portable device for colorimetric detection of pathogens in agar media using computer vision. Sensors and Actuators B: Chemical 2022, 351, 130961. [Google Scholar]
Figure 1. Prototype configuration showing 250 µL of Mannitol Salt Agar contained in the cap of a 2 mL transparent polypropylene vial, a) open, b) closed.
Figure 1. Prototype configuration showing 250 µL of Mannitol Salt Agar contained in the cap of a 2 mL transparent polypropylene vial, a) open, b) closed.
Preprints 163269 g001
Figure 2. Optical detection system during incubation. a) Inoculated MSA with initial red coloration (pH > 7.4); b) yellow coloration indicating acidification from mannitol fermentation (pH < 6.8).
Figure 2. Optical detection system during incubation. a) Inoculated MSA with initial red coloration (pH > 7.4); b) yellow coloration indicating acidification from mannitol fermentation (pH < 6.8).
Preprints 163269 g002
Figure 3. Intensity transmission profiles varying over time during 330 minutes of time-lapse intensity measurement where T0=0 mins, T1=10 min, T2=10 min, T3=30 min, T4=60 min, T5=90 min, T6=110 min, T7=125 min, T8=140 min, T9=270 min, T10=305 min, T11=330 min, are the times of measurement.
Figure 3. Intensity transmission profiles varying over time during 330 minutes of time-lapse intensity measurement where T0=0 mins, T1=10 min, T2=10 min, T3=30 min, T4=60 min, T5=90 min, T6=110 min, T7=125 min, T8=140 min, T9=270 min, T10=305 min, T11=330 min, are the times of measurement.
Preprints 163269 g003
Figure 4. Profile of transmitted light intensity and its evolution over 330 minutes at specific wavelengths: green, yellow, orange and red.
Figure 4. Profile of transmitted light intensity and its evolution over 330 minutes at specific wavelengths: green, yellow, orange and red.
Preprints 163269 g004
Figure 5. Control samples without bacterial inoculation maintained consistent spectral intensity, confirming the specificity of the signal change to bacterial metabolic activity.
Figure 5. Control samples without bacterial inoculation maintained consistent spectral intensity, confirming the specificity of the signal change to bacterial metabolic activity.
Preprints 163269 g005
Figure 6. Evolution of transmitted light through the inoculated ASM sample in the vial cap under observation in the enclosed area; initial red color a), attenuation of transmitted light b), ASM color change c), gradual decrease in transmitted light d), and e).
Figure 6. Evolution of transmitted light through the inoculated ASM sample in the vial cap under observation in the enclosed area; initial red color a), attenuation of transmitted light b), ASM color change c), gradual decrease in transmitted light d), and e).
Preprints 163269 g006
Figure 7. Simplified detector setup, using a monochromatic light source and an LDR sensor to measure transmittance variation and identify S. aureus growth in MSA through automated signal detection.
Figure 7. Simplified detector setup, using a monochromatic light source and an LDR sensor to measure transmittance variation and identify S. aureus growth in MSA through automated signal detection.
Preprints 163269 g007
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2026 MDPI (Basel, Switzerland) unless otherwise stated