Introduction

Conducting polymers (CPs) (Lay et al. 2016), such as polypyrrole (PPy; Scheme 1), and organic dyes share some common features in the molecular structure. They both include the conjugated structure of single and double bonds that is responsible for optical absorption in the visible part of spectra and, consequently, they are colored. They both include benzene or heterocyclic rings. The basic difference lies in the presence of charge carriers (polarons) in CPs, and their absence in dyes, which are therefore virtually electronically non-conducting.

Scheme 1
scheme 1

Molecular structure of PPy salt. A is an arbitrary anion

CPs and organic dyes are likely to interact. Conducting forms of polyaniline (PANI) (Bober et al. 2016) and PPy (Alekseeva et al. 2015) are organic salts where the polymer backbone is a polycation and its positive charges are balanced by counter-ions afforded by acids (Scheme 1). Many organic dyes include anionic sulfonic group that increases dye solubility in aqueous media. The ionic interaction between both species is thus the first possibility (Wang et al. 2015). Its nature is pH dependent because properties of CPs and many organic dyes are affected by the protonation. This is demonstrated by the salt–base transition between conducting and non-conducting forms of CPs (Blinova et al. 2007) and similar transition in dyes exploited as acid–base indicators. The interaction based on ionic interaction does not affect the conjugated system of both components, and the optical and electric properties then would have an additive contribution of both moieties.

The interaction of benzene or pyrrole rings in CPs with rings in dyes constitutes another type to be considered. It is expected to be based on ππ or donor–acceptor electron shifts in the electronic structure. If we accept the hypothesis that such interaction of conjugated systems takes place, it should manifest itself in the changes of optical absorption of both components or in the modification of electronic conduction, both these properties being closely related.

In the contrast to many organic dyes, CPs are insoluble in aqueous media. Recently, CPs have indeed been used for adsorption of dyes, such as PPy for Acid Orange 10 (Palanisamy et al. 2013), Acid Red G (Feng et al. 2014), or methylene blue (MB) (Ovando Medina et al. 2014). Polyaniline was similarly used for adsorption/removal of organic dyes, e.g., Acid Red G (Wang et al. 2015), Congo red (Debnath et al. 2015; Kumar et al. 2015), Coomassie Brilliant Blue (Liu et al. 2015b), MB (Ayad et al. 2013; Ayad and Zaghlol 2012; Ayad and El-Nasr 2010; Ayad et al. 2012), or Reactive Black 5 (Ballav et al. 2015), especially in environmental issues, such as water pollution treatment.

Many methods for the removal of dyes, including biodegradation, photocatalytic (Abdullah et al. 2016; Nassar et al. 2017a), photolytic, and oxidative degradation (Chen et al. 2003; Walker et al. 2003), flocculation, precipitation, photochemical oxidation, ozonation, and adsorption have been investigated (Balathanigaimani et al. 2009; Sharma 2009; Nassar et al. 2016; Xiong et al. 2014; Zhu et al. 2016). Because of the organic nature of dye molecules, most of the conventional treatment methods fail to recover the dyes from the effluents (McKay 1979). The adsorption has been recognized as one of the best methods for the removal of dyes from water (Ayad et al. 2014; Khare et al. 1987). The photocatalytic decomposition of dyes on CPs is an application aimed at similar target area. This was illustrated for PANI and a series of dyes (Riaz et al. 2014; Salavati and Kohestani 2013; Wang et al. 2014; Zhang et al. 2014). Also in this case, the interaction between the conducting polymer and a dye before its decomposition has to be considered and was indeed reported (Zhang et al. 2014).

The interaction manifests itself also by the dye incorporation into conducting polymer nanostructures during their preparation as illustrated for PPy and anionic dye, eriochrome cyanine R (Tavoli and Alizadeh 2014) or methyl orange (Kopecká et al. 2014). The presence of dye affected the morphology of PPy and improved its conductivity or electrochromic properties. The nature of interaction between CPs and dyes, however, requires additional analysis by physicochemical or physical methods. CPs and dyes have often been used in dye-sensitized solar cells (Wang et al. 2013). Such applications, however, do not require the direct interaction between the dye and conducting polymer, which serves as counter-electrode. Many dyes display antimicrobial properties. In a single case, dyes were covalently bound to nitrogen atoms in PANI (Jangid et al. 2014, 2015) and the resulting materials were found to have improved antimicrobial and antifungal properties compared to common drugs (Jangid et al. 2014).

