1 Introduction

Microbial fuel cells are devices that produce electricity by microbes oxidizing simple chemicals like glucose and complex organic materials in the wastewater [1]. Bacteria grow on the anode, oxidizing organic matter and releasing electrons. The cathode is sparked with air to provide dissolved oxygen for the cathode’s reaction of electrons, protons, and oxygen, completing the circuit and generating electricity. Microbial fuel cells convert a biodegradable substrate directly into electricity and are new types of bioreactors which use exoelectrogenic biofilms for electrochemical energy production [2,3,4].

Microbial fuel cells have advantages over other technologies used for generating energy from organic matter. First, the direct conversion of substrate into electricity permits high conversion efficiencies. Second, they operate efficiently at ambient temperature. Third, they do not require the treatment of gases generated in the cell. Fourth, they do not require additional energy to aerate the cathode, given that it can be aerated passively. Finally, they have the potential for application in remote areas without electrical infrastructure, making them an additional renewable energy option to meet global energy requirements [2, 3, 5]. There is a variety of types and configurations of microbial fuel cells (MFCs), where the most common ones are single chamber microbial fuel cells, double chamber microbial fuel cells and stacked microbial fuel cells [1,2,3, 5,6,7].

More than 30 pure isolates have been reported in microbial fuel cell research, and the mainstream exoelectrogens include Geobacter, Shewanella, and Pseudomonas [8]. Consequently, most of the research operated the microbial fuel cells within a temperature range from 25 to 30 °C. Another important factor is the pH, where the highest power densities occur at pH values near neutral. Precisely, during the experiments the pH should be maintained at 6.7 [2]. Furthermore, the hydraulic retention time (HRT) ranges from 14 to 20 days in most studies [1, 9,10,11,12]. However, in practice, microbial fuel cells can be operated continuously up to 150 days [13].

On the other hand, the nanomaterials can be synthesized in the form of nanocubes, nanowires, nanorods, nanotubes, and nanoparticles (nanospheres and nanocapsules). The main features of implementing nanotechnology are that the physical, chemical, electrical, thermal, and further engineering properties of the synthesized nanomaterials differ intrinsically from the original material properties [14,15,16,17].

Electrode’s conductivity is a critical factor affecting the microbial fuel cell performance, where prototyping electrodes having high electrical conductivity and low resistance to electric current is a key issue in the scientific research and development endeavors in this field [18]. Cathode resistance is evaluated to be the major factors limiting electricity generation by MFCs [7]. Anode biofilm is a critical component for electrogenesis in microbial fuel cells. Better understanding of the biofilm development process on the electrode surface is believed to enhance microbial fuel cell performance [12]. Besides, Rabaey and Verstraete [19] mentioned that the potential losses during electron transfer in MFCs are loss owing to bacterial electron transfer, losses at the anode, losses at the MFCs resistance — useful potential difference — and membrane resistance losses, losses at the cathode, and losses owing to electron acceptor reduction.

Using nanomaterials with different sizes and shapes for covering the electrodes (anode and cathode) will lead to prototyping novel electrodes having higher electrical conductivity than common electrodes. As a result, the microbial fuel cell’s efficiency improves. Graphene, carbon nanotubes, and graphitic carbon nitride have comprehensive performance on opteoelectronics, according to its tremendous physicochemical, mechanical properties, also its high electrical and thermal conductivities are used in many electronic applications [20,21,22]. Furthermore, it is hypothesized that the nanomaterials will improve the biofilm development process on the electrode surface. The objective of this study is to prototype novel electrodes (anode and cathode) with higher electrical conductivity and lower electrical resistance which ultimately improves the efficiency of microbial fuel cells.

2 Materials and methods

2.1 Manufacturing and installing the MFCs

Microbial fuel cells (Fig. 1) were locally manufactured and made of poly(methyl methacrylate), also known as acrylic or plexiglass. Each microbial fuel cell has an elevation of 15 cm and 10 × 10 cm for the section, where the anode chamber was filled with a substrate volume of 1.5 L, and the cathode chamber was filled with a water volume of 1.5 L. Furthermore, Fig. 2 shows the manufactured microbial fuel cells in operation during the experiments, where the electrodes were coated with nanomaterials.

