Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

# Effective removal of anionic textile dyes using adsorbent synthesized from coffee waste

## Abstract

Adsorption of Reactive Black 5 and Congo Red from aqueous solution by coffee waste modified with polyethylenimine was investigated. The removal percentages of both dyes increased with amount of polyethyleneimine in the modified adsorbent. Characterization revealed that polyethyleneimine modification improved the adsorbent surface chemistry, while slight improvement of adsorbent textural properties was also observed. The adsorbent’s excellent performance was demonstrated by high removal percentages towards the anionic dyes in most experimental runs. The modelling result showed that anionic dyes adsorption occurred via monolayer adsorption, and chemisorption was the rate-controlling step. The adsorbent possesses higher maximum adsorption capacity towards Reactive Black 5 (77.52 mg/g) than Congo Red (34.36 mg/g), due to the higher number of functional groups in Reactive Black 5 that interact with the adsorbent. This study reveals the potential of adsorbent derived from coffee waste in textile wastewater treatment. Furthermore, surface chemistry modification is proven as an effective strategy to enhance the performance of biowaste-derived adsorbents.

## Introduction

Rivers are one of the most significant features of the earth’s landscape. They carry the surface water, together with nutrients, in the sediment areas to the oceans. Rivers are also the significant sources of drinking water and marine life which is a source of food to human and animals. In addition, rivers are the important resource in modern human society, in view of their roles in tourism, hydroelectricity generation etc. Unfortunately, irresponsible individuals and industries also use rivers as convenient locations for disposal of unwanted materials and chemicals. Direct discharge of pollutants from various sources into the water bodies without adequate treatment is reported as the main threat to water security. Dye industry for instance is identified as the tenth most polluting industry to the water in rivers, as 17–20% of the industrial water pollution is contributed by the textile dyeing and treatment1. As a result of their wide usage, approximately 5,000–10,000 tons of dyes are released into the waterways annually2,3. Congo red (CR) and Reactive Black 5 (RB5) are among the most commonly used dyes since their inception. The molecules of these dyes carry negative charges when dissociated in water, thus the dyes are termed anionic dyes. When discharged directly into surface waters, these dyes prevent the penetration of sunlight into water (which is essential for photosynthesis of aquatic plants), and pose health threats to the aquatic ecosystem and the population surrounding the river. Therefore, proper treatment of textile wastewater is essential to protect the environment and ecosystem.

Adsorption is a well-developed method for dyes removal from the wastewater, due to the process simplicity and lower cost involved compared to other processes4. Development of adsorbents from various biomass wastes as replacement of commercial activated carbons further adds to the cost effectiveness of the process5,6. Recent studies also revealed the potential of surface chemistry modification in enhancing the adsorbents’ performance7. Such modification can be achieved via treatment with chemicals (especially acids and bases) as well as introduction of ionic polymer groups onto the adsorbent precursors. The adsorbents developed solely via surface chemistry modification are reported to possess satisfactory performance in removal of dyes8 and heavy metals9 from the wastewater. These findings make modified biomass an attractive option of adsorbent, considering their economic advantage due to the less energy input during synthesis procedure when compared to the activated carbon preparations, where carbonization and activation steps are necessary.

Coffee waste (CW) is one of the abundant biowastes that could serve as precursors for adsorbent synthesis, due to the heavy coffee consumption by the consumers (estimated to be 8 million metric tons per year10). The high performance of several CW-derived adsorbents in removal of pharmaceutical compounds11, dyes12 and heavy metals13 have been showcased recently by several research teams. However, the potential of CW-derived materials in adsorption of anionic dyes are yet to be reported. Meanwhile, the role of polyethylenimine (PEI) in improvement of anionic dyes adsorption have been demonstrated in a great number of studies14, due to the significant amount of positively charged amine groups in PEI which can readily bind to the anionic adsorbates. Curiously, the potential of CW modified with PEI as adsorbent of anionic dye has not been reported in literature.

This work reports the adsorption performance of PEI-CW towards CR and RB5. The adsorption performances of adsorbents produced using different PEI:CW ratios towards the anionic dyes were tested, followed by detailed characterization of the selected adsorbent. The effects of contact time, initial dye concentration, temperature, solution pH, and adsorbent dosage on RB5 and CR dyes adsorption onto PEI-CW were investigated, followed by interpretation of the adsorption data from the modelling result.

## Results and Discussion

### Preliminary study

Numerous research reports indicated that PEI treatment enhances the adsorption capabilities of carbonaceous materials towards ionic dyes despite the lack of pore development15. Similar observation was also made in this study, where raw CW showed lower adsorption performance towards RB5 and CR dyes, with removal percentages of 7.42% and 14.35% respectively (Fig. 1), while all PEI-CW adsorbents removed more than 80% RB5 and 76% CR dyes from the solutions under similar conditions. This difference is attributed to the formation of electrostatic attraction between the positively-charged amine groups on PEI-CW surface and the negatively-charged dye molecules16. The higher removal of RB5 dye by PEI-CW when compared to CR dye is closely related to the higher charge density of the former adsorbate. A RB5 molecule possesses four sulphonate groups that could interact with the PEI groups via electrostatic attraction and hydrogen bonding, while a CR molecule has only two sulphonate groups (Fig. 2). Therefore, it is more probable for RB5 dye molecules to bind strongly to the adsorbent, leading to a higher removal percentage compared to CR dye. Similarly, the adsorbent with PEI:CW ratio of 2:1 is ranked the best among all the adsorbents tested in this stage, as higher abundance of PEI groups led to higher degree of adsorbent-adsorbate interactions. Therefore, the tested adsorbent was used for the subsequent adsorption study.