CPs have often been deposited on cellulosic substrates and used for many applications. Cellulose was applied as a matrix component with PANI and PPy films for the purposes of circuitry, photo-current systems and supercacitors (Rußler et al. 2011; Dubal et al. 2011; Sasso et al. 2011; Babu et al. 2013). PANI-coated ligno-cellulose extracted from pine cones was synthesized and used as an adsorbent for the removal of some anionic dyes, such as Reactive Black 5 and Congo red, from wastewater. It is worth mentioning that the synthesis of these composites was complicated and time-consuming process (Ballav et al. 2015; Debnath et al. 2015). PPy/cellulosic agricultural waste composite was synthesized and used for adsorption of MB dye from water and the adsorption process required about 11 days to attain the equilibrium state, which makes PPy/cellulosic waste composite not promising for such applications (Ovando Medina et al. 2014).

Textiles fabricated from cellulose, viz. cotton, are considered as good substrates for coating with conducting polymers as they offer high surface area, provide a mechanical support and they have low weight. PPy coating on textiles was used as a promising material for fabricating flexible supercapacitors (Babu et al. 2013) or plant sensors (Bajgar et al. 2016). The interaction between PPy with cotton is stronger than the interaction with other types of textiles, e.g., linen or viscose. It has recently been reported that PPy coating on cotton textile possesses high surface conductivity and provides low impedance, and the prepared film was stable even after repeated chemical cleaning (Bober et al. 2015) or by the standard tape test and the abrasion test (Fan et al. 2017). This indicates that PPy coating on cotton textile can be considered as a suitable adsorbent for the removal of dyes. PPy deposited on cotton fabric prepared as described by (Bober et al. 2015) is demonstrated in the present study as an adsorbent for MB dye. Fan et al. (2017) reported the preparation of PPy-coated cotton fabric by in situ chemical polymerization using blends of anionic and cationic surfactants as soft template to enhance the PPy deposition onto the cotton fibers. They studied the effect of ionic strength, pH, contact time and initial dye concentration onto the MB uptake using a mixture of surfactants.

In the present paper, the dye adsorption kinetics, isotherm models and thermodynamic parameters for PPy-coated cotton textile without surfactants are reported. The comparison between the adsorption capacities of this adsorbent with other adsorbents reported in the literature is discussed.

MB dye has been selected as a model compound, as it is widely used in textile, pulp, and paper industries. The numerous studies published in the literature on the adsorption of this dye allow also for the comparison of efficiency of the individual adsorbents. The effect of various operating parameters, such as adsorbent amount, temperature, contact time, pH of the solution, and initial dye concentration, on MB dye removal has been investigated and is reported in the present paper.

Experimental

Coating of cotton textile with PPy

Cotton textile was coated by PPy as reported earlier (Bober et al. 2015; Bajgar et al. 2016; Maráková et al. 2017). PPy was deposited by in situ chemical oxidative polymerization of 0.2 M pyrrole (13.4 g in 500 mL deionized water) mixed with 0.5 M iron (III) chloride hexahydrate (135.1 g in 500 mL deionized water) on cotton textile at room temperature. Bleached plain weave 100% cotton textile (Mileta a.s., Czech Republic) (specific mass 120 g m−2, sett: 51.2 n/cm (warp), 28.0 n/cm (weft), yarn count 7.4/2 tex (warp), 14.5 tex (weft)) was used as received. Firstly, the textile sheet (4 g; 30 × 12 cm2) was immersed in the solution of pyrrole and left for 4 h to allow for the monomer impregnation/penetration. Then, an equal volume of iron (III) chloride hexahydrate (Sigma-Aldrich) solution was added. The reaction mixture (1 L) was gently stirred for 2 h, and then left to rest at room temperature for 24 h. The cotton textile turned dark brown as PPy was deposited. The textile coated with PPy was rinsed with 0.1 M hydrochloric acid to remove adhering PPy precipitate, then with ethanol, and dried in air. The content of PPy, 20.3 wt%, was calculated from the mass increase after its deposition.

Batch equilibrium studies

