1 Introduction

Since the escalating need for energy and the depletion of fossil resources have been at odds in recent years, more emphasis has been placed on developing new energy sources. Triboelectric nanogenerators (TENGs) with low costs, high durability, and high processability are emerging as the next generation of energy sources [1]. Triboelectric nanogenerators (TENGs) are highly adaptable electronic devices with numerous potential uses in environmental energy harvesting and self-powered electronics [2]. Concerns over the environmental impacts of conventional electronic devices have been raised due to the rapid development of TENGs. Considering these facts, exploring alternatives to synthetic and toxic materials in electronics is crucial [2].

Many TENGs are based on synthetic polymers with stable chemical bonding, such as polytetrafluoroethylene (PTFE) [3], polydimethylsiloxane (PDMS) [4, 5], polyvinylidene fluoride (PVDF) [6], and polyethylene terephthalate (PET) [7], leading to environmental degradation and toxic chemical releases over decades. Natural materials have a wide range of applications as triboelectric materials [8]. Raw materials are easily degradable by microorganisms after they have been discarded in natural environments since they are derived or extracted from biological organisms and have excellent biocompatibility [9]. Recent research on TENGs made of raw materials concluded that their complex surface architecture significantly impacts produced charge, current, or voltage [10,11,12].

Agricultural by-products such as straw, rice husks, bark, bagasse and marine products such as shellfish and seaweed are sources of biological materials [13]. Among the Agricultural by-products, corn husk is one of the promising, containing a large proportion of cellulose (38.2%) and hemicellulose (44.5%), as well as a small amount of lignin (6.6%) and ash (2.8%) [14]. Corn husk, an abundant lignocellulosic waste material, possesses good flexibility, strength, moderate durability, and high elongation [15, 16]. The corn husk is traditionally burned or discarded, resulting in pollution and the waste of a cellulosic resource [17]. Coconut coir fiber consists primarily of cellulose, hemicellulose, and lignin. These fibers contain a high amount of lignin [18]. Several advantages make coconut fiber very suitable as a filler for composites, including strength, lightweight, heat resistance, salt-water resistance, low cost, and ease of accessibility [19]. Natural fibers are hydrophilic.

Furthermore, their surface contains dirt and other substances, which may affect their bonding strength. Different studies have achieved a good bond between natural fibers and the matrix [20]. One of the most common chemical treatments for natural fiber is alkali treatment. As a result of alkali treatment, most hemicellulose, lignin, waxes, and oils are expected to be removed, and the fiber surface becomes rough due to reduced fiber aggregation [21,22,23,24].

Two-dimensional materials (2D) have recently been considered for use in triboelectric nanogenerators [25]. Different 2D materials such as graphene [26], transition metal dichalcogenides (TMDs) [27], Mxene [28, 29], and some 2D hybrids, such as graphene decorated carbonized cellulose fabric [30] have been reported in fabricating TENGs, till now. Aside from the increased output, the material's thermal stability is a significant concern regarding the practical application of nanogenerators. Graphitic carbon nitride (g-C3N4) can serve as an excellent triboelectric material due to its exceptional chemical and thermal stability [31]. gC3N4, as the first metal-free polymeric material and as the p-conjugated semiconductor, is a 2D layered material with sp2-hybridized carbon–nitrogen bonding [32, 33]. There are numerous reports on the photochemical and photophysical properties of g-C3N4 and its composites [34, 35], and their optoelectronic applications in the literature [36, 37]. But its applications in TENGs are rarely reported [25, 38, 39].

Here we report two novel triboelectric nanogenerators based on gC3N4 nanosheets, corn husk, and coconut coir fibers for the first time. Nanosheets based on g-C3N4 show excellent photo-absorption properties, are biocompatible. These characteristics make them promising materials for triboelectric nanogenerators. In addition, corn husk and coconut coir fibers as by-products, agricultural wastes, and burning them cause environmental pollution. These two by-products can indeed be utilized in triboelectric nanogenerators due to their very rough surface.

2 Results and discussion

2.1 Characterization

