1. Introduction
In agriculture, soil nutrients play an important role in plant growth and development; hence, understanding the dynamics of nutrient uptake, interaction, and transport is crucial for obtaining the optimum yield. Nutrients are divided into micro- and macronutrients based on the amount of nutrients required by plants. Micronutrients such as iron, zinc, boron, and manganese are taken up by plants in smaller quantities and are important for the overall health of plants. However, primary macronutrients, which include nitrogen, phosphorus, and potassium, are necessary for growth, reproduction, and for proper functioning of various biochemical, physiological, and metabolic processes [
1,
2]. Most of the nitrogen is taken by the plants in the form of nitrates and ammonium, which is responsible for vegetative growth of plants, photosynthetic activity, chlorophyll pigmentation, and helps in protein synthesis and acts as a signal for various physiological processes and energy metabolism [
3,
4]. Phosphorus accounts for the development of roots, transporting and storing energy via organic compound formation [
5,
6]. Potassium on the other hand is essential for the transport and regulation of water, strengthening the tissue, and synthesis of carbohydrates [
7]. Although these nutrients are naturally present, plants often suffer from nutrient scarcity due to soil erosion, leaching, runoff, or bacterial denitrification [
8]. Nutrient deficiency affects plant health with stunted growth, reduced yields, decreased resistance to pests and diseases, and poor plant vigor [
9]. Hence, farmers supplement these imbalances in the form of chemical fertilizers to avoid any harvest reduction. Consequently, with the need to meet the growing population, the adoption of fertilizer-intensive agriculture has rapidly grown since the 1960s. To support this context, it is estimated that the global fertilizer market will reach USD 543.20 billion by 2030 at a compound annual growth rate of 5.93% [
10].
Nitrates and phosphates, the two essential nutrients, are highly mobile and easily leach into nearby water sources or denitrify. Hence, regular fertilizer replenishment and microbial immobilization are necessary to limit leaching and enhance plant availability. Similarly, excessive use of these nutrients can lead to water pollution, algal blooms, and the loss of aquatic species [
11]. Therefore, it is important to monitor fertilizer application and regulate the use of these nutrients. To understand nutrient dynamics and prevent eutrophication of water bodies caused by excessive nutrient runoff, it is crucial to measure and differentiate plant available nutrients accurately. The amount of total nitrogen and the relative concentrations of inorganic nitrogen, NO
3−, NH
4+, and NO
2− individually can be determined using standard laboratory techniques like potentiometric methods, cadmium reduction, ion chromatography, steam distillation, and hot KCl removal of mineralizable N [
12]. Similarly, the most common methods for quantifying phosphates are ICP-MS (inductively coupled plasma mass spectrometry), HPLC (high-performance liquid chromatography), and reagent-based calorimetry [
13,
14,
15]. Although these measurements are highly accurate, they are expensive, labor-intensive, and provide information for a single point in time. Hence, the soil runoff nutrient problem in agriculture must be quantified more frequently at high spatial resolutions over a wide area for better fertilizer inputs.
The commercial sensor that employs ion-selective electrodes (ISEs) possesses no anion recognition functionalities and responds based on the anion’s lipophilicity [
16,
17]. They typically respond to ions according to the Hofmeister series: large lipophilic anions >ClO
4− > SCN
− > I
− > NO
3− > Br
− > Cl
− > H
2PO
4− [
18]. This series implies that commercial ISEs are more selective to perchlorates and iodides than nitrates and phosphates. Moreover, the development of portable sensors that can measure inorganic phosphate concentrations within growth media has remained a significant challenge in the research community. When phosphate is evaluated using traditional electrochemical sensors based on electrical conductivity (EC) measurements or ion-selective electrodes (ISEs), it exhibits cross-interference with other common cations, such as sulfates and nitrates [
19]. The orthophosphate ion comprises four oxygen atoms covalently bonded to one P atom. This forms a hydrophilic sphere around the anion, which creates a relatively high hydration enthalpy, making it difficult to detect [
20]. To address this, we investigate the feasibility of using molecularly imprinted polymers (MIPs) in electrochemical sensors based on our previous publication on microfluidics to determine nutrient loss in the event of surface runoff rapidly and selectively for point source application [
21]. An MIP is a synthetic polymer with selective binding sites for a target analyte or a combination of targets that mimic natural receptor binding sites without low-temperature sensitivity and incurring the cost [
22].
Over the last few years, imprinted polymers have gained widespread recognition for their ability to selectively attach to target molecules and their affordability, durability, and customizability [
23]. These template cavities have been designed for a wide range of applications, namely, catalysis, chemical separation, drug delivery, solution, and gas-based sensing [
24,
25]. Although there are other ways to create and incorporate MIPs into sensors, our method employs electrochemical deposition because of its excellent adhesion qualities, high repeatability, ease of preparation, and controllability over film thickness and morphology [
26,
27]. A recent trend in sensor development has been using flexible and disposable screen-printed electrodes (SPEs) because of their low cost and ability to be mass-produced on a large scale [
28]. An SPE typically consists of a chemically inert substrate on which three electrodes are screen-printed (a working electrode, a reference electrode, and a counter electrode) [
29].
In this work, we have developed a highly selective nitrate and phosphate sensor for measuring nutrient runoff using polypyrrole on a commercially available screen-printed electrode. Polypyrrole (PPy) is one of the most widely studied conducting polymers because of its high conductivity, ease of preparation, flexibility, and stability as an ISE [
30]. PPy is electrochemically deposited with nitrate under controlled conditions to generate selective chemical recognition sites in the polymer layers for nitrate. As PPy layers polymerize in the presence of NaNO
3, pores complementary to the target nitrate ion are formed. By forming a host cavity for nitrate, the size and charge distribution of PPy in the doped state provide enhanced selectivity over conventional nitrate-selective ISEs [
31]. Similarly, in the case of phosphate, sensor electrodeposition is performed in the presence of KH
2PO
4 on the polymer matrix. The fabricated sensor was characterized using laboratory standards and then evaluated using actual soil samples. The developed sensor exhibited a linear response in the range of 0.01 M to 100 µM with an R
2 value of 0.9906 for nitrate and 0.9901 for phosphate, respectively, while demonstrating a detection limit of 25 µM for nitrate and 53 µM for phosphate. Three distinct soil samples were collected, and the nutrient levels were measured by mimicking surface runoff using the developed sensor, which were compared to the standard laboratory methods. Further, the nutrient loss during soil washes using different soil types based on the soil properties was determined. This will help in adopting a personalized fertilization strategy to limit nutrient loss due to surface runoff and leaching in the future.
3. Result and Discussion
3.1. Calibration of the Electrode Using a Redox Mediator
Before setting up the experiment, the electrode is first calibrated to validate its functionality using ferri–ferro redox solution. Electrochemical characterization during sensor fabrication was performed using the same redox mediator. Hence, it is necessary to optimize the ferri–ferro concentration that influences the electrochemical signal, which exhibits a specific peak or electrode potential that ranges between +0.2 V and +0.4 V, thereby concluding that the sensor is optimized.
Here, three different concentrations of ferri–ferro ranging between 1, 2, and 5 mM were chosen. By applying a constant voltage of −1 to 1 V, the oxidation peak for each concentration was obtained. It is evident from
Figure 2 that for 1 mM and 2 mM of ferri–ferro solution, the oxidation peak indicating electrode potential was obtained at +5 V, which was not within the range of the specific peak. However, for the 5 mM concentration, a more pronounced peak was obtained at +0.38 V, indicating the stability and functionality of the electrode. Hence, for further electrochemical characterization, 5 mM of ferri–ferro solution was chosen.
3.2. Optimization of Elution Time
The elution of the analyte during MIP synthesis generates complementary functional sites of the analyte. Hence, it is necessary to remove the adhered or adsorbed analyte to facilitate effective rebinding. In our sensor fabrication process, we used 70% ethanol to remove the template molecule. However, the time required to elute the template molecule in ethanol is uncertain. Hence, to optimize the elution time for effective rebinding, different time intervals of 10, 20, and 30 min were adopted. For the nitrate sensor (
Figure 3A), at a 10 min time interval denoted by black line, a reduced current output was obtained at the oxidation peak, which implies the binding of a nitrate molecule onto the polymer matrix. When the elution time was prolonged for 20 and 30 min, the oxidation peak showed an increased current output. This indicated that the template molecule was completely removed, leaving functionally complimentary cavities for effective rebinding of the analyte. Similarly, in the case of a phosphate sensor, when the electrode was immersed in ethanol for a 10 and 20 min time period, the current magnitude at the oxidation peak was relatively lower compared to that obtained at 30 min (
Figure 3B). Therefore, a standard elution time of 30 min was adopted for successful removal of template molecules, and the sensor surface is now ready for effective rebinding and sensing.
3.3. Fabrication of Nitrate-Specific MIP
Since the electrochemical event occurs at the surface of the working electrode, it is essential that the electrode surface is extremely clean and free of foreign matter. To remove residue particles from the fabrication, the electrode is first pretreated and then sonicated in deionized water. To facilitate a clean surface, CV scans are performed over a wide potential window. The scans can be repeated until no significant peaks are observed, and all scans are aligned as shown in
Figure 4. Therefore, the electrodes were first pretreated by cycling a potential window between −1.5 V and 1.5 V at a scan rate of 100 mV/s in 0.1 M H
2SO
4 for 10 cycles.
The SPEs were then washed in deionized water and dried at room temperature under nitrogen gas. MIP films were electro-synthesized by applying a voltage from 0 to 0.9 V at a scan rate of 50 mV/s in a solution containing 1 M pyrrole and 0.5 M NaNO3, and it is voltametrically characterized for 10 cycles. As the polymer binds nitrate molecules, they move towards the working electrode and get adsorbed onto the polymer matrix.
After polymerization, the nitrate molecules were then removed from the conducting polymer matrix to create surfaces that were complementary in both shape and functionality to that of nitrate molecules. The nitrate templates were then extracted by immersing the MIP in 70% ethanol solution for 30 min to induce elution. The same procedure of electro-polymerization followed by elution was carried out to fabricate a non-imprinted polymer (NIP) but without the nitrate. The modified MIP and NIP electrodes were then left to dry under nitrogen gas and stored at room temperature. For the electrochemical detection of nitrate by MIP sensors, 5 µL of the analyte solution was drop-casted on the working electrode surface for 30 min at room temperature to allow the analyte to bind with the template sites. Later the sensor is placed under DI water to remove excess or unbound nitrate ions. During electrochemical analysis, the sensor was immersed in 5 mM ferri–ferro solution at room temperature, and a CV scan was performed by applying a voltage between −1 V and 1 V at a scan rate of 50 mV/s. A similar protocol was followed for the fabrication of phosphate sensors.
3.4. Electrochemical Characterization
The electrochemical behavior during the stepwise fabrication of the nitrate and phosphate MIP sensor was carried out in 5 mM potassium ferricyanide and potassium ferrocyanide solution by following a similar protocol performed by our team [
21]. However, in order to facilitate real-time and direct sensing, the calibration curve was obtained by using nitrate and phosphate standard solutions instead of ferri–ferro solution. The typical cyclic voltammetry scans obtained for different concentrations of nitrate ranging from 1 M to 100 µM in water using nitrate MIP sensors at 50 mV/s are shown in
Figure 5A. The figure shows an electrochemical current response whose magnitude increases as the nitrate concentrations increase. This increase in current response is due to the binding of the analyte molecules to the MIP sites, which facilitates electron transport between the electrode and the solution. The inset in
Figure 5A shows a calibration curve correlating the current response magnitude with nitrate concentrations. Based on the cathodic peak current observed at 0.8 V, the calibration curve indicates a shift in the current at higher concentrations. This suggests saturation of the MIP sensor and potential unreliability. Hence, the voltammetry scans that were obtained for minute concentrations of nitrate solutions are shown in
Figure 5B. At lower concentrations, a more pronounced trend in the linearity of the current was observed. This indicated that at 0.8 V, the straight fit showed a stronger correlation with the nitrate concentration, with an accuracy of R
2 = 0.9906.
Similarly, for the phosphate, the MIP sensor was again directly immersed in the phosphate solutions of different concentrations from 1 to 100 µM. The redox curve, as shown in
Figure 6A, appears insignificant at different phosphate dilutions. When plotting the fit of the curve, a parabola was obtained, indicating the sensor was getting saturated and was unreliable at higher concentrations. Hence, voltammetry scans for further dilutions ranging from 10 µM to 200 µM were obtained by applying a voltage from −1 to 1 V at a scan rate of 50 mV/s (
Figure 6B). The magnitude of electrochemical current responses increases with increasing phosphate concentrations, as shown in
Figure 6A. This increase in current response can be explained by the fact that analytes are bound to the MIP sites, facilitating electron transport between the electrode and the solution, thus increasing the current response. The inset in
Figure 6B shows a calibration curve correlating the current response magnitude with phosphate concentrations. At 1 V, the straight fit showed a stronger correlation with phosphate concentration, with an accuracy of R
2 = 0.9901.
In both cases, a high correlation coefficient indicates a strong linear relationship between the magnitude of the electrochemical current responses and the analyte concentrations. This suggests that the calibration curve can accurately measure the nitrate and phosphate concentrations based on the current response magnitude. This makes it a reliable method for quantifying nutrient levels in the solution.
3.5. Nutrient Analysis in Soil Samples
Three different soil samples were collected, consisting of agricultural organic garden soil, wetland soil, and beach volleyball court soil. Organic garden soil was chosen because of its rich organic matter content and high nutrient levels that are added during each growing season. The wetland soil sample is characterized by its high moisture content and high levels of organic material, supporting a diverse ecosystem of wetland plants and organisms. The beach volleyball court soil sample is composed of well-drained, fine sand particles and is free of organic matter, providing a firm and stable surface for beach volleyball games. All soil samples were weighed to 1gm each and diluted in 15 mL of DI water without any filtration or pretreatment. The nitrate MIP sensor was placed in the soil solution to measure the nitrate concentration, and a constant voltage of −1 to 1 V was applied at the scan rate of 50 mV/s as shown in
Figure 7.
Similarly, a phosphate MIP sensor was placed directly into the soil solution to measure the phosphate concentration. The cyclic voltammetry scans were performed by applying the same voltage of −1 to 1 V at a 50 mV/s scan rate. By obtaining peak currents at 0.8 V and 1 V for nitrate and phosphate, respectively, for all soil samples, the corresponding concentration is shown in
Table 1.
3.6. Nutrient Measurement Using Standard Methods
To validate the accuracy of the developed sensor to that of the laboratory standard methods, soil nutrients were tested commercially by sending out the soil samples to the LSU soil laboratory. The three soil samples were first dried to remove moisture content and sieved passing through a 2 mm mesh. The concentration of inorganic phosphate was obtained from ICP-MS using Melich 3 extractable phosphate solutions and are tabulated in Table (T2). Similarly, the total nitrogen and carbon content was obtained using a C:N analyzer is tabulated below. A comparison of the nitrate and phosphate concentration from the MIP sensor with that obtained from laboratory standard testing methods is tabulated in
Table 2. In the case of nitrogen, the result obtained from the standard method was with respect to total nitrogen, whereas the sensor detected the plant available nitrate nitrogen. However, for phosphate, both methods gave the results of inorganic phosphate level. On comparing them, the phosphate sensor yielded a standard deviation of 16.09, 84.57, and 0.97 ppm for organic garden soil, wetland soil, and beach volleyball court soil, respectively, indicating relatively higher accuracy of the sensor. The percentage carbon content in each soil type represents the organic matter content in the soil.
3.7. Nutrient Leaching in Different Soil Types
Nutrient leaching in different soil types is a major issue for agricultural productivity. It can lead to nutrient deficiencies in crops, thus reducing yields. It also contributes to the contamination of surface and groundwater, which can lead to environmental problems. Hence, the developed MIP sensor was used to measure nutrient leaching in different soil types. For this study, again the three soil samples that were collected from the organic garden, wetlands, and beach volleyball court were used. Next, 2 gm of each soil sample was weighed and diluted in 14 mL of DI water. Each sample was then placed in a table shaker at a constant speed of 500 rpm for 5 min to release bound nutrients and other minerals from the soil particles. Then, the nitrate and phosphate concentration of each soil was measured by scanning the cyclic voltammetry from −1 to 1 V at a 50 mV/s scan rate. The peak currents were taken to calculate the concentration of the analyte. Then, 5 mL of the soil solution was removed and refilled with DI water until the 14 mL mark. The sample was again placed in the ultrasonic bath, and the previous steps were repeated four more times to obtain a total of five washes of soil samples.
The voltammograms produced by the leaching of nitrate and phosphate from various soil samples are shown in
Figure 8. The initial nitrate concentration in the wetland soil was notably high at 330 µM during the first wash, dropping significantly to 80 µM in subsequent washes (
Figure 8A). It was observed that the organic garden soil displayed a similar trend, with an initial concentration of 180 µM during the first wash followed by a substantial reduction in the following washes. This phenomenon can be attributed to the anionic nature of nitrate, which shares the same charge as the soil surface, facilitating its movement with soil water into groundwater [
33]. However, the beach soil, which was expected to be nitrate-free, exhibited negligible levels of 10 µM within all washes, showing that it contains no nitrates. Therefore, it is imperative to understand the basic characteristics of nitrates and their movement in order to effectively mitigate their environmental impact.
In the case of phosphates, the soil samples were placed in an ultrasonic bath, applying a constant frequency for 5 min to release the phosphate and other bound minerals from the soil particles. The cyclic voltammogram for the three soil samples by applying a voltage of −1 to 1 V at a 50 mV/s scan rate is shown in
Figure 8B. It is evident that organic garden soil had higher phosphate concentrations than wetland soil. This indicates that organic garden soil accumulates more phosphate than wetland soil, which could be the result of organic fertilizers being used and mineralization of organic matter [
34]. While studying nutrient dynamics in organic garden soil, the phosphate concentration was 1700 µM during the first wash, gradually decreasing to 1400 µM, 1150 µM, 900 µM, and 800 µM in subsequent washes. However, the phosphate levels in the wetland soil remained relatively stable throughout consecutive washes, averaging around 1000 µM. This suggests that the wetland soil has a lower phosphate leaching, possibly due to wetland ecosystems’ natural filtration and nutrient cycling processes [
35]. Moreover, in the beach soil, the phosphate concentration was 180 µM during the first wash and showed gradual reduction in the subsequent washes. This implies that phosphate exhibits strong adsorption with the soil particles in the presence of soil minerals, organic matter, and other free metal ions [
36]. The strong binding of phosphate is facilitated by the formation of covalent bonds between phosphates and the oxide surfaces [
37]. There is thus a possibility of phosphorus being effectively adsorbed onto soil particles, which will remain available for plants to take up. Conversely, high surface runoff may result in phosphorus loss from the soil, subsequently decreasing its productivity and fertility. Hence, an MIP sensor can help detect nutrient availability for plant uptake while optimizing fertilization and minimizing environmental degradation.
3.8. Degradation and Repeatability
The sensors are evaluated for their stability and degradability under laboratory conditions. For this MIP, nitrate and phosphate sensors were fabricated and assessed using known concentrations of 200 µM nitrate and 500 µM phosphate. The sensors were scanned consecutively each week to test for degradation. The nitrate sensor degraded faster after the second week (
Figure 9A). The phosphate sensor, on the other hand, was stable for up to two weeks of use and gradually started to degrade, as shown in
Figure 9B. The results showed that the nitrate sensor was more susceptible to degradation than that of the phosphate sensor.
A controlled fabrication process was adopted to evaluate the repeatability of the sensor. A total of five sensors were freshly prepared to detect 300 µM of nitrate and phosphate. On the basis of the current response data, the relative standard deviation (RSD) was found to be 13.5% and 8.2% for nitrate and phosphate, respectively, indicating that the sensor is repeatable (
Table 3).