Methylene blue (3,7-bis(dimethylamino)phenazathionium chloride, Basic Blue 9; Scheme 2), is a water-soluble cationic dye used as the model sorbate in the present study, with optical absorption maximum at 664 nm. A stock solution was prepared by dissolving an appropriate quantity of MB in distilled water. The working solutions were prepared by successive dilution of the stock solution. Batch equilibrium adsorption studies were carried out in a set of conical flasks (100 mL) with 50 mL of MB solutions at various initial concentrations. About 50 mg of PPy-coated cotton textile was added to the dye solution, mixed, stirred for various time intervals at 25 °C at 500 rpm to attain equilibrium. The amount of dye adsorbed per unit mass of polymer adsorbent, Qe (mg g−1), and the dye removal percent (adsorptivity) A (%) were calculated from the two following equations:

$$Q_{\text{e}} = (C_{0} - C_{\text{e}} )\,Vm^{ - 1}$$
(1)
$$A = \frac{{(C_{0} - C_{\text{e}} )}}{{C_{0} }} \times 100$$
(2)

where C0 is the initial dye concentration in liquid phase (mg L−1), Ce is the dye concentration at equilibrium (mg L−1), V is the volume of dye solution (L), and m is the mass of adsorbent (g).

Scheme 2
scheme 2

Molecular structure of MB

All adsorption experiments have been carried out at neutral conditions, pH 7. Dye concentration was determined using a UV-double beam spectrophotometer (Labomed Inc., CA, USA) from absorption at wavelength 664 nm after calibration. The regeneration of the adsorbent was also studied and the same cotton textile coated with PPy was regenerated using acidic solution (pH 2).

Results and discussion

Adsorbent preparation

The coating of cotton textile with PPy is well documented by the conversion of originally white substrate to homogeneous brown-pigmented textile (Fig. 1). The scanning electron microscopy reveals that the coating of the textile with PPy was uniform (Fig. 2). This applies to the whole textile as well as to the individual threads. Only occasional clusters of PPy particles, i.e., residual of traces PPy precipitate that adhered to the textile after washing were still present. PPy has typical globular morphology and submicrometre particle size. Detailed characterization by infrared and Raman spectroscopies and other methods has been reported in separate papers (Bober et al. 2015; Maráková et al. 2017).

Fig. 1
figure 1

Cotton textile before (left) and after (right) coating with PPy

Fig. 2
figure 2

Cotton fabric before and after coating with PPy (top) and details of single threads taken at higher magnification (below)

The molecular structure of PPy also contains a conjugated system of bonds (Scheme 1) which is similar to the structure of organic dyes. Dyes are colored because they absorb light in the visible spectrum (400–700 nm), by having at least one chromophore (color-bearing) group with a conjugated system of alternating double and single bonds (Abrahart 1977) as illustrated for MB dye structure (Scheme 2). The adsorption process is most likely based on the synergistic effect of ππ* interaction between the aromatic ring of PPy and MB. The electrostatic interaction is not likely because both PPy and MB are positively charged. As we are proposing an application for cotton textile coated with PPy to adsorb MB dye, the optimum conditions following order of pH value, dosage and temperature have been sought.

pH of the medium

In general, pH is an important variable affecting the adsorption or desorption of the dye as the solution pH influences the surface charge and functional groups of the adsorbent (Kamboh et al. 2011; Matheickal and Yu 1997). In strongly acidic media, the protons compete with MB ions for the active sites in PPy, which impedes the adsorption of cationic dye, whereas the competition from protons decreases with the increase in initial pH and the adsorption efficiency increases correspondingly (Dave et al. 2011; Yang et al. 2015). It is evident that alkaline conditions are beneficial for adsorption of MB.

Furthermore, in the solution of high pH, the PPy surface will become depronated to PPy base (Stejskal et al. 2016) and, thus, the cationic MB dye adsorption increased (Vadivelan and Kumar 2005). Similar trends were observed with different adsorbents, such as rice husk (Vadivelan and Kumar 2005), palm-kernel-shell-activated carbon (Jumasiah et al. 2005), and wheat shells (Bulut and Aydın 2006). Therefore, the adsorption of MB by the cotton textile coated with PPy was further examined under alkaline conditions at different pH values ranging from 7 to 10 (Fig. 3). It was observed that in the solution of high pH, PPy-coated cotton textile adsorbs MB dye faster, while under lower but still alkaline pH, the adsorption rate is slower. Although the rate of adsorption differs, the adsorption capacities are approximately the same in all cases; this may be attributed to the high effect of other types of interactions such as hydrogen bonding, van der Waals interactions and ππ stacking rather than the electrostatic interaction especially at lower pH. For that reason, we have studied the adsorption process of MB dye in neutral medium at pH 7.