Fig. 1
figure 1

A photograph of one of the manufactured microbial fuel cells

Fig. 2
figure 2

A photograph showing the installed MFCs in operation

2.2 Isolation and monitoring of the electrogenic bacterial growth in MFCs

In order to examine the electrogenic bacterial growth in MFCs over time before and after electricity generation, 10 mL from anode chamber was diluted in 90-mL sterile saline. The bacterial count was initiated by making tenfold dilutions of these suspensions in a sterile saline solution up to 10−5. Then the serially diluted suspensions (50 μL) was spread onto Luria Bertani (LB) agar medium and incubated for 24 h at 37 °C. The colony forming unit (CFU) was calculated by dividing (the total number of bacteria colonies × dilution factor) by (the volume of sample added to the agar plate).

The results indicate that at the two MFC conditions (coated anode with CNT and non-coated anode) exponential increase in the electrogenic bacterial growth after 20 h of operation. However, a slight decrease in bacterial growth after 40 h of operation as the nutrient in the MFCs start to decrease. Interestingly, higher bacterial growth was recorded in the MFCs when the electrodes were coated with 50-mg carbon nanotube compared to control (Fig. 3). It was observed that the isolated electrogenic bacteria have the same morphological appearances, Gram negative and fermentative bacteria (Fig. 4).

Fig. 3
figure 3

Growth of bacteria over time in MFCs as measured by viable cell count. Control; graphite electrodes, CNT; anode coated with 50-mg carbon nanotubes. Aliquots removed at different time points were diluted tenfold with saline solution prior to counting

Fig. 4
figure 4

The total bacterial count of MFCs over time using LB agar medium. Aliquots from anode chamber were collected after 0 (a), 20 (b), and 40 (c) h of operation and diluted up to 10−5

2.3 Nanomaterial preparation

2.3.1 Preparation of carbon nanotubes

Carbon nanotubes (CNTs) were fabricated by using template and catalyst-free CVD synthesis inside nanoporous anodic alumina membranes (NAAMs). A CVD system with a two-stage furnace, a cylindrical-quartz tube with dimensions of 43 and 1000 mm in diameter and length, and temperature and gas flow controllers were used to carry out the fabrication process [23, 24].

2.3.2 Preparation of graphene

A modified Hummer’s method was used to prepare graphene oxide (GO) [25,26,27,28,29,30,31,32]. A typical procedure involved adding H2SO4 (150 mL) to a flask containing graphite (6 g) in an ice bath while stirring. After that, 18 g potassium permanganate (KMnO4) was slowly added to the above mixture, and the ice bath was removed after several minutes. The color of the solution turned to dark green under continued stirring for 2 h at 35 °C. After that, 300 mL of water was slowly added to the reaction mixture, and the conical flask was immersed in boiling water for 30 min. After that, the flask was cooled in an ice bath, and 1 L distilled water was added to stop the reaction. Twenty milliliters H2O2 (30%) was added to reduce the residual permanganate to soluble manganese ions. Eventually, the precipitation was centrifuged and washed with 1-M HCl and distilled water several times, and then vacuum dried at 60 °C for 24 h. After 4 h of heating the filtrate at 60 °C, the dry GO powder is obtained. To obtain rGO from GO, place 100 mg of dried GO powder in an empty beaker. The beaker was covered with aluminum foil with many punched pores and placed in a hood on a hot plate set at 350 °C for 10 min. The rGO powder that resulted was then recovered from the beaker [26].

2.3.3 Preparation of graphitic carbon nitride nanosheets

Graphitic carbon nitride (g-C3N4) nanosheets were synthesized by heating 50 g of urea at 500 °C in air for 3 h [33, 34].

2.4 Nanocoating of the electrodes

To prepare a modified carbon electrode with the electrocatalyst powder, the carbon surface [area = 0.5 cm2] was first polished with soft emery papers and rinsed with double distilled water and ethanol. Twenty milligrams of the electrocatalyst powder was dispersed in a mixture of 1-mL isopropyl alcohol, 1-mL double distilled water and 1 mL of 0.5 wt% Nafion solution with ultrasonic agitation for 20 min to fabricate the electrocatalyst ink. Fifty microliters of this electrocatalyst dispersion was deposited on carbon electrode surface and kept to dry in a desiccator overnight [35].

