1 Introduction

The textile industry is a company that harms the earth, specifically in the environment such as a river, lake, and sea. The untreated liquid waste which was then released into the natural environment that has environmental problems. Environmental problems around the world related to the textile industry are usually of water pollution due to the disposal of untreated waste and the use of toxic chemicals, especially during the processing stage. The waste is a critical environmental concern, drastically reducing oxygen concentration affected to the presence of hydrosulfide which prevents light into the surface of water consequently damage of the aquatic ecosystem and causes of a large amount of environmental degradation and human disease, around 40% dyes used globally contain organically bound chlorine [1, 2].

Textile waste has high BOD (Biological Oxygen Demand) characteristics (from 700 to 2000 mg/l) and COD (Chemical Oxygen Demand) load, suspended solids, mineral oil, and residual dyes, 10–25% textile dyes are lost during the producing coloring, and 2–20% are directly disposed of liquid waste in different environmental components [3]. Recently conducted by Ref. [4, 5] multifunctional material based on Fe3O4-activated carbon (AC) composite of with a variety AC compositions was obtained, an ideal composition of 25% AC for absorbing liquid waste from the textile industry. The new problems of Fe as the basic material was considered to be a material that producing new waste by the oxidation processes that cause corrosion when it has been applied to the surrounding environment (natural). Ref. [6] evaluated the removal Cu2+ and Zn2+ in water utilizing the adsorption process using three bio-sorbents derived from castor biomass (bark, endosperm, endosperm + seed coat) and several studies conducted using AC [7,8,9] has been carried out but was still constrained by substantial funding and less environmentally friendly. Therefore, innovations with affordable and environmentally friendly concepts were needed as sustainable development goals (SDGs): point 6. Clean water and sanitation and point 7. affordable and clean energy [10,11,12].

For the present photocatalyst technology using the part of the plant, biomass has become a potential alternative technology to be developed. This method is believed to be very promising, especially cheap, has good adsorption ability, easily regenerated, and safety for the environment [13]. The innovation that became the idea in this study was to utilized biomaterials into environmental friendly as a bio-photocatalyst by using castor leaf (Jatropha curcas L).

Jatropha curcas L is a plant which resistant to drought, it able to grow fast in a barren and rocky field. Soil pH conditions suitable for this plant in between 5 and 6.5 [14]. Ref [15] reported that the castor leaf can grow in areas with an altitude of 0-800 m above the sea, and average temperatures between 25 and 35 °C. Jatropha curcas L uses several components that were used as biodiesel producers such as seeds and stems, but the leaves have not been utilized.

The method used to reduce the negative effects of textile industry waste is treated by using chemical, physical, and biological methods. The combination of chemical and physical methods is used in the photocatalytic processes of liquid waste treatment. The photocatalyst is a method that can increase the rate of oxidation and reduction reactions induced by light. The use of photocatalysts is considered an efficient method of separating pollutant compounds by the absorbing visible radiation from the sunlight. Photocatalytic usually uses materials with the characteristics that are easily binding with other atoms of pollutants such as oxide materials, non-toxic, and also easy to synthesis [16,17,18,19,20,21,22]. The materials that fulfill these criteria are semiconductors [23,24,25]. The semiconductor materials that have been used widely for photocatalytic applications in industrial wastes [25, 26] are ZnO, CuO, and Fe3O4. Furthermore, the potential of semiconductor material as a photocatalytic is due to an easily generated electron/hole (e-/h+) which can produce the radical atoms for the breakup waste bond and also this material can be doped with metal or non-metallic elements. The previous reported for semiconductor ZnO doped by various materials; graphene oxide [27], polyvinyl chloride (PVC) and PVA [28, 29], and carbon nanotube (CNT) [30] for photocatalyst and antibacterial applications.

In this research, the carbon-lignin/ zinc oxide hybrid composite nanocrystalline as photocatalyst materials mediated from an extract of castor leaf for various calcination temperature (500 °C, 550 °C, and 600 °C) and pH (4, 7, and 10). Structural properties, chemical bonding, and surface structure of bio-sorbent were analyzed by using powder x-ray diffraction (PXRD), Fourier transforms infra-red (FTIR), and scanning electron microscopy (SEM), respectively. For the application photocatalyst in the textile industry liquid waste analysis by calculating the degradation ability from the spectra of the UV-Vis spectrophotometer.

2 Materials and Method

2.1 Sample Preparation