Fig. 3
figure 3

Effect of variation of the pH on the adsorption of MB on cotton textile coated with PPy

Mass of textile substrate

The effect of PPy-coated textile dosages on the adsorption of MB dye from aqueous solution was evaluated by varying the dosage of the textile, which ranged from 50 to 470 mg and keeping constant initial MB dye concentration at 3.9 mg L−1 (Fig. 4). The adsorption rate of the MB increased with increasing amount of textile. This implies that the number of adsorption sites increases with increasing dosage of PPy coating during the adsorption as expected. The adsorption efficiencies are approximately the same in all cases.

Fig. 4
figure 4

The effect of the amount of cotton textile coated with PPy on MB (3.9 mg L‒1) adsorption

Temperature

Temperature is one of the important parameters affecting dyes removal (Abramian and El-Rassy 2009; Ebrahimian and Saberikhah 2013). In the present work, adsorption capacity of MB dye decreased from 3.30 to 2.4 mg g−1 then to 2.23 then to 2.11 mg g−1 and finally to 2.01 mg g−1 due to increase in temperature gradually from 25 to 30 °C then to 35 °C then to 45 °C, and finally to 55 °C. The equilibrium adsorption capacity Qe of MB dye at different temperatures is reached its limit after ca. 300–400 min (Fig. 5). The decreasing trend confirms that adsorption of MB dye is exothermic process. This may be due to weakening of the residual forces between the active sites of the polymer and the dye, and also between adjacent dye molecules on the adsorbed phase (Al-Anber 2011; Ofomaja and Ho 2007). Further adsorption experiments were, therefore, carried out at 25 °C.

Fig. 5
figure 5

The variation of adsorption capacity Qt of 3.9 mg L‒1 MB solution with 50 mg PPy-coated cotton textile at different temperatures

Dye retention

The adsorption of MB dye on cotton textile coated with PPy can be easily detected by naked eye as the blue solution becomes colorless after being in contact with the cotton textile (Fig. 6). Its difference with the uncoated cotton textile towards the adsorption of MB was also considered and discussed (Fig. 7).

Fig. 6
figure 6

Image illustrates the adsorption process and removal of MB

Fig. 7
figure 7

The effect of the contact time on 3.9 mg L‒1 MB dye, a with 50 mg cotton textile coated with PPy and b cotton textile alone

Addition of 50 mg of PPy-coated textile to 50 mL of 3.9 mg L−1 MB solution led to noticeable decrease in the absorbance of MB with time (Fig. 7a). Similar experiment with uncoated textile under the same conditions revealed relatively small change in absorbance of MB (Fig. 7b). It can be concluded that the decisive role of PPy in adsorption of MB dye is apparent. Adsorptivity for the PPy-coated cotton textile reached about 96% after 24 h (Fig. 8a). In the case of uncoated textile, the adsorptivity was about 40% after 3 h and there was no significant change with time any more (Fig. 8b).

Fig. 8
figure 8

a Time dependence of adsorbed amount of MB, Qt, and b the corresponding adsorptivity on PPy-coated textile and cotton textile alone

Effect of initial dye concentration

The experiment was carried out using different initial concentrations of MB. The dye solution (50 mL) was brought into contact with 50 mg of the PPy-coated textile substrate for 24 h to achieve the equilibrium. Two different pHs were used, pH 3.2 and pH 10.5. The amount of dye adsorbed per unit mass, Qe, increased with the increase of dye concentration at both pH levels. This means that the adsorption capacity is highly dependent on the initial dye concentration. At low concentration of dye, the ratio of the initial number of dye molecules to the available surface area is low. However, at high concentration the available sites of adsorption become fewer. Moreover, it is clearly indicated that the pH plays a great role. Under acidic pH 3.5, the dye adsorption is low, under alkaline pH 10.5, the adsorption capacity increased around three times (Fig. 9).

