Introduction

Mango (Mangifera indica L.) is a fruit grown worldwide, especially in Southeast Asia. It ranks 5th in fruit production with 27 million tons annually. The pulp makes up 33%–85% of the fruit and was used in various products, while the peels, around 7%–24%, was considered waste1. The poor management and large quantities of waste can easily lead to resource degradation and environmental problems2. Creating novel nanomaterials from mango peels waste for variety application is a strategic and cost-effective way to reduce those problems, and it is a successful approach of ‘waste to wealth’3, 4, 5. Moreover, structural carbohydrates such as pectin and cellulose, which are abundant in mango peels, contribute to its high carbon content, making it potential precursors for carbon quantum dots (CQDs)6, 7, 8, 9. CQDs belong to the group of zero-dimensional nanostructure materials with a diameter below 10 nm in size10, 11, known for their unique traits including tunable photoluminescence properties, low toxicity, excellent biocompatibility, high photostability, good water solubility, environmental friendly, high quantum yield, and easy surface modification12, 13, 14, 15, 16, 17, 18.

In recent years, several studies have reported the successful derivation of CQDs from mango peels with an average particle size ranging from 3 to 8 nm, which is consistent with the standard size of CQDs which is generally below 10 nm1, 6, 8, 9, 19, 20. Furthermore, the production of CQDs from mango peels have been demonstrated by using various synthesis approaches, such as microwave6, carbonization1, and hydrothermal methods7, 8, 19. Among these methods, hydrothermal is the most commonly used due to its advantages such as straightforward manipulation, high yield, consistent output, low air pollution, and low energy use20, 21, 22, 23, 24, 25, 26, 27. The hydrothermal synthesis method produces CQDs smaller than 10 nm by heating a precursor solution in a teflon-lined autoclave under controlled temperature and pressure conditions, as reported by previous studies28, 29, 30. Moreover, hydrothermal synthesis aligns with green synthesis concept as it uses water as a solvent, operates under moderate temperatures, and no harmful chemicals used26. However, most previous papers involved prolonged reaction time to derived CQDs from mango peels. For instance, Malitha et al.19 and Ponnusamy et al.7 used synthesis durations of 10 and 6 h, respectively, yet provided limited insight on how synthesis time influences optical properties. Therefore, examining the effect of synthesis time is crucial to better understanding the relationship between reaction conditions and optical properties of mango peel-derived CQDs.

Over the past few years, CQDs from mango waste have been explored in various applications such as active packaging7, photocatalytic activity19, 31, bioimaging6, 9, 32, 33, and optical sensing8, 9, 34. For optical sensing applications, detection of heavy metal ions such as Fe2 + 34, 9 and pesticides like mesotrione8 have been examined by using CQDs from mango waste. Nevertheless, the application of mango peels-derived CQDs in other pesticides detection remains largely unexplored, particularly diazinon. Diazinon is an extensively utilized organophosphate pesticide applied to control pests in agriculture, but its residues can pose a harmful threat to humans, animals, and environment35, 36, 37. Considering the hazardous effects of diazinon, a sensitive and reliable detection method is urgently needed38.

To address this need, surface plasmon resonance (SPR) has emerged as highly sensitive, label-free, and real time monitoring optical sensing methods39, 40, 41, 42, 43, 44, 45, 46. SPR refers to the simultaneous oscillation of free electrons at the interface between metal and dielectric material developed by incident light11, 47, 48. This phenomenon is commonly observed by using Kretschmann configuration, where the change in refractive index near the metal surface is monitored under total internal reflection conditions48, 49. Previous studies have incorporated various materials to enhance SPR performance for diazinon detection, including polyclonal goat anti-rabbit50, pyrimidine51, and thiocholine with acetylcholinesterase52, capable to detect it down to nanomolar range50, 52. However, to the best of our knowledge, the integration of carbon-based materials with SPR for diazinon detection has not yet been explored, particularly CQDs. Therefore, in this research, the deposition of mango peels-derived CQDs onto a gold thin film as the sensing layer in SPR for the detection of diazinon will be fabricated for the first time. This present work evaluates the potential of SPR-based platform for the detection of diazinon using mango peels-derived CQDs as the surface modification layer. In addition, this work focuses on the green synthesis of CQDs using a short reaction time and relatively low temperature to minimize energy consumption while maintaining sustainability. The optical properties of the CQDs will be characterized by using photoluminescence (PL) and ultraviolet–visible (UV-Vis) spectroscopy, and compared across different synthesis durations, whereas structural characterization will also be conducted by using transmission electron microscopy (TEM) analysis, Fourier transform infrared (FTIR) spectra and atomic force microscopy (AFM) analysis to support and validate the experimental findings.

