The Role of N and S Doping on Photoluminescent Characteristics of Carbon Dots from Palm Bunches for Fluorimetric Sensing of Fe3+ Ion

This work aims to enhance the value of palm empty fruit bunches (EFBs), an abundant residue from the palm oil industry, as a precursor for the synthesis of luminescent carbon dots (CDs). The mechanism of fIuorimetric sensing using carbon dots for either enhancing or quenching photoluminescence properties when binding with analytes is useful for the detection of ultra-low amounts of analytes. This study revealed that EFB-derived CDs via hydrothermal synthesis exceptionally exhibited luminescence properties. In addition, surface modification for specific binding to a target molecule substantially augmented their PL characteristics. Among the different nitrogen and sulfur (N and S) doping agents used, including urea (U), sulfate (S), p-phenylenediamine (P), and sodium thiosulfate (TS), the results showed that PTS-CDs from the co-doping of p-phenylenediamine and sodium thiosulfate exhibited the highest PL properties. From this study on the fluorimetric sensing of several metal ions, PTS-CDs could effectively detect Fe3+ with the highest selectivity by fluorescence quenching to 79.1% at a limit of detection (LOD) of 0.1 µmol L−1. The PL quenching of PTS-CDs was linearly correlated with the wide range of Fe3+ concentration, ranging from 5 to 400 µmol L−1 (R2 = 0.9933).


Introduction
Metal ions such as iron, copper, zinc, and selenium are crucial elements in biological systems that fulfill and play a vital role in several pathological and physiological processes, consisting of enzyme catalysis, oxygen transport, RNA synthesis, cellular metabolism, etc. [1][2][3]. The precise sensing of metal ions leads to more accurate diagnosis of some severe noncommunicable diseases such as Alzheimer's disease. There is evidence that iron, even in trace amounts, can cause the presence of magnetite in the brains of people affected by Alzheimer's. The magnetite found in the abnormal protein clusters known as amyloid plagues is symptomatic of this disease, and the putative role of magnetite is to cause neuro-generative diseases [4]. Several analytical techniques have been established to determine the concentration of Fe 3+ , including UV-vis spectrophotometry [5,6], atomic absorption spectrometry (AAS) [7], and inductively coupled plasma mass spectrometry (ICP-MS) [8,9]. However, these techniques require laborious sample preparation procedures, e.g., complexation and digestion, as well as sophisticated instrumentations, which have hindered their practical applications to in situ and on-time detection.
Lately, the fluorescence assays using transition metal chalcogenide-based quantum dots (QDs) or fluorophores have been found as an effective and sensitive sensing approach providing high sensitivity and rapid response for the detection of metal ions and organic analytes using the excitation of light at a specific wavelength [1,5,9]. Additionally, this technique is simple and more applicable if one can adjust the excitation wavelength to nearvisible light, which is more healthful and requires only an unsophisticated light source such as light-emitting diode [10]. For this reason, most recently, carbon quantum dots (CQDs), which are a new class of QD having high biocompatibility, nontoxicity, and high sensitivity for nanocatalytic reactions, have emerged and been utilized as exceptional fluorophores [11]. It is claimed that carbon dots (CDs) have intrinsic abilities regarding tunable fluorescence excitation and emission properties and high surface functionality to enhance their affinity toward metal ions. Thus, numerous efforts have been made on the functionalization and passivation of organic molecules at the edge or heteroatom incorporated into CD structures for energy and sensing applications [12,13]. Most recently, CDs conjugated with metals, e.g., lanthanides (e.g., Tb [14]), were reported for their ratiometric temperature sensing ability.
It was reported that the optical properties of CDs for both emission and excitation wavelengths, as well as fluorescence intensity, could be adjusted by doping with some elements [15], such as nitrogen (N-doped), sulfur (S-doped), phosphorus (P-doped), boron (B-doped), or a combination of these elements called heteroatom doping. The influence of doping elements on CDs is due to the alteration of orbital energy levels between the lowest unoccupied molecular orbitals, or LUMO, and the highest occupied molecular orbitals, or HOMO. Electron charges are randomly distributed in the doped CDs. The electrons in the HOMO can be excited to the LUMO, which enhances the CD fluorescence [16]. This means that doped CDs can be employed for highly sensitive sensing for the detection of metal ions.
The precise monitoring of biological pathways, which is a very important diagnosis strategy, necessitates the detection of Fe 3+ at low concentration levels. Therefore, in this research, we aim to study the ability of CDs derived from oil palm empty fruit bunches (EFBs) to detect metal ions. Homoatom CDs with oxygen functionalization using a onepot hydrothermal approach are first used. Afterward, the influence of various types of nitrogen (N) dopants (i.e., urea and p-phenylenediamine), sulfur (S) dopants (i.e., sulfate and thiosulfate), and different concentrations of N and S dopants on optical and structural properties of CDs are investigated. Fluorimetric sensing of metal ions using NS/CDs is conducted at a very low concentration of metal ions, and the results from the kinetic study are discussed accordingly.