Fig. 9
figure 9

The effects of initial MB concentration on the adsorption capacity of PPy-coated cotton textile at two different pH

Adsorption kinetics

In order to study the adsorption kinetics, three different kinetic models have been applied: pseudo-first order (Namasivayam and Sumithra 2005; Yagub et al. 2014), pseudo-second order (Anirudhan and Radhakrishnan 2008; Tan et al. 2008) and intraparticle diffusion (Liu et al. 2015a) models:

$${\text{pseudo - first}}\;{\text{order}}\;{\text{rate}}\;{\text{equation}}:\;\log (Q_{\text{e}} - Q_{\text{t}} ) = \log Q_{\text{e}} - \frac{{k_{1} }}{2.303}t$$
(3)
$${\text{pseudo - second}}\;{\text{order}}\;{\text{equation}}:\;t/Q_{\text{t}} = 1/k_{ 2} Q_{\text{e}}^{ 2} + t/Q_{\text{e}}$$
(4)
$${\text{intraparticle}}\;{\text{diffusion}}\;{\text{model}}:\;Q_{\text{t}} = k_{\text{i}} t^{1/2} + C$$
(5)

where Qt refers to the amount of dye adsorbed at equilibrium at time t, k1, k2 and ki are rate constants for pseudo-first order, pseudo-second order and intraparticle diffusion kinetic models, respectively. The validity of the models was verified by the linear equation analysis of log (Qe − Qt) vs t, (t/Qt) vs t, and Qt vs t1/2, respectively. The adsorption of MB onto PPy-coated cotton textile was found to obey pseudo-second-order kinetic model with the highest correlation coefficient R2 and good agreement between experimental and calculated Qe values compared to pseudo-first-order kinetic model (Table 1). This assumes the sorption process, which is accompanied by electron sharing or electron transfer in the adsorption. All adsorption kinetics models are shown in Fig. 10 and their parameters are summarized in Table 1. Additionally, intraparticle diffusion model plot (Fig. 10c) gives a multi-linear curve, which suggests that the adsorption occurs in more than one step. The initial steeper section represents surface or film diffusion, the second linear section represents a gradual adsorption step, where intraparticle diffusion is rate limiting (Nassar et al. 2016, 2017b). From the slope of the second linear part the intraparticle diffusion rate constant ki equals 0.127 mg g−1 min−1. The value of the intercept of the second part section c equals 0.738 mg g−1; the intercept value suggests that surface diffusion has a larger role as the rate-limiting step.

Table 1 Kinetic parameters for the adsorption of MB on cotton textile coated with PPy (25°C, initial MB concentration = 3.9 mg L−1)
Fig. 10
figure 10

The kinetic plots for adsorption of MB on cotton textile coated with PPy, a pseudo-first-order kinetic model, b pseudo-second-order kinetic model and c intraparticle diffusion kinetic model

Adsorption isotherms

The distribution of dye molecules between the liquid phase and the adsorbent is a measure of the position of equilibrium in the adsorption process and can generally be expressed by one or more series of isotherm models. The adsorption isotherm models are fundamental for description of the interactive behavior between adsorbate and adsorbent and for the investigation of adsorption mechanism. Isotherm data should accurately fit into different isotherm models to find the suitable model that can be used for adsorption process (Gil et al. 2011). In the present study, Langmuir (Langmuir 1916), Freundlich (Allen et al. 2004), and Temkin (Temkin and Pyzhev 1940) isotherm models have been used to describe the adsorption equilibrium data derived from the adsorption of MB dye on PPy coating on cotton textile. These adsorption isotherms can be expressed as follows:

$${\text{Langmuir}}:\frac{{C_{\text{e}} }}{{Q_{\text{e}} }} = \frac{1}{{K_{\text{L}} Q_{\text{m}} }} + \frac{1}{{Q_{\text{m}} }}C_{\text{e}}$$
(6)
$${\text{Freundlich}}:\ln \;Q_{\text{e}} = \ln K_{\text{F}} + (1/n)\ln C_{\text{e}}$$
(7)
$${\text{Temkin}}:Q_{\text{e}} = B\ln K_{\text{T}} + B\ln C_{\text{e}}$$
(8)