In this study, the materials use to producing composite bio-sorbent is castor leaf (Jatropha curcas L), Zinc acetate dihydrate (CH2COO)2Zn*2H2O (Merck), NaOH (Sodium Hydroxide) Merck, HCl (Hydrochloride acid) Merck, Aquades, and textile industry liquid waste. Castor leaf was cleaning by using distilled water, dried for 7 days at room temperature then crushed with a blender and then filtered to produce castor leaf powder. The castor leaf synthesis process can be seen in Fig. 1.

Fig. 1
figure 1

Illustration process for synthesis of castor leaf powder

2.2 ZnO Crystallization Process

Fabrication of the castor leaf solution, castor leaf powder was dissolved with distilled water using a magnetic stirrer at 60 °C for 30 min. The Castor leaf solution was mixed with HCL / NaOH solution and zinc acetate solution to obtain the ZnO solution. After that, the ZnO solution centrifuged for 30 min at 12000 rpm to produce lignin/ZnO bonding together, and other compounds in solution will be separated and then heated using the microwave at 80 °C for 5 h. The calcination process was carried out at the temperature of 500 °C, 550 °C, and 600 °C for 2.5 h to get carbon-lignin/ZnO nanocrystalline. Illustration process in producing carbon-lignin/ZnO nanocrystalline can be seen in Fig. 2 a and the modification scheme as the effect of heating and calcination to form the hexagonal ball-like structure of carbon-lignin/ZnO material in Fig. 2b.

Fig. 2
figure 2

a Illustration process for producing carbon-lignin/ZnO nanopowder from castor leaf. b modification scheme as the effect of heating and calcination to form hexagonal structure of carbon-lignin/ZnO material

2.3 Photocatalytic Test

The absorption spectra were measured with a UV-Vis spectrometer. The percentage of methylene blue as a model textile industry waste degradation in the photo-catalyst process is calculated by the equation: \(D \left(\%\right)=\frac{{C}_{0}-{C}_{t}}{{C}_{0}} \times 100\%,\) where \(D \left(\%\right)\)is the percentage of degradation, \({C}_{0}\) is the initial absorbance (before irradiation), and \({C}_{t}\) is the absorbance after time \(t\).

2.4 Sample Characterization

Sample characterization is carried out by using powder X-ray diffraction (PXRD) ((Shimadzu 7000) with radiation CuKα (λ = 1.5405 Å) at range angle 15° ≤ 2θ ≤ 80° operation on 30 kV and 10 mA) for determine the structural properties of lignin/ZnO nanocrystal. Fourier Transform Infra-Red (FT-IR) IRPrestige-21 FT-IR spectroscopy (Shimadzu Corp) to determine chemical bond and functional group of the samples for wavenumber 400–4000 cm− 1, and UV-Vis spectroscopy (Shimadzu UV-Vis Spectrophotometer UV-1800) to determine the absorption of material at the wavelengths 400–800 nm in the range of visible light. The results of these measurements are used to analyze the absorption ability of composites to appropriate absorber for industrial liquid waste.

3 Analysis Data

3.1 PXRD Spectra

The average crystallite size D determining from the Debye-Scherrer formula as follows [3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34]:

$$D=\frac{k \lambda }{B\text{cos}\theta }$$
(1)

where, k is a constant (0.9), λ is an X-ray wavelength (for Cu is 0.154 nm), B is the full width at half the maximum (FWHM) of the diffraction peak, and θ is the diffraction angle. The value of D used for the calculation of dislocation density (δ) by the relation δ = 1/(D2).

The lattice parameter a and c, lattice volume (V), and bond length (L) are determined by the following equation:

$$\frac{1}{{d}^{2}}=\frac{4}{3}\frac{\left({h}^{2}+hk+{k}^{2}\right)}{{a}^{2}}+\frac{{l}^{2}}{{c}^{2}}$$
(2)
$$V=\frac{\sqrt{3}}{2}{a}^{2}c$$
(3)
$$L=\sqrt{0.3{a}^{2}+{\left(\frac{1}{2}-u\right)}^{2}{c}^{2}}\, where\,u=\frac{{a}^{2}}{3{c}^{2}}+0.25$$
(4)

Lattice parameter (a and c), lattice volume (V), and bond length (L) based on the quantitative analysis of PXRD spectra. The porosity was calculated based on the Eq. (46) in Ref. [24], briefly repeated here by the following equation:

$${\rho _s}=\frac{{nM}}{{Nabc}}=\frac{{nM}}{{N{V_{cal}}}}$$
(5)
$${\rho _{ex}}=\frac{m}{{{V_{\exp }}}}$$
(6)
$$P=\left( {1 - \frac{{{\rho _{ex}}}}{{{\rho _s}}}} \right)\,\times\,100\%$$
(7)