### Characterizations of CW and PEI-CW

The functional groups present on PEI-CW and its precursor are shown in Fig. 3. CW exhibits peaks that correspond to numerous functional groups. The broad band at 3321 cm−1 is attributed to the overlapping of O–H stretching and N–H stretching, which signify the presence of hydroxyl and amine groups on the CW surface5,17. The peaks at 2918 cm−1 and 2851 cm−1 are attributed to the aliphatic C–H vibrations of methyl and methylene groups18, while another peak at 1707 cm−1 is ascribed to the carboxyl C=O stretching vibration19. The absorption band at 1645 cm−1 denotes the presence of C=N stretching, whereas peaks at 1576 and 1539 cm−1 indicate N–H bending on CW20. The peak observed at 1460 cm−1 indicates the presence of C–H bending on CW19. The peaks at 1244 cm−1 are related to the presence of C–O group21. The broad bands with peaks at 1149 and 1030 cm−1 are assigned to C–O stretching from C–O–C bond and C–O–H bond that probably originates from galactomannans polysaccharide’ sugars21. The PEI-CW adsorbent produced similar FTIR spectrum with that of CW with few observable changes. The shift in the broad band from 3321 to 3286 cm−1 is probably due to the introduction of hydroxyl groups onto CW16. Disappearance of the peak at 1707 cm−1 was also observed together with the emergence of a new peak at 1744 cm−1 which indicates C=O stretching20. Three strong peaks are also observed at 1459, 1538 and 1573 cm−1 for PEI-CW sample, which correspond to –NH bending22,23, C=N bond23 and NH2 stretching24,25 vibrations respectively. Such observation validates the successful crosslinking of PEI onto CW.

The amounts of acidic and basic oxygenated groups on PEI-CW influenced its interactions with the adsorbates. According to the Boehm titration result (Table 1), PEI-CW contains higher amount of basic functional groups (2.013 mmol/g), while the lactonic acid constitutes 71% of the total acidic functional groups (0.425 mmol/g) on PEI-CW. The presence of lactonic and phenolic groups also explains the peaks observed at 1744 cm−1 (corresponding to C=O stretching) and 3286 cm−1 (corresponding to the –OH groups) for PEI-CW in Fig. 3. Figure 4 demonstrates a non-linear relationship between the initial pHs and final pHs, which is similar to most absorbents modified with PEI26. The high pHpzc (8.57) of PEI-CW indicates the abundant positive charges on the absorbent surface, which can only be completely neutralized under alkaline conditions.

The textural properties of the adsorbents are shown in Table 2. The BET surface area of CW (1.29 m2/g), even after heat pretreatment, is considered low when compared to other coffee waste samples (0.19–11.5 m2/g)13,27. PEI impregnation slightly increased the adsorbent’s surface area, which is also observed by Saleh, et al.28 on polyethyleneimine-modified activated carbon. This most probably is related to the repeated washing and drying processes during the modification which removed the impurities on the CW surface and pore system, as illustrated by the increased mesopore and micropore areas of PEI-CW compared to CW. Nevertheless, the textural properties of PEI-CW are far inferior to activated carbons synthesized from biowaste, as illustrated in Table 2. Thus, the role of textural property of the PEI-CW has shown to be negligible during the adsorption process.

The morphologies of CW and PEI-CW are displayed in Fig. 5. The CW exhibits typical three-dimensional carbon structure with rough surface and pore systems (Fig. 5(a),(b)), which is similar to the spent coffee grounds used in other works29,30. PEI-CW exhibits denser and smoother structure than CW (Fig. 5(c)) (also observed by Luo, et al.31), however the pores are still visible (Fig. 5(d)). The presence of foreign particles in CW (Fig. 5(e)) and PEI-CW (Fig. 5(f)) samples was also noticed. These particles possess irregular shapes with sharp edges, thus are attributed to the inorganic particles that are insoluble in water and stable to heat treatment (up to ~100 °C). However, no further investigations on the origins were carried out for these particles.

XRD diffractograms of both CW and PEI-CW (Fig. 6) were matched with the cellulose structure reference acquired from Internal Chemical Diffraction Data (ICDD) with structure code of 00-003-0192. According to Fig. 6, both CW and PEI-CW produced XRD patterns that consisted of amorphous halo with several peaks, thus both structures contain amorphous and crystalline phases, with higher crystallinity being observed in PEI-CW than CW. The crystalline phase is probably attributed to the cellulose in CW and PEI-CW, while hemicellulose and other constituents exhibit amorphous structure due to their susceptibility to chemical attack32. The existence of a peak at ~7° is related to increased interplanar distance caused by the larger disorderness produced during the sample modification as observed in methylcellulose samples extracted from the mango seeds fiber33 and sugarcane bagasse34.

#### Contact time

The effects of contact time on RB5 and CR dyes adsorption onto PEI-CW are shown in Fig. 7(a),(b) respectively. A similar trend is observed for removal percentages of both dyes, where an initial rapid adsorption phase progressed to a slower adsorption phase until a plateau was reached. The maximum dye removal percentages were observed at 50 min (for RB5) and 106 min (for CR) respectively. The changes in adsorption capacities of both dyes by PEI-CW also corresponded to the changes in dye removal percentages. The occurrence of rapid adsorption phase at the initial stage is related to the abundant adsorption sites on PEI-CW that are available for interaction with the dyes molecules in the solution. Following the progression of adsorption process, the number of active sites available for adsorption process decreased, leading to a slower increase in the adsorption rate. The establishment of a plateau indicates the dynamic equilibrium between the adsorption and desorption of the dyes35. However, a significant difference could be observed on the removal percentages of RB5 (~99%) and CR (~86%) dyes, corresponding to the adsorption capacities of 24.8 mg/g and 21.0 mg/g, respectively. The higher removal of RB5 compared to CR onto PEI-CW is attributed to the different ionic strengths of the dye molecules as explained in Section 3.1.

