
Water is one of the most essential natural resources for ecosystems, agriculture, industry, and human consumption. Because of its importance, continuous monitoring of water quality is required to prevent contamination and environmental degradation. Within the European Union, the protection of water resources is regulated by frameworks such as the EU Water Framework Directive, which defines environmental quality standards and obliges member states to monitor and improve the condition of all surface water and groundwater bodies.
One of the most critical indicators of water pollution is the concentration of nitrogen compounds, especially nitrate (NO₃⁻) and nitrite (NO₂⁻). These compounds are strongly linked to agricultural activities, particularly in regions with intensive farming practices. Fertilizers such as manure, slurry, and industrial nitrogen-based products introduce large amounts of nitrogen into soils. However, plants can only absorb a fraction of this nitrogen. The remaining portion is transported through soil and water systems, ultimately reaching groundwater and surface water.
Nitrate is highly soluble in water and therefore easily leaches into groundwater during rainfall or irrigation. Additionally, nitrogen compounds can be transformed through microbial processes. In aerobic conditions, soil bacteria convert ammonium into nitrate through nitrification. In anaerobic conditions, nitrate can be reduced to nitrogen gas via denitrification, which is then released into the atmosphere. These natural processes are part of the nitrogen cycle, but human activity has significantly increased nitrogen loading in many ecosystems.
Excessive nitrate in drinking water is a public health concern. The European Drinking Water Directive sets a maximum allowable concentration of 50 mg/L for nitrate and 0.1 mg/L for nitrite. Nitrite is particularly dangerous because it can oxidize hemoglobin into methemoglobin, reducing oxygen transport in the blood. This condition, known as methemoglobinemia or “blue baby syndrome,” mainly affects infants and can become life-threatening at high exposure levels.
Monitoring nitrate and nitrite levels is therefore essential for environmental protection, agricultural regulation, and public health safety. Traditional laboratory-based analysis methods, although accurate, are time-consuming, expensive, and require trained personnel. As a result, there is a growing demand for automated, low-cost, and field-deployable systems that can continuously monitor water quality in real time or near real time.
Conventional analytical techniques for nitrate and nitrite detection include spectroscopic, chromatographic, and electrochemical methods. These include colorimetry, fluorescence, chemiluminescence, ion chromatography, voltammetry, and ion-selective electrodes. While these methods provide high accuracy, they are not always suitable for field deployment due to their complexity, maintenance requirements, and cost.
For on-site water monitoring, simpler approaches such as test strips are widely used. These strips rely on color changes caused by chemical reactions, which are then interpreted visually or with optical readers. Although cost-effective and easy to use, test strips have limitations, including dependency on environmental conditions, limited storage stability, and subjective interpretation of color changes.
Recent advances in sensor technology and microelectronics have enabled the development of portable and automated systems that combine chemical test strips with digital optical detection. These systems can reduce human error and allow remote or long-term monitoring. However, maintaining measurement stability over long periods, especially in outdoor environments, remains a technical challenge.
The system described in this work addresses these limitations by introducing an automated sensor platform that uses commercial test strips combined with optical color detection and controlled sample handling. The goal is to enable long-term autonomous operation with minimal maintenance, suitable for deployment in rivers, lakes, and groundwater monitoring stations.
The detection of nitrite is based on the Griess reaction, a standard colorimetric method widely used in environmental chemistry. In this reaction, nitrite reacts with sulfanilamide under acidic conditions to form a diazonium compound, which then couples with N-(1-naphthyl)ethylenediamine to form a colored azo dye. The intensity of the resulting color is proportional to the nitrite concentration.
For nitrate measurement, an additional reduction step is required because nitrate itself does not directly participate in the Griess reaction. Nitrate is first reduced to nitrite using either chemical reducers such as vanadium(III) chloride or biological/metal-based catalysts such as cadmium columns. After reduction, nitrite is measured using the same Griess-based reaction.
Commercial test strips incorporate these reactions in a simplified format, allowing semi-quantitative or quantitative analysis based on color intensity.
Commercial nitrate/nitrite test strips (based on modified Griess chemistry) were used as the sensing element. These strips contain two reactive pads: one for nitrate (after reduction) and one for nitrite detection.
For calibration and validation purposes, a commercial test strip reader system was used as a reference device. This system provides standardized color interpretation and ensures comparability between measurements.
Standard nitrate and nitrite solutions were prepared using sodium nitrite and potassium nitrate dissolved in distilled water. These solutions were used for calibration curves and limit of detection analysis.
The developed system is designed for long-term autonomous monitoring of water bodies such as rivers. It is capable of performing periodic measurements without manual intervention for periods exceeding one year.
The system is based on three main components:
Each test strip is stored in a compartmentalized magazine. At each measurement cycle, one strip is released into a mechanical slider system. The slider moves the strip through multiple stages:
A precise microfluidic system delivers approximately 70 μL of sample onto each test pad.
The color change occurring on the test pads is measured using an optical detection unit composed of an RGB color sensor combined with a controlled LED illumination source. A white LED is used to provide stable and uniform lighting conditions, ensuring that variations in ambient light do not affect the measurement results. The light reflected from the surface of the test pads is captured by the RGB sensor, which separates the signal into its red, green, and blue components. The analysis primarily focuses on the red and green channels, since these are the most sensitive to the color variations produced by the chemical reaction on the test strip.
To obtain a reliable and reproducible measurement, the system does not directly use raw color intensities. Instead, it performs a normalization step in which the measured red and green intensities of the reacted test pad are compared to reference values obtained from the unused or baseline state of the test strip. This correction allows the system to compensate for inherent differences in strip coloration, aging effects, and slight variations in illumination or sensor response.
The final output of this processing is a normalized optical response value that represents the relative change in color intensity between the reference state and the reacted state of the test pad. This normalized value increases or decreases depending on the concentration of nitrate or nitrite present in the sample. Once calculated, it is used as the primary input for quantification. The system then translates this optical response into actual nitrate and nitrite concentrations by applying previously established calibration curves, which were derived from standard solutions of known concentrations. This approach ensures that the optical signal is directly correlated with the chemical concentration in a consistent and reproducible manner.
Calibration curves were generated using known nitrate and nitrite standards. The relationship between optical signal and concentration was modeled using second-order polynomial regression functions.
For nitrate:
For nitrite:
These models allow conversion of raw optical signals into concentration values.
The system was tested against a commercial reference reader. Results showed strong agreement between both systems, with high precision and reproducibility.
Key performance observations include:
The developed system achieved lower detection limits, particularly for nitrate, making it more suitable for environmental trace analysis.
One of the main challenges is the sensitivity of test strips to humidity. Exposure to moisture can cause premature color changes and reduce measurement accuracy.
To solve this issue, the system is placed in a sealed housing equipped with moisture-absorbing materials such as silica gel. This ensures internal humidity remains below 30%, which is critical for long-term stability.
Experimental results showed that humidity above this threshold leads to measurable drift in optical readings.
Temperature affects both chemical reaction speed and optical response. Higher temperatures accelerate the Griess reaction, while lower temperatures slow it down.
To compensate:
Within the tested range (5°C–25°C), a nearly linear temperature dependence was observed, which can be corrected mathematically.
Nitrite can interfere with nitrate measurements because both share the same chemical detection pathway after reduction. This leads to potential overestimation of nitrate concentration when nitrite is present.
To mitigate this issue, chemical masking agents or correction algorithms can be applied.
The system is designed for deployment in natural water environments with minimal maintenance requirements. Key design features supporting long-term operation include:
The expected operational lifetime is at least one year with periodic measurements.
This work presents a fully automated system for nitrate and nitrite monitoring in water bodies using commercial test strips and optical detection. The system combines chemical simplicity with electronic automation, enabling continuous environmental monitoring with minimal maintenance.
The main advantages of the system include:
Humidity and temperature remain key factors affecting performance, but these can be managed through proper enclosure design and algorithmic compensation.
Overall, the system provides a practical and scalable solution for environmental monitoring of nitrogen pollution in surface and groundwater systems, supporting regulatory compliance and ecosystem protection.