Several hypothetical phases of carbon nitrides have been proposed, including α, β, cubic, pseudo-cubic, and graphitic, as shown in Fig. 1 [40]. As a result of the sp2 hybridization of carbon and nitrogen, graphitic carbon nitride has the smallest direct band gap and is considered the most stable phase at ambient temperatures [41].

Fig. 1
figure 1

The Scheme of Crystal Structure Models Proposed for Carbon Nitride a α-C3N4; b β-C3N4; c Cubic C3N4; d Pseudo-cubic C3N4; e a Graphitic-C3N4 Sheet Based on Melamine Building Blocks; and f a Graphitic-C3N4 Sheet Based on Melem Building Blocks. Reprinted with permission from [40]. Copyright {2009} American Chemical Society

An XRD pattern is generally helpful for studying crystallite samples' structural phases. Figure 2c depicts the XRD pattern of the as-synthesized g-C3N4 nanosheets. The XRD equipment used in our study did exhibit some level of noise. Notwithstanding the presence of noise, The g-C3N4 exhibits two prominent diffraction peaks around 12.6° and 27.7°, which correspond to planes (100) and (002) (JCPDS File Number 87e1526). The first peak belongs to the tri-s-triazine unit's in-plane structures and is usually weaker than the second peak. The most substantial XRD peak is caused by the conjugated aromatic system stacking, as seen in graphite. The second peak has a higher intensity and is caused by the stacking of the conjugated aromatic system, as in graphite. There is reasonable agreement between as-synthesized CN peaks and the reported results [32, 42, 43].

Fig. 2
figure 2

a Schematic design of corn husk-based TENG. b Schematic design of coconut coir fibers based TENG. c XRD pattern of the as-synthesized g-C3N4 nano sheets revealing graphitic structure. d FTIR spectrum of the as-synthesized g-C3N4 nanosheets

The Fourier transform infrared spectroscopy (FTIR) can identify the chemical structures of organic compounds, especially those containing specific functional groups. FTIR spectra of the as-synthesized g-C3N4 nanosheets are shown in Fig. 2d. Broad bands of N–H stretching vibrations in the recorded spectrum at 3650–3000 cm−1 overlap with broad bands of OH stretching of the adsorbed water at this wavelength. The absorption peaks in the range of 1639–1247 cm−1 indicate the presence of C–N and C=N stretching vibrations. Peaks in 888.98 cm−1 corresponded to the characteristics of s-triazine ring vibrations [33, 44,45,46]. Other absorption peaks may be caused by unrated urea, adsorbed organic species, etc. [32, 40, 47].

SEM (Scanning electron microscopy) technique was used to evaluate the surface morphology and microstructure information of the g-C3N4 nanosheets and the spin-coated g-C3N4 and ethanol suspension on polyethylene as the negative triboelectric layer of fabricated nanogenerator. According to Fig. 3a, b, g-C3N4 nanosheets are homogeneously formed, and its typical laminated structure is obtained [48, 49]. After spin coating the g-C3N4 and ethanol suspension on polyethylene (Fig. 3c, d), due to accumulating of nanosheets on an adhesive surface, lots of pores and cavities were created, which are appropriate to trap electrons and use in a triboelectric nanogenerator device [50, 51]. EDX spectrum of the sample is shown in Fig. 3e. Based on the EDX results, the as synthesized g-C3N4 includes 33.79% C, 65.25% N, 0.96% O. Typical X-ray mapping images for the g-C3N4 are also shown in Fig. 3f.

Fig. 3
figure 3

SEM images of a and b as-synthesized g-C3N4 nano sheets powder in different magnifications, c and d the spin-coated of g-C3N4 and ethanol suspension on polyethylene in different magnifications. e EDX spectrum of the g-C3N4. f X-ray mapping images for the g-C3N4

The estimation of the absorption edge wavelengths (λAE) was conducted by extrapolating the curves towards the X-axis. These values were then used to calculate the bandgap energies of the samples using the formula Eg (eV) = 1240/λAE (nm). In our study, the absorption edge wavelengths were found to be 400 nm, resulting in a calculated bandgap energy of g-C3N4 of approximately 3.1 eV [32].