Synthesis and Characterization of CDs under Hydrothermal Conditions and Effect of Different Dopants on CD Properties
The synthesis of CDs from EFBs using a hydrothermal reaction was successfully conducted at 220 • C for 6 h. After careful separation and purification, CDs having spherical morphologies with an average diameter of 10.3 ± 3.1 nm were obtained, as demonstrated in Figure 1A,B. As shown in Figure 1C, the CDs exhibited excellent excitation-independent PL characteristics between the excitation wavelengths of λ Ex = 240 nm and 360 nm. The maximum emission wavelength was demonstrated at λ Em = 424 nm when excited at λ Ex = 340 nm. After surface passivation using various types of nitrogen or nitrogen and sulfur atoms by using one-pot synthesis, dramatically enhanced PL intensity of the CDs was achieved, particularly when the nitrogen passivating agent was a mixture of p-phenylenediamine (P), and the sulfur passivating agent was sodium thiosulfate (TS), named as PTS-CDs ( Figure 1D). A two-fold PL intensity of the PTS-CDs was obtained when compared with neat CDs and U-CDs and more than three-fold PL intensity of urea sulfate (US-CDs) and solely p-phenylenediamine (P-CDs). The inset of Figure 1D demonstrates that CDs doped with a mixture of p-phenylenediamine and sodium thiosulfate (PTS-CDs) exhibited the strongest PL intensity with a green fluorescent emission (λ Em = 476 nm) from the excitation wavelength at 260 nm, which corresponded to a maximum QY of 48%, while neat CDs gave 39% QY. It was reported that CD defects due to the passivation process could provide heteroatoms acting as excitation energy traps and have an impact on the photoluminescence of CDs. Particularly, the sulfur atoms in CDs were found to play a crucial role as catalysts for an oxidation-reduction reaction; thus, the presence of a sulfur heteroatom presumably introduces more dense, passivated surface defects on CDs and further enhances CD photoluminescence. Therefore, PTS-CDs are promising and highly sensitive photonic sensing agents for further application using either a turn-on or turn-off fluorescent performance of CDs. in Figure 1A,B. As shown in Figure 1C, the CDs exhibited excellent excitation-independent PL characteristics between the excitation wavelengths of λEx = 240 nm and 360 nm. The maximum emission wavelength was demonstrated at λEm = 424 nm when excited at λEx = 340 nm. After surface passivation using various types of nitrogen or nitrogen and sulfur atoms by using one-pot synthesis, dramatically enhanced PL intensity of the CDs was achieved, particularly when the nitrogen passivating agent was a mixture of p-phenylenediamine (P), and the sulfur passivating agent was sodium thiosulfate (TS), named as PTS-CDs ( Figure 1D). A two-fold PL intensity of the PTS-CDs was obtained when compared with neat CDs and U-CDs and more than three-fold PL intensity of urea sulfate (US-CDs) and solely p-phenylenediamine (P-CDs). The inset of Figure 1D demonstrates that CDs doped with a mixture of p-phenylenediamine and sodium thiosulfate (PTS-CDs) exhibited the strongest PL intensity with a green fluorescent emission (λEm = 476 nm) from the excitation wavelength at 260 nm, which corresponded to a maximum QY of 48%, while neat CDs gave 39% QY. It was reported that CD defects due to the passivation process could provide heteroatoms acting as excitation energy traps and have an impact on the photoluminescence of CDs . Particularly, the sulfur atoms in CDs were found to play a crucial role as catalysts for an oxidation-reduction reaction ; thus, the presence of a sulfur heteroatom presumably introduces more dense, passivated surface defects on CDs and further enhances CD photoluminescence. Therefore, PTS-CDs are promising and highly sensitive photonic sensing agents for further application using either a turn-on or turn-off fluorescent performance of CDs. Surface passivation was also indicated by zeta potential, which represents the density of surface charges of CDs. The stability of CDs in an aqueous solution without aggregation Surface passivation was also indicated by zeta potential, which represents the density of surface charges of CDs. The stability of CDs in an aqueous solution without aggregation can also be demonstrated by zeta potential. The more value shown, the better stability and greater electrostatic repulsion force among each nanoparticle. As shown in Figure 1E, the zeta potential of every sample exhibited negative-charged values mainly due to hydroxyl groups and carboxylic groups on the surface of the material [17]. Considering in detail, the zeta potential of the CDs was −14.6 mV, and a reduction in the negative zeta potential was observed for nitrogen-doped CDs, e.g., U-CDs (−13.10 mV) and P-CDs (−10.27 mV). The reason was due to the balance of positive charges derived from amine groups in urea and p-phenylenediamine, which caused a net balance of charges at a neutral state, resulting in fewer negatively charged U-CDs and P-CDs on the surface. In contrast, an increase of negative surface charges was achieved in the case of PNa-CDs, and US-CDs in which thiosulfate (S 2 O 3 2− ) and sulfate (SO 4 2− ) triggered −18.5 and −18.2 mV zeta potentials, respectively. The results showed a good agreement with the values previously reported for carboxylic acid (COOH)-coated CDs [18].
From HRTEM image analysis of surface-passivated CDs, which were US-CDs and PTS-CDs, as shown in Figure S1, US-CDs and PTS-CDs had identically spherical shapes with a narrow range of diameter similar to CDs ( Figure 1A,B). All the synthesized materials were uniform and distributed without aggregation. However, a significant change in the average diameter and morphology of US-CDs and PTS-CDs compared with neat CDs synthesized from EFBs via hydrothermal reaction was found. The average diameters of US-CDs and PTS-CDs decreased substantially compared to CDs. The reason was mainly due to the oxygen reduction enhancement of the precursor due to an amine group. Thus, a highly graphitic carbon structure was obtained after urea and sulfate doping (US-CDs), and an even more graphitic structure when doping with p-phenylenediamine and thiosulfate (PTS-CDs), resulting in a more rigid spherical shape of the CD particles. The neat CDs, US-CDs, and PTS-CDs synthesized at 220 • C for 6 h were 10.3 nm, 7.3 nm, and 2.5 nm in average diameter, respectively. No lattice fringe was observed for neat CDs, indicating an amorphous structure with a high I D /I G ratio of 2.63 ( Figure 1F). Nevertheless, the carbon lattice fringes were mostly found in US-CDs and PTS-CDs at the synthesis conditions (220 • C, 6 h), as illustrated in Figure S1. The HRTEM images revealed the strip-like structure of US-CDs and PTS-CDs with lattice spacings of 0.24 and 0.21 nm, respectively, which corresponded to the (100) diffraction facet of graphitic carbon, which has lattice spacing between 0.21 and 0.24 nm [19]. The HRTEM image analysis, thus, implies that the PTS-CDs and US-CDs possessed highly graphitic carbon structures in a respective degree according to the Raman spectroscopic analysis with I D /I G of 0.61 and 1.52, respectively ( Figure 1F). This information indicates that co-doped nitrogen and sulfur CDs (PTS-CDs and US-CDs) were composed of a graphitic sp 2 carbon atom and sp 3 carbon defects [20] in different quantities, presented by an integrated peak area, as shown in Figure S2.
The surface state of CDs, US-CDs, and PTS-CDs was identified using an XPS technique, as shown in Figure 2. There were two typical peaks for neat CDs representing O1s and C1s at 532 and 400 eV, respectively (Figure 2A), while nitrogen-and-sulfur-doped CDs (US-CDs and PTS-CDs) consisted of common four XPS peaks at 532, 400, 286, and 164 eV, representing the O1s, N1s, C1s, and S2p shown in Figure 2B and 2C, respectively. In detail, the highly resolved XPS spectrum of C1s of CDs ( Figure 2A) prominently exhibited three peaks of C1s states in O-C=O, C-O, and C-C/C=C at binding energies of 288.7, 286.8, and 284.6 eV, respectively, as illustrated in Figure 2(A2). In the case of N-and-S-passivated CDs (US-CDs and PTS-CDs), four deconvoluted C1s peaks were observed. US-CDs and PTS-CDs consisted of four C1s peaks of aforementioned 286.8 eV (C-O) and 284.6 eV (C-C/C=C), including resolved peaks at 285.7 eV assigned to C-N/C-S states and the peak at 288.7 eV attributed to C=N on the surface state, as illustrated in Figure 2B2,C2, respectively. The O1s spectrum ( Figure 2C) of all CD, US-CD, and PTS-CD samples can be separated into three peaks, unveiling three oxygen states of C=O at 531.0 eV, C-O-C at 531.7 eV, and O=C-O at 532.8 eV. The highly resolved spectrum of the N1s of US-CDs and PTS-CDs showed the N1s XPS spectra corresponding to N-H, C-N-C, and N=C at binding energies of 401.3, 399.9, and 398.7 eV, respectively ( Figure 3B4,C4). The deconvoluted S2p spectra of US-CDs and PTS-CDs ( Figure 2B5,C5) display the presence of C-SO x (x = 2-4) species, of which the binding energies were between 168.7-169.85 eV [21,22]. As presented in Figure 2C5, the thiosulfate (S 2 O 3 2− ) dopant gave a typical sharp spectrum of S2p at 163-164.7 eV different from the sulfate (SO 4 2− ) dopant, which gave a solely typical S2p peak at 168-169.5 eV, resulting in emerging C-S-H at 163.5 eV and C-S-C at 164.7 eV [23] in PTS-CDs. spectra of US-CDs and PTS-CDs ( Figures 2B5 and 2C5) display the presence of C-SOx (x = 2-4) species, of which the binding energies were between 168.7-169.85 eV [22,23]. As presented in Figure 2C5, the thiosulfate (S2O3 2− ) dopant gave a typical sharp spectrum of S2p at 163-164.7 eV different from the sulfate (SO4 2− ) dopant, which gave a solely typical S2p peak at 168-169.5 eV, resulting in emerging C-S-H at 163.5 eV and C-S-C at 164.7 eV [24] in PTS-CDs. In agreement, the XPS spectra for the N1s of US-CDs using urea dopant shown in Figure 2B4 were composed of three peaks at 398.7, 399.9, and 401.3 eV presenting the existence of pyridic nitrogen, pyrrolic nitrogen, and amine groups bound to carbon [25], respectively. In the case of PTS-CDs synthesized by the p-phenylenediamine dopant, the deconvoluted N1s XPS spectrum was highly intense for pyridic nitrogen at a 398.7 eV binding energy. Substantially lower intensities of pyrrolic nitrogen attributed to the peak at 399.9 eV and amine groups bound to carbon assigned to the peak at 401.3 eV were detected in carbon materials. The results confirmed that nitrogen atoms were incorporated in the core graphitic carbon of PTS-CDs, indicating that the PTS passivation approach could control the core structure of thermolytically derived CDs. An incorporated sulfur atom that was confirmed by the C-S-C state of S2p peak additionally revealed the induced heteroatom CD synthesis in PTS-CD samples resulting in the enhancement of energy trapped on the surface and, thus, boosted its fluorescent properties dramatically compared with other carbon materials (CDs and US-CDs).
Apart from that, analysis of the relative concentration of each chemical bond from XPS measurement is listed in Table S1. Compared with other bonds of C1s spectra, the highest content of C-C/C=C bond was found at 51.99% for CDs, suggesting the predominant existence of sp 2 /sp 3 C-C of graphene-like structures for the carbon core of CDs [26]. Nevertheless, N-and-S-doped CDs contained the largest content of C-N/C-S bonds at 46.56% for US-CDs, indicating the two heteroatoms of N and S combined with the C elemental structure in single bonds. Interestingly, in the case of the N1s spectrum of PTS- CDs, the fraction of C-N-C bonds was found at only 13.03%, but predominant pyridic nitrogen possessing an N=C bond was detected at the highest quantity of 47.46%. This was in good accordance with the aforementioned discussion of the heteroatom of pyridic C=N that dramatically enhanced the PL performance of PTS-CDs compared with other CD types. It was reported that pyrrolic N on the CD edge was an imperative configuration of surface defects acting as a photoluminescence center [27]. From O1s spectral data, O=C was primarily found on the surface of CDs and PTS-CDs, revealing that the O elements were favorably possessed in the form of carboxyl groups. The C-S 2p1/2 and C-S 2p3/2 in C-SOx-H were mostly found in US-CDs at 67.8 and 32.2%, respectively, which was in good accordance with the C1s data. On the other hand, C-S-C (35.5%) and C-SH (43.2%) were found in relatively high amounts for PTS-CDs.