2.5 Characterization

UV–Vis spectra were obtained with Agilent Cary 60 UV/Vis Instrument Bundle using 1-cm path length Hellma quartz cuvettes. The crystal structures of the samples were analyzed by powder X-ray diffraction (XRD, LabX XRD-6000, Cu Kɑ, λ = 1.5406 Å, Shimadzu, Japan). Scanning electron microscopy (SEM) images were obtained with a ZEISS FE-SEM ULTRA Plus (equipped with EDX analyzer) microscope with a Philips CM20 microscope, operating at an accelerating voltage of 200 kV. Several drops from the sample dispersion were deposited onto an aluminum pin stubs and left to evaporate at room temperature. The FTIR spectra were recorded on a “SHIMADZU FTIR 8000” spectrometer model on KBr pellet samples between 4000 and 400 cm−1.

2.6 Waste handling

Sample of wastewater and sludge was collected from Zenein Wastewater Treatment Plant (Zenein, Bulaq Dakrur, Giza Governorate). This sample was used to fill in the microbial fuel cells and to start the experiments. The properties of wastewater sample were documented as follows: the values of total solids (TS), volatile solids (VS), ash, pH, and organic carbon (OC) of wastewater, sludge, and their mixture are listed in Table 1.

Table 1 Total solids (TS), volatile solids (VS), ash, pH, and organic carbon (OC) of wastewater, sludge, and mixture

2.7 Conducting the measurements

A National Instruments voltage and current input C Series module (NI 9207 Spring, 16-Ch) was used for voltage and current measurements of all MFCs at the same time which is important for constant conditions of the measurements. The NI‑9207 is a combination voltage and current input module designed with industrial systems in mind. It features 8 current and 8 voltage inputs, 500 sample/second, ± 20 mA current inputs, ± 10 V voltage inputs, 24-bit high-resolution mode, with built-in 50/60-Hz noise rejection.

2.8 Calculations

2.8.1 Coulombic efficiency

The coulombic efficiency of the microbial fuel cell, which is defined as the quantity of organic matter recovered as electricity, was calculated according to the following equations [2, 36]:

$$\mathrm{CE}=\frac{\mathrm{Cp}}{\mathrm{Cti}}\times100\%$$
(1)

where

Cp:

total coulombs (C) is calculated as the integral of current (A) with respect to time (h)

Cti:

theoretical amount of coulombs (C)

The graph of current (Y-axis) against microbial fuel cell operation time (X-axis) was used to determine Cp. The total charge (q) in coulombs is obtained by integrating the area under the curve (from t = 0 to 140 h). On the other hand, the theoretical amount of coulombs (Cti) was calculated as follows:

$${\mathrm C}_{\mathrm{ti}}=\left[\frac{\mathrm F\times\mathrm b\times\mathrm S\times\mathrm\upsilon}{\mathrm M}\right]$$
(2)

where

F:

Faraday’s constant (96,485.33 C mol−1 of electrons)

b:

number of moles of electrons produced per mole of substrate (b = 4 for wastewater)

S:

substrate concentration (g L−1), where S = 1000 − 999.352 = 0.648 g L−1 for wastewater

v:

substrate volume (L), which was 1.5 L in the anode chamber

M:

molecular weight of the substrate (M = 32 for wastewater)

2.8.2 Resistance

According to Ohm’s Law equation, the resistance was calculated as follows:

$$\mathrm V=\mathrm I\times\mathrm R$$
(3)

where

V:

voltage, V

I:

current, A

R:

external resistance, Ω

2.8.3 Power and power density

According to the Power Law equation, the power was calculated as follows:

$$\mathrm P=\mathrm I\times\mathrm V$$
(4)

where

P:

power, W

The power density (PD) generated by the microbial fuel cell was calculated in W m−3 based on the substrate volume (v) and the power calculated using Eq. (4), as follows:

$${\mathrm P}_{\mathrm D}=\frac{\mathrm I\times\mathrm V}{\mathrm v}$$
(5)

The areal power density was calculated as follows [37]:

$${\mathrm P}_{\mathrm{AD}}=\frac{\mathrm I\times\mathrm V}{\mathrm A}$$
(6)

where

A:

the projected surface area of the anode, m−2.

PAD:

areal power density, W m−2.

3 Results

3.1 Characteristics of the nanomaterials

Carbon nanotubes (CNTs) with diameters of 40–50 nm and lengths of about 20 mm are shown in Fig. 5a. The pristine g-C3N4, as typical layered and stacked structures are observed in the sample as shown in the SEM image given in Fig. 5b which is composed of nanosheet sheet-like structures and fluffier. The rGO nanosheets, however, are layer organized, irregular, and folding, as demonstrated in the SEM image of Fig. 5c. They are entangled with each other. Figure 5c shows that the single- or few-layer rGO nanosheets are with lots of wrinkles.

Fig. 5
figure 5

SEM images of the prepared carbon nanotubes (a), g-C3N4 (b), and rGO (c), respectively

In Fig. 6, it is shown that the XRD pattern of CNTs contained characteristic diffraction peaks at t 26.52°, 42.48°, 54.71°, and 78.43° 2θ, owing to (220), (100), (004), and (110) reflection of planes, respectively [23, 24]. The XRD pattern of pure-g-C3N4 revealed that peaks at 26.73° and 13.37° can be assigned to (002) inter-layer structural packing crystal plane and (100) inter-planar stacking diffraction planes, respectively. The prominent peak at 26.73° confirms the stacking reflection of conjugated aromatic systems, revealing a graphitic structure with an interlayer spacing 0.326 nm [33, 38]. The 3D character of graphene oxide is reduced as indicated by the disappearance of the narrow XRD reflection at 2θ = 10.8 Aº. In contrast to the XRD pattern of the GO powder sample, the XRD pattern of the r-GO yielded only a new peak at 24.1° corresponding to (002), probably due to intra layer spacing [39], as shown in Fig. 6.

Fig. 6
figure 6

XRD patterns of the prepared carbon nanotubes, g-C3N4, and rGO, respectively

The FTIR spectrum of raw CNTs in Fig. 7 exhibits a broad absorption peak in the range of 3450–3460 cm−1 correspond to − OH group, indicating of existence of the hydroxyl groups on the surface of the CNTs. Indeed, it is found that these groups can be attributed to the oxidation of the carbon surface after exposure to air atmosphere and the absence of catalysts during the synthesis process (i.e., less crystalline structure). The C–H stretch vibration is represented by the two peaks at 2950 and 2850 cm−1. The C–C characteristic peak can be observed at 1580 cm−1. Another peak at 1650 cm−1 is the C − O stretching mode of the functional groups on the surface of the MWCNTs or arising from the absorption of atmospheric CO2 on the surface of the composites. The C–O stretching mode is responsible for the peak at 950 cm−1.

Fig. 7
figure 7

FTIR of the prepared carbon nanotubes, g-C3N4, and rGO, respectively

The FTIR spectrum of g-C3N4, the peaks at 1145, 1213, 1393, 1587, and 1648 cm−1 which are attributed to the stretching modes of CN heterocycles associated with skeletal stretching vibrations of aromatic rings, while the peak at 810 cm−1 corresponds to breathing mode of the triazine units of g-C3N4 (Fig. 7). The three bands at 1724 cm−1, 1222 cm−1, and 1050 cm−1 assigned to carbonyl, epoxy, and alkoxide functional groups, respectively, are dramatically reduced in graphene compared to GO, indicating that the sheets have been deoxygenated [27,28,29,30,31], as seen in Fig. 7.

3.2 Effects of nanocoating on MFCs