The SEM images (Fig. 4a–d) demonstrate that it has a rough surface and is full of bumps and depressions with protruding sharp branches similar to the tread of an elephant. So, the corn husk serves as a great layer or substrate for a triboelectric nanogenerator.

Fig. 4
figure 4

SEM images of ad corn husk, eh coconut fiber @ PVA composite (5 wt.%), il coconut fiber @ PVA composite (10 wt.%), m-p) coconut fiber @ PVA composite (15 wt.%), q-t) coconut fiber @ PVA composite (20 wt.%), in different magnifications

The SEM images of PVA/coconut coir fiber biocomposite with different fiber weight percent are depicted in Fig. 4e–t. Figure 4e–h represents biocomposite with 5 wt.% coconut fibers, (i–l) with 10 wt.% coconut fibers, (m–p) with 15 wt.% coconut fibers, and q–t depict biocomposite with 20 wt.% coconut fibers. As it is clear from the pictures, with the increase in the weight percentage of the coconut fibers in the composite, more volumes of fibers are placed on the surface of the composite. So, the contact surface enriches, so the friction of the two triboelectric layers augments. The number of depressions and protrusions increases, which provides more places to trap electric charge. According to Fig. 4m–p, this composite has a good balance between porosity and fiber percentage, making it an appropriate positive friction layer for a triboelectric nanogenerator.

2.2 Performance and application

This paper introduces two eco-friendly biocompatible triboelectric nanogenerators with vertical contact-separation mode performance. One of them is fabricated by corn husk as a positive friction layer, and another one is manufactured by polyvinyl alcohol/coconut coir fiber biocomposite as a positive friction layer as well. In both TENGs, two-dimensional g-C3N4 nanosheets were employed as a negative friction layer.

2.2.1 Corn husk TENG

Corn husk contains a large proportion of cellulose [15]. As it contains a high cellulose concentration, we employed it for a positive friction layer in the TENG Fig. 2a. In the first step, by choosing corn husk as a positive layer and Al tape as its electrode, the potential application of g-C3N4 nanosheets in triboelectric nanogenerators has been demonstrated compared with kapton as a negative triboelectric friction layer. The results of comparing the output voltage of nanogenerators made by 5 mg/ml g-C3N4 suspension and kapton both against corn husk are shown in Fig. 5a. Polyethylene tape was used as a substrate in the opposing layer in both fabricated TENGs as an intermediate layer to extend charge decay time [50, 52]. According to Fig. 5a, combining g-C3N4 nanosheets and polyethylene as a negative layer had approximately 1.5 times greater output open-circuit voltage than kapton-polyethylene.

Fig. 5
figure 5

Comparison of the output open-circuit voltage of corn husk nanogenerators made by a g-C3N4—PE and kapton—PE negative layers, b Al and Cu electrodes, c Water and alcohol as a suspension matrix phase to make g-C3N4—PE negative layer, d Different concentration of gC3N4 nanosheets suspension in the negative layer. e Dependence of peak V and I on external load resistance. f Dependence of power's peak on resistance of the external load, indicating that maximum power output is obtained at R = 820 KΩ. g Maximum output voltage of corn husk-TENG. h Maximum ISC of corn husk-TENG. (i) Voltage diagrams of corn husk-based nanogenerators for 7200 contact and separation cycles, showing the durability and persistence of the nanogenerator during a regular cycle

One of the influential factors in the triboelectric nanogenerator output rate is the electrode type. As the conductivity and charge trapping sites at the electrode increase, the charge density in the circuit increases, resulting in an increased nanogenerator output voltage [53]. To determine the most suitable electrode for the negative layer of the device, copper and aluminum foils, with a thickness of 100 µm, adhered to the back of the negative friction layer, and the concentration of g-C3N4 nanosheet suspension was adjusted to 1 mg/ml. Voltage diagrams of fabricated TENGs with these two electrodes are shown in Fig. 5b. By comparing their output open-circuit voltages, it can be concluded that Cu (VOC = 350 V) performed better than Al (VOC = 300 V) as an electrode. The reason could be due to the lower place of Cu in the triboelectric series, which means Cu has more negative triboelectric charges than Al [54]. So, for the subsequent experiments, a spin-coated suspension of g-C3N4 nanosheets on polyethylene substrate and Cu electrode was used as a negative friction layer.