#### Initial dye concentration

Fig. 7(c),(d) depict the effects of initial dye concentration on adsorption behavior of RB5 and CR dyes by PEI-CW. High removals of RB5 (98.7%) and CR (87.3%) dyes are observed at low dye concentrations (0.05 g/L). The increase in initial dye concentration equals increase in total amount of dye molecules in the fixed solution volume and adsorbent mass. Thus, more adsorbates could bind to the active sites on the adsorbent at higher dye concentration, resulting in higher adsorption capacities. This explains the increased adsorption capacities of PEI from 24.7 mg/g (at 0.05 g/L) to 48.8 mg/g (at 0.10 g/L) for RB5 dye, and from 21.8 mg/g (at 0.05 g/L) to 32.1 mg/g (at 0.10 g/L) for CR. Meanwhile, competition of more adsorbates for the fixed amount of active sites is also expected at higher initial dye concentration, which results in the saturation of the adsorption sites and dispersion of more dyes molecules in the solution without being absorbed. Subsequently, decreased dye removal percentages to 97.6% (RB5) ad 64.2% (CR) is observed at concentration of 0.10 g/L. A similar trend was also observed in adsorption of CR dye onto Phoenix dactylifera seeds36.

#### Temperature

Fig. 7(e),(f) depict the effects of temperature on removal percentages of RB5 and CR dyes respectively, with the corresponding adsorption capacities. Significant increase of removal percentage and adsorption capacity of CR dye onto PEI-CW from 85% and 21 mg/g (at 25 °C) to 95% and 23.7 mg/g (at 60 °C) indicates the endothermic nature of the process. The same trend was also observed for CR adsorption onto Chestnut husk-like nickel cobaltite hollow microspheres37. Such observation is related to the increased mobility of the dye molecules at higher temperatures, which leads to increased collision and binding of the dye molecules with the adsorption sites on PEI-CW. The endothermic nature is also concluded for RB5 adsorption, as evidenced from the marginal increase in removal percentage (from 98.1% at 25 °C to 98.6% at 60 °C) and adsorption capacity (from 24.5 mg/g at 25 °C to 24.7 mg/g at 60 °C). The reason for the extremely small increase is probably due to the attainment of maximum adsorption of RB5 at 25 °C, in which further increase in the process temperature produced only little effect on the uptake of RB5 dye.

#### Solution pH

The ionization of adsorbates and adsorbent surface charge are influenced by pH of the adsorption system38. The effects of solution pH on RB5 and CR adsorption onto PEI-CW are shown in Fig. 7(g),(h) respectively. The removal percentage and adsorption capacity of CR dye on PEI-CW decreased with solution pH from pH 3 (99%, 24.9 mg/g) to pH 9 (94%, 23.5 mg/g). Munagapati, et al.39 also reported similar observation on CR adsorption onto banana peel powder. As the pHpzc of PEI-CW is 8.57 (as mentioned in Section 3.2), the adsorbent surface is positively charged at pH below 8.57. In acidic medium, the increased H+ ion concentration leads to higher protonation degree for the PEI groups on the adsorbent surface, leading to increased electrostatic interaction between the positively-charged adsorbent and the negatively-charged CR molecules, thus the dye uptake3. On the other hand, alkaline solution (with high pH) contains more OH- ions, which resulted in increased deprotonation of the amine groups (-NH2) on the adsorbent. This change caused decreased electrostatic attraction between the PEI-CW and CR molecules, and hence the adsorption performance16. Meanwhile, removal percentage of RB5 dye and adsorption capacity of PEI-CW remains almost constant at around 98–99% and 24.3–24.8 mg/g respectively when the solution pH increased from 3 to 9. This observation shows that electrostatic interaction between adsorbent and RB5 dye plays a more significant role than the solution pH.

The effects of adsorbent dosage on RB5 and CR adsorption are presented in Fig. 7(i),(j) respectively. Almost complete removals of both dyes (98.1% for RB5 and 99.0% for CR) are observed even with 0.1 g of PEI-CW, therefore further increase in adsorbent dosage (to 1.0 g) has little effect on the removal percentages. In contrast, large decrease of adsorption capacity of PEI-CW from 24.5 mg/g (at 0.1 g dosage) to 2.5 mg/g (at 1.0 g dosage) for RB5, and from 24.8 mg/g (at 0.1 g dosage) to 2.5 mg/g (at 1.0 g dosage) for CR was observed. This observation is similar to CR adsorption onto jujube seeds40 and RB5 adsorption onto Macrocystis pyrifera biomass41. Such trend is predictable due to the increased amount of vacant active sites on PEI-CW at higher adsorbent dosage, as the number of adsorbate molecules remains constant. Another possible reason for the observed trend is the inversed relationship between adsorbent dosage and adsorption capacity as shown in Eq. (2)16.