Effect of Different Concentrations of Nitrogen and Sulfur Passivating Agents on CD Characteristics
The CDs and NS/CDs were synthesized via a one-step hydrothermal method from EFBs in ultrapure water at 220 °C for 6 h. As shown in Figure   The composition of the CD cores varied from amorphous to graphitic depending on the nitrogen (p-phenylenediamine) and sulfur (sodium thiosulfate) concentrations for NS/CD synthesis. Figure 3D demonstrates that the concentrations at 0.30 and 0.40 M NS/CDs gave NS/CDs with a graphitic carbon core structure. It was reported that significant graphitization occurred either at temperatures greater than 300 °C or, in this case, In agreement, the XPS spectra for the N1s of US-CDs using urea dopant shown in Figure 2B4 were composed of three peaks at 398.7, 399.9, and 401.3 eV presenting the existence of pyridic nitrogen, pyrrolic nitrogen, and amine groups bound to carbon [24], respectively. In the case of PTS-CDs synthesized by the p-phenylenediamine dopant, the deconvoluted N1s XPS spectrum was highly intense for pyridic nitrogen at a 398.7 eV binding energy. Substantially lower intensities of pyrrolic nitrogen attributed to the peak at 399.9 eV and amine groups bound to carbon assigned to the peak at 401.3 eV were detected in carbon materials. The results confirmed that nitrogen atoms were incorporated in the core graphitic carbon of PTS-CDs, indicating that the PTS passivation approach could control the core structure of thermolytically derived CDs. An incorporated sulfur atom that was confirmed by the C-S-C state of S2p peak additionally revealed the induced heteroatom CD synthesis in PTS-CD samples resulting in the enhancement of energy trapped on the surface and, thus, boosted its fluorescent properties dramatically compared with other carbon materials (CDs and US-CDs).
Apart from that, analysis of the relative concentration of each chemical bond from XPS measurement is listed in Table S1. Compared with other bonds of C1s spectra, the highest content of C-C/C=C bond was found at 51.99% for CDs, suggesting the predominant existence of sp 2 /sp 3 C-C of graphene-like structures for the carbon core of CDs [25]. Nevertheless, N-and-S-doped CDs contained the largest content of C-N/C-S bonds at 46.56% for US-CDs, indicating the two heteroatoms of N and S combined with the C elemental structure in single bonds. Interestingly, in the case of the N1s spectrum of PTS-CDs, the fraction of C-N-C bonds was found at only 13.03%, but predominant pyridic nitrogen possessing an N=C bond was detected at the highest quantity of 47.46%. This was in good accordance with the aforementioned discussion of the heteroatom of pyridic C=N that dramatically enhanced the PL performance of PTS-CDs compared with other CD types. It was reported that pyrrolic N on the CD edge was an imperative configuration of surface defects acting as a photoluminescence center [26]. From O1s spectral data, O=C was primarily found on the surface of CDs and PTS-CDs, revealing that the O elements were favorably possessed in the form of carboxyl groups. The C-S 2p1/2 and C-S 2p3/2 in C-SO x -H were mostly found in US-CDs at 67.8 and 32.2%, respectively, which was in good accordance with the C1s data. On the other hand, C-S-C (35.5%) and C-SH (43.2%) were found in relatively high amounts for PTS-CDs.