Figure 5c shows that di-ionized water and ethanol were compared as the carrier phase of g-C3N4 nanosheet suspension with a 5 mg/ml concentration. The output open circuit voltages of TENGs fabricated by water and ethanol were obtained at about 600 V and 400 V, respectively. Due to the increase of 1.5 times the voltage by the water carrier, water was used as the suspension carrier liquid in the subsequent experiments.

As the concentration of g-C3N4 nanosheet suspension in di-ionized water increases, the output voltage of the nanogenerator also increases. With ascending the suspension concentration from 1 to 5 mg/ml, the average open-circuit voltage increased from 350 to 600 V (Fig. 5d). With a further increase in the suspension concentration, the output voltage did not change significantly, indicating that the surface of the PE was covered entirely with g-C3N4 nanosheet suspension. Hence, a 5 mg/ml concentration of as-synthesized suspension was used for further studies [55].

The system's performance has been evaluated based on the output voltage and corresponding output power recorded from the corn husk TENG device against different load resistances (R varying from 100 KΩ to 1 GΩ) [56]. Figure 5e illustrates TENG's voltage and current while connected to different resistors. After increasing the resistance from 100 KΩ to 1 GΩ, the voltage gradually grew from about 80 V to 630 V. Simultaneously, the current dropped from 0.79 mA to 0.003 mA. Eventually, it became saturated at higher resistances with the highest voltage and lowest current. As shown in Fig. 5f, the maximum power does not appear at very high or very low external load values but rather somewhere in the middle. This is because the output voltage is negligible at low loads, and the output current is low at high loads, causing TENG to enter the short circuit and open circuit states [50].

Consequently, a maximum power of 131 mW and a power density of 32.75 mW/cm2 were achieved at 820 KΩ, sufficient for various low-power microelectronic devices. Under short-circuit conditions, the measured current was approximately 0.79 mA (Fig. 5h). The surface charge density of the dielectric layer was computed as 0.56 µC/m2.

As shown in Fig. 5i, the stability and durability of the corn husk TENG were assessed by applying a continuous external alternating force at 4.5 Hz. The nanogenerator was subjected to a constant force (palm), and its voltage diagram was recorded at two minutes intervals. The durability was tested during 7200 contact and separation cycles in 1600 s. The output performance of this nanogenerator was discovered to be very stable. No change in voltage signals occurred, indicating that the fabricated corn husk TENG is durable.

2.2.2 Coconut coir fiber TENG

Coconut coir fiber consists of a high amount of lignin. They are robust, lightweight, heat resistant, low cost, and have a rough and porous surface [18]. So, we utilize them in a positive friction layer. A biocompatible TENG based on polyvinyl alcohol-reinforced coconut coir fiber and 2D g-C3N4 nanosheets is introduced (Fig. 2b). Coconut coir fibers were washed and, after alkaline treatment, composited one time with PVA and another by PVA and sandpaper as a substrate with 5 wt.% coir fiber. For these two fabricated positive layers, Al tape was used as electrodes, g-C3N4 nanosheet suspension in di-ionized water (5 mg/ml) on PE substrate, Cu electrode was chosen as negative layers, and two TENGs were fabricated. The output open-circuit results of these two TENGs are shown in Fig. 6a. As seen, the VOC of PVA/coir fiber without any substrate is almost 1.5 times more than that of PVA/coir fiber with sandpaper substrate. So, for the following experiments, the TENG is fabricated by PVA/coir fiber without any substrate and with the Al electrode as the positive layer and g-C3N4 nanosheets suspension in di-ionized water (5 mg/ml) on PE substrate and Cu electrode as the negative layer was chosen.

Fig. 6
figure 6