The adsorption isotherm analysis was conducted by fitting the adsorption data to Langmuir and Freundlich models, with the details provided in Supplementary Information. The values of linear regression coefficients (R2) derived from Fig. 8 along with other adsorption isotherm parameters are expressed in Table 3. Langmuir model is a better fit for the adsorption data of both dyes, as indicated by the higher R2 values than those of Freundlich model. Such result indicates the occurrence of monolayer adsorption on the homogeneous surface filled with localized adsorption sites, which was also reported in RB5 adsorption onto canola stalk42, as well as CR adsorption onto PEI-wheat straw8. The low R2 value (0.6693) of the Freundlich linear plot for CR adsorption onto PEI-CW (as shown in Fig. 8(d)) is caused by the non-linearity (1/n < 1) in the adsorption behavior which is typical at high adsorbate concentration, due to the saturation of the active sites on the adsorbent surface. Such a low R2 value in linear Freundlich plot is also observed in adsorption of radionuclides43 as well as copper (II) ions onto sesame husks, as shown by El-Araby, et al.44. The maximum adsorption capacity for RB5 adsorption onto PEI-CW is calculated to be 77.52 mg/g, which is higher than that for CR (34.36 mg/g). This is attributed to the higher number of sulfonate groups presented in RB5 molecules than that in CR molecules, which results in stronger electrostatic interaction between the former dye and PEI-CW.

Recently, a great number of researchers have developed various inorganic adsorbents, including nanoparticles, nanocomposite, graphene-based materials etc, for removal of contaminants from wastewater. A quick comparison (Table 4) shows that these adsorbents possess higher adsorption capacities towards CR when compared to the adsorbents derived from biowaste, including PEI-CW used in this study. Nevertheless, the inorganic adsorbents are inferior to PEI-CW in term of RB5 removal. Such observation is attributed to the ability of PEI-CW in forming the interaction with RB5 molecules with four sulphonate groups.

The kinetic evaluation was carried out by fitting the experimental data to the pseudo-first-order (PFO) and pseudo-second-order (PSO) kinetic models, as described in Supplementary Information. The linear regression coefficient (R2), kinetic rate constants (k1 and k2) and theoretical equilibrium capacity (qe) are listed in Table 5. Based on the comparison of the R2 values in Fig. 9(a),(b), the adsorption data is fitted better to the PSO than PFO model. This finding indicates that the adsorption of RB5 and CR dyes onto PEI-CW is controlled by chemisorption. Figure 9(c),(d) display the intraparticle diffusion plots for RB5 and CR adsorption respectively. The plot representing CR adsorption consists two straight lines. The first line is related to the external diffusion and significant boundary layer diffusion (as denoted by the large intercept of the straight line). The second line, which represents the occurrence of intraparticle diffusion, is almost horizontal. This observation indicates the low adsorption for such step, due to the lack of pore development in PEI-CW. However, the linear plots representing RB5 adsorption consists three straight lines, indicating the occurrence of three stages. Such observation is probably related to the occurrence of external diffusion, followed by boundary diffusion in two distinctive stages, due to the strong electrostatic interaction between adsorbents and adsorbates.

This section reports evaluation of the thermodynamic parameters including changes in Gibbs free energy (ΔG°), entropy (ΔS°) and enthalpy (ΔH°), based on the method described in Supplementary Infomation. Figure 10 demonstrates the Van’t Hoff plots for RB5 and CR adsorption, while the associated thermodynamic parameters are listed in Table 6. The negative ΔG° values which increased with temperature indicate increased spontaneity for adsorption of both dyes. The positive ΔS° values indicate the increased disorder at the interface between the solid adsorbent and the aqueous solution45. This further supports the likelihood of occurrence of the process due increased entropy. The positive ΔH° values (35.05 kJ/mol for CR dye, 8.28 kJ/mol for RB5 dye) denote the endothermic nature of the adsorption process for both dyes. Several previous studies on CR dye adsorption onto ground nut shell charcoal46 and cationic modified orange peel47 as well as RB5 dye adsorption onto banana peel powder39 also demonstrated the endothermic nature of the process.

## Conclusion

Following the increasing amount of biomass waste generation, it is necessary to study the conversion of such waste to value-added products, including adsorbents for removal of pollutants from wastewater. In this study, PEI-CW was evaluated as a potential adsorbent in removal of anionic CR and RB5 dyes from aqueous solution. Preliminary study demonstrates that adsorbent prepared using high PEI:CW ratio is more effective in removal of RB5 and CR dyes. Characterization results revealed successful surface chemistry modification for CW, while little change on the textural properties of PEI-CW after modification was also noticed. XRD analysis revealed that both CW and PEI-CW possess crystalline and amorphous phases, due to the presence of cellulose. Batch adsorption study demonstrated that PEI-CW is more effective in removal of RB5 than CR dye, due to the presence of four negatively-charged sulfonate groups in RB5 dye structure which can form stronger electrostatic interaction with the adsorbent. On the other hand, each CR dye molecule only contain two sulphonate groups, thus the adsorptive removal of CR by PEI-CW is less effective. Langmuir isotherm model and pseudo-second order kinetic model fitted well to the data of both CR and RB5 dyes adsorption data. The maximum adsorption capacities of PEI-CW according to the Langmuir isotherm model were found to be 77.52 mg/g (RB5) and 34.36 mg/g (CR) respectively. The thermodynamic analysis suggested that both CR and RB5 dyes adsorption process are spontaneous and endothermic in nature. This study shows that surface modification is a simple yet cost-effective method to enhance the adsorption performance of biowaste-derived adsorbent towards ionic dyes. Potential applications of PEI-CW in removal of other charged/ionic contaminants will be studied in the near future.

## Methods

### Materials