Materials and methods

Materials and reagents

Mango peels were collected from a nearby mango juice seller in Sri Serdang, Selangor and deionized water (DW) from the water purification system (Model: Direct Q 3UV) (Merck, Germany). PTFE lined stainless steel teflon autoclave (100 mL) was obtained from Nanjing Shuishan Technology Co., Ltd China. Nylon syringe filters with 0.22 μm were purchased from Labfil, Hangzhou City, Zhejiang, China. A stock solution of diazinon (100 µg/mL) were obtained from Sigma-Aldrich (St. Louis, MO, USA).

Preparation of chemical

DW was used to dilute stock solution of diazinon (0.33 mM) to produce a lower concentration of 0.1 mM by applying dilution formula (M1V1 = M2V2). Then, the 0.1 mM diazinon solution was further diluted to 0.01 mM and the step was repeated until it reached 100, 10, 1, 0.1, 0.1, and 0.01 nM.

Green-synthesis of CQDs derived from Mango peels

Green-synthesis, which is hydrothermal method, was used to derive CQDs from mango peels. The CQDs synthesis procedure was illustrated in Fig. 1. The mango peels obtained were washed thoroughly with tap water to eliminate unnecessary impurities. Then, the washed mango peels were dried in the oven (Memmert UN30, Germany) for 24 h with 80 °C to remove the moisture. The dried mango peels were ground into tinier pieces and then filtered by using sieve of 45 μm. 0.05 g of mango peels powder was weighed and mixed with 50 mL of DW in the teflon autoclave. The hydrothermal process was carried out for 3 h with a temperature of 200 °C. The reacted solution was filtered by using 0.22 μm nylon syringe filter to eliminate any precipitates, large aggregates, and unreacted residues. This fine filtration step has been reported as an effective and practical alternative to dialysis for producing optically clear CQDs dispersions53. These steps will be repeated for 6 h, 9 h, 12 h, and 15 h synthesis time. Subsequently, the sample was placed under ultraviolet light for visual confirmation of its photoluminescence and visually compare its appearance under daylight and ultraviolet light. The purified CQDs were kept in aqueous form for most characterizations to preserve their optical properties and active surface functional groups54. Meanwhile, for FTIR, AFM, and SPR analysis, the gold–CQDs thin film was prepared and air-dried at room temperature for 24 h to ensure a uniform coating and stable surface properties. The solid film was required for FTIR to analyze surface functional groups, for AFM to study surface morphology, and for SPR to evaluate the optical response of the sensor surface55.

Fig. 1
Fig. 1
Full size image

A schematic diagram of hydrothermal method for the synthesis of CQDs from mango peels.

Characterization of CQDs derived from Mango peels

Characterization of synthesized CQDs was carried out using various analytical techniques. Photoluminescence is a process where the emission of luminescence from molecules irradiated with light is detected as a function of wavelength. The photoluminescence intensity against the wavelength spectrum of CQDs were analyzed using a Perkin Elmer, LS 55 Fluorescence Spectrometer (United Kingdom) at excitation wavelengths of 365 nm. The optical absorption spectrum of the synthesized CQDs were obtained using an ultraviolet–visible spectrophotometer (UV-3600, Shimadzu, Japan). The spectrums were recorded in the wavelength range from 200 nm to 600 nm. To study shape, size, and distribution of particle size of CQDs, transmission electron microscope (TEM) (Talos L120C, United States) was used at a voltage of 120 kV. Fourier transform infrared (FTIR) spectra for CQDs were recorded in the transmittance mode using ALPHA II from Bruker, Germany. The model atomic force microscopy (AFM) employed in this work was by Bruker Crest (Billerica, Massachusetts, United States), dimension edge in ScanAsyst peak force tapping mode.

Sensing layer preparation

Firstly, the glass coverslip was cleaned with acetone to remove the dirt and fingerprints marks. Next, by using SC7640 Sputter Coater, a layer of gold thin film with a thickness approximately 50 nm was deposited on the glass substrates. Next, 1 mL of CQDs solution was placed onto the surface of gold thin film and spun at 3000 rpm for 3 s. The schematic diagram representing preparation of gold-CQDs thin film processes was shown in Fig. 2.

Fig. 2
Fig. 2
Full size image