Comparison of the output open-circuit voltage of coconut fibers-based nanogenerators made by a PVA and sandpaper-PVA as substrates of positive layers, b different weight percentages of coconut coir fibers in the biocomposite of a positive layer. c Dependence of power's peak on resistance of the external load, indicating that maximum power output is obtained at R = 33 KΩ. d Dependence of peak V and I on external load resistance. e Maximum output voltage of coconut fibers-TENG. f Maximum ISC of coconut fibers-TENG. g Voltage diagrams of coconut fibers-based nanogenerators for 7200 contact and separation cycles, showing the durability and persistence of the nanogenerator during a regular cycle

To determine the effect of the weight percentage of coconut coir fibers on the output results of the nanogenerator, four TENGs were fabricated by composites with a composition of 5, 10, 15, and 20 wt.% coconut coir fibers. According to Fig. 6b, the nanogenerator's output voltage increases with the increased weight percentage of coconut fibers. With ascending the weight percentage of coconut fibers from 5 to 15 wt.%, the average open-circuit voltage increased from about 300–600 V. With further increase in the weight percentage, the output voltage did not change significantly, indicating that the fabricated biocomposite was saturated entirely by coconut fibers [55].

Similar to the steps to optimize the resistance for the corn husk TENG, the output voltage and corresponding output power were recorded from the coconut fibers TENG device against different load resistances (R varying from 10 KΩ to 10 MΩ). Figure 6d, depicts TENG's voltage and current connections to other resistors. After increasing the resistance from 10 KΩ to 10 MΩ, the average value of voltage gradually ascended from about 114.75 V to 581 V. At the same time, the current descended from 11.47 mA to 0.04 mA and eventually became saturated at higher resistances with the highest voltage and lowest current (Fig. 6e–f). Consequently, a maximum power of 1980 mW and a power density of 495 mW/cm2 were achieved at 33 KΩ. Under short-circuit conditions, the measured current was approximately 11.47 mA. The surface charge density of the dielectric layer was computed as 0.52 µC/m2.

The output results obtained from nanogenerators based on corn husk and coconut coir fibers show that although coconut fibers TENG has the same output open circuit voltage as corn husk TENG, due to its much higher short circuit current, it has much higher output power and it is appropriate for many applications in microelectronic devices. The reason for achieving varying outputs with corn husk and coconut fiber comes from the difference in the electronic structure of the two materials. In general, the triboelectric charge transfer process can be influenced by several other factors like surface states, energy level position of molecular orbitals, electron affinity, dielectric permittivity, etc. [57, 58].

The coconut coir fiber TENG's stability and durability were evaluated by applying a continuous external alternating force at 4.5 Hz Fig. 6g. The nanogenerator was subjected to a constant force (palm), and the voltage diagram was recorded every two minutes. The durability was tested during 7200 contact and separation cycles in 1600 s. This nanogenerator's output performance was discovered to be very stable. There was no change in voltage signals, indicating that the fabricated coir fibers TENG is long-lasting.

2.2.3 TENGs application

Schematic of TENG’s setup, electrical contacts and circuits used for measurements under UV light illustrated in Fig. 7a. The performance model of the fabricated TENGs is a vertical separation contact model, as shown in Fig. 7b.

Fig. 7
figure 7

a Schematic of TENG’s setup, electrical contacts and circuits used for measurements under UV light. b performance model of the fabricated TENGs

The LED lamp test demonstrated corn husk and coconut fibers TENG's ability to generate electricity. These nanogenerators can turn on 55 blue light LEDs simultaneously, as illustrated in Figs. 8a, b. Figures 8c–f depict the maximum output voltage of the devices when they are under a UV (366 nm) light source compared to the visible light. Figure 9 represents the maximum output voltage of two fabricated TENGs under 340 nm, 366 nm, 390 nm, 420 nm, visible light sources, and in darkness. Considering that g-C3N4 has a maximum absorption below 390 nm in the UV–visible absorption spectrum, it is expected that the energy of a 420 nm light source will not be sufficient to excite electrons to higher energy levels. The output voltage is increased under 366 nm UV illumination to approximately 1.5 times than the visible light and 2 times than the darkness. In the presence of UV illumination, g-C3N4 nanosheets photo-generate excess electrons due to the excitation of valence bands into conduction bands [59, 60]. The availability of these photogenerated charges, in addition to the triboelectric charges, makes more triboelectric charges on the friction layers. While illumination occurs, UV-excited electrons are transferred to the vacant states in the positive friction layer, resulting in a higher output voltage [25].

