1 Introduction

pH value of aqueous solutions is one of the most significant parameters in the industry, agriculture, pharmaceutical, human health, environmental control and biological systems. As the measurement of pH is required daily, there is an emerging necessity for rapid, non-degradable, portable and cost-effective methods for this purpose. Up to now, glass pH electrode has been in use as a commercial electrode for pH assessments [1]. Acceptance of glass pH electrode is due to its selectivity, repeatability, and ease of use. However, some drawbacks such as high expense, temperature instability, need for the internal standard solution, upright positioning (applicable only in a vertical position) and inaccuracies in highly acidic and alkali media have restricted its utilization in certain circumstances. Also, determination of pH value in low volumes is necessitating the need for miniaturization of pH electrodes.

For overcoming these restrictions, various solid state non-glass pH electrodes have been developed [2,3,4,5]. Because of mechanical stability and low interference to metal ions, various metal oxides based solid state pH sensors such as platinum, titanium, ruthenium, iridium, lead, zirconium, tin, cobalt, and tungsten oxide have been reported [6,7,8,9,10,11,12,13,14].

Metal oxides could be deposited on various surfaces for the fabrication of metal oxide pH electrodes. Graphene is a honey comb and single layer of carbon with high electric conductivity and good adsorption potential which could be utilized as substrate for the assembly of electrochemical devices [15,16,17]. During the last decade various electrochemical sensors and biosensors based on graphene, graphene oxide, reduced graphene oxide and graphene quantum dots were reported. Due to the problematic multistep synthesis of graphene based materials and purification process, the need for a fast and cost-effective method for graphene synthesis has highlighted. Electrochemical exfoliation of graphite is an efficient route for creating desired graphene nano-sheets in one single step. This method has been successfully used for the developing of electrochemical sensors, adsorbents and storage devices [18,19,20,21].

Pencil Lead electrode (PLE) is a cheap, easily affordable electrically conductive and mechanically stable electrode which could be easily exploited for electrochemical purposes. Recently PLE has been reported to be exfoliated to graphene nano-sheets by applying a direct electric potential to the electrode surface [22,23,24]. Due to remarkable conductivity, high porosity, notable surface area and outstanding electrode transfer rate, graphenized pencil lead electrode (GPLE) could be a suitable electrode candidate for electrodeposition of various nanoparticles such as metal oxides.

In this study, manganese oxide nanoparticles have been deposited electrochemically on the surface of GPLE for construction of a novel potentiometric pH sensor. To miniaturize the pH sensor, a stainless steel hollow needle of a conventional injection syringe was used as a reference electrode [25] and a mechanical pencil lead was employed to perform as a graphite based working electrode. The experimental results obtained for the developed pH sensor were compared with the conventional glass pH electrode which yielded satisfactory results. The miniaturized solid state MnO2/GPLE has a suitable potential for sensitive and selective monitoring of pH routinely with low cost in micro volume samples.

2 Experimental

2.1 Chemicals

Manganese sulfate (MnSO4·H2O) was from Sigma-Aldrich (St. Louis, MO, USA) and stock solution with a concentration of 0.02 was prepared in double distilled water. The pencil graphite rod (HB type) was from Rotring Co. LTD, Germany (R 505210N) with a diameter of 0.5 mm. Hollow stainless needle was purchased from a local provider and maintained in 2 M HCl (as treatment solution) for 6 h. Phosphate buffer solutions (PBS) with different pHs were prepared at an initial concentration of 0.1 M using NaH2PO4 and pH was adjusted by HCl and NaOH solutions.

2.2 Apparatus

Cyclic voltammetry (CV) was carried out by an AUTOLAB PGSTAT-204 (potentiostat/galvanostat) with three electrode system; A platinum wire and saturated calomel as auxiliary and reference electrodes respectively and MnO2 nanoparticles modified graphenized pencil lead electrode (MnO2/GPLE) as the working electrode. Potentiometry (pH measurement) studies were carried out using a Metrohm pH meter (827 pH lab). The utilized dual-electrode system in potentiometry studies was composed of a stainless steel needle as the reference electrode and fabricated MnO2/GPLE as the indicator electrode. Scanning electron microscopy (SEM) images and X-ray diffraction were obtained using a Phenom ProX scanning electron microscope (Hitachi, Tokyo, Japan) and a Bruker AXF (D8 Advance) X-ray powder diffractometer respectively. A conventional AC/DC power supply was used for electrochemical exfoliation of pencil lead electrodes.