where; ρs is the X-ray density, ρex is the experimental density, P is the porosity (P) n is the number of molecules per unit cell, M is molecular weight, N is Avogadro number. The sample preparation for PXRD instrument is in the pellet form, it’s easy to determine the mass (m) and the volume (Vexp). The crystallite size, lattice parameter, volume, porosity, bond length, porosity, and dislocation density are shown in Table 1.

Table 1 Crystallite size, lattice parameter, and porosity derived from XRD spectra in Fig. 3 for carbon-lignin/ZnO nanoparticle at various calcination temperature (500 °C, 550 °C, and 600 °C) and various pH (4, 7 and 10)

3.2 UV-Vis Spectra

There are two ways for determining the band gap with high accuracy, first, by quantitative analysis of reflection electron energy loss spectroscopy (REELS) spectra from the low loss region as reported in [35,36,37,38,39] and the second is by using quantitative analysis absorption spectra from the Uv-Vis spectroscopy as reported in [40]. In this study, we applied Tauc-plot relation by quantitative analysis of the Uv-Vis absorption spectra for determining the band gap and the value presented in Table 2. The Tauc-plot plot relation with α is the absorption coefficient as follows:

Table 2 The rate constant (kr) and correlation coefficient values (R2) of carbon-lignin/ZnO synthesized from castor leaves for various calcination temperature and pH from degradation analysis in Fig. 10 and bandgap from quantitative analysis of UV-Vis spectra in Fig. 5
$$\alpha =\frac{{A\left(hv-{E}_{g}\right)}^{1/2}}{hv}$$
(8)

where A is the coefficient of proportionality, h is the Planck constant, v is the frequency of light, and Eg is the band gap. The bandgap indicated by the cross point in the x-axis in Fig. 6 (red line) from the quantitative analysis of UV-Vis absorption spectra.

4 Results and Discussion

Figure 3 a shows the X-ray diffraction pattern of carbon-lignin/ZnO nanocrystalline for pH.4, pH.7, and pH.10 with calcination temperature for each pH is 500 °C, 550 °C, and 600 °C. The diffraction patterns of carbon-lignin/ZnO nanocrystalline show at (110), (006), and (113) for various intensity. Diffraction peak (110) is a hexagonal crystal structure of ZnO [4]. The diffraction peak at below 30° and above 50° assigned by a vertical dashed line is contributed from carbon-lignin as reported in [41,42,43] and the small diffraction peak in between (110) and (006) assigned the contribution of the hydroxyl from the castor leaf sitting in the lattice of ZnO [42, 43]. Table 1 shows that when the calcination temperature increases the crystallite size and porosity was increase as can be seen for the same pH. For the lattice parameter (Å) the results look similar for all samples but for the dislocation density parameter, it will increase with increasing the calcination temperature and the pH. Spectrum XRD also shows that the higher calcination temperature and pH then the formation of the atom in the crystal structure is going to the stable position as shown in the peak diffraction at the calcination temperature 600 °C which is more stable as similarly reported in [23]. We can see in Table 1, the crystallite size for the same calcination temperature decreased with increasing the pH which is similarly reported in [25, 44, 45] that indicated the formation of atomic crystal in the lattice more stable. The crystallite size was increased with increasing the calcination temperature may due to the effect of solidification of atoms or probably the carbon atom sitting in the lattice of ZnO structure [42, 43, 46]. The crystallite size is strongly correlated with the level of the density and the volume of the atomic crystal in the material [4, 5, 16, 23, 32,33,34, 47]. Changes in the lattice ratio (c/a) are proportional to the volume, porosity, bond length, and the dislocation density of carbon-lignin/ZnO nanocrystalline with calcination temperature and pH consequently as the effect of crystallite size [23, 45, 48].

Fig. 3
figure 3

XRD spectra (a) and FTIR spectra (b) for carbon-lignin /ZnO nanopowder at various calcination temperature (500 °C, 550 °C, and 600 °C) and various pH (4, 7, and 10)

