{'fraction_non_alphanumeric': 0.03573714170231399, 'fraction_numerical': 0.024184041227390617, 'mean_word_length': 4.626302823574, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Novel nitrogen-doped carbon dots prepared under microwave-irradiation for highly sensitive detection of mercury ions.

In this paper, new nitrogen doped carbon dots with a high quantum yield and novel optical properties were synthesized by a simple and fast one step microwave-assisted synthesis. Citric acid monohydrate was used as a carbon source and 2,2-dimethyl-1,3-propanediamine as nitrogen source. The prepared N-CDs were characterized by Fourier transform infrared, Raman, UV-visible and photoluminescence spectroscopies. Transmission electron microscope (TEM) images revealed that the N-CDs have distinctive flake-shape morphology. The N-CDs exhibit bright blue luminescence and quenching response towards Hg2+ ions. The quenching sensitivity was investigated. The results indicate a limit of detection as low as 7.63 nM and a linear relationship over the range 0–4.2 μM. In addition, the prepared N-CDs were tested as sensor for pH in the range from 1 to 7.


Introduction
Mercury is one of the most dangerous contaminants that poses serious risks to ecosystems and human health, even at low concentrations [1,2]. There is no doubt that the pollution of aquatic ecosystems with mercury is the main way through which mercury is transferred to drinking water, food chains and then to humans [3,4]. There are three oxidation states of mercury, Hg (0), Hg (I) and Hg (II). Among these states, bivalent ions Hg 2þ are the dominant form in water because of their stability and high solubility [5,6,7]. Hg 2þ can form methylmercury which has carcinogenic effect and can cause neural cell damage, acute renal failure, hematopoietic and cardiovascular toxicity [8,9,10,11,12]. Therefore, it is important to look for new analytical techniques and methods that enable us to detect effectively and efficiently mercury ions Hg 2þ at the lowest detectable concentrations in order to prevent their poisoning [13]. There are many analytical methods used for this purpose, such as atomic absorption spectroscopy, surface enhanced Raman scattering, inductively coupled plasma mass spectrometry, cyclic voltammetry with electrochemical liquid-phase micro extraction and cold-vapor atomic absorption spectroscopy, but these methods need sophisticated instrumentation and critical sample preparation [13,14,15,16,17,18,19].
Fluorescence spectroscopy has received considerable attention from analytical chemistry researchers because of its advantages over the above -mentioned methods such as its high sensitivity, low cost and simplicity in performing the analysis [8,20]. Many promising fluorescent materials that are sensitive to mercury ions have been developed such as organic fluorophores, metal nanoparticles, noble metal nanoparticles, fluorescent doped silica, semiconductor quantum dots, and recently carbon quantum dots (CQDs) [21,22]. With the exception of CQDs, those substances have many disadvantages that limit their application for the purpose of detecting mercury ions, including toxicity and poor photostability. In addition, most of them are not ecofriendly [22].
Furthermore, there are many other applications of CQDs, like bioimaging, catalysis, drug delivery, and pH sensing, to name a few [31,32,33]. On the other hand, determination of pH value is very important and critical for many fields including agronomy, biology, nutrition, water purification, and biology [34,35,36]. Some CQDs with special optical and structural properties show good pH sensitivity [37]. This sensitivity is still subject to further investigation with the aim of preparing effective CQDs from both inexpensive and safe carbon sources [38].
This study presents the preparation of novel nitrogen-doped carbon dots (N-CDs) by microwave-assisted method with a high quantum yield (QY) that reaches 51.2%. These N-CDs were characterized by appropriate instruments and then investigated as a probe for the detection of mercury ions (Hg 2þ ) as well as their sensitivity to pH values. In order to assess the performance of the current N-CDs, their performance is compared with those of already published CDs.

Materials
Citric acid monohydrate, 2,2-dimethyl-1,3-propanediamine (for synthesis) and quinine sulfate for quantum yield determinations were purchased from Sigma-Aldrich and used as received. All other reagents were analytical and also used without any further purification.

Instruments
Transmission electron microscopy (TEM) micrographs were performed on Tecnai F20 transmission electron microscope at accelerating voltages up to 200 kV. The Fourier transform infrared Spectroscopy (FTIR) spectra were measured by the infrared spectrophotometer (Bruker, Vector 22). X-Ray Diffraction pattern was obtained using (Philips, PW3710) diffractometer with Cu-K α radiation (λ ¼ 1.54 Ǻ). Elemental analysis was conducted by vario MICRO elementar made by elementar Analysensysteme GmbH. UV-vis spectra were recorded using UV-vis spectrometer (JASCO, V-350). For Raman spectroscopy, Horiba spectrometer T64000 was utilized with excitation wavelength at 532 nm. The spectral measurements of fluorescence were performed on (JASCO, FP-8300) Spectrofluorometer. pH measurements were carried out by (TWT, pH7110) pH meter.

Preparation of the N-CDs
The nitrogen doped CDs were prepared using the microwave-assisted pyrolysis method as follows: 2.1 g (0.01 mol) of citric acid monohydrate and 1.02 g (0.01 mol) of 2,2-dimethyl-1,3-propanediamine were dissolved in a glass beaker containing 20 ml of distilled water. The mixture was stirred using a magnetic stirrer until a clear homogeneous solution was obtained. Then, the mixture was transferred to a domestic microwave and was irradiated at 570 W for 15 min. At the end of heat treatment, the water is evaporated and a brown solid was obtained. The obtained solid was dissolved in 25 ml of water and then filtrated. To evaporate the water, the solution was left at the laboratory temperature for seven days. Then the residue, consisting of N-CDs, is kept for further investigation.

Quantum yield calculation
The quantum yield of the prepared N-CDs was calculated using quinine sulfate dissolved in H 2 SO 4 0.1 mol/L as a standard. Five different concentrations of both standard and samples were prepared. The absorbance measurements were conducted at the wavelength 360 nm, and kept below absorbance of 0.06. then the fluorescence spectra were measured at the same wavelength (360nm), and the area under the curve were integrated between 380 and 600 nm to obtain the energies of photoluminescence (PL). By plotting the absorbance versus photoluminescence energies. The quantum yield was calculated by the following Eq. (1) [4]: (c refers to the N-CDs and S refers to standard), where Φ is the quantum yield (54% for quinine sulfate) [4], η the refractive index of the solvent (1.3 for water, and 1.33 for H 2 SO 4 0.1 mol.L À1 ) [13], m c is the slope of sample plot and m s is the slope of standard plot.

Spectrofluorometric detection of Hg 2þ ions
The quenching response of the prepared N-CDs towards Hg 2þ ions was investigated in phosphate buffer solution (PBS, pH ¼ 7) at room temperature. Samples containing Hg 2þ ions with precisely known concentrations were prepared. The Hg 2þ ion detection test is performed according to this typical procedure: 1 ml of the N-CDS solution (0.2 g.L À1 ) were added to a mixture of 8 ml phosphate buffer solution and 1 ml of Hg 2þ ions with certain calculated concentration. After mixing for 10 min, the final mixture was left for two hours before measurements to ensure that the reaction was completed. The same procedure was also used for solutions of other ions (Na þ , Ca 2þ , Mg 2þ , Cr 3þ , Co 2þ , Mn 2þ , Cu 2þ , Zn 2þ , Fe 3þ , Al 3þ , Pb 2þ , Ni 2þ , Ag þ , NH 4 þ , Bi 3þ ) and for solutions containing a mixture of these ions. The fluorescence spectra of all solutions (blank, Hg 2þ , metal ions, mixture of ions without Hg 2þ and mixed ions with Hg 2þ ) were recorded at 360 nm excitation wavelength.

pH sensing procedure
For pH sensing procedure, several solutions of NaOH and HCl were used. The general procedure was conducted as follows: 1 ml of the N-CDs solution (0.2 g.L À1 ) was added to 9 ml of acidic or alkaline solution with certain pH value. Then, fluorescence intensity was measured.

Optimization of synthesis conditions
The N-CDs were prepared by one-step microwave-assisted method using citric acid as a source of carbon and 2,2-dimethyl-1,3-propanediamine as a source of nitrogen. The water evaporated during heating and the color of the formed solid gradually turned into brownish. At the end of the heat treatment, a solid brown material was obtained, indicating carbonization was occurred. The route of the synthesis is illustrated in Figure 1.
The synthesis is affected by many factors like the microwave power, the molar ratio and the irradiation time. Thus, to set the optimal conditions for synthesis which yield carbon dots with the best fluorescence properties, an optimization study was conducted. The optimal parameters were found to be: (1:1) molar ratio of carbon source to nitrogen source, the microwave power 570 W, and the irradiation time 15 min. The different optimizations of N-CDs synthesis parameters are illustrated in Figures 2, 3, and 4.

Morphological and structural characterizations of the N-CDs
Transmission electron microscopy (TEM) was used to characterize the morphology of the prepared N-CDs. TEM images ( Figure 5A and B) show that the prepared N-CDs have flake-shape morphology and were consistently dispersed, and about 70% of the size distribution is in the range (40-60 nm) with a maximum population at 50 nm. The relatively large particle size has been already reported in the literature for other carbon dots (Cdots) [39,40,41].
Fourier-transform infrared spectroscopy (FTIR), as a common technique for identifying surface functional groups of materials, was used for further characterization of the prepared N-CDs. Figure 6-A represents the IR spectrum of the N-CDs.
The broad absorption band at around 3345 cm À1 refers to the stretching vibrations of the O-H/N-H groups which play an important role in enhancing the solubility of the N-CDs [24,42,43,44,45]. The shoulder band at 2950 cm À1 is attributed to the stretching vibration of C-H [42,46]. The bands at 1710 cm À1 , 1560 cm À1 and 1300 cm À1 correspond to C¼O and C¼C and C-O stretching vibrations, respectively [46,47,48]. In addition, the band at 1390 cm À1 is related to C-N in amide, whereas the band at 1150 cm À1 is ascribed to C-N stretching in amine and confirms the presence of amine group on the surface of N-CDs [46,47,48,49,50]. Furthermore, a distinctive band was observed at 1652 cm À1 , which represents a typical stretching mode of aromatic C¼N [48]. The results obtained from IR spectrum analysis confirm that the used diamine is grafted on the surface of the carbon dots and amidation reaction should have occurred. Moreover, IR spectra showed a variety of surface groups that lead to fluorescence and also contribute to chemical and optical stability. The results also suggest that nitrogen atoms could be present at the structure of the prepared N-CDs as amine and amide groups, and can be present in the core of the N-CDs as aromatic structure, which may explain their role in enhancing the fluorescence.
For more detailed structural and compositional information about the N-CDs, elemental analysis was carried out for the N-CDs prepared according to the optimum conditions, and the result was as follows: C: 62.55%, H: 9.140%, N: 14.44%, and O: 13.87% (calculated). The result indicates that the as-prepared N-CDs have nitrogen-rich structure.
X-ray diffraction pattern was obtained in the range between 10 to 80 . Figure 6-B shows that the N-CDs have broad diffraction peak at 19.25 o . This peak corroborates the amorphous nature of the N-CDs.
Raman spectrum of N-CDs recorded with 532 nm excitation wavelength is shown in Figure 7. Raman spectrum shows two distinct peaks at 1370 (D-band) and 1602 cm À1 (G-band), respectively. The G-band (sp 2 hybridization) is related to the amount of graphitization associated with the N-CDs, whereas D-band (sp 3 hybridization) is linked to defects and functionalization [51,52]. The intensity ratio of the peak of the G band to the D band was found to be 1.71 [53]. The higher G/D ratio indicates that the synthesized N-CDs are mostly composed of graphitic structure with a certain number of defects and functionalization of N-CDs [54,55].

Optical properties of the NCDs
To investigate the optical properties of the N-CDs, UV-vis absorption spectra and fluorescence spectra of aqueous solutions were recorded. Typically, UV-vis spectroscopy is used to evaluate the maximum absorption by CQDs and thus to set the excitation wavelength at which the emission is maximum in order to obtain the best fluorescence. Two absorption bands are observed in the UV-vis spectrum (Figure 8 -A) of the N-CDs aqueous solution. The shoulder at 250 nm is attributed to π-π* transitions in C¼O, C¼C and C¼N [13,42,48,56]. The other maximum at 360 is ascribed to the typical n-π* transitions in carbonyl bond C¼O [48,56]. The prepared N-CDs have unsaturated bonds which contain nitrogen atom. Introducing doping heteroatoms (e.g., nitrogen, boron, sulfur or phosphorus) endows the carbon dots with electron-rich nature that results in easier energy transfer to the excited π* of the sp 2 orbitals, and eventually enhances the fluorescence [13].   The detailed fluorescence spectra of the N-CDs at various excitation wavelengths (from 300 to 400 nm, with increment of 10 nm at every step) are shown in the ( Figure 8C). The highest fluorescence intensity at 440 nm was obtained by the excitation wavelength at 360 nm, and no obvious shift was observed in the fluorescence peak at 440 nm of the recorded spectra in the range between 300 nm and 400 nm. So, the prepared N-CDs exhibit typical excitation-independent feature. The N-CDs solution emits very bright blue luminescence under UV lamp (365 nm) as can be seen in the inset of ( Figure 8B). Quantum yield was calculated using quinine sulfate as a standard material. The prepared N-CDs have a high quantum yield that reaches about 51.2% ( Figure 8D).

Photostability of the N-CDs
To investigate the stability of the prepared N-CDs, three factors affecting the fluorescence were studied: the effect of exposure to ultraviolet light, the effect of ionic strength and the effect of pH.
The N-CDs solution was exposed continuously to ultraviolet light from a lamp at a wavelength of 365 nm for different periods of time: 5, 10, 15, 20, 25, and 30 min. The results indicate that there is no significant change in the intensity of fluorescence during these periods of time as seen in (Figure 9 -A), where F 0 and F are the fluorescence intensities at 440 nm, under excitation at 360 nm, without NaCl and with NaCl, respectively.  Generally, pH plays an important role in the emission intensity of CDs as their surface carries many functional groups that are affected by changes in the pH values. The pH effect was investigated in the range from 1 to 12. As shown in (Figure 9 -C), the fluorescence intensity is affected by pH values, especially for 1acidic pH. Effect of pH can be demonstrated by the role of surface groups. This point was studied in details later. It is clear that the best fluorescence was obtained at pH 7. So, the pH was fixed at this value during the spectrofluorometric detection experiments.
Furthermore, to ensure the photostability of the CDs for long time storage at room temprature, the flouescence intensity of stored CDs solution was measured periodically after 1,2,3 and four months. The measurements confirm the resistance of CDs to quenching during storage (Figure 9 -D).

Selectivity of the N-CDs towards Hg 2þ
Owing to their unique optical properties, high stability towards a wide range of chemical environments and their solubility in various solvents, especially water, CQDs can be applied as probes for detection of metal ions [9,24,57]. The detection mechanism, mostly based on fluorescence quenching, depends on several factors. Among these factors, functional surface groups play a critical role by forming complexes with the target ions selectively [30,57]. The use of CQDs in ions detection requires-as other analytical methods do-high selectivity. In fact, selectivity is a critical parameter to confirm the effectiveness of the detection procedure and to ensure that there is no interference between the target ion and other ions. To investigate the selectivity of the N-CDs towards mercury ions, solutions of representative ions were prepared including: Na þ , Ca 2þ , Mg 2þ , Cr 3þ , Co 2þ , Mn 2þ , Cu 2þ , Zn 2þ , Fe 3þ , Al 3þ , Pb 2þ , Ni 2þ ,   Ag þ , NH 4 þ ,Bi 3þ and Hg 2þ ions with concentration 24 μmol.L À1 for each ion and then the response of the N-CDs towards them were monitored by fluorescence measurements. For further investigation, we prepared a solution of a mixture of the ions without Hg 2þ , and another one with a mixture of the ions in presence of Hg 2þ ions, to study their competitive effect and to determine the mercury ions role in this response. Most of added ions to N-CDs, other than Hg 2þ , do not exhibit a significant effect on the fluorescence spectrum. Some metal ions (such as Ag þ and Cu 2þ ) decreases the fluorescence intensity slightly, but this decrease is not a considerable interference (Figure 10 -A). In contrast, an obvious and significant decrease in spectrum intensity was observed for mercury ions (Figure 10 -A). In addition, the solution of mixed ions without Hg 2þ does not cause quenching of the fluorescence intensity. On other hand, the fluorescence is sharply quenched in the presence of Hg 2þ ions ( Figure 10B,C). These results confirm that the prepared N-CDs are very sensitive and selective toward Hg 2þ . This allows to implement the use of N-CDs as a probe in the practical detection of Hg 2þ ions.

Sensitivity of Hg 2þ detection
The selectivity experiments show high selectivity of the N-CDs solutions toward Hg 2þ ions, so further and systematic investigation was conducted to examine the response range which can be applied successfully for real determination of Hg 2þ concentration. The concentration of the N-CDs solution was fixed at 0.02 g.L À1 (as final concentration) and pH value is kept at 7 using PBS solution. Series of Hg 2þ concentrations (from 0 to 24 μmol/L) were prepared by adding 1 ml of Hg 2þ ions solution with calculated concentration to 8 ml of PBS solution and 1 ml of the N-CDs solution (0.2 g.L À1 ), then the fluorescence spectra were measured (after two hours) to evaluate the quenching by comparing the sample spectra with the N-CDs blank solution spectrum. As shown in the ( Figure 11 -A), it is observed that fluorescence intensity gradually decreases with the increasing concentration of Hg 2þ ions and the fluorescence is fully quenched at Hg 2þ concentration 24 μmol. Moreover, it is observed that higher concentrations cause red shift that reaches 33 nm at Hg 2þ concentration 24 μmol/L.  Figure 11 -B, C). The limit of detection (LOD) was calculated to be 7.63 nM using Eq. (2) [13]: (σ represents the standard deviation and s refers to the slope of the linear fit). It is notable that the linear behavior of quenching could be fitted with Stern-Volmer Eq. (3) [4]: K sv is the quenching constant, and C is the corresponding concentration of Hg 2þ ions. Stern-Volmer equation for the current study is: F 0 /F ¼ 1.67 [Hg 2þ ] þ 1.01.
To explain this behavior, many points must be taken into account. First of all, complexation interaction between the N-CDs and Hg 2þ ions may take place because of the presence of carboxyl, hydroxyl and amine groups on the N-CDs surface which have tendency to form coordination structures with Hg 2þ , and the results of selectivity experiments reveal that these structures are more stable than those formed with other ions (especially Ag þ an Cu 2þ ions) and as a result, the stability constants of complexes between Hg 2þ ions and N-CDs are higher than those of other examined ions. Furthermore, the coordination complexes may result in a non-radiative electron transfer from the excited state of N-CDs particles to Hg 2þ , thus leading to quenching of the fluorescence. The fluorescence and UV-vis spectra of the N-CDs blank and the N-CDs/Hg2þ mixture are depicted in (Figure 12-A, B). The comparison between the UV-vis spectra of blank N-CDs and N-CDs with Hg 2þ ions (Figure 12-B) shows a red shift which suggests that the formed coordinated structures have changed their electronic distribution [13,46,58,59,60].