Steps involved in gold-CQDs thin film preparation process.

SPR spectroscopy

As shown in Fig. 3, SPR measurements were carried out using customized setup based on Kretschmann configuration consisting of laser, chopper, polarizer, pinhole, sensor chip, prism, rotating stage, photodiode, lock-in amplifier, stepper motor, and computer. The uncoated glass thin film was attached to one side of the prism using index-matching gel. In this study, two sensing surface configurations are provided, involving gold thin film and gold-CQDs thin film. A monochromatic He-Ne laser (632.8 nm) was used as light source, directed through the prism to excite surface plasmons by interacting with the free electron from the metal surface41, 48. Initially, DW was injected into a hollow sample cell to obtain reference reflectance signal using photo diode and the signal was then analyzed by the lock-in amplifier. Subsequently, diazinon solutions with different concentrations (0.01 to 100 nM) were replaced the DW that was in contact with the sensing surface.

Fig. 3
Fig. 3
Full size image

Schematic diagram of surface plasmon resonance spectroscopy.

Results and discussion

Optical properties

Comparison of CQDs under natural light and ultraviolet light

The visual appearance of the synthesized CQDs under natural and ultraviolet (UV) light was compared to provide an initial indication of their optical properties56. The solutions of CQDs with different synthesized time which are 3, 6, 9, 12, and 15 h were compared to each other and DW under natural light, as depicted in Fig. 4. The results indicated that CQDs synthesized with different times were pale yellow in natural light, while DW remained clear. From the results, it shows that by extending the reaction time beyond the optimal duration reduces the emitting centers, which can potentially cause fading or loss of color in solutions57. Meanwhile, the solution of CQDs exhibited blue fluorescent under UV-light at 365 nm, as illustrated in Fig. 5, whereas DW does not show any fluorescence towards it. The differences between various synthesized time show minimal differences, this shows that further extending the reaction time does not significantly enhance optical properties58. Besides, the longer reaction time causes over-carbonization and photobleaching59, 60, 61.

Fig. 4
Fig. 4
Full size image

CQDs derived from mango peels and DW under natural light.

Fig. 5
Fig. 5
Full size image

CQDs derived from mango peels and DW under UV-light.

Photoluminescence spectroscopy

Photoluminescence (PL) analysis was performed to investigate the optical behavior and size-dependent emission properties of the synthesized CQDs62, 63. The result of PL spectroscopy of CQDs derived from mango peels synthesized over various time of heating of 3, 6, 9, 12, and 15 h were shown in Fig. 6. The PL spectrum was observed at an excitation wavelength of 365 nm, indicating a strong emission in the ultraviolet spectrum64. The recorded emission wavelengths were 441 nm for 3 h, 445 nm for both 6 h and 9 h, 446 nm for 12 h, and 447 nm for 15 h. The PL spectra were normalized to highlight peak shifts independent of intensity effects65. From the results, a consistent 4–6 nm red shift was detected, which exceeded the instrument’s ± 1 nm accuracy, confirming a real optical change linked to gradual bandgap narrowing66, 67. Since the synthesis durations selected (3, 6, 9, 12, and 15 h) were close to each other, the structural evolution was limited, which explained the relatively small wavelength difference68, 69. Additionally, the minimal change in PL intensity indicates stable defect-related emission, which is typical for short incremental synthesis adjustments69, 70. Subsequently, the results showed that 3 h CQDs had the most left-shifted line in the PL graph, which indicated the smallest CQDs size. Based on quantum confinement effect, smaller nanoparticles indicate blue-shifted referring to shorter emission wavelengths, while larger nanoparticles tend to emit at longer emission wavelengths71. As the synthesis time increases, size growth rise67.

Fig. 6
Fig. 6
Full size image

UV-Vis absorbance spectrum and normalized PL spectra of CQDs synthesized from mango peels for 3, 6, 9, 12 and 15 h.

UV-Vis spectroscopy

UV–Vis spectroscopy allowed the determination of optical absorption characteristics of nanoscale materials and provided information on the electronic transitions and surface states of CQDs67, 72. As shown in Fig. 6, an optical absorption of CQDs was recorded ranging from 200 to 600 nm, with absorption peaks at 281 nm (3 h), 288 nm (6 h), 286 nm (9 h), 287 nm (12 h), and 286 nm (15 h), and corresponding absorbance values of 0.80, 0.90, 0.96, 0.97, and 0.99, respectively. The CQDs exhibited peaks in the region of 281 to 288 nm, typically attributed to the characteristic for carbon-based materials, which are π-π* transitions of aromatic sp2  domains (C = C and C–C) and n-π* transition of C = O of graphitic core, which were important for the sensing mechanism as they reflected the active sites that could interact effectively during sensor detection6, 19, 73. As the synthesis time increased, the absorbance intensity rise slightly, indicating gradual carbonization74.