The graphitic carbon nitride (g-C3N4) nanosheets deliver the highest performance among all other nanomaterials. The results of the experiments show that coating the electrodes of microbial fuels cells by graphitic carbon nitride (g-C3N4) nanosheets increases the generated electrical power by 4.9 times the control which is without coating (Fig. 8). Another issue, using a pump to intrude air (oxygen) into the cathode chamber has a strong effect on the amount of generated power from the microbial fuel cells (Figs. 9 and 10). In case a pump is used to intrude air into the cathode chamber, the results show that the voltage value reaches 1.234 V directly after operating the MFCs with a constant loading resistance of 80 kΩ, where the electrodes are coated with graphitic carbon nitride (g-C3N4) nanosheets, and shows voltage stability till the end of the 140 h interval with a constant loading resistance of 80 kΩ, where the peak voltage reaches a value of 1.367 V (Fig. 8) with a maximum areal power density of 116 mW m−2 and a maximum volumetric power density of 15.6 mW m−3. However, the voltage of the control (without coating) is steadily increased to 0.616 V after 22 h with a maximum areal power density of 23.6 mW m−2 and a maximum volumetric power density of 3.2 mW m−3, with a constant loading resistance of 80 kΩ, then shows voltage stability till the end of the 140 h interval. In case no pump is used to intrude air into the cathode chamber; however, the voltage reaches its peak value after 55 h of operating the microbial fuel cells (Fig. 9). In both cases, the peak value is preserved till the end of the experiment which lasts 140 h. By this method, it is possible to improve the electrical conductivity of the MFCs which results in increasing the generated electrical power by 4.9 times the conventional method. Table 2 shows these data for all treatments.

Fig. 8
figure 8

The voltage of the microbial fuel cells where a pump was used to intrude air into the cathode chamber

Fig. 9
figure 9

The voltage of the microbial fuel cells where no pump was used to intrude air into the cathode chamber

Fig. 10
figure 10

The voltage of the microbial fuel cells in the case where no pump was used to intrude air into the cathode chamber in comparison to the case where a pump was used to intrude air into the cathode chamber

Table 2 The highest voltage, electric current, power, aerial power density, and volumetric power density of all treatments

The electric current of the microbial fuel cells where a pump is used to intrude air into the cathode chamber is plotted for all treatments (Fig. 11). For each curve, the total coulombs are calculated as the integral of current with respect to time and then divided by the theoretical amount of coulombs to get the coulombic efficiency of the microbial fuel cell. The results show that the coulombic efficiency of the microbial fuel cell where its electrodes are coated with graphitic carbon nitride (g-C3N4) nanosheets, graphene, and carbon nanotubes (CNTs) compared to the control are 19.91%, 18.68%, 18.62%, and 8.54%, respectively.

Fig. 11
figure 11

The electric current of the microbial fuel cells where a pump was used to intrude air into the cathode chamber

The electrode’s durability is a critical parameter that determines MFC performance. The cell voltage was measured using a constant external resistance of 80 Ω to determine the durability performance. In all of the treatments, the voltage of the cell steadily increased. The voltage values increased, which could be related to the consistent and healthy growth of bacterial colonization on the anode surface. The treatments demonstrated high voltage in the second cycle, with > 95% efficiency compared to the first cycle. The voltage efficiency of the microbial fuel cell where its electrodes are coated with graphitic carbon nitride (g-C3N4) nanosheets, graphene, and carbon nanotubes (CNTs) is 96.2%, 95.7%, and 92.4%, respectively, compared to the first cycle.

4 Discussion

The present investigation focused on using microbial fuel cells for generating electrical power from wastewater. This wastewater is annually produced in large quantities thereafter subjected to physical, biological, and chemical treatment processes in wastewater treatment plants. Therefore, this approach would not only remediate wastewater, but also generate electricity. However, microbial fuel cells use in wastewater treatment plants is restricted due to resistances of the electrodes which are the major factors limiting electricity generation. This study focused on using nanomaterials for coating the electrodes of microbial fuel cells for increasing electrical power generation from wastewater which leads to prototyping novel electrodes having higher electrical conductivity than common electrodes. Consequently, the efficiency of the microbial fuel cell increases. It was found that, the coulombic efficiency of the microbial fuel cell where its electrodes are coated with graphitic carbon nitride nanosheets was higher than graphene, carbon nanotubes, and the control in a descending order, respectively. This also indicated that prepared electrodes were very compatible for bacteria growth and non-hazard for living microorganisms. Due to their unique properties, electrodes coated with g-C3N4 showed high performance. Graphitic carbon nitride (g-C3N4) is a two-dimensional conjugated polymer with outstanding analytical merits such as non-toxicity, metal-free, high stability, low-cost synthesis, catalytic ability, low band gap energy, unique electronic properties, and electron-rich properties.