Figure 3b shows the FTIR spectra of carbon-lignin/ZnO nanocrystalline for various: pH.4, pH.7, and pH.10 for each variation calcination temperature 500 °C, 550 °C, and 600 °C. The functional group of the O-H band at the wavenumber 3250–3750 cm− 1. At the wavenumber 1250–1750 cm− 1, there is a chemical bond in the form of C = C-C from the carbon-lignin, wavenumbers between 1000 and 1250 cm− 1 are formed in the form of Zn-O-H [42, 46, 49]. It is formed due to the bonding between Zn atoms with the OH molecule from carbon-lignin. For wavenumbers between 450 and 500 cm− 1 is formed chemical bond is Zn-O. FTIR spectrum also confirmed that the higher calcination temperature the peak of the O-H bond decreases, as we expected due to the evaporation of the hydroxyl group in the composite. Also, there is a widening of the peak Zn-O-H bonds as increasing the calcination temperature, this is due to the Zn-O compound stretching the oxygen bond vibration from the carbon-lignin which is then occupied by O-H so that it becomes Zn-O-H as described by Ref. [44]. For the effect of pH, it can be seen that the highest intensity shown at a pH 7, which is supported by the peak of the Zn-O-H bond more stable than the other peaks. FTIR spectra also show compounds from the carbon-lignin by the presence of C≡C bonds at the wavenumbers from 2250 to 2350 cm− 1 as reported in Ref. [31, 49, 50]. Based on the analysis of FTIR spectra indicated that carbon-lignin/ZnO has been successfully synthesized from castor leaves as a natural material by the presence of C≡C, C = C-C, Zn-O, and Zn-OH bonds which is consistent with the XRD spectra.

Morphological analysis of carbon-lignin/ZnO synthesis from castor leaves is shown in Fig. 4. The results show that the particle shape of carbon-lignin/ZnO resembles a hexagonal ball-like shape with a magnification of each 50 µm for each temperature and pH, which is dominated by white variations such as clouds and dark gray. The hexagonal shape in the micro size indicated that the carbon-lignin structure as reported in Ref. [42, 43, 46], the ZnO nanocrystalline probably attached in the surface of carbon-lignin which was consistent with the crystal structure from the PXRD spectra in Fig. 3a. The white color shown in the SEM surface morphology indicated the ZnO nanoparticle as reported by Ref. [51,52,53] and for the dark gray color assigned carbon-lignin from the leaf of the Castors. Based on the SEM surface image for the same magnification, 50 µm shows for the 600 °C (pH 10) the morphological structure formed is also clearer, the bonding is better, and the surface structure which is supported by the lack of defects. The effect of temperature between 500 and 600 °C shows no significant different but for pH 4 at 600 °C shows destroy few part at the surface hexagonal structure as can be seen clearly in Fig. 4 (bottom left side).

Fig. 4
figure 4

SEM image from the hexagonal structure of carbon-lignin/ZnO for calcination temperature 500 °C and 600 °C (pH 4 and 10)

Figure 5 shows Uv-vis spectra as a function of irradiation time for various calcination temperature and pH of the carbon-lignin/ZnO synthesized from castor leaves. The maximum absorbance peak at the wavenumbers in between 550 cm− 1 to 700 cm− 1 and the intensity of irradiation samples decreased with increasing the calcination temperature. For Uv-vis spectra at 0 min indicated non-irradiation was used for determining the bandgap by using the Tauc plot [40] as can be seen in Fig. 6.

Fig. 5
figure 5

UV-visible absorption spectra of carbon-lignin/ZnO synthesized from castor leaves for various calcination temperature (500 °C, 550 °C, and 600 °C) and pH (4, 7, and 10)

Fig. 6
figure 6

Bandgap of carbon-lignin/ZnO synthesized from castor leaves for various calcination temperature (500 °C, 550 °C, and 600 °C) and pH (4, 7, and 10) determined from Figure by Tauch plot relation)

The bandgap is the energy difference between the levels of conduction energy to the level of valence energy [35,36,37,38,39, 44] as can be seen in Fig. 6, the value of the bandgap indicated by the cross point between the line fits with the spectra to the x-axis. The bandgap is an important parameter for photocatalytic application due to the strongly related to the wavelength for generating pairs of electron and hole (e/h). The (e/h) is used to produce radical atoms or molecules, consequently, these radical going inside the molecule of harmful pollutants to break up the bonding until the final product is less harmful [54]. The bandgap strongly depends on the pH, for pH 4 the bandgap is less than 3 eV, for pH 7 the bandgap around 3 eV, and for pH 10 the bandgap is higher than 3 eV. The bandgap is in the range of visible region, similar reported from Ref. [55,56,57] analysis by photoluminescence spectra of nanocomposite ZnO/polyaniline [55] and ZnO nanorods [56, 57] for sensor applications. For more detail about bandgap value sees Table 2. At the calcination temperature is 550 °C the value of the bandgap is decreased probably due to the electronic structure as the effect of stretching of the O bond in ZnO [44]. This is also consistent with the FTIR spectra shows the widening peak of the Zn-O-H bond for the increasing the calcination temperature.