Optical band gap

Optical band gap analysis was carried out to determine the energy difference between the valence and conduction bands of CQDs, thus providing insight into the optical capabilities and electronic properties of the material75. The minimal energy needed to move an outer-shell electron from the valence band to the conduction band was referred to optical band gap44, 76. The correlation between the absorption coefficient (α) and incident photon energy (hv) for the case of indirect transition of mango peels derived CQDs has a characteristic relation77. The Tauc plot approach was proposed to estimate the optical band gap of CQDs from different duration of heating based on the UV-Vis analysis. It is stated as:

$${(\alpha hv)^2}=K\left( {hv - {E_g}} \right)$$
(1)

Where Eg is the optical band gap and K is a constant. Figure 7 (a), (b), (c), (d) and (e) depict the relation between (αhv)2  versus hv for CQDs that are synthesis at different times. The linear portion of the optical absorption curve was extrapolated and indicated that energy band gap value for 3 h, 6 h, 9 h, 12 h and 25 h of CQDs are 3.935 eV, 3.853 eV, 3.844 eV, 3.839 eV and 3.825 eV, respectively.

As can be shown, the calculated band gap values for CQDs synthesized at various times reveal a slight decrease from 3.935 eV (3 h) to 3.825 eV (15 h), indicating that the CQDs are getting bigger due to quantum confinement effect67. The optical band gap is impacted by secondary structural rearrangements resulted in prolonged synthesis times44, 78. Additionally, the absorbance peaks trend in UV-Vis analysis relates to the outcome of the optical band gaps77. High-energy transitions are visible in the absorption peak at lower wavelengths (281 nm in UV-Vis analysis), which correlates to a wider band gap (3.935 eV). The blue shift observed in both UV–Vis absorption and PL spectra indicates the formation of smaller quantum-sized particles with increased band gap energy67, 79, 80.

Fig. 7
Fig. 7Fig. 7Fig. 7
Full size image

Optical band gap for CQDs synthesis of (a) 3 h, (b) 6 h, (c) 9 h, (d) 12 h, and (e) 15 h.

Structural and morphological properties

Transmission electron microscopy

Transmission electron microscopy (TEM) analysis was performed to observe the morphology, size, and dispersion of the synthesized CQDs, providing direct evidence of their nanoscale structure and uniformity81. As illustrated in Fig. 8, TEM was utilized to analyze and confirm the average particle size of CQDs from mango peels that had been heated for 3 h. Moreover, the size distributions of CQDs were depicted in Fig. 9. The CQDs distribution curve revealed that the mean CQDs were 3.54 nm, and the particles were randomly dispersed, with an average particle size ranging from 1.16 to 5.53 nm. This shows that CQDs prepared from mango peels were in nano size range, validating their classification as CQDs79, 82.

Fig. 8
Fig. 8
Full size image

TEM image of CQDs derived from mango peels at 50 nm magnification.

Fig. 9
Fig. 9
Full size image

Size distribution charts of CQDs derived from mango peels.

Energy dispersive X-ray

Energy dispersive X-ray microanalysis (EDX), a technique associated with electron microscopy, was carried out to determine the elemental composition of the CQDs, which works based on the production of characteristic X-rays to identify the elements present in a CQDs sample83. Based on Fig. 10, EDX provides an estimate of the distribution of chemical elements present in CQDs. The sample of mango peels CQDs primarily consist of carbon, which is 97%, with small amounts of oxygen and silicon which are 2.6% and 0.5% respectively. This high carbon purity of the synthesized CQDs from mango peels are primarily made up of graphitic and amorphous carbon58. The oxygen content of 2.6% indicates the presence of oxygen-containing functional groups, such as hydroxyl, carboxyl, and carbonyl on the surface of CQDs19, 84, 85. The existence of small quantity of silicon may be attributed to the natural composition of mango peels, as plant-based precursors often contain trace elements that can be incorporated into the structure of the synthesized CQDs9, 31, 86.

Fig. 10
Fig. 10
Full size image

EDX analysis of CQDs derived from mango peels.

Fourier transform infrared spectroscopy