The gist behind the N-CDs selectivity towards Hg 2þ with a high sensitivity
It is now well established that the nature of precursors plays a major role in determining carbon dots selectivity towards metal ions [61,62,63]. In a work published recently, the chelation with Hg(II) was attributed to the surface functional groups formed on the Cdots by hydrothermal heating of glucose, aspartic acid, and a branched polyethyleneimine [61]. In order to examine the effects of the three precursors on the formation of the surface chemistry of Cdots, each pair of the precursors was tested separately by forming Cdots and examined with metal ions. The authors showed how the selectivity had changed accordingly. None of the prepared Cdots were selective to Hg(II) ions alone, whereas some of them became selective and specific towards copper ions.
Herein, the inherent structure of both 2,2-dimethyl-1,3-propanediamine and citric acid precursors along with the preparation method parameters dictate the surface chemistry of the as-prepared N-CDs. Thus, the selectivity towards Hg(II) ions becomes an intrinsic property of the current N-CDs.
For more in depth understanding of the selectivity of the current N-CDs towards Hg 2þ ions and the quenching mechanism, recovery of the fluorescence was investigated using chelating agents that have high binding affinity to Hg 2þ ions, such as iodide ions I À . Suitable volumes of iodide solution were added to Hg 2þ /N-CDs system to get final concentrations in iodide ions ranging from 0 to 28 μmol/L. It was observed that the fluorescence intensity is recovered instantly by increasing I À concentration and reached about 75% when I À ions concentration was 28 μmol/L (Figure 13 -A).
It is known that the fluorescence of carbon dots is based on the radiative electron-hole recombination under excitations [63]; and according to this fact, a quencher such as Hg 2þ can cause quenching by non-radiative electron/hole recombination/annihilation via an effective photo induced electron transfer process [62]. When adding Hg 2þ to N-CDs solution, the affinity between Hg 2þ ions and the functional groups   of N-CDs (such as amines) leads to electrons transfer from the excited state of N-CDs to the empty d orbitals of Hg 2þ ions, resulting in fluorescence quenching. The strong binding affinity between Hg 2þ ions and I À ions to form stable ion complex ½Hg I 4 2À (complex formation constant K f ð½Hg I 4 2À Þ ¼ 1:9 Â 10 30 ) leads to extracting Hg 2þ ions from the complex (Hg 2þ /N-CDs), getting free N-CDs and recovering the fluorescent emission [2]. In order to verify this assumption, the same procedure was repeated using EDTA ions (Y 4À Þ as chelating agent of Hg 2þ instead of iodide ions. Y 4À ions are known to have lower binding affinity towards Hg 2þ ions compared with I À ions and consequently they form relatively less stable ion complex ½Hg Y 2À (complex formation constant K f ð½Hg Y 2À Þ ¼ 1:0 Â 10 21:5 Þ:It was noticed that the prepared N-CDs restore to a lesser extent the fluorescence and recovered only about 60% of the photoluminescence intensity (vs 75% for I À ) at concentration of 28 μmol/L. Even at a higher Y 4À concentration of 36 μmol/L, only 68% of fluorescence is recovered (Figure 13-B). The abovementioned experiments shed light on the nature of quenching mechanism. The competition between different ligands to form stable complexes with Hg 2þ could be the reason for the recovery of fluorescence emission.
Increasing the sensitivity by lowering the limit of detection is always a challenge in environmental trace analysis and analytical chemistry. It is well accepted that fluorescence-based analysis is one of the most sensitive technique for metal ion detection. Parameters such as fluorescence quantum yield and the selectivity towards a quencher are among the main factors that determine the sensitivity. By tailoring the design of carbon dots to obtain higher fluorophore quantum yield and greater selectivity towards a quencher, the limit of detection decreases and the detection method becomes more sensitive.
Promoting the fluorescence in Cdots is until now not sufficiently comprehended in literature, and it is considered as an open debate among specialists in the field. This is due to the variety of the Cdots and the complex nature of their formation. However, it is admitted that their surface functionalization through appropriate choice of precursors plays a primordial role in tuning their physiochemical properties. This results in tuning surface-related electronic levels in relation to energy levels of a particular metal ion (the quencher) [61].
In this respect, many preliminary experiments have been performed by our group to choose the best amine precursor that yields both the highest fluorescence quantum yield and the greatest selectivity towards Hg 2þ ions. It has been proved that 2,2-dimethyl-1,3-propanediamine is the most appropriate precursor for the current experimental preparation method as it provides the adequate surface functionalization to have high detection sensitivity. Table 1 contains a comparison between performance of the current N-CDs probe and other recent CQDs probes.
To understand the effect of Hg 2þ ions from an energy perspective, the band gap values of the N-CDs and the N-CDs/Hg 2þ complexes are evaluated. The band gaps were calculated using Tauc Eq. (4) [68]: where hʋ is the energy of exciting light, α is absorption coefficient and E g is the band gap. We plotted (αhʋ) 2 as a function of hʋ (n ¼ 1/2 for direct transitions). Figure 14 illustrates that two band gaps were observed at 3.13 eV and 4.59 eV for the N-CDs, and at 3.66 eV and 4.72 eV for the N-CDs/Hg 2þ complex. These results suggest that Hg 2þ ions cause higher   band gap when they coordinate with N-CDs. As a result, this will render electron transition harder, and lower the fluorescence intensity, i.e. induces fluorescence quenching.

Practical applications of the N-CDs for tap water
Photostability, selectivity, and sensitivity results indicate that the prepared N-CDs could be used for practical applications. So, the current fluorescence probe is applied for Hg 2þ detection in tap water samples. Four samples taken from water tap were investigated by adding known concentrations of Hg 2þ (0.25, 0.8, 1.5, 3 μmol.L À1 ) according to the procedure described above (section 2.5.). Table 2 depicts the analysis results which confirm the effectiveness and accuracy of detection with relative standard deviation (RSD) lower than 2%.

pH sensing application
In addition to fluorescence quenching behavior of the N-CDs towards mercury ions and their quantitative application, they show a distinguishing response to pH values in acidic medium. The functional surface groups play a key role in this response owing to their protonated and non-protonated forms, especially carboxyl and amine groups. As shown in (Figure 15 -A) a red shift was observed in strong acidic pH values. As appeared in (Figure 15 -B, C), the fluorescence increases gradually in the range between 1 and 7, and a linear relationship is found by plotting the fluorescence intensity versus pH values (R 2 ¼ 0.991). The effect of pH on the fluorescence of the N-CDs can be linked to the role of surface carboxyl, amino and amide groups. In acidic pH, the surface carboxyl groups may be protonated, and that leads to aggregation by hydrogen bonds and decrease of the fluorescence intensity [45,59]. On the other hand, amino moieties may be protonated to form (-NH 3 þ ) which has important passivation effect [45]. Moreover, the critical role of amide group is attributed to extensive protonation-deprotonation according to which the deprotonated state has higher efficient electron donating property. Figure 15 -D shows a photographic image of the N-CDs solutions at pH values from 1 to 7, with different colors ranging from green to blue. In summary, these effects result in changing fluorescence with solution pH and shows a good sensing towards pH changes with excellent linearity that allows the applications of the current N-CDs in many fields, especially in biological applications.

Conclusion
In the present work, novel N-CDs by a one-step microwave-assisted synthesis were prepared. The prepared N-CDs have high quantum yield that reaches 51.2% and have been successfully applied for both: Hg 2þ detection and pH sensing, where the obtained limit of detection for Hg 2þ was as low as (7.63 nM) and the pH sensing covered a wide range from 1 to 7.

Author contribution statement
Ali Ghanem: Conceived and designed the experiments; Performed the experiments; Analyzed and interpreted the data; Contributed reagents, materials, analysis tools or data; Wrote the paper.
Rama Al Qassar: Conceived and designed the experiments; Performed the experiments; Contributed reagents, materials, analysis tools or data.
Yomen Atassi: Conceived and designed the experiments; Analyzed and interpreted the data; Wrote the paper.