In accordance with the current work, previous studies have demonstrated the use of coating materials is a promising technique for extending the electrical power generation from wastewater using microbial fuel cells [11, 40]. Cui et al. electropolymerized the polyaniline on the surface of macroporous graphite felt microbial fuel cell anode then deposited carbon nanotubes, where the output voltage attains a value of 342 mV. In the present study, however, coating the electrodes with nanomaterials delivered an output voltage of 1370 mV [41]. This can be attributed to the types of used nanomaterials, especially the g-C3N4 nanosheets and the coating method. On the other hand, Erbay et al. controlled the geometrical properties of carbon nanotube electrodes, where the output voltage attained 500 mV [42]. Therefore, it can be said that the invention trend of coating the electrodes agree with the present study, but with different results due to the fact that different types of nanomaterials and coating methods were applied which ultimately delivered different output voltages. Further studies have investigated materials — other than nanomaterials — for coating the electrodes, such as: manganese dioxide [11], a defined pore size (DPC) material made of silica and sucrose [40], and macro-fiber composites [9].

In this study, it was found that nanomaterials can accelerate electron transfer and oxygen reduction in the microbial fuel cells which agrees with Kamali et al. [43]. Besides, in the current research, carbon-based electrodes have enhanced and increased the electroactive surface area, increased the electrical conductivity, and promoted biofilm formation and the electron transfer rate which agrees with Wilberforce et al. [44]. The vision of this research is to modify the electrode to strive for compatibility with bacteria for the improvement of the electrical energy generation which agree with the statements of Kaur et al. [45]. Liang et al. [46] have used graphene oxide and carbon nanotubes, where the present study used both materials too. However, the present study found that graphitic carbon nitride nanosheets outperformed both graphene oxide and carbon nanotubes. Also, the results showed high durability of the nanocoating electrodes [47, 48]. Further studies have implemented different nanomaterials such as manganese oxide nanowires and nanorods [49] and nanocomposite of graphene and nickel nanoparticle [50] in a similar approach applied in the current study.

On the other hand, the bacteria are the main players in generating electrical energy within the microbial fuel cells such as Geobacter, Shewanella, and Pseudomonas [8] as well as Lysinibacillus strains, Chryseobacterium strains, Escherichia strains, and Bacillus strains [51], where future research should focus on the biostimulation of these MFC bacteria using nutrients in the form of nanomaterials as conducted in previous research on bacteria used in indifferent applications [52,53,54,55,56,57,58,59]. Other issues facing the implementation of MFCs in wastewater treatment plants are the material and cost of the anode electrode, where MFCs are still unfeasible for commercialization. Future research should focus on the use of natural and eco-friendly materials to build electrodes for microbial fuel cells [60,61,62,63,64].

5 Conclusions

According to the results of this study, it can be concluded that:

  1. 1.

    The coulombic efficiency of the microbial fuel cell where its electrodes are coated with graphitic carbon nitride nanosheets was higher than graphene, carbon nanotubes, and the control in a descending order, respectively.

  2. 2.

    Coating the electrodes with graphitic carbon nitride nanosheets increases the electrical conductivity of the microbial fuel cells which results in increasing the generated electrical power by 4.9 times the conventional method.

  3. 3.

    Coating the electrodes with graphitic carbon nitride nanosheets increases the coulombic efficiency of the microbial fuel cells by 2.33 times the control.

  4. 4.

    Higher bacterial growth was recorded in the microbial fuel cells when the electrodes were coated nanomaterials compared to control.

  5. 5.

    Using a pump to intrude air (oxygen) into the cathode chamber has a strong positive effect on the amount of generated power from the microbial fuel cells.

  6. 6.

    Future research will focus on synthesizing novel nanomaterials to be used for coating the electrodes of microbial fuel cells in order to increase the electric energy generation from wastewaters.