Effect of Different Concentrations of Nitrogen and Sulfur Passivating Agents on CD Characteristics
The CDs and NS/CDs were synthesized via a one-step hydrothermal method from EFBs in ultrapure water at 220 • C for 6 h. As shown in Figure 3A, the aqueous solutions of the (a) CDs and (b) 0.05 M NS/CDs were colorless, whereas, 0.10, 0.20, 0.30, and 0.40 M NS/CDs ( Figure 3A(c-f)) were light brown in daylight. The green fluorescence was found under 254 nm ( Figure 3B), and the blue-to-green fluorescence was detected under 366 nm excitation wavelength and varied from undoped CDs to CDs doped with higher concentrations of N and S ( Figure 3C).
The composition of the CD cores varied from amorphous to graphitic depending on the nitrogen (p-phenylenediamine) and sulfur (sodium thiosulfate) concentrations for NS/CD synthesis. Figure 3D demonstrates that the concentrations at 0.30 and 0.40 M NS/CDs gave NS/CDs with a graphitic carbon core structure. It was reported that significant graphitization occurred either at temperatures greater than 300 • C or, in this case, high concentrations of passivating agents, whilst those below resulted in amorphous particles [27], unless sp 2 /sp-hybridized carbon was employed in the precursor [28]. As illustrated in Figure 3D, the light absorption of 0.30 M NS/CDs and 0.40 M NS/CDs exhibited the existence of π-π * (C=C) and n-π * (C=O) transitions in the carbon core and on the surface of the particles [29]. A graphitic carbon core of CDs, therefore, provided a great influence on their light-harvesting capability. Nonetheless, the fluorescence emission required evaluation with QY, which is the ratio of light emission to the absorption performance of the material.
In addition, it can be seen that there was an absorption peak at around 265 nm observed from neat CDs, 0.05 M NS/CDs, and 0.10 M NS/CDs, which were the samples with small amounts of N and S dopants ( Figure 3D). The peak at 240-265 nm (less than 300 nm) was presumably assigned to the π →π * transition of aromatic sp 2 domains [30] of the conjugated C=C bonds concomitant with a carbon core (carbogenic core) [31]. The UV absorption band at wavelengths over 300 nm was attributed to the existence of n-π * transitions from C=O bonds or other functional groups, such as NH 2 and SO 3 H [32,33], which in this work were derived from amine and thiosulfate groups, respectively. At high concentrations of N and S dopants (0.30 M NS/CDs and 0.40 M NS/CDs), a prominent UV-vis absorption peak at 400 nm was found. It was reported that the UV-vis absorbance peak at longer wavelengths of 350-400 nm is possibly from the trapping of excited state energy of high-density nitrogen and sulfur at the passivated surface [34].
Analyses of the fluorescence properties of the synthesized CDs and NS/CDs at different concentrations of sodium thiosulfate and p-phenylenediamine were performed, as illustrated in  Figure 4E,F, a substantial shift of the maximum emission peak to λ Em = 530 was detected for both samples at λ Ex = 360. This obvious red-shift phenomenon caused by N-and-S-doping confirmed that either the surface passivation of N and S significantly enhanced the size of the nanoparticles, or the heteroatoms of N and S in the carbon structure apparently reduced the optical bandgap of the CDs when doping with sodium thiosulfate and p-phenylenediamine to 0.30 and 0.40 M (0.30 M NS/CDs and 0.40 M NS/CDs). The results were concomitant with a previous report with intense effort to explore the inherent mechanisms controlling the wavelength red-shift of PL emissions within CDs [35]. It has been revealed that red-shifting photoluminescent emission of CDs occurred due to the role of graphitic N, −C−O, −C−N, and −COOH groups on their surface state [36][37][38]. Another report confirmed the green-blue toward green fluorescence emission of prepared SN-CDs derived from doped S atoms relative to the blue emission of N-CDs from doped N atoms [20]. However, due to complications in crystal structure, composition, and surface functionalization of the CDs, only a few studies could evidently identify the PL origin of CDs. Therefore, further thorough examination and demonstration of the relationship between the PL properties of the CDs and the excitation state are essential [39,40].
Apart from that, the emission intensity increased with the increase of N-and Sdoping agent concentration, which directly influenced an increase in the QY of NS/CDs, as demonstrated in Table 1. The highest QY of 114% relative to quinine sulfate as the reference (54% QY) was obtained from the 0.40 M NS/CD sample. From Figure 4A,B for neat CDs and 0.05 M NS/CDs, fluorescent intensities were observed as excitationdependent phenomena that were possibly due to the diverse emissive trap sites on the surface of the NS/CDs [41]. Nevertheless, excitation-independent phenomena occurred for higher concentrations of N and S dopants of 0.1, 0.20, 0.30, and 0.40 M NS/CDs, as depicted in Figure 4C,F. This excitation-dependent fluorescent behavior of NS/CDs was ascribed to either a high density of CD surface state resulting from the synergy effect of the doped nitrogen and sulfur atoms [24] or a highly organized NS/CD surface [42,43]. Compared with virgin undoped CDs, which contained a high density of oxygen atoms on the surface state, N and S co-doped CDs exhibited narrower fluorescence emission spectra. Typically, the effect of different particle sizes reflects excitation-dependent PL behaviors of CDs regarding the distribution of different surface states [44]. The HRTEM images of the CDs and all the NS/CDs shown in Figure 5 indicate that the sizes of all the samples Apart from that, the emission intensity increased with the increase of N-and S-doping agent concentration, which directly influenced an increase in the QY of NS/CDs, as demonstrated in Table 1. The highest QY of 114% relative to quinine sulfate as the reference (54% QY) was obtained from the 0.40 M NS/CD sample. From Figure 4A,B for neat  NS/CDs [41]. Nevertheless, excitation-independent phenomena occurred for higher concentrations of N and S dopants of 0.1, 0.20, 0.30, and 0.40 M NS/CDs, as depicted in Figure  4C,F. This excitation-dependent fluorescent behavior of NS/CDs was ascribed to either a high density of CD surface state resulting from the synergy effect of the doped nitrogen and sulfur atoms [24] or a highly organized NS/CD surface [42,43]. Compared with virgin undoped CDs, which contained a high density of oxygen atoms on the surface state, N and S co-doped CDs exhibited narrower fluorescence emission spectra. Typically, the effect of different particle sizes reflects excitation-dependent PL behaviors of CDs regarding the distribution of different surface states [44]. The HRTEM images of the CDs and all the   Figure 3D and Table 1. When co-doping with nitrogen and sulfur, from 0.05 M to 0.20 M of p-phenylenediamine and sodium thiosulfate, the optical band gap of the NS/CDs was reduced in a sequential degree that corresponded to the change from blue-to green-emitting NS/CDs, the so called red-shift phenomenon, under UV excitation at λEx = 366 nm ( Figure 3C). The reduction of the optical band gap was apparently because of an increase in size [46]. Additionally, highly associated N and S atoms into carbon structure or highly uniform N and S on the surface state were able to manipulate the optical band gap [29]. However, from HRTEM image analysis, the sizes of all the CDs and NS/CDs were uniform between 4 to 9 nm ( Figure 5), except for 0.40 M NS/CDs; thus, the surface state played a crucial role in the size of the quantum confinement, which means that N and S co-doping substantially influenced the tunable optical band gap and photonic properties of the NS/CDs. A study revealed that the optical band gap decreased as the structure of N-CDs was transformed from intrinsic C to pyridine N and NH2, respectively [47]. Therefore, it could be presumed that N and S co-doping introduced the N π * and S π * orbitals between the C π * and C π orbitals, which could reduce the bandgap energy. This structural change likewise provided ability of NS/CDs to adjust their optical and electrical properties, enhance their chemical reactivity, and avoid self-quenching for further applications [48]. The HRTEM image analysis in Figure 5 shows that the CDs and all the NS/CDs had a narrow size distribution between 4 nm and 20 nm, especially the 0.20 M NS/CDs and 0.30 M NS/CDs, which gave the smallest size in the range of 4.48 to 4.91 nm ( Figure 5C,D). A similar trend in the hydrodynamic diameter of all the CD and NS/CD samples is demonstrated in Table S2. The HRTEM image with greater magnification showed that all the The optical band gap of CDs and NS/CDs was evaluated using a Tauc plot of the UV-vis absorbance and photon energy with the method of Wood and Tauc [45].  Figure 3D and Table 1. When co-doping with nitrogen and sulfur, from 0.05 M to 0.20 M of p-phenylenediamine and sodium thiosulfate, the optical band gap of the NS/CDs was reduced in a sequential degree that corresponded to the change from blue-to green-emitting NS/CDs, the so called red-shift phenomenon, under UV excitation at λ Ex = 366 nm ( Figure 3C). The reduction of the optical band gap was apparently because of an increase in size [46]. Additionally, highly associated N and S atoms into carbon structure or highly uniform N and S on the surface state were able to manipulate the optical band gap [29]. However, from HRTEM image analysis, the sizes of all the CDs and NS/CDs were uniform between 4 to 9 nm ( Figure 5), except for 0.40 M NS/CDs; thus, the surface state played a crucial role in the size of the quantum confinement, which means that N and S co-doping substantially influenced the tunable optical band gap and photonic properties of the NS/CDs. A study revealed that the optical band gap decreased as the structure of N-CDs was transformed from intrinsic C to pyridine N and NH 2 , respectively [47]. Therefore, it could be presumed that N and S co-doping introduced the N π * and S π * orbitals between the C π * and C π orbitals, which could reduce the bandgap energy. This structural change likewise provided ability of NS/CDs to adjust their optical and electrical properties, enhance their chemical reactivity, and avoid self-quenching for further applications [48]. An obvious decrease in the optical band gap in 0.40 M NS/CDs relative to 0.10 M-0.30 M NS/CDs was primarily signified by an increase in the size of the range to 20.4 nm, as illustrated in Figure 5F.
The HRTEM image analysis in Figure 5 shows that the CDs and all the NS/CDs had a narrow size distribution between 4 nm and 20 nm, especially the 0.20 M NS/CDs and 0.30 M NS/CDs, which gave the smallest size in the range of 4.48 to 4.91 nm ( Figure 5C,D). A similar trend in the hydrodynamic diameter of all the CD and NS/CD samples is demonstrated in Table S2. The HRTEM image with greater magnification showed that all the NS/CDs had a lattice spacing (d-spacing) of approximately 0.2-0.3 nm, which is in good agreement with the lattice planes (100) of graphitic carbon, as illustrated in Figure 5B1,F1), while the HRTEM image of neat CDs shows their amorphous structure of carbon core ( Figure 5A1). The crystallinity and amorphous morphology of the carbon structures for CDs and NS/CDs was also identified by Raman spectroscopy, demonstrated in Figure 6.
The HRTEM image analysis in Figure 5 shows that the CDs and all the NS/CDs had a narrow size distribution between 4 nm and 20 nm, especially the 0.20 M NS/CDs and 0.30 M NS/CDs, which gave the smallest size in the range of 4.48 to 4.91 nm ( Figure 5C,D). A similar trend in the hydrodynamic diameter of all the CD and NS/CD samples is demonstrated in Table S2. The HRTEM image with greater magnification showed that all the NS/CDs had a lattice spacing (d-spacing) of approximately 0.2-0.3 nm, which is in good agreement with the lattice planes (100) of graphitic carbon, as illustrated in Figure 5B1,F1), while the HRTEM image of neat CDs shows their amorphous structure of carbon core ( Figure 5A1). The crystallinity and amorphous morphology of the carbon structures for CDs and NS/CDs was also identified by Raman spectroscopy, demonstrated in Figure 6. Scheme 1 presents a photonic model mechanism of CDs and NS/CDs and explains their photoluminescent process. Several hypotheses have stated that surface energy traps and the electronic conjugated structures of CDs provide their photoluminescence [45,50]. Undoped CDs contained the greatest oxygen content on the surface state, as well as a higher ratio of amorphous-to-crystalline carbon structure and, thus, influenced the widest optical band gap and yielded a blue-emitting fluorescence phenomenon. An enhanced N and S concentration in doped CDs led to oxygen reduction with N and S replacement and provided a more homogeneous surface state, resulting in energy level reduction and, therefore, a red-shift of both the excitation and emission band [51]. Moreover, there was evidence confirming that the high QY was because the major state of N dopant resulted from an optimal balance between pyridic N and the amino N on the CD surface; therefore, the electrons and holes were effectively formed as a compound in the forest energy reso- Scheme 1 presents a photonic model mechanism of CDs and NS/CDs and explains their photoluminescent process. Several hypotheses have stated that surface energy traps and the electronic conjugated structures of CDs provide their photoluminescence [44,49]. Undoped CDs contained the greatest oxygen content on the surface state, as well as a higher ratio of amorphous-to-crystalline carbon structure and, thus, influenced the widest optical band gap and yielded a blue-emitting fluorescence phenomenon. An enhanced N and S concentration in doped CDs led to oxygen reduction with N and S replacement and provided a more homogeneous surface state, resulting in energy level reduction and, therefore, a red-shift of both the excitation and emission band [50]. Moreover, there was evidence confirming that the high QY was because the major state of N dopant resulted from an optimal balance between pyridic N and the amino N on the CD surface; therefore, the electrons and holes were effectively formed as a compound in the forest energy resonance [51]. The presence of an N and S heteroatom from the surface defect passivation on the CD surface was reported to act as excitation energy traps and influence an increase in the photoluminescence of CDs [22]. On the other hand, the sulfur atoms in CDs played a significant role as nanocatalysts for an oxidation-reduction reaction [52], which announced a more passivated CD surface and promoted a boost in photoluminescence.  Table 1. The highly neg surface potential obtained could be attributed to the deprotonation of -COOH, -OH NH2 on the surface of NS/CDs. It was reported that negative zeta potential was bec of the dense electron cloud that concentrates on the surface of CDs [54]. For CDs hav great zeta potential, both negative and positive values are considered stable electro cally [55], while those having low zeta potentials exhibit weak physical stability and prone to coagulate or aggregate over a short time period. In the present study, al NS/CDs were highly dispersed nanoparticles with great stability since they had zeta tentials less than −30 mV or larger than +30 mV [56]. Highly negative zeta potential yond −30 mV further demonstrated an effective binding with cations such as heavy m ions [54], amino groups, and positive charged molecules.
In Raman spectroscopic analysis, the D band at 1385 cm −1 and G band at 1575 are typically used to identify the characteristics of low-dimensional carbon materials as graphene, graphite, carbon nanotubes, etc. A strong G band peak belongs to hi crystalline carbon structures or graphitic carbon and is identified by sp 2 -hybridized bon [57]. Notably, the D band is usually observed when the crystalline carbon struc contains defects, impurities [58], or sp 3 hybridization of the carbon structure [59,60 shown in Figure 6A, the G band peak from Raman spectroscopy at 1575 cm −1 of 0.2 NS/CDs, 0.30 M NS/CDs, and 0.40 M NS/CDs was markedly detected, while the pres of the G band in prepared intrinsic CDs, 0.05 M NS/CDs, and 0.10 M NS/CDs was clear. In the present study, a broad peak of the D band was significantly attributed degree of disorder from aromatic conjugated sp 2 six-membered carbon rings [61]. A crease in the D band and G band width was, moreover, assigned to oxygen-contai groups, including carboxyl, carbonyl, and hydroxyl groups that were introduced ont basal plane and to the edge of the carbon structure [62]. As demonstrated in Figur the ratio of disorder of the D band to the crystalline G band (ID/IG) of high concentra of N and S dopants in the hydrothermal synthesis ranged between 0.43 and 0.73, sim to that of few-layer graphene quantum dots (1-3 layers) with ID/IG of 0.9 [63,64]. The hi crystallinity of carbon or graphitic carbon indicated by a higher content of sp 2 hybrid  Table 1. The highly negative surface potential obtained could be attributed to the deprotonation of -COOH, -OH, or -NH 2 on the surface of NS/CDs. It was reported that negative zeta potential was because of the dense electron cloud that concentrates on the surface of CDs [53]. For CDs having a great zeta potential, both negative and positive values are considered stable electrostatically [54], while those having low zeta potentials exhibit weak physical stability and are prone to coagulate or aggregate over a short time period. In the present study, all the NS/CDs were highly dispersed nanoparticles with great stability since they had zeta potentials less than −30 mV or larger than +30 mV [55]. Highly negative zeta potentials beyond −30 mV further demonstrated an effective binding with cations such as heavy metal ions [53], amino groups, and positive charged molecules.
In Raman spectroscopic analysis, the D band at 1385 cm −1 and G band at 1575 cm −1 are typically used to identify the characteristics of low-dimensional carbon materials such as graphene, graphite, carbon nanotubes, etc. A strong G band peak belongs to highly crystalline carbon structures or graphitic carbon and is identified by sp 2 -hybridized carbon [56]. Notably, the D band is usually observed when the crystalline carbon structure contains defects, impurities [57], or sp 3 hybridization of the carbon structure [58,59]. As shown in Figure 6A In the present study, a broad peak of the D band was significantly attributed to a degree of disorder from aromatic conjugated sp 2 six-membered carbon rings [60]. An increase in the D band and G band width was, moreover, assigned to oxygen-containing groups, including carboxyl, carbonyl, and hydroxyl groups that were introduced onto the basal plane and to the edge of the carbon structure [61]. As demonstrated in Figure 6B, the ratio of disorder of the D band to the crystalline G band (I D /I G ) of high concentrations of N and S dopants in the hydrothermal synthesis ranged between 0.43 and 0.73, similar to that of few-layer graphene quantum dots (1-3 layers) with I D /I G of 0.9 [62,63]. The higher crystallinity of carbon or graphitic carbon indicated by a higher content of sp 2 hybridization was similar to graphene quantum dots (I D /I G = 0.5) [64]. The highly graphitic carbon with a high sp 2 /sp 3 ratio was identified by XPS measurement.
From the highly resolved XPS spectra shown in Figure S3, the C1s deconvoluted peak exhibited the highest content of C-C/C = C in CDs and NS/CDs; the second highest peaks were C=O/C=N and C-O/C-N in a respective degree. An increased N and S concentration seemingly enhanced the C=N pyridic bond structure. In the case of O1s, O=C-O was primarily found in CDs and an increase in N and S concentration increased  (Table 1).
Based on our results, we found that CDs with N and S co-doped (NS/CDs) made more narrow bandgap energy than pristine CDs ( Figure 3D). Moreover, NS/CDs gave the exclusive properties of a narrow emission wavelength ( Figure 4C,F), tunable bandgap, high stability based on zeta potential, and superior fluorescent QY. Regarding its strong graphitic property, high QY, and great stability in aqueous solutions without any chromophore formation (which causes high UV absorption), the 0.20 M NS/CD was selected for further study on fluorescent metal ion sensing application.

Study on Metal Detection by NS/CDs Using Turn-Off Fluorescent Assay
In an environment of deionized water at pH 5.5, 0.20 M NS/CDs exhibited the strongest fluorescence emission of 520 nm at an excitation wavelength of 380 nm. Therefore, 0.20 M NS/CDs were employed as a fluorescence probe to detect metal ions at low concentrations in deionized water. As shown in Figure 7, Fe 3+ was successfully detected with the highest efficacy and sensitivity compared to other metal ions, including Ca 2+ , K + , Mg 2+ , Mn 2+ , Zn 2+ , and Na + . The metal ions employed in this experiment are mostly found in human biofluids such as tears [65] and sweat [66]. The surface state of 0.20 M NS/CDs enriched with COOH, C-OH, C-O, and C=O functional groups that were indicated by XPS analysis and the negative charges of 0.20 M NS/CDs expressed by zeta potential evidently facilitated highly sensitive and effective binding of 0.20 M NS/CDs toward Fe 3+ ions. Fe 3+ ions were also found to be effectively absorbed on the CD surface and coordinated with hydroxyl groups on edges of CDs [67]. From this high affinity of Fe 3+ and hydroxyl group coordination interaction on the CD surface, electrons generated from the excited state of NS/CDs apparently transferred to the Fe 3+ unfilled orbitals, which lead to nonradiative electron-hole recombination resulting in the highest degree of CD fluorescence quenching [22] compared with other metal ions, as shown in Figure 7A. Interestingly, the optical band gap of 0.20 M NS/CDs and Fe 3+ was enhanced to 4.55 eV after Fe 3+ absorption on the surface of CDs, which was much greater than the optical band gap of freshly prepared 0.20 M NS/CDs at 3.56 eV ( Figure 7B). The reason was possibly because of the change in microstructure of nanomaterial either from highly crystalline to, most likely, amorphous or from small size to a larger size. This was confirmed by a Raman spectroscopic analysis of Fe 3+ absorbed on 0.20 M NS/CDs ( Figure 7C), which substantially altered the graphitic structure of 0.20 M NS/CDs by increasing the ID/IG ratio from 0.61 to 1.56, indicating more defects of the graphitic structure of NS/CDs corresponding to the sp 3 vibrations of disordered graphite layers. An increase in Fe 3+ concentration provided greater PL quenching to a corresponding degree, as illustrated in Figure 7D. Figure 7E demonstrates a plot of the reaction velocity (ΔPL/Δt) versus the reciprocal of Fe 3+ concentration for a pseudo-steady-state kinetic assay study, and a plot of ΔPL and Fe 3+ concentration with an inset of a least square linear regression of ΔPL and Fe 3+ concentration at the reaction time of 10 min demonstrated the best fit of the linear equation ΔPL = 0.0451 [Fe 3+ ] + 3.1577 with R 2 = 0.9933 when [Fe 3+ ] is the concentration in µmol L −1 ( Figure  7F). The linear range of Fe 3+ sensing in this study was from 5 to 400 µmol L −1 , which was a very wide range with a relatively low limit of detection (LOD) at 0.1 µmol L −1 or 100 nmol L −1 . The findings showed that our 0.20 M NS/CD material is a promising Fe 3+ sensing agent giving a wide range of detection with a very low LOD amongst other agents recently reported, as demonstrated in Table 2. Interestingly, the optical band gap of 0.20 M NS/CDs and Fe 3+ was enhanced to 4.55 eV after Fe 3+ absorption on the surface of CDs, which was much greater than the optical band gap of freshly prepared 0.20 M NS/CDs at 3.56 eV ( Figure 7B). The reason was possibly because of the change in microstructure of nanomaterial either from highly crystalline to, most likely, amorphous or from small size to a larger size. This was confirmed by a Raman spectroscopic analysis of Fe 3+ absorbed on 0.20 M NS/CDs ( Figure 7C), which substantially altered the graphitic structure of 0.20 M NS/CDs by increasing the I D /I G ratio from 0.61 to 1.56, indicating more defects of the graphitic structure of NS/CDs corresponding to the sp 3 vibrations of disordered graphite layers. An increase in Fe 3+ concentration provided greater PL quenching to a corresponding degree, as illustrated in Figure 7D. Figure 7E demonstrates a plot of the reaction velocity (∆PL/∆t) versus the reciprocal of Fe 3+ concentration for a pseudo-steady-state kinetic assay study, and a plot of ∆PL and Fe 3+ concentration with an inset of a least square linear regression of ∆PL and Fe 3+ concentration at the reaction time of 10 min demonstrated the best fit of the linear equation ∆PL = 0.0451 [Fe 3+ ] + 3.1577 with R 2 = 0.9933 when [Fe 3+ ] is the concentration in µmol L −1 ( Figure 7F). The linear range of Fe 3+ sensing in this study was from 5 to 400 µmol L −1 , which was a very wide range with a relatively low limit of detection (LOD) at 0.1 µmol L −1 or 100 nmol L −1 . The findings showed that our 0.20 M NS/CD material is a promising Fe 3+ sensing agent giving a wide range of detection with a very low LOD amongst other agents recently reported, as demonstrated in Table 2.

Materials and Methods
The palm empty fruit bunches were supplied from a palm oil mill, Chumporn province, Thailand. The chemicals, namely urea and sodium thiosulfate, were purchased from Ajax Finechem (New South Wales, Australia). Sulfuric acid at 98% was purchased from RCI Labscan (Bangkok, Thailand). P-phenylenediamine was purchased from Alfa Aesar (Haverhill, MA, USA). Other metals, including potassium chloride (KCl or K + ), manganese chloride (MnCl 2 or Mn 2+ ) and iron(III) chloride (FeCl 3 or Fe 3+ ), were purchased from Ajax Finechem (New South Wales, Australia). Sodium chloride (NaCl or Na + ) and calcium chloride (CaCl 2 or Ca + ) were purchased from Alpha Chemika (Maharashtra, India). Magnesium chloride (MgCl 2 or Mg 2+ ) was purchased from Riedel de Haen (Seelze, Germany). Zinc chloride (ZnCl 2 or Zn 2+ ) was purchased from QReC (Kuala Lumpur, Malaysia). All the chemicals and metals were analytical grade and were utilized as received without modification. Ultrapure water was used for the preparation of the carbon dots, reagent solutions, and stock solutions of metal ions. A dialysis membrane (molecular weight cut-off of 1000 Da) was purchased from Spectra/por (Spectrum, Cole-Palmer, IL, USA), and a nylon syringe filter (0.22 µm) was supplied from Filtrex (Milano, Italy).

Hydrothermal Synthesis of Carbon Dots from EFBs and Effect of Different Dopants on CD Properties
The EFBs were washed with deionized water, sun-dried for 1-2 days, and dried in the oven at 100 • C for 24 h to obtain a moisture content of 3-4%. Then, the EFB fiber was chopped into 1-2-inch pieces, milled, and sieved through +50/−200 mesh. The CDs were synthesized using a hydrothermal method in a Teflon-lined hydrothermal stainless steel autoclave. The milled EFB fiber (5 g) was mixed with 60 mL of ultrapure water (solid:liquid ratio of 1:12) and underwent a hydrothermal reaction at 220 • C for 6 h. For the case of surface passivation, nitrogen-doped CDs were prepared by mixing milled EFB fiber (5 g) and 60 mL of 0.1 mol L −1 urea (U-CDs) or 0.1 mol L −1 of p-phenylenediamine (P-CDs) under hydrothermal conditions at 220 • C for 6 h. Nitrogen-and sulfur-(N-and S-) passivated CDs were prepared by mixing milled EFB fiber (5 g) with 60 mL of a solution mixture of 0.2 mol L −1 urea and 0.2 mol L −1 sulfuric acid (US-CDs) or 0.2 mol L −1 p-phenylenediamine and 0.2 mol L −1 sodium thiosulfate (PTS-CDs) under hydrothermal conditions at 220 • C for 6 h. The molecular structures of the N and S dopants are shown in Figure 8. After the reaction, the materials were separated from the solution by using a centrifugal separator at a speed of 5000 rpm to separate the cellulose-rich fraction and, subsequently, 10,000 rpm to separate hemicellulose and lignin from the solution for 15 min at 20 • C. Purification of the CDs was carried out using a 0.22 µm syringe-type membrane filter, and the CDs were finally dialyzed using a membrane (1000 Dalton molecular weight cut-off). of the CDs was carried out using a 0.22 µm syringe-type membrane filter, and the CDs were finally dialyzed using a membrane (1000 Dalton molecular weight cut-off).

Effect of N and S Concentrations on Enhancement of CD Photoluminescent Properties
To enhance and tune CD photoluminescence properties, surface passivation with nitrogen and sulfur atoms was performed. Based on data from previous experiments, nitrogen (N)-doping with p-phenylenediamine and sulfur (S)-doping with sodium thiosulfate were conducted in a one-pot hydrothermal synthesis of the CDs. The N and S concentrations were varied from 0.05 to 0.40 mol L −1 and named as 0.05 M NS/CDs to 0.40 M NS/CDs, respectively. Finally, brown solutions of the CDs and NS/CDs were separated from the solid residue and purified using centrifugation, microfiltration, and dialysis, as aforementioned. The clear brown solutions of CDs and the NS/CDs obtained were stored at 4 °C for further use and characterization. Dry solid samples of the CDs and NS/CDs for characterization were prepared using freeze-drying.

Characterization of CDs
The fluorescence measurement of the CD and NS/CD solutions was performed using a Model FP-6200 Spectrofluorometer (Perkin Elmer, Kumamoto, Japan) with a scan speed of 500 nm min −1 and an excitation and emission slit width of 10 nm. The fluorescence behavior was studied by varying the excitation wavelength in the range of 240-400 nm. The morphological characterizations were evaluated by a JEM-2100 Plus High-resolution Transmission Electron Microscope (HRTEM) (JEOL, Seoul, Republic of Korea) operated at 200 kV. Zeta potential measurement was conducted in triplicate for each sample with a nanoPartica SZ-100 V2 Series (Malvern Panalytical, Cambridge, United Kingdom). The carbon structures of the CDs and NS/CDs were characterized with an XploRA PLUS Raman microscope (Thermo Fisher Scientific, Massachusetts, USA) using a 532 nm laser as the excitation source with a slit of 100 µm in the range of 3700-100 cm −1 . The surface elemental composition of the samples was investigated using X-ray photoelectron spectroscopy (XPS) with a PHI5000 VersaProbe II (ULVAC-PHI, Kanagawa, Japan) at the SUT-NANOTEC-SLRI Joint Research Facility, Synchrotron Light Research Institute (SLRI, Nakhon Ratchasima, Thailand). A monochromatized Al-Kα X-ray source (hγ = 1486.6 eV) was used to excite the specimens. The survey spectra were recorded with an energy step of 1.000 eV and a pass energy of 117.4 eV; meanwhile, the high-resolution spectra were recorded with an energy step of 0.05 eV and a pass energy of 46.95 eV. A UV-vis doublebeam spectrophotometer (UV-1800, Thermo Fisher Scientific, Japan) was used to record the UV-vis absorbance of the synthesized CDs and NS/CDs with a scanning wavelength range between 200 and 800 nm, a scanning speed of 500 nm min −1 , and a bandwidth slit of 1 nm.
To determine the quantum yield of the CD samples, quinine sulfate (QY = 54%) dissolved in 0.1 M H2SO4 solution was used as a reference (Ref). The QY of the CDs and NS/CDs in an aqueous solution was calculated using Equation (1):

Effect of N and S Concentrations on Enhancement of CD Photoluminescent Properties
To enhance and tune CD photoluminescence properties, surface passivation with nitrogen and sulfur atoms was performed. Based on data from previous experiments, nitrogen (N)-doping with p-phenylenediamine and sulfur (S)-doping with sodium thiosulfate were conducted in a one-pot hydrothermal synthesis of the CDs. The N and S concentrations were varied from 0.05 to 0.40 mol L −1 and named as 0.05 M NS/CDs to 0.40 M NS/CDs, respectively. Finally, brown solutions of the CDs and NS/CDs were separated from the solid residue and purified using centrifugation, microfiltration, and dialysis, as aforementioned. The clear brown solutions of CDs and the NS/CDs obtained were stored at 4 • C for further use and characterization. Dry solid samples of the CDs and NS/CDs for characterization were prepared using freeze-drying.

Characterization of CDs
The fluorescence measurement of the CD and NS/CD solutions was performed using a Model FP-6200 Spectrofluorometer (Perkin Elmer, Kumamoto, Japan) with a scan speed of 500 nm min −1 and an excitation and emission slit width of 10 nm. The fluorescence behavior was studied by varying the excitation wavelength in the range of 240-400 nm. The morphological characterizations were evaluated by a JEM-2100 Plus High-resolution Transmission Electron Microscope (HRTEM) (JEOL, Seoul, Republic of Korea) operated at 200 kV. Zeta potential measurement was conducted in triplicate for each sample with a nanoPartica SZ-100 V2 Series (Malvern Panalytical, Cambridge, United Kingdom). The carbon structures of the CDs and NS/CDs were characterized with an XploRA PLUS Raman microscope (Thermo Fisher Scientific, Massachusetts, USA) using a 532 nm laser as the excitation source with a slit of 100 µm in the range of 3700-100 cm −1 . The surface elemental composition of the samples was investigated using X-ray photoelectron spectroscopy (XPS) with a PHI5000 VersaProbe II (ULVAC-PHI, Kanagawa, Japan) at the SUT-NANOTEC-SLRI Joint Research Facility, Synchrotron Light Research Institute (SLRI, Nakhon Ratchasima, Thailand). A monochromatized Al-Kα X-ray source (hγ = 1486.6 eV) was used to excite the specimens. The survey spectra were recorded with an energy step of 1.000 eV and a pass energy of 117.4 eV; meanwhile, the high-resolution spectra were recorded with an energy step of 0.05 eV and a pass energy of 46.95 eV. A UV-vis doublebeam spectrophotometer (UV-1800, Thermo Fisher Scientific, Japan) was used to record the UV-vis absorbance of the synthesized CDs and NS/CDs with a scanning wavelength range between 200 and 800 nm, a scanning speed of 500 nm min −1 , and a bandwidth slit of 1 nm.
To determine the quantum yield of the CD samples, quinine sulfate (QY = 54%) dissolved in 0.1 M H 2 SO 4 solution was used as a reference (Ref). The QY of the CDs and NS/CDs in an aqueous solution was calculated using Equation (1) where I is the integrated intensity of the fluorescent spectra, A is the UV-vis absorbance, η is the refractive index of the solvent (ultrapure water for CDs and 0.1 M H 2 SO 4 for quinine sulfate), and QY is the quantum yield (%) [76].

Study on Metal Detection by NS/CDs Using Fluorimetric Sensing
The study on metal ions detection using the highest potential 0.2 M NS/CDs from the previous experiment was performed when the nitrogen (N) dopant was p-phenylenediamine and the sulfur (S) dopant was sodium thiosulfate. The fluorescent quenching responses of the 0.20 M NS/CDs toward various metal ion bindings were investigated. First, a stock solution of metal chlorides at 500 µmol L −1 was prepared, including Ca 2+ , Fe 3+ , K + , Mg 2+ , Mn 2+ , Zn 2+ , and Na + . For the kinetic study, 1 mL of 500 µmol L −1 metal chloride stock solution was mixed with 0.25 mL ultrapure water and 0.75 mL 0.2 M NS/CDs (0.25 mg mL −1 concentration). The final concentration of the reaction mixture contained 250 µmol L −1 metal chloride and 100 µg mL −1 0.20 M NS/CDs. Once the metal chloride solution was added, the excitation (λ Ex ) at 380 nm of 0.20 M NS/CDs yielding a maximum photoluminescence emission intensity at 520 nm (λ Em ) was recorded from 0 to 10 min for kinetic study. The velocity of the absorption of various metal ions into 0.20 M NS/CDs was calculated. To examine the sensitivity of Fe 3+ sensing using 0.20 M NS/CDs, the concentration of Fe 3+ was varied between 0.1 and 500 µmol L −1 , and the change of PL intensity (∆PL) was monitored at 10 min at λ Ex = 380 nm. A linear correlation of ∆PL and Fe 3+ concentration was determined, as well as the limit of detection (LOD) of Fe 3+ using 0.20 M NS/CDs.

Conclusions
CDs were successfully synthesized from palm empty fruit bunches through a hydrothermal approach yielding a spherical shape of the carbon core structure with a narrow size distribution and an average diameter ranging from 2.5 to 10.3 nm. Passivation of CDs with p-phenylenediamine and thiosulfate provided NS/CDs with outstanding QY with highly selective affinity for Fe 3+ in deionized water. The decrease in CD size from N and S doping to the optimal concentrations of N and S resulted in an increase in the optical bandgap and PL emissions in the high-energy region. Fluorescence sensing using NS/CDs as a fluorescent nanoprobe could detect Fe 3+ at very low concentrations with an LOD of 0.1 µmol L −1 or 100 nmol L −1 through a fluorescence quenching mechanism. The linearity of detection was found in the range of 5 to 400 µmol L −1 , which is a substantially greater range than recently reported nanoprobes. Taking into account the highly luminescent, cost-effective, highly soluble, and sensitive sensing capabilities of NS/CDs even at low concentrations of Fe 3+ , these make as-prepared NS/CDs an ultimate candidate for prospective applications in sensing other metal ions and biomolecules, such as in-depth pathophysiological insights into different clinical stages of iron-related neurodegeneration.