where Ce is the equilibrium concentration of the adsorbate, KL is the Langmuir constant, Qm is the maximum adsorption capacity of monolayer, KF and n for Freundlich one, and KT and B for Temkin model. The equilibrium data obtained were fitted to the above three isotherm equations separately and the parameters were evaluated (Table 2) along with the correlation coefficients for each fit (Fig. 11a–c).

Table 2 Summary of the Langmuir, Freundlich and Temkin isotherm constants and the linear regression coefficients (R2)
Fig. 11
figure 11

a Langmuir, b Freundlich, and c Temkin isotherm models

The linear correlation coefficient of Freundlich model with R2 above 0.99 is higher than that for the Langmuir or Temkin isotherm models suggesting that the Freundlich isotherm model best fits the experimental data. This means that MB is adsorbed onto energetically heterogeneous binding sites, with different kinds of binding sites of adsorbent. The adsorption process is not restricted to the formation of monolayer, n value which is more than 1 indicates the favorable adsorption of MB onto the adsorbent surface.

Thermodynamic parameters

Temperature strongly affects the adsorption of MB on PPy-coated cotton (Fig. 5). From these previously stated data, some thermodynamic parameters can be calculated (Table 3) as Gibbs free energy change (Δ), enthalpy of adsorption (Δ) and entropy change (Δ):

$$\Delta G^\circ = - RT\ln K_{\text{d}}$$
(9)
$$\ln \;K_{d} = - \frac{\Delta S^\circ }{R} - \frac{\Delta H^\circ }{RT}$$
(10)

where Kd is the thermodynamic equilibrium constant, which is the ratio of the concentration of the dye on adsorbent at equilibrium Q e to the remaining concentration of the dye in solution at equilibrium C e (Nassar et al. 2017c, d).

Table 3 Thermodynamic parameters of MB dye adsorption at various temperatures
$$K_{\text{d}} = \frac{{Q_{\text{e}} }}{{C_{\text{e}} }}$$
(11)

The negative values of Δ indicated the feasibility of the process and the spontaneous nature of the adsorption under the used experimental conditions (Ertaş et al. 2010). Δ and Δ can be determined from the slope and the intercept of the linear plot of ln Kd vs. 1/T (Fig. 12, Table 3).

Fig. 12
figure 12

Van’t Hoff plot for MB adsorption on cotton textile coated with PPy

The data confirmed that reaction is not an exclusive physisorption; generally, the process is considered as physisorption when Δ values are between 0 and − 20 kJ mol−1 (Zhang et al. 2017). The negative value for enthalpy change Δ (−26.96 kJ mol−1) confirms the adsorption of MB dye is an exothermic process; this matches the results of the effect of temperature discussed above that MB dye adsorption rate and capacity decreased by increasing the temperature. The negative value of Δ (−85.14 J mol−1 K−1) reflects the decrease in the disorder of the system at the solid–solution interface, and no significant change occurred in the internal structure of the adsorbent during the adsorption process; this reflects the strong type of interaction between the dye and the adsorbent surface.

Regeneration of adsorbent

Many adsorbents have been reported to be regenerated, but they showed poor regeneration ability with high treatment cost. The facile regeneration and reusability test of cotton textile coated with PPy is quite important for an industrial application (Fig. 13).

Fig. 13
figure 13

Reusability of cotton textile coated with PPy in adsorptive removal of cationic dye

50 mg of the coated cotton textile was used for removal of 3.9 mg L−1 MB dye solution. After the adsorption, the dye-loaded textile was treated with acidic solution (pH 2) to allow for desorption to occur. Fast release of MB from the surface of PPy-coated cotton textile indicates the presence of electrostatic interaction between MB and the adsorbent. The adsorbent was then reactivated by 0.1 M ammonium hydroxide and rinsed twice in water and reused again with a new solution of MB dye. The adsorption percentage of MB using the regenerated PPy-coated cotton textile (the second, third and fourth runs) was tested under similar conditions and compared to the first run. The adsorption percent of MB dye onto PPy-coated cotton textile decreased a little with increasing number of recycles (Fig. 14). After three cycles, the MB dye removal efficiency was still above 86%.

Fig. 14
figure 14