The spent CW used in this study was obtained from a local coffee restaurant in Johor, Malaysia, while the PEI (50 wt% aqueous) and glutaldehyde (GTA, 25 wt% aqueous) were purchased from Acros Organics and Sigma respectively. The used CW was initially washed repeatedly with boiled water to remove soluble compounds. After that, the CW was dried in an oven at 60 °C for 24 hours, followed by sieving to acquire CW particles with size smaller than 500 μm. The PEI impregnation was then performed according to the method described by Jiang, et al.48 with some modifications. The procedure involved mixing 2.5 g of CW with PEI solution in water bath at 65 °C for 6 hours, followed by addition of glutaraldehyde solution (1% w/v) to the mixture for the crosslinking process. Finally, the adsorbent was filtered, washed with deionized water, and dried at 50 °C for 24 hours. The final adsorbent is termed as PEI-CW. CR and RB5 dyes (Sigma-Aldrich) in powder form were used to produce stock solutions (1,000 mg/L), which were then diluted to produce dyes solutions with desired concentrations. Hydrochloric acid (HCl) and sodium hydroxide (NaOH) solutions, with concentrations of 0.1 M, were utilized to adjust the solution pH.

### Removal of RB5 and CR dyes by CW and PEI-CW

A preliminary study was conducted to compare the adsorption of RB5 and CR dyes onto the PEI-CW prepared using three different PEI/CW (w/w) ratios (1:2, 1:1 and 2:1). The adsorption experiment was conducted under the following conditions: 0.1 g adsorbent dosage, 50 mL dye solution with initial dye concentration of 50 mg/L, pH 7, at room temperature. The adsorption was performed in a rotary shaker with a rotational speed of 200 rounds per minute (rpm) for 120 minutes. The residual dye concentration in the solution after adsorption was determined using UV-Vis Spectrophotometer (Nanocolor® UV/VIS Macherey Nagel) at 497 nm (for CR) and 597 nm (for RB5) respectively. The percentage removals of the dyes in different solutions and the adsorption capacities of PEI-CW were then calculated using Eqs. (1) and (2) respectively. The adsorbent with the highest percentage dye removal was characterized and used in the subsequent adsorption studies.

$${\rm{Dye}}\,{\rm{Removal}}( \% )=\frac{{{\rm{C}}}_{{\rm{o}}}-{{\rm{C}}}_{{\rm{e}}}}{{{\rm{C}}}_{{\rm{o}}}}\times 100 \%$$
(1)
$${\rm{Adsorption}}\,{\rm{capacity}}({{q}}_{{e}})=\frac{({{\rm{C}}}_{{\rm{o}}}-{{\rm{C}}}_{{\rm{e}}})}{{\rm{W}}}\times {\rm{V}}$$
(2)

where Co is the initial dye concentration (mg/L), Ce is the equilibrium dye concentration (mg/L), V is the volume of the dye solution (L), W is the mass of adsorbent (g) and qe is the adsorption capacity at equilibrium (mg/g).

The changes in surface functional groups on CW after PEI treatment were investigated using Fourier Transform Infrared (FTIR) Spectroscopy (Nicolet IS5, Thermo Fischer Scientific) coupled with Attenuated Total Reflectance (ATR) in the wavelength range of 400–4000 cm−1. The instrument was integrated with OMNIC 8.3.103 software for peak analysis. The surface chemistry of PEI-CW was investigated using Boehm titration as demonstrated by Wong, et al.35. In brief, the amounts of acidic (carboxylic, phenolic and lactonic) functional groups present on the adsorbent surface were calculated based on the amounts of different bases (NaHCO3. Na2CO3 and NaOH) that reacted with the adsorbent, while the amount of basic functional groups on the adsorbent surface was determined via neutralization with HCl. The point of zero charge (pHpzc) of PEI-CW was also determined via solid titration method. A fixed amount of adsorbent (0.15 g) was added separately to five Schott bottles containing 50 mL NaCl solution (0.01 mol/L) with pH values ranged from 2 to 12 (by adjustments using 0.1 mol/L HCl and 0.1 mol/L NaOH solutions). The bottles were shaken at 150 rpm to allow equilibrium to establish, then the final pHs of the filtered solutions in the bottles were measured and plotted against their initial pH. The pHpzc value was represented by the intersection point between the straight line y = x and the plot. Boiled distilled water was used for Boehm titration and pHpzc determination to minimize the effect of atmospheric CO2 in the solution pH. The effect of PEI modification on the surface morphology of the adsorbent was studied using a variable pressure scanning electron microscope (SEM) (JSM-IT 300LV, Jeol). Nitrogen adsorption/desorption was performed on the samples at 77 K using BET Surface Area and Pore Volume Analyzer (Surfer, Thermo Scientific) to determine the textural properties of CW and PEI-CW. The crystallinities of the adsorbent samples were determined using X-Ray Diffractometer (Smartlab, Rigaku) with Cu tube (λ = 1.54 Å) based on the method described by Wang, et al.49. The radiation was carried out at 40 mA and 44 kV within the range of 0° < 2θ < 90o. The spectra of the adsorbents were compared with the cellulose structure from Internal Chemical Diffraction Data (ICDD).

The adsorption experiment was conducted to study the effect of contact time (0–180 minutes) on removals of RB5 and CR under the following conditions: 0.1 g PEI-CW, 50 mg/L dye concentration with the solution pH 7 at room temperature in a rotary shaker with a rotational speed of 200 rpm. The residual dye concentrations of the solutions were then analyzed using UV-Vis Spectrophotometer as described in Section 2.2. Similar experimental procedure was also used to investigate the influence of the initial dye concentration (50 mg/L–100 mg/L), temperature (25 °C–60 °C), solution pH (3–9) and adsorbent dosage (0.1 g–1.0 g) on the adsorption process.

## Data availability

The datasets generated during and/or analyzed during the current study are available from the corresponding author on reasonable request.

## References

1. 1.