Fourier transform infrared spectroscopy (FTIR) was used to analyze the functional groups on the surface of CQDs obtained from mango peels of 3 h synthesized, as shown in Fig. 11. This analysis helps to confirm the chemical bonds and elements responsible for surface passivation87. The broad absorption band observed around 3410 cm− 1 corresponds to the stretching vibration of O–H groups, which can enhance electron transportability and hence supports the photocatalytic activity88. The peak at 2931 cm− 1 corresponded to the C–H stretching vibration of aliphatic chains89. The distinct peaks appearing at 1664 cm− 1 and 1589 cm− 1 were attributed to the C = O and C = C stretching vibrations, respectively, suggesting the existence of carbonyl and conjugated carbon structures within the CQD framework7, 85. Meanwhile, the absorption peaks at 1450 cm⁻¹, 1114 cm⁻¹, and 1046 cm⁻¹ correspond to C–O stretching vibrations, confirming the presence of oxygen-containing functional groups such as carboxyl or epoxy moieties85. Additionally, the weak peak near 666 cm⁻¹ can be assigned to the C–H bending vibration90. These results demonstrate that the CQDs surface contains abundant hydroxyl, carbonyl, and carboxyl functional groups, which enhance their hydrophilicity and facilitate further interactions with metallic or biological surfaces, properties that are advantageous for optical sensing and surface modification applications85, 91, 92, 93, 94.

Fig. 11
Fig. 11
Full size image

FTIR pattern of 3 h synthesized CQDs from mango peels.

Atomic force microscopy

The surface morphology and roughness of gold and gold-CQDs thin films were obtained using atomic force microscopy (AFM) operated in tapping mode. Figure 12 (a) and (b) reveal the two-dimensional (2D) and three-dimensional (3D) images of gold and gold-CQDs thin films, respectively. The gold thin film exhibited a uniform surface with defined grain structures95, and the root mean square (RMS) roughness was measured to be approximately 0.71 nm. In contrast, the gold-CQDs thin film displayed a more textured and granular surface due to the incorporation of spherical CQDs distributed across the gold layer, resulting in an increased RMS roughness of about 1.02 nm, indicating successful surface modification96.

Fig. 12
Fig. 12
Full size image

AFM analysis of (a) gold thin film and (b) gold-CQDs thin film.

Sensing properties

SPR signal for diazinon on gold thin film

A preliminary SPR test was carried out for different concentration of diazinon ranging from 0 nM to 100 nM by using gold thin film, as depicted in Fig. 13. Firstly, DW was injected into the cell as reference solution (0 nM) and gave a resonance angle value of 53.623º. After that, the SPR experiment was continued using different concentrations of diazinon (0.01–100 nM). The resonance angle for other diazinon concentrations in contact with the bare gold thin film remained constant, as seen by the data displayed in Table 1. This may be attributed to the similar refractive index between DW and all diazinon concentrations tested, particularly at lower concentration49. Moreover, the bare gold thin film exhibited negligible response due to the absence of reactive sites for molecular interaction, further confirming the crucial role of CQDs in enabling effective diazinon detection through SPR mechanism97, 98, 99.

Fig. 13
Fig. 13
Full size image

The curves of SPR reflectivity of gold thin film exposed to diazinon solution of concentrations between 0 to 100 nM.

Table 1 Resonance angle and resonance angle shift of gold thin film for detection of diazinon (0.01 nM – 100 nM).

SPR signal for diazinon on gold-CQDs thin film

The SPR measurements to detect diazinon was continued after replacing gold thin film with gold-CQDs thin film. To create the baseline for the SPR response curve, the gold-CQDs thin film was initially evaluated using DW, then were proceeded by injection of 0.01, 0.1, 1, 10, and 100 nM of diazinon aqueous solution one at a time in the hollow cell. In the case of DW in contact with gold-CQDs sensing layer, the SPR angle was 53.830º which is a bit higher than the bare gold thin film. This could be attributed to the role of CQDs as an active layer in SPR which might be able to change the refractive index of the sensing layer47, 48. Meanwhile, the resonance angle for diazinon concentrations of 0.01, 0.1, 1, 10, and 100 nM were 53.859º, 53.876º, 53.889º, 53.918º, and 53.924º, respectively. As illustrated in Fig. 14, the SPR curves have been shifted to the right when the concentration of diazinon increased. This indicates that the resonance angle increases with increasing diazinon concentration, most likely as a result of an increase in the refractive index of the solution49, 100. Additionally, this shift might have occurred as diazinon molecules interacted with the hydroxyl (–OH) and carbonyl (C = O) groups on the CQDs surface through hydrogen bonding and dipole-dipole interactions101, 102. The PL, UV–Vis, and FTIR results confirmed these surface functional groups and π–π* transitions, while TEM analysis showed CQDs smaller than 10 nm, providing a high surface area that enhanced adsorption, as stated in characterization section. Moreover, the polar P = O and C–N bonds in diazinon further facilitated hydrogen bonding and π–π stacking with CQDs53, 101, 103, leading to a measurable resonance angle shift. Besides, the lowest concentration of target solution that can be obtained from the baseline signal sensor known as the limit of detection (LOD)49, 104. Therefore, the LOD for detection diazinon based-SPR sensor by using gold-CQDs thin film is 0.01 nM.