2.3 Preparation of graphenized pencil lead electrode (GPLE)

In this study, the pencil lead was electrochemically exfoliated [22, 24] to prepare the GPLE as follows: Firstly, the provided pencil leads were polished using polishing papers and after communicating the electrical contact with a copper wire, the resulted electrode was wrapped in Teflon stripes. Two brown PLE as anode and cathode was rinsed with doubly distilled water and vertically immersed in 1 M sulfuric acid solution for exfoliation process. The electrochemical exfoliation was carried out by applying an optimized potential with the alternating bias between + 8 and − 8 V for five cycles (each cycle consisting of 1 s). The obtained anode electrode with the dark black surface was called graphenized pencil lead electrode (GPLE) which finally was washed with double distilled water and stored in room temperature until further use.

2.4 Fabrication of MnO2 nanoparticles modified GPLE (MnO2/GPLE)

For fabrication of MnO2/GPLE, the prepared GPLE were rinsed and dipped into 1 mM Mn2+ solution containing 0.05 M PBS solution (pH 7). Then continuous CVs were conducted under constant stirring (200 rpm) for 15 cycles over the potential range of − 1.0 to 1.6 V at a sweep rate of 100 mV s−1. Figure 1 shows the CVs of the GPLE during the electrodeposition of MnO2 nanoparticles. It is visible that by cycling the potential, the peak currents gradually grow and reach to a maximum value after 15 nearly cycles. The growing of peak currents and a slight shift of peak potentials is an indication of successful electrodeposition and formation of a thin layer of manganese oxide nanoparticles on the GPLE [26].

Fig. 1
figure 1

Continuous CVs of the GPLE during the electrodeposition of MnO2 nanoparticles at sweep rate is 100 mV s−1; Solution containing 1 mM Mn2+ and 0.05 M phosphate buffer solution (pH 7)

Two apparent anodic peaks at 0.56 V and 1.21 V and also cathodic peaks at 0.83 V and − 0.42 V are related to the quasi-reversible redox reactions between the Mn2+/Mn3+ and Mn3+/Mn4+ which could be described with following equations respectively [27]:

$${\text{M}}{{\text{n}}^{{\text{2+}}}}{\text{ + 2 }}{{\text{H}}_2}{\text{O }} \to {\text{ MnOOH + 3 }}{{\text{H}}^+}{\text{ + }}{{\text{e}}^ - }$$
(1)
$${\text{MnOOH }} \to {\text{ Mn}}{{\text{O}}_2}{\text{ + }}{{\text{H}}^+}{\text{ + }}{{\text{e}}^ - }$$
(2)

Also, deposition of MnO2 on GPLE could be properly described with an ECE equation:

$${\text{M}}{{\text{n}}^{{\text{2+}}}}\xrightarrow{{\text{E}}}{\text{ M}}{{\text{n}}^{3+}}{\text{ + }}{{\text{e}}^ - }$$
(3)
$${\text{M}}{{\text{n}}^{3+}}{\text{ + 2}}{{\text{H}}_2}{\text{O}}\xrightarrow{{\text{C}}}{\text{MnOOH + 3}}{{\text{H}}^+}$$
(4)
$${\text{MnOOH}}\xrightarrow{{\text{E}}}{\text{Mn}}{{\text{O}}_{\text{2}}}+{\text{ }}{{\text{H}}^+}{\text{ + }}{{\text{e}}^ - }$$
(5)

Also, electrodeposition of Manganese oxide on PLE (MnO2/PLE) in identical conditions represents similar but very smaller peak currents and pretty same peak potentials (not shown). The heightened peak currents in MnO2/GPLE may be originating from enhanced conductivity, improved electron transfer property and high surface area of GPLE which properly coated with MnO2 nanoparticles. Finally, the prepared MnO2/GPLE was rinsed with distilled water and dried with N2 stream and stored until the electrochemical studies. To miniaturize the MnO2/GPLE pH sensor setup, the prepared electrode was joint with a stainless steel needle as the reference electrode. The photo image/scheme of the assembled MnO2/GPLE pH sensor is presented in Scheme 1.