Pure Earth and Green Cross Switzerland. The Toxics Beneath Our Feet. https://www.worstpolluted.org/docs/WorldsWorst2016Spreads.pdf (2016).

2. 2.

Pirkarami, A. & Olya, M. E. Removal of dye from industrial wastewater with an emphasis on improving economic efficiency and degradation mechanism. J. Saudi Chem. Soc. 21, S179–S186 (2017).

3. 3.

Yagub, M. T., Sen, T. K., Afroze, S. & Ang, H. M. Dye and its removal from aqueous solution by adsorption: a review. Adv. Colloid Interface Sci. 209, 172–184 (2014).

4. 4.

Naushad, M., Ahamad, T., Alothman, Z. A. & Al-Muhtaseb, A. H. Green and eco-friendly nanocomposite for the removal of toxic Hg(II) metal ion from aqueous environment: Adsorption kinetics & updates isotherm modelling. J. Mol. Liq. 279, 1–8 (2019).

5. 5.

Wong, S. et al. Removal of acetaminophen by activated carbon synthesized from spent tea leaves: equilibrium, kinetics and thermodynamics studies. Powder Technol. 338, 878–886 (2018).

6. 6.

Li, W., Mu, B. & Yang, Y. Feasibility of industrial-scale treatment of dye wastewater via bio-adsorption technology. Bioresour. Technol. 277, 157–170 (2019).

7. 7.

Naushad, M. et al. Efficient removal of toxic phosphate anions from aqueous environment using pectin based quaternary amino anion exchanger. Int. J. Biol. Macromol. 106, 1–10 (2018).

8. 8.

Shang, Y. et al. Use of polyethyleneimine-modified wheat straw for adsorption of Congo red from solution in batch mode. Desalination Water Treat. 57, 8872–8883 (2016).

9. 9.

Naushad, M., Mittal, A., Rathore, M. & Gupta, V. Ion-exchange kinetic studies for Cd(II), Co(II), Cu(II), and Pb(II) metal ions over a composite cation exchanger. Desalination Water Treat. 54, 2883–2890 (2015).

10. 10.

Somnuk, K., Eawlex, P. & Prateepchaikul, G. Optimization of coffee oil extraction from spent coffee grounds using four solvents and prototype-scale extraction using circulation process. Agriculture Nat. Resour. 51, 181–189 (2017).

11. 11.

Lessa, E. F., Nunes, M. L. & Fajardo, A. R. Chitosan/waste coffee-grounds composite: An efficient and eco-friendly adsorbent for removal of pharmaceutical contaminants from water. Carbohydr. Polym. 189, 257–266 (2018).

12. 12.

Ovando-Medina, V. M. et al. A semi-conducting polypyrrole/coffee grounds waste composite for rhodamine B dye adsorption. Iran. Polym. J. 27, 171–181 (2018).

13. 13.

Mora Alvarez, N. M., Pastrana, J. M., Lagos, Y. & Lozada, J. J. Evaluation of mercury (Hg2+) adsorption capacity using exhausted coffee waste. Sustain. Chem. Pharm. 10, 60–70 (2018).

14. 14.

Saleh, T. A. & Al-Absi, A. A. Kinetics, isotherms and thermodynamic evaluation of amine functionalized magnetic carbon for methyl red removal from aqueous solutions. J. Mol. Liq. 248, 577–585 (2017).

15. 15.

Wong, S., Ngadi, N., Inuwa, I. M. & Hassan, O. Recent advances in applications of activated carbon from biowaste for wastewater treatment: A short review. J. Clean. Prod. 175, 361–375 (2018).

16. 16.

Wong, S. et al. Adsorption of anionic dyes on spent tea leaves modified with polyethyleneimine (PEI-STL). J. Clean. Prod. 206, 394–406 (2019).

17. 17.

Qiu, S. et al. Hydrophobic and fire-resistant carbon monolith from melamine sponge: A recyclable sorbent for oil–water separation. Carbon 84, 551–559 (2015).

18. 18.

Sohaimi, K. S. A., Ngadi, N., Mat, H., Inuwa, I. M. & Wong, S. Synthesis, characterization and application of textile sludge biochars for oil removal. Journal of Environmental Chemical Engineering (2017).

19. 19.

Nabgan, B. et al. Parametric study on the steam reforming of phenol-PET solution to hydrogen production over Ni promoted on Al 2 O 3 -La 2 O 3 catalyst. Energy Convers. Manage. 142, 127–142 (2017).

20. 20.

Lafi, R., ben Fradj, A., Hafiane, A. & Hameed, B. H. Coffee waste as potential adsorbent for the removal of basic dyes from aqueous solution. Korean J. Chem. Eng. 31, 2198–2206 (2014).

21. 21.

Inuwa, I. M. et al. Enhanced Mechanical and Thermal Properties of Hybrid Graphene Nanoplatelets/Multiwall Carbon Nanotubes Reinforced Polyethylene Terephthalate Nanocomposites. Fiber Polym. 17, 1657–1666 (2016).

22. 22.

Park, H. N., Choi, H. A. & Won, S. W. Fibrous polyethylenimine/polyvinyl chloride crosslinked adsorbent for the recovery of Pt(IV) from acidic solution: Adsorption, desorption and reuse performances. J. Clean. Prod. 176, 360–369 (2018).

23. 23.

Zhu, W. J. et al. Functionalization of cellulose with hyperbranched polyethylenimine for selective dye adsorption and separation. Cellulose 23, 3785–3797 (2016).

24. 24.

Cai, H. et al. Preparation and characterization of novel carbon dioxide adsorbents based on polyethylenimine-modified Halloysite nanotubes. Environ. Technol. 36, 1273–1280 (2015).