To analyze the sensing parameters of the SPR sensor, it is necessary to measure the resonance angle shifts at varying concentrations of diazinon. Based on data from Table 2, the shift of the resonance angle was calculated by subtracting the resonance angle of different concentration of diazinon with the resonance angle of DW. The sensitivity of this sensor can be determined by plotting the resonance angle shift against the concentration of diazinon as shown in Fig. 15. To further evaluate the reproducibility, the SPR sensing measurements were repeated five times under identical experimental conditions. The resulting data, presented with error bars representing the standard error of the mean, showed small deviations, indicating consistent performance105. From the linear regression analysis, a slope of 0.0153 was obtained with a correlation coefficient of R² = 0.99597, for the diazinon concentration range from 0.01 nM to 100 nM. Ultimately, the gold-CQDs thin film based SPR sensor demonstrated the ability to detect diazinon at a minimum concentration of 0.01 nM, with a sensitivity of 0.0153º nM-1.

Fig. 14
Fig. 14
Full size image

The curves of SPR reflectivity of gold-CQDs thin film exposed to diazinon solution of concentrations between 0 to 100 nM.

Table 2 Resonance angle and resonance angle shift of gold-CQDs thin film for detection of diazinon (0.01 nM – 100 nM).
Fig. 15
Fig. 15
Full size image

Resonance angle shift of gold-CQDs thin film for sensing diazinon (0–100 nM).

Furthermore, to better understand the performance of the developed sensor, a comparison with previously reported SPR and plasmonic sensors for diazinon detection was conducted, as summarized in Table 3. In earlier studies, metallic nanoparticles, enzymes, and antibodies were commonly employed as recognition or sensing elements to achieve sensitivity. However, these materials often require complex preparation procedures, involve higher costs, and exhibit limited long-term stability97, 106. In contrast, the gold–CQDs thin film synthesized from mango peels through a green synthesis method in this work achieved a low limit of detection (0.01 nM) with a suitable linear range (0–100 nM). This finding suggests that the integration of gold nanoparticles with CQDs derived from natural precursors can enhance the optical response while providing a stable, reproducible, and environmentally friendly sensing platform for diazinon detection.

Table 3 Comparison of diazinon detection performance of SPR and plasmonic-based sensors.

Conclusion

In summary, simple, cost-effective, and green synthesis of CQDs derived from mango peels have been designed in this study. These findings show that CQDs synthesized at 3 h exhibited the most optimal optical properties, showing strong and stable photoluminescence emission at 441 nm, a distinct π–π* transition peak in the UV–Vis spectrum around 281 nm, and the highest optical band gap value of 3.935 eV, confirming that a short synthesis time was sufficient to produce high-quality CQDs, and was therefore selected for further structural characterization. TEM displayed that the average size of CQDs derived from mango peels was 3.54 nm, confirmed the size of CQDs which is less than 10 nm. Besides, EDX analysis indicated a high carbon content of 97% with minimal impurities. The occurrence of C = O, C = C, C–H, C–O, and O–H functional groups further verified the successful formation of CQDs. The increase in RMS roughness from 0.71 nm to 1.02 nm confirmed that CQDs were successfully deposited on the gold thin film surface. Eventually, the prepared gold-CQDs thin film served as sensing layer in a SPR system, CQDs significantly improved sensor performance, enabling the detection of diazinon solutions at very low concentrations. The developed sensor recorded a LOD as low as 0.01 nM, and a sensitivity as high as 0.0153º nM− 1, thus proving the effectiveness of CQDs as sensing layer materials in SPR application. Hence, the results of this study highlight the potential use of gold-CQDs thin film to enhance the sensitivity of the SPR sensor for diazinon detection.