3 Results and discussion

3.1 Characterization of MnO2/GPLE

SEM image of the GPLE with magnification the of 50,000 was shown in Fig. 2a. As can be seen, graphite is well exfoliated and a three-dimensional layered structure of graphene on the surface of the GPLE was constructed. SEM images of the MnO2/GPLE with magnifications of 10,000 and 100,000 were shown in Fig. 2b, c respectively. According to these images, a multi-pore and scaly network of the MnO2/GPLE with granular and nano-porous morphology was formed. The images show that MnO2 nanoparticles are properly trapped in the network of the GPLE. This study approves the appropriateness of the GPLE for the deposition of solid state transition metal oxides and assembly of electrochemical devices. Also, a layered structure of GPLE could be helpful for mass transfer and stabilization of electroactive species in modified electrodes.

Fig. 2
figure 2

SEM images of GPLE (a) and MnO2/GPLE (b, c) with magnifications of 10,000 and 100,000 respectively

To acquire excess information about the electrodeposited of MnO2 on the GPLE, XRD pattern of the electrodes were studied. Figure 3 shows the XRD patterns of PLE (A), GPLE (B) and MnO2/GPLE (C). The distinctive peak at 2θ = 26.2° for PLE is attributed to the (002) plane of the hexagonal graphite structure. The peak at (002) is broadened after the graphenization of PLE proving the interlayer increase in the case of GPLE [28]. XRD pattern of MnO2/GPLE contains broad peaks at 2θ = 28.8°, 36.8°, 42.6° and 50.1° corresponding to α-MnO2 [29, 30]. Also, the XRD pattern of the MnO2/GPLE shows the broad (002) peak of graphene implying that the MnO2 nanoparticles are well integrated into the conductive GPLE network. According to XRD analysis, the nucleation and growth of MnO2 nanoparticles on GPLE as a carrier could be concluded.

Fig. 3
figure 3

XRD patterns of PLE (a), GPLE (b) and MnO2/GPLE (c)

3.2 Electrochemical behavior of MnO2/GPLE

Sweeping the potential between the − 1.0 and 1.5 V in supporting electrolytes such as PBS (0.01 M, pH 7) and KOH (pH 12) did not show any obvious decrease in the redox peak currents of MnO2/GPLE which confirm the electrochemical stability of the prepared electrode. Figure 4 shows the CV of the MnO2/GPLE in 0.01 M KOH solution after 30 continuous cycles. The quasi-reversible anodic and cathodic peaks could be associated to the surface-confined electrochemical reactions between the MnOOH and MnO2 which has been deposited on the electrode surface. According to this study, after 30 continuous cycles, the decrease of peak currents was only 2.1% proving the high chemical stability of the fabricated electrode.

Fig. 4
figure 4

CV of the MnO2/GPLE in 0.01 M KOH at the scan rate of 100 mV s−1

3.3 Potentiometric response and pH sensing of the MnO2/GPLE

pH sensing of metal oxides involves a potentiometric response which originates from the equilibrium between the two solid phases of the metal oxide and/or the introduce of species into the metal oxide structure. The equation which describes the pH sensing function of MnO2/GPLE could be represented as Eq. 6 which originated from the redox reaction and proton exchange between the MnO2 and MnOOH. According to this theory, Open Circuit Potential (OCP) or equilibrium potential \(({E_{Mn{O_2}/MnOOH}})\) could be expressed by Nernst equation [31]:

$${E_{\frac{{Mn{O_2}}}{{MnOOH}}}}{\text{ vs}}{\text{. SHE}}=E_{{\frac{{Mn{O_2}}}{{MnOOH}}}}^{ \circ }{\text{ vs}}{\text{. SHE }}+{\text{ }}\frac{{RT}}{{nF}}{\text{ }}ln\frac{{{a_{Mn{O_2}{\text{ }}}}{a_{{H^+}}}}}{{{a_{MnOOH}}}}$$
(6)