The relation between numbers of recycles of PPy-coated cotton textile and adsorption percent of MB

Alternative regeneration of adsorbent

The efficiency of adsorption/desorption of MB and Acid Green 25 (AG) dyes from aqueous solutions by PPy-coated cotton textile were also investigated for the alternative removal by tuning the solution pH value. PPy-coated cotton textile can be easily protonated/deprotonated upon acid/base treatments (Stejskal et al. 2016). Depending on the proposal that the interaction is dependent on the electrostatic interactions between dyes molecules and the adsorbent, the deprotonated form is very efficient to adsorb MB. Moreover, the release process can be readily conducted by shifting the pH to acidic region. In the contrast, the protonated form can easily attract the AG anionic molecules and then can be released by shifting the pH to basic (Fig. 15).

Fig. 15
figure 15

Illustration of the reusability of cotton textile coated with PPy in adsorptive removal of cationic (MB) and anionic (AG) dyes

In this regard, 0.05 g of the deprotonated PPy-coated cotton textile was immersed in MB dye solution (3.9 mg L−1, 50 mL) with an adsorption efficiency of 96%. After release of MB dye at pH 2, the latter process resulted in the formation of protonated form that was used as productive adsorbent for the removal of AG (20 mg L−1, 50 mL) with an adsorption efficiency of 94%. The regeneration of PPy-coated cotton textile can be successfully achieved by treatment in 0.1 M ammonium hydroxide and washed twice in water and reused again with MB dye.

Comparison with other adsorption systems

Table 4 compares the adsorption capacities of different adsorbents towards MB. The adsorption of MB onto either conventional PPy or PANI was found to be undetectable (Ayad et al. 2013; Ayad and Zaghlol 2012; Ayad and El-Nasr 2010; Ayad et al. 2012; Li et al. 2013), which indicates that both of these CPs have almost no adsorption tendency toward MB dye. Furthermore, the adsorption of MB dye onto PANI nanotubes was found to be much higher than the adsorption onto conventional PANI (Ayad and El-Nasr 2010) due to the high surface area that renders PANI nanotubes as an efficient adsorbent. Therefore, the morphology, polymer-chain ordering, and specific surface area of the conducting polymer play a crucial role in the enhancement of the adsorption.

Table 4 The survey of adsorption capacity Q of various adsorbents towards MB dye reported in the literature

In the current study, the coating of cotton textile with PPy increases the surface area and hence it affords multiple adsorption sites for MB dye. This enhances the adsorption properties unlike the conventional PPy (Li et al. 2013) and many other adsorbents (Table 4). The improvement of MB adsorption was also evident after coating sawdust of with PPy (Ansari and Mosayebzadeh 2010) due to the increment of the adsorption sites.

The adsorbent characterized in the current study has additional advantages, such as it is a low-cost and environmental friendly material with good regeneration ability. This renders PPy-coated cotton textile as a promising adsorbent for the removal of cationic dyes from wastewater.

Concluding remark

The data published in the literature as well as the present study document that CPs are efficient adsorbents of water-soluble dyes. The large number of papers published on this topic is due to the ease of the experimental setup based on the determination of the decrease in optical absorption, which is also supported by the naked-eye observation. It should be realized that other organic chemicals constituting water pollution, such as various drugs including antibiotics, herbicides and pesticides, might be similarly and efficiently removed from water. The studies in this direction, however, are missing because of the need to apply more complex analytical tools for determination of pollutant concentration.

Conclusions

PPy-coated cotton textile can be used as an adsorbent for the removal of MB, cationic dye model, from aqueous solutions. The PPy-coated cotton textile had a higher adsorption capacity compared to the neat cotton textile. Alkaline conditions favoured the dye adsorption. The amount of the dye adsorbed was found to increase with contact time and also with the amount of adsorbent. Freundlich isotherm model is more convenient to describe the adsorption process with the highest correlation coefficient. Furthermore, the adsorption kinetics were successfully fitted by pseudo-second-order kinetics. Thermodynamic parameters indicate that the adsorption process is feasible, efficient, and spontaneous with negative Δ value. The PPy-coated cotton textile can be easily regenerated and reused for dye adsorption several times with good efficiency and high durability, which allows for the recycling of both the adsorbent and the adsorbed MB dye.