Fig. 8
figure 8

a corn husk-TENG with 2*2 cm2 dimensions, connected in series to 18 commercial blue LEDs. b coconut fibers-TENG with 2*2 cm2 dimensions, connected to 55 commercial blue LEDs, illuminates the lamps using finger pressing. c Maximum output voltage diagram of corn husk-TENG under visible light. d Maximum output voltage diagram of coconut fibers-TENG under visible light. e Maximum output voltage diagram of corn husk-TENG under UV light. f Maximum output voltage diagram of coconut fibers-TENG under UV light

Fig. 9
figure 9

Maximum output voltage diagrams of corn husk-TENG under a 340 nm light, b 366 nm light, c 390 nm light, d 420 nm light, e visible light, f in darkness. Maximum output voltage diagrams of coconut fibers-TENG under g 340 nm light, h 366 nm light, i 390 nm light, j 420 nm light, k visible light, l in darkness

The responsivity (R), which is an important performance metric, of the fabricated nanogenerators was determined using the following equation. Where ΔV represents the voltage difference observed between dark and light conditions, A denotes the effective area of the device, and P represents the incident light intensity [61].

$$R = \Delta V/A.P$$

When subjected to an incident illumination of 10 mW/cm2, the responsivity value was found to be about 104 V/W. This value is comparable with the reported responsivity of a gC3N4/polypropylene-based TENG device [25] and is similar to what has been reported for hybrid perovskite/pentacene -based TENG device in similar incident light intensity [61].

Since g-C3N4 has superior photo-absorption capability, it can be an attractive material for TENG devices. In this regard, the operation of TENGs based on g-C3N4 presents an exciting challenge since incident radiation modulates the surface charge density, which can also be used as a photodetector. Only a few reports describe using TENG as a power source and a photodetector simultaneously [62,63,64].

In addition, due to pyrolysis at a high temperature, g-C3N4-based TENG is extremely thermally and chemically stable, making it capable of withstanding harsh environments. Hence, TENGs based on gC3N4 offer excellent prospects for robust and photoactive devices for future energy applications.

While normal UV nanosensors are primarily designed to detect and measure ultraviolet (UV) light, fabricated Photoresponse Triboelectric Nanogenerators based on 2D-gC3N4 offer a unique combination of energy harvesting and UV sensing capabilities. In contrast to normal UV nanosensors that solely focus on UV detection, these fabricated TENGs offer the added advantage of simultaneous energy harvesting and UV sensing. This dual functionality makes them suitable for applications in self-powered devices, wearable electronics, and portable energy sources, particularly in outdoor or well-lit environments where UV light is abundant. Overall, our research introduces eco-environmentally friendly and robust electronic devices that not only harvest energy from mechanical forces but also serve as active photosensors, highlighting their potential for energy harvesting and photo-sensing applications.

3 Conclusion

A novel, eco-friendly, photoactive triboelectric nanogenerator was designed, fabricated, and characterized based on agricultural waste and two-dimensional g-C3N4 nanosheets. Two triboelectric nanogenerators were investigated based on corn husk and coconut coir fibers, with contact separation mode configuration. The coconut coir fibers TENG had superior properties with a maximum power of 1980 mW and ISC of 11.47 mA. The electrical output of the TENG based on coconut fibers was capable of directly powering at least 55 high-power blue LEDs. Also, g-C3N4's photoactive property manifests itself in a 1.5-fold enhancement in TENG output under UV (366 nm) illumination, showing the device's dual function as a nanogenerator for microelectronic devices as well as a UV photodetector.

4 Experimental section/methods

4.1 Materials