25. 25.

Zhao, A., Samanta, A., Sarkar, P. & Gupta, R. Carbon Dioxide Adsorption on Amine-Impregnated Mesoporous SBA-15 Sorbents: Experimental and Kinetics Study. Ind. Eng. Chem. Res. 52, 6480–6491 (2013).

26. 26.

Ahmad, H., Cai, C. J. & Liu, C. K. Separation and preconcentration of Pb(II) and Cd(II) from aqueous samples using hyperbranched polyethyleneimine-functionalized graphene oxide-immobilized polystyrene spherical adsorbents. Microchem. J. 145, 833–842 (2019).

27. 27.

Wu, C. H., Kuo, C. Y. & Guan, S. S. Adsorption Kinetics of Lead and Zinc Ions by Coffee Residues. Pol. J. Environ. Stud. 24, 761–767 (2015).

28. 28.

Saleh, T. A., Sari, A. & Tuzen, M. Optimization of parameters with experimental design for the adsorption of mercury using polyethylenimine modified-activated carbon. J. Env. Chem. Eng. 5, 1079–1088 (2017).

29. 29.

Luna-Lama, F. et al. Non-porous carbonaceous materials derived from coffee waste grounds as highly sustainable anodes for lithium-ion batteries. J. Clean. Prod. 207, 411–417 (2019).

30. 30.

Wen, X. et al. Large-scale converting waste coffee grounds into functional carbon materials as high-efficient adsorbent for organic dyes. Bioresour. Technol. 272, 92–98 (2019).

31. 31.

Luo, T. et al. Polyethylenimine-Functionalized Corn Bract, an Agricultural Waste Material, for Efficient Removal and Recovery of Cr(VI) from Aqueous Solution. J. Agric. Food. Chem. 65, 7153–7158 (2017).

32. 32.

Ballesteros, L. F., Teixeira, J. A. & Mussatto, S. I. Chemical, Functional, and Structural Properties of Spent Coffee Grounds and Coffee Silverskin. Food and Bioprocess. Technol. 7, 3493–3503 (2014).

33. 33.

Vieira, J. G. et al. Synthesis and characterization of methylcellulose from cellulose extracted from mango seeds for use as a mortar additive. Polímeros 22, 80–87 (2012).

34. 34.

Filho, G. R. et al. Characterization of methylcellulose produced from sugar cane bagasse cellulose: Crystallinity and thermal properties. Polym. Degrad. Stab. 92, 205–210 (2007).

35. 35.

Wong, S., Lee, Y., Ngadi, N., Inuwa, I. M. & Mohamed, N. B. Synthesis of activated carbon from spent tea leaves for aspirin removal. Chin. J. Chem. Eng. 26, 1003–1011 (2018).

36. 36.

Pathania, D. et al. Photocatalytic degradation of highly toxic dyes using chitosan-g-poly (acrylamide)/ZnS in presence of solar irradiation. J. Photochemistry Photobiology a-Chemistry 329, 61–68 (2016).

37. 37.

Chen, H., Zheng, Y. Q., Cheng, B., Yu, J. G. & Jiang, C. J. Chestnut husk-like nickel cobaltite hollow microspheres for the adsorption of Congo red. J. Alloy. Compd. 735, 1041–1051 (2018).

38. 38.

Naushad, M., Ahamad, T., Al-Maswari, B. M., Alqadami, A. A. & Alshehri, S. M. Nickel ferrite bearing nitrogen-doped mesoporous carbon as efficient adsorbent for the removal of highly toxic metal ion from aqueous medium. Chem. Eng. J. 330, 1351–1360 (2017).

39. 39.

Munagapati, V. S., Yarramuthi, V., Kim, Y., Lee, K. M. & Kim, D. S. Removal of anionic dyes (Reactive Black 5 and Congo Red) from aqueous solutions using Banana Peel Powder as an adsorbent. Ecotoxicol. Environ. Saf. 148, 601–607 (2018).

40. 40.

Reddy, M. C., Sivaramakrishna, L. & Reddy, A. V. The use of an agricultural waste material, Jujuba seeds for the removal of anionic dye (Congo red) from aqueous medium. J. Hazard. Mater. 203-204, 118–127 (2012).

41. 41.

Garcia, F. E., Plaza-Cazon, J., Montesinos, V. N., Donati, E. R. & Litter, M. I. Combined strategy for removal of Reactive Black 5 by biomass sorption on Macrocystis pyrifera and zerovalent iron nanoparticles. J. Environ. Manage. 207, 70–79 (2018).

42. 42.

Ashori, A. et al. Potential of Canola Stalk as Biosorbent for the Removal of Remazol Black B Reactive Dye from Aqueous Solutions Canola Stalks for Removal of RBB. J. Wood Chem. Technol. 32, 328–341 (2012).

43. 43.

Khayyun, T. S. & Mseer, A. H. Comparison of the experimental results with the Langmuir and Freundlich models for copper removal on limestone adsorbent. Appl. Water Sci. 9, 170 (2019).

44. 44.

El-Araby, H. A., Ibrahim, A. M. M. A., Mangood, A. H. & Adel, A.-H. Sesame husk as adsorbent for copper (II) ions removal from aqueous solution. J. Geosci. Environ. Prot. 5, 109 (2017).

45. 45.

Yang, J. X. & Hong, G. B. Adsorption behavior of modified Glossogyne tenuifolia leaves as a potential biosorbent for the removal of dyes. J. Mol. Liq. 252, 289–295 (2018).

46. 46.

Kaur, S., Rani, S. & Mahajan, R. K. Adsorption Kinetics for the Removal of Hazardous Dye Congo Red by Biowaste Materials as Adsorbents. J. Chem. 2013, 1–12 (2013).