Figure 7 shows the relation between crystallite size and the bandgap of carbon-lignin/ZnO synthesized from castor leaves for various calcination temperatures and pH. It can be seen that the crystallite size small increase for pH 7 and 10 with increasing the calcination temperature, however for pH 4 remarkable increase for 600 °C indicated an unstable crystal structure. pH 7 and 10 are more stable for increasing the calcination temperature up to 600 °C [16, 23, 44, 45]. pH 7 and 10 show small changes for the crystallite size and the bandgap for increasing the temperature up to 600 °C as shown in Fig. 7.

Fig. 7
figure 7

The relation between crystallite size and the bandgap of carbon-lignin/ZnO synthesized from castor leaves for various calcination temperature (500 °C, 550 °C, and 600 °C) and pH (4, 7, and 10)

The results of the photocatalytic degradation of the blue methylene solution as a model textile industry waste are shown in Fig. 8 from the quantitative analysis of Uv-vis spectra in Fig. 5. The increase of the calcination temperature then the degradation performance for each pH value is also increasing. For pH 7 at the calcination temperatures 500 °C, 550 °C, and 600 °C shows maximum degradation is 84.667%, 92.461%, and 96.272%, respectively. The maximum degradation yield was obtained at pH.7 at 550 and 600 °C which only takes 90 min irradiation to reach the maximum degradation while pH 4 and pH 10 requires irradiation up to 120 min. These results indicate that pH 7 can accelerate the degradation process [58], less for pH10, and small for pH 4 may due to the larger particle size [44].

Fig. 8
figure 8

Percentage degradation of carbon-lignin/ZnO synthesized from castor leaves for various calcination temperature (500 °C, 550 °C, and 600 °C) and pH (4, 7, and 10)

Based on Fig. 9, the degradation rate constants (kr) and the correlation coefficient (R2) composite carbon-lignin/ZnO in this study are shown in Table 2. The rate constant increased with increasing the calcination temperature for the same pH. The best correlations are shown for pH 7 with a calcination temperature of 600 °C compared to the calcination temperature 500 and 550 °C. For pH 7 at 600 °C shows only 90 min irradiation to reach the highest rate constant and correlation coefficient. Based on these results it can be confirmed that the best parameter for the highest photocatalyst performance of carbon-lignin/ZnO synthesized from castor leaves is pH 7, bandgap around 3 eV, calcination temperature 600 °C, and the crystallite size around 12 Å. These parameters is the important parameter for supporting processes of high performance of photocatalyst by producing electron-hole pairs and avoid recombination subsequently produce the radical atoms which can break the structure of molecule textile industry waste [59].

Fig. 9
figure 9

Photocatalytic performance and kinetic curve of carbon-lignin/ZnO synthesized from castor leaves for various calcination temperature (500 °C, 550 °C, and 600 °C) and pH (4, 7, and 10)

5 Conclusion

In this research, composite carbon-lignin/ZnO successfully synthesized from Jatropha curcas L by various calcination temperatures (500 °C, 550 °C, and 600 °C) and pH (4, 7, and 10) for purifying of the textile industrial liquid waste. The diffraction peak at below 30o and above 50° assigned from carbon-lignin and also diffraction peak in between (110) and (006) assigned of the hydroxyl from the castor leaf sitting in the lattice of ZnO. The crystallite size and the porosity were increases with increasing the calcination temperature for the same pH. Spectrum PXRD also shows that the higher calcination temperature and pH then the formation of the atom in the crystal structure is going to the stable position. FTIR spectra show compounds from the carbon-lignin by the presence of C≡C bonds at the wavenumbers from 2250 to 2350 cm− 1. Based on the analysis of FTIR spectra indicated that carbon-lignin/ZnO has been successfully synthesized from castor leaves as natural materials as evidenced by the presence of C≡C, C = C-C, Zn-O bonds, and Zn-OH which is consistent with the PXRD spectra. Morphological analysis show hexagonal structure that the particle shape of carbon-lignin/ZnO with the ZnO nanoparticles attached in the wall of carbon-lignin. The degradation rate constants and the correlation coefficient of composite carbon-lignin/ZnO increase with increasing the calcination temperature for the same pH. In this study, confirmed that the best parameter for environmental friendly highest photocatalyst performance of carbon-lignin/ZnO synthesized from castor leaves is pH 7, bandgap around 3 eV, calcination temperature 600 °C, and the crystallite size around 12 Å.