Corn husk and coconut coir fibers were prepared from a local market. Copper plate (thickness: 100 µm), aluminum foil (thickness: 70 µm), meshed surface aluminum tape, 3 M polyethylene tape (PE tape), and ethylene vinyl acetate (EVA) foam as an arc-shaped supporting structure were prepared from a local market and used without any further purification. Urea, sodium hydroxide (NaOH), and polyvinyl alcohol (PVA) (M = 20,000) were prepared from Merck.

4.2 g-C3N4 synthesis

To synthesize g-C3N4 nanosheets, urea was thoroughly powdered in an agate mortar, and 25 g of the powder was placed in an alumina crucible and covered. The sample begins to heat up to 550 ºC at a rate of 2 ºC/min in an air atmosphere. The temperature was held at this level for 3 h until the yellow g-C3N4 was achieved. The obtained g-C3N4 was powdered in an agate mortar for the next steps [32, 65].

Due to preparing four suspensions of gC3N4 in H2O with different concentrations, 10, 30, 50, and 70 mg of gC3N4 were mixed with 10 ml di-ionized water and placed in an ultrasonic bath for 30 min. Then these four suspensions were spin-coated (2000 rpm) on four 3 M polyethylene tape (Fig. 10a).

Fig. 10
figure 10

Images of a Spin coated gC3N4 nanosheets on PE, b Corn husk, c Spin-coated gC3N4 nanosheets on PE, with the copper electrode as a negative layer

4.3 Polyvinyl alcohol/coconut coir fibers biocomposite synthesis

4.3.1 Alkali treatment of fibers

10 g of coconut coir fibers were milled into micrometer pieces and soaked in distilled water at 70 °C for 1 h. After removing the water, the fibers were dried in an oven at 80 °C until they reached a constant weight. In 100 ml of distilled water, 5 g of NaOH pellets were dissolved, then the solution was stirred. After drying, the fibers were immersed in the NaOH solution for 6 h. The final step involved removing the fibers from the solution, washing, and drying them in the oven at 80 °C to ensure constant weight [66, 67].

4.3.2 Composites preparation

PVA granules were completely dissolved in distilled water in four different beakers at a 1:10 ratio while stirring and heating at 180 °C to make four other PVA and coconut coir fiber composites. In the respective beakers, four different fiber compositions (5, 10, 15, and 20 weight percent) were added to the PVA solution and stirred until the fibers were evenly distributed. The solutions were then poured into the moulds and dried in an oven at 70 °C to solidify. Finally, the solids were pressed to form four different combination composite films [66].

5 TENGs fabrication

In the first stage, for fabricating the negative layer, a 2*2 cm2 polyethylene tape was cut, and an aluminum/copper foil of the same size adhered to the backside of the polyethylene tape. On the front side, 1 ml of gC3N4 suspension in Ethanol/water was spin-coated (Fig. 10c).

Two positive triboelectric layers were prepared from corn husk and a biocomposite of polyvinyl alcohol (PVA) polymer and coconut coir fibers. Corn husk was washed and cleaned with di-ionized water and ethanol to make the first positive layer and then cut in 2*2 cm2 size. A meshed surface of aluminum tape of the same size adhered to one side of the corn husk. Due to preparing the second positive layer (coconut coir fiber reinforced polyvinyl alcohol as a biodegradable composite), the meshed surface aluminum tapes with the size of 2*2 cm2 were stuck to each composite film. In all stages of comparison and optimization of layers, the applied force of ~ 13 N was adjusted using fingers and palm.

5.1 Equipment and characterization

The coating was done with the spin coating backer vCOAT4-HS. A digital scientific oscilloscope (MEGATEK-DSO5070) with a 10 MΩ probe and a Keithley 2450 Sourcemeter were used to measure output performance. The surface structure of the samples was examined by scanning electron microscopy (SEM, Philips XL30 SERIES).

To identify the synthesized gC3N4, Fourier-transform infrared spectroscopy (FT-IR) was performed with a Bruker Tensor 27 over a range of 400–4000 cm−1 with a resolution of 2 cm−1. A Philips X-beam diffractometer was used to obtain X-ray diffraction patterns of the specimens over a 2θ range of 10–90° using CuKα radiation (λ = 1.54056 Å).