where E and E° are the measured and standard potential respectively, R is the gas constant (8.314 J K−1 mol−1), F is the Faraday constant (96487.3415 C mol−1), and T is the absolute temperature (K).

By considering a constant value for and on the electrode surface, and also stainless steel needle as the reference electrode, Eq. 6 could be written as:

$$E={\text{constant}} - {\text{ 0}}{\text{.05916 pH}}$$
(7)

According to this equation, the plot of measured potential in relation to pH values results a straight line with a slope of − 59.16 mV/pH (25 °C). To evaluate the pH sensing function of fabricated MnO2/GPLE, potentiometry method was conducted in numerous solutions with various predefined pHs (Fig. 5). According to this study, the relation between the obtained potentials with respected pHs, is linear (R2 = 0.991) over the suitable pH range with the slope of − 57.051 which is close to the theoretical value (Eq. 7).

Fig. 5
figure 5

Relation between the OCP (vs. stainless steel) and pH value measured at MnO2/GPLE

Reproducibility of preparation procedure of the MnO2/GPLE should be considered for the commercialization. For this purpose, potentiometric response and sensitivity of the five repetitively and independently prepared MnO2/GPLE were put to the test and results were presented in Fig. 6a. The RSD values for slopes and intercepts of the results obtained electrodes were calculated to be 3.23% and 2.26% respectively proving appropriate reproducibility during the preparation procedure.

Fig. 6
figure 6

Relation between the pH value and potentiometric response of five different c (a) and potentiometric response of MnO2/GPLE to sudden pH change (b)

To propose an efficient pH sensor for practical uses, response time and sudden changes in pH values must be assessed. The response time of MnO2/GPLE for quick pH change was studied at hydrodynamic conditions in two different pH solutions in sequence and sudden changes (pH 12.5 and 1.5). The step-change response of the MnO2/GPLE is shown in Fig. 6b representing good step repeatability and fast response in both directions. As shown in Fig. 6b the step change of pH from acidic to alkali media was very fast which the time needed for 90% of the response (t90) was about 20 s. On the contrary, the step from basic to acidic media was relatively slow (t90 = 60 s) which shows a smooth curve resulted by the gradual increase in measured potential. This phenomenon may be due to the slower nature of interactions between electrode surface and solution in the basic environment. As memory effect could cause a delay in potentiometry response of pH electrodes [32]. The t90 values of the developed pH sensor in both directions were less than 1 min in both cases suggesting suitable response time of the MnO2/GPLE for practical applications in different samples. When the electrode potential reached to the steady state at determined pH, a little alteration in the electrode potential was seen after 2 h (> 3.6%) emphasizing the effectiveness of the developed solid state pH sensor.

Sensitivity, dynamic pH range and response time of the developed MnO2/GPLE pH sensor were compared with some other non-glass pH sensors, and the results were summarized in Table 1. As can be seen, the dynamic pH range and response time was improved and/or comparable with respect to similar metal oxides pH sensors [3, 33,34,35,36].

Table 1 Analytical data of MnO2/GPLE and some recently reported solid state pH sensors

3.4 Stability of the MnO2/GPLE

The long-term stability of MnO2/GPLE in acidic, neutral and basic media was explored for a period of 60-day (Fig. 7). According to this study, the developed solid state pH sensors represented high stability during the long-term usage. Also, when the prepared electrodes were kept in the air or partially used to test for a period of 2 months, the response and sensitivity become nearly unchanged and just 7.6 mV drift in slope was observed for three examined electrodes. Long-term stability of the MnO2/GPLE could be mainly related to the appropriate attachment of MnO2 nanoparticles into the porous structure of GPLE. Considering low cost, easy preparation procedure and high stability of the developed sensor, the proposed sensor is a fine candidate for routine pH analysis in daily experiments.

Fig. 7
figure 7

Long-term stability of the MnO2/GPLE in acidic, natural and basic media

3.5 Selectivity