47. 47.

Munagapati, V. S. & Kim, D. S. Adsorption of anionic azo dye Congo Red from aqueous solution by Cationic Modified Orange Peel Powder. J. Mol. Liq. 220, 540–548 (2016).

48. 48.

Jiang, X., An, Q. D., Xiao, Z. Y., Zhai, S. R. & Shi, Z. Mussel-inspired surface modification of untreated wasted husks with stable polydopamine/polyethylenimine for efficient continuous Cr(VI) removal. Mater. Res. Bull. 102, 218–225 (2018).

49. 49.

Wang, Y., Zhu, S. D., Tsubaki, N. & Wu, M. B. Highly Dispersed Mo2C Anchored on N,P-Codoped Graphene as Efficient Electrocatalyst for Hydrogen Evolution Reaction. Chemcatchem 10, 2300–2304 (2018).

50. 50.

Ziane, S., Bessaha, F., Marouf-Khelifa, K. & Khelifa, A. Single and binary adsorption of reactive black 5 and Congo red on modified dolomite: Performance and mechanism. J. Mol. Liq. 249, 1245–1253 (2018).

51. 51.

Vignesh Kumar, T. H., Sivasankar, V., Fayoud, N., Oualid, H. A. & Sundramoorthy, A. K. Synthesis and characterization of coral-like hierarchical MgO incorporated fly ash composite for the effective adsorption of azo dye from aqueous solution. Appl. Surf. Sci. 449, 719–728 (2018).

52. 52.

Chang, M. & Shih, Y. H. Synthesis and application of magnetic iron oxide nanoparticles on the removal of Reactive Black 5: Reaction mechanism, temperature and pH effects. J. Environ. Manage. 224, 235–242 (2018).

53. 53.

Jia, X. J. et al. Facile synthesis of MoO2/CaSO4 composites as highly efficient adsorbents for congo red and rhodamine B. Rsc Adv. 8, 1621–1631 (2018).

54. 54.

Chen, H. et al. Hierarchical C/NiO-ZnO nanocomposite fibers with enhanced adsorption capacity for Congo red. J. Colloid Interface Sci. 537, 736–745 (2019).

55. 55.

Ghanavati Nasab, S. et al. Removal of Congo Red from Aqueous Solution by Hydroxyapatite Nanoparticles Loaded on Zein as an Efficient and Green Adsorbent: Response Surface Methodology and Artificial Neural Network-Genetic Algorithm. J. Polym. Environ. 26, 3677–3697 (2018).

56. 56.

Bayramoglu, G. & Arica, M. Y. Adsorption of Congo Red dye by native amine and carboxyl modified biomass of Funalia trogii: Isotherms, kinetics and thermodynamics mechanisms. Korean J. Chem. Eng. 35, 1303–1311 (2018).

57. 57.

Chan, S. L., Tan, Y. P., Abdullah, A. H. & Ong, S. T. Equilibrium, kinetic and thermodynamic studies of a new potential biosorbent for the removal of Basic Blue 3 and Congo Red dyes: Pineapple (Ananas comosus) plant stem. J. Taiwan. Inst. Chem. Eng. 61, 306–315 (2016).

## Acknowledgements

The main author, Wong Syie Luing, acknowledges the support from Universiti Teknologi Malaysia in the form of Post-Doctoral Fellowship Scheme for the project “Conversion of Scrap Tire Carbon Black into Adsorbents for Removal of Paracetamol from Synthetic Wastewater” (03E99).

## Author information

Authors

### Contributions

N.N. and R.M. conceived the experiments, N.A.G. and F.A.R. conducted the experiments, S.W. analyzed the results. I.M.I. and N.A.S.A. reviewed the manuscript.

## Ethics declarations

### Competing interests

The authors declare no competing interests.

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

Reprints and Permissions

Wong, S., Ghafar, N.A., Ngadi, N. et al. Effective removal of anionic textile dyes using adsorbent synthesized from coffee waste. Sci Rep 10, 2928 (2020). https://doi.org/10.1038/s41598-020-60021-6

• Accepted:

• Published:

• ### One-pot synthesis of zinc oxide nanoparticles via chemical precipitation for bromophenol blue adsorption and the antifungal activity against filamentous fungi

• Kovo G. Akpomie
• , Soumya Ghosh
• , Marieka Gryzenhout

Scientific Reports (2021)

• ### Adsorptive properties investigation of natural sand as adsorbent for methylene blue removal from contaminated water

• Asma Amjlef
• , Said Khrach
• , Abdellah Ait El Fakir
• , Saïd Et-Taleb
•  & Noureddine El Alem

Nanotechnology for Environmental Engineering (2021)

• ### Extensive analyses of mass transfer, kinetics, and toxicity for hazardous acid yellow 17 dye removal using activated carbon prepared from waste biomass of Solanum melongena

• Manish Chandra Kannaujiya
• , Anuj Kumar Prajapati
• , Tamal Mandal
• , Ananta Kumar Das
•  & Monoj Kumar Mondal

Biomass Conversion and Biorefinery (2021)

• ### Synthesis, characterization, and regeneration of an inorganic–organic nanocomposite (ZnO@biomass) and its application in the capture of cationic dye

• Kovo G. Akpomie

Scientific Reports (2020)

• ### Preparation, characterization and application of Fe-pillared bentonite to the removal of Coomassie blue dye from aqueous solutions

• , A. Ramdani
• , A. Guendouzi
• , S. Taleb
• , M. Kaid
•  & A. Deratani

Research on Chemical Intermediates (2020)