Metallic cations particularly alkali-cations may interfere in the response of pH sensors and reduce the selectivity of electrodes. According to the fixed interference method, the effect of some interfering cations such as Na+, K+, Li+, Mg2+ and Ca2+on the potentiometric response of the MnO2/GPLE was evaluated. In this study, the emf value of the MnO2/GPLE versus stainless steel reference electrode was measured in the solutions with constant activity (10−2 M) of interfering cation, aM, and increasing the activity of the H+ ion. Figure 8 shows the plot of obtained emf values versus the log aH+ in the presence of 0.01 M K+. The meeting point of the linear portions of this plot indicates the value of aH+‏ which could be used for the calculation of according to Nikolsky–Eisenman equation [37]:

Fig. 8
figure 8

Selectivity coefficient determination of the MnO2/GPLEfor the interfering cation K+ (fixed concentration of 0.01 M) with respect to the principal ion H+

$$E={\text{Constant + }}\frac{{2.303\,\,RT}}{{{z_{\text{A}}}F}} \times \log \left[ {{a_A}+K_{{{\text{A,B}}}}^{{{\text{Pot}}}}\,a_{{\text{B}}}^{{{Z_{\text{A}}}/{Z_B}}}+K_{{{\text{A,C}}}}^{{{\text{Pot}}}}\,a_{{\text{C}}}^{{{Z_{\text{A}}}/{Z_{\text{C}}}}}+ \ldots } \right]$$
(8)
$$K_{{{\text{A,B}}}}^{{{\text{Pot}}}}=\frac{{{a_A}}}{{a_{B}^{{{z_{{\text{A}}/{Z_{\text{B}}}}}}}}}$$
(9)

where \(K_{{{\text{A,B}}}}^{{{\text{Pot}}}}\) is the potentiometric selectivity coefficient for ion B with the activity of aB with respect to the ion A with the activity of aA. According to experimental results values for Na+, K+, Li+, Mg2+ and Ca2+ were calculated to be 4.46, 4.39,4.48, 4.53 and 4.49 respectively. Also the interfering of some anions on the response of MnO2/GPLE pH sensor was investigated (Table 2). As can be seen, the pH response of the MnO2/GPLE has not changed remarkably in the presence of examined anions proving high selectivity of the developed solid state pH sensor.

Table 2 Relative error (%) on the potentiometric response of the MnO2/GPLE caused by interfering anions

3.6 Analytical applications and pH measurements in real samples

To evaluate the performance of the MnO2/GPLE pH sensor, the titration of hydrochloric acid as a strong acid (0.01 M) by standard potassium hydroxide solution (0.01 M) were carried out (Fig. 9), and the responses were compared with a glass pH electrode in similar conditions. As it can be seen, the developed pH sensor and standard glass pH electrode show appropriately similar responses in acid-base titration and the end-points are close together, hence proving the practicability of the sensor in the acid-base titration.

Fig. 9
figure 9

Titration of HCl (0.01 M) with NaOH (0.01 M) using glass pH electrode and MnO2/GPLE pH sensor (B)

To evaluate the efficacy of the developed miniaturized pH sensor in complex matrixes, and also in micro volume, pH values of some real samples such as vinegar, milk, apple juice, lemon Juice, saliva, human blood and human tear were examined and compared with the pH values determined with a commercial glass pH electrode. The good agreement obtained with the two electrodes (Table 3) proves the potential of the MnO2/GPLE for the real test applications and routine pH analysis. According to the t-test analysis, there is no systematical at the confidence level of 95% between the developed pH sensor and commercial glass pH electrode.

Table 3 pH of some real samples measured by GPLE/MnO2 and compared with glassy pH electrode

4 Conclusion

In this study, the preparation and pH response of a new miniaturized pH sensor based on MnO2/GPLE was reported. The developed solid state pH sensor responds to pH values between 1.5 and 12.5 with near Nernstian slope of − 57.051 mV/pH. The developed MnO2/GPLE pH sensor represents high selectivity, small response time, good stability and reproducibility in comparison with another solid state pH sensor. The simplicity of fabrication, low cost and accuracy make this sensor as a suitable choice for rapid pH recording in micro volume samples.