Introduction

Cotton as a natural polysaccharide is a quite popular fiber. It is generally employed in the daily life and textile industry according to the outstanding properties, such as softness, skin-friendliness, sweat absorbing properties, high breathability, and hygroscopicity. However, the fabric production with new functionalities, including antibacterial properties (Barani and Mahltig 2020), self-cleaning (Karimi et al. 2014), thermal regulation (Peng et al. 2019), flame resistance (Gao et al. 2015; Yang et al. 2016), and electrical properties (Ahmed et al. 2020; Alamer 2018; Karimi et al. 2014; Wang et al. 2017; Yang et al. 2018; Zhou et al. 2020) has received a great deal of interest during the recent years. Among these properties, the production of conductive textiles has attracted specific attention due to the intrinsic properties, such as lightweight and flexibility. Conductive textile represents a novel type of textile, which is known as smart textile or E-textile. This type of textile demonstrates several applications such as antibacterial fabrics (Karimi et al. 2014; Zhao et al. 2019), electromagnetic shielding (Bharadiya et al. 2019; Wang et al. 2017), flexible energy storage (He et al. 2019a, b; Ke and Wang 2016), digital component electronics (Matsuhisa et al. 2015), and wearable sensing in biomechanical monitoring (Xue et al. 2020). This product is constructed based on the embedding of conductive materials such as conductive polymers and nanomaterials of metals and alloys on the textile substrate (Al-Oqla et al. 2015). Nylon, polyester, and cotton textiles have been made electroconductive using different methods (Ahmed et al. 2020; Alamer 2018; Karimi et al. 2014; Kongahge et al. 2016; Lou et al. 2017; Wang et al. 2017; Yang et al. 2018; Yue et al. 2012; Zhou et al. 2020), such as insert of metallic fibers in the fabric, the extrusion of fibers with conductive particles, or coating of the textile substrate with conducting polymer or chemical metallization.

Graphene is a unique class of carbon-based nanoscale building blocks that presents a considerable potential for energy conversion and storage devices (Kongahge et al. 2016; Lou et al. 2017; Yu et al. 2011). The graphene is a two-dimensional sheet of sp2 hybridization carbon atoms that recently attained a great research interest according to its unique properties, such as good flexibility, high mechanical strength, and high electrical and thermal conductivity. Graphene oxide (GO) is an oxidized form of graphene that contains a variety of oxygen functional groups such as hydroxyl, carbonyl, carboxyl, and epoxy groups on the basal plane and the edges (Kongahge et al. 2016; Wong et al. 2015; Zhou et al. 2011). These functional groups provide the dispersal ability of the synthesized GO nanosheets in water and enhance their binding to cotton fibers surface. However, its electronic applications are limited due to the low conductivity caused by the sp2 bonding network disruption. Therefore, the partial reduction of GO nanosheets is favorable for increasing electroconductivity. Different methods are used to reduce the deposited GO on the textile substrates, including chemical reduction based on various reducing agents and thermal reduction. In these methods, the GO nanosheets were adsorbed on the surface of the textile substrate and later reduced by employing chemical reducing agents such as hydrosulfite (Pei and Cheng 2012; Zhou et al. 2011) or hydrazine (Gholampour et al. 2017; Park et al. 2011). The GO nanosheets were adsorbed on the surface of the fabric due to the presence of chemical attraction forces between the extent of the oxidized groups of GO and functional groups of the textile substrates. Yu et al. coated the solution-exfoliated graphene nanosheets on polyester fabric and later electrodeposited manganese dioxide (MnO2) to yield high-capacitance performance (Yu et al. 2011).

Conducting polymers are materials capable of being doped or undoped, resulting in changes to their electrical properties. Recently, the conductive polymers with conjugated double bonds have gained popularity in advanced materials (Bhadra et al. 2020; Kaur et al. 2015; Palza et al. 2019; Tian et al. 2014). A large variety of conducting electroactive polymers have been reported in the literature, some of which are polypyrrole (PPy), polythiophene (PTh), and polyaniline (PANI) (Ansari 2006; Balint et al. 2014; Boeva and Sergeyev 2014; Wallace et al. 2008). Polypyrrole is the most intensively investigated conducting polymer owing to its high stability and ease of tailoring to prepare functionalized polypyrrole (Ansari 2006). Polypyrrole can be polymerized using either chemical or electrochemical methods (Machida et al. 1989; Muthulakshmi et al. 2006). The polyaniline family includes the unsubstituted “parent” polyaniline and various substituted polymers with substituents either on the aniline rings or on the nitrogen atoms. Polypyrrole and polyaniline can be coated on the textile to form conducting polymer textiles using various methods for this purpose. The electrically conductive coating must be uniform, smooth, and bonded covalently to the fiber surface for presenting excellent stability against high friction forces and extreme bending radii (Allison et al. 2017; He et al. 2019a, b; Zhao et al. 2017). Depending on the presence/absence of reactive functional groups on the surface of fibers, reactive monomers or growing polymer chains can also become covalently attached to the surface of fibers during the coating(David et al. 2017; Xie et al. 2019). The most commonly used methods are chemical polymerization (in situ polymerization) (Butoi et al. 2017; Machida et al. 1989; Malinauskas 2001; Yue et al. 2012) or electrochemical polymerization (Muthulakshmi et al. 2006; Yue et al. 2012, 2013). In general, it can be stated that the in situ polymerization of conductive polymers on textile substrate generated a homogeneous layer with higher conductivity and better rubbing fastness compared to material coated via dipping and drying. In an in situ polymerization process, pyrrole or aniline monomer is usually chemically polymerized from solution and deposited onto the textile's surface. The monomer's oxidation must be maintained slow for obtaining uniform coating on a textile substrate (Higashimura 2012; Le et al. 2017; Patil and Deogaonkar 2012). It is achieved by controlling the concentration of both monomer and oxidant. The in situ polymerization of pyrrole was first used on the paper by Bjorklund (Shea 1999) and later was developed for textile (Butoi et al. 2017; Machida et al. 1989; Malinauskas 2001; Muthulakshmi et al. 2006; Yue et al. 2012, 2013). It has been found that either pyrrole or aniline monomers could be polymerized onto the textile and forms a smooth, coherent coating on the textile materials' surface.

Some studies have been done on the preparation of conductive cotton fabric based by applying several types of conductive materials, including graphene and conductive polymers. Despite these several methods, the modification and development of new methods for producing electrically conductive cotton fabric remain a considerable challenge. The present paper aims to enhance the electrical conductivity of cotton fabrics based on using different conductive materials with an in situ approach. To the best of our knowledge, there is no reported literature regarding comparing the prepared conductive textile substrate using different preparation methods and conductive materials. Comparing the electrical conductivity of prepared cotton fabric with various conductive materials such as RGO, polypyrrole, or polyaniline is the main purpose of the current work. Moreover, the effect of different concentrations of conductive materials, monomer to oxidant, and monomer to dopant molar ratios was examined on the sheet resistance of coated cotton fabric. The sulfur-containing compounds such as NaHSO3, Na2SO3, and Na2S2O4 are newly found as reducing agents. Besides higher conductivity, due to the low toxicity and nonvolatility, these materials make the reduction much safer (Chen et al. 2010). Therefore, Na2S2O4 was used to reduce GO to graphene in this study. The influence of conductive material types, material concentrations, and polymerization conditions was investigated on the morphology, color characteristic, and sheet resistance of produced conductive cotton fabric.

Experimental

Materials

Graphite powder, particle size averages of less than 100 µm, was purchased from Fluka chemical company. Sulfuric acid (H2SO4, 95–98%) and hydrochloric acid (HCl, 32%) were acquired from the Kian Kaveh Azma chemical company (Iran). Potassium permanganate (KMnO4), sodium nitrate (NaNO3), hydrogen peroxide (H2O2, 37%), sodium hydrosulfite (Na2S2O4), iron (III) chloride hexahydrate (FeCl3.6H2O), ammonium persulfate (APS, (NH4)2S2O8), pyrrole (Py) were purchased from Merck chemical company (Germany). Aniline (Ani) was supplied by Acros organics Company (Germany). Nonionic surfactant Triton X-100 was acquired from Biochemica Company (United Kingdom). Pyrrole and Aniline were freshly distilled, whereas other chemicals were used as a received. The 100% cotton fabrics (scoured and bleached sample) with a plain weave structure were used as a substrate. The structural characteristic of used cotton fabric in this assay is as follows: fabric density, 143 g/m2; warp threads per cm, 27; weft threads per cm, 20. The purified water with a resistivity higher than 18.2 MΩ/cm (Milli-Q system) was used in all experiments.

Preparation of electrically conductive cotton fabric

In this study, the electrical conductivity of cotton fabric was enhanced based on the in situ polymerization of conductive polymer and the coating with synthesized GO and the RGO. Therefore, different electrically conductive cotton samples were produced based on conductive polymer and graphene, which were denoted as GO-Co, RGO-Co, PPy-Co, and PANI-Co, and the prefixed abbreviation represents the type of applied conductive materials. The schematic preparation of coated cotton samples is shown in Fig. 1.

Fig. 1
figure 1

Schematic process method for the preparation of conductive cotton samples

The coating of cotton fabric with GO and RGO

The modified Hummer’s method was used to synthesize graphene oxide (GO) sheets (Hummers and Offeman 1958). The graphite powder (2 g) and sodium nitrate (2 g) were added to 96 mL of sulfuric acid in a Round-bottom flask (1000 mL), which was in an ice bath (0–5 °C) and stirred continuously (Fig. 1). The stirring was followed for 2 h at this temperature, and 12 g of potassium permanganate was added to this mixture very slowly while carefully controlling the reaction temperature lower than 10 °C. After that, this mixture was stirred at 35 °C for 6 h. The reaction system was immersed in an ice bath (0–5 °C), and then 400 mL %2 H2O2 was added to this mixture very slowly by which changed color to bright brown. The above mixture was refluxed at 98 °C for 30 min, which gave a black-colored solution and was kept under stirring for 24 h at room temperature. Then 400 mL HCl (%5) was added to the above mixture and stirred for 30 min. The resulting mixture was washed repeatedly with deionized water and centrifuged at 3000 rpm several times until it became neutral. After that, an aqueous dispersion of graphite oxide was sonicated for 4 h at 60 °C to exfoliate it to GO. Finally, GO dispersion was freeze-dried for 72 h, which gave the GO powder.

Cotton fabrics were coated with GO as described elsewhere (Shateri-Khalilabad and Yazdanshenas 2013) with some minor modifications. In a typical procedure, an aqueous dispersion of GO (1 mg/mL) with a liquor to goods ratio of 50:1 was prepared using an ultrasonic bath homogenizer for 30 min. The cotton fabrics (5 × 5 cm) were dipped into the prepared dispersion at room temperature for 30 min and then dried at 75 °C for 30 min. The coating process was repeated 20 times to increase GO adsorption. The resulting GO-coated fabrics were referred to as GO (1%w/v)–Cotton.

The GO-coated fabrics (1 g of each) were immersed in a 100 mL aqueous solution of 50 mM Na2S2O4. The mixture was refluxed at 95 °C for 60 min under constant stirring. The resulting fabric was washed with a large amount of deionized water multi times to eliminate the unreacted reducing agents. Finally, the samples were dried at 60 °C for 6 h (Fig. 1). The resulting RGO-coated fabrics were referred to as RGO (1%w/v)–Cotton. The above steps were repeated for different concentrations of GO dispersion, which including 2, 3, 4 and 5 mg/mL, to investigate the effect of concentration of GO dispersion on the electrical conductivity of the coated sample.

The coating of cotton fabric with polypyrrole

The pyrrole was polymerized as an in situ method on cotton fabric in different pyrrole to oxidant molar ratios and monomer quantities (Table 1). In a typical procedure, 1.8 mL pyrrole was dissolved in deionized water (100 mL) in a Round-bottom flask (250 mL), then homogenized by a bath-sonicator. Two cotton fabric samples (5 × 5 cm) were dipped into the prepared solution and kept under gentle stirring at room temperature for 60 min to allow adsorption of pyrrole on the cotton fabrics (Fig. 1). The reaction system was then placed in an ice bath (0 up to 5 °C) and kept under stirring for 15 min. The oxidant solution containing 17 g FeCl3·6H2O was dissolved in 50 mL deionized water (pyrrole to oxidant molar ratio of 1:2.5) while magnetically stirred at room temperature for 15 min. The steady and dropwise addition of oxidant solution into the reaction system resulted in beginning the polymerization reaction on the surface of cotton fabric. After that, the color of the coated fabric immediately altered from white to black. The reaction was followed for 4 h, and then the coated fabrics were washed with plenty of deionized water for removing unreacted oxidant and monomer alongside unbound PPy. The available and unbound polypyrrole was carefully separated, washed with deionized water, and dried at 60 °C for 6 h for further studies. Finally, the coated fabrics were dried in an oven at 60 °C for 6 h before measurements were performed.

Table 1 The description of sample code and the in situ polymerization conditions on the cotton fabric

The different concentration of pyrrole (0.25, 0.5, 1 and 1.8) and aniline (0.25, 0.5, 1, 1.7 and 2) was used for modification of cotton fabric. Moreover, FeCl3·6H2O and (NH4)2S2O8 were used as an oxidant for in situ polymerizations of Pyrrole and Aniline monomer, respectively. Also, HCl was used as a dopant in the polymerization of aniline monomer.

The coating of cotton fabric with Polyaniline

The in situ polymerization of polyaniline on the cotton fabric was carried out in different aniline: dopant (HCl) molar ratios and quantities of aniline (Table 1). In a typical procedure, 1.7 mL aniline was added to 100 mL of 1.316 M HCl (aniline to dopant molar ratio of 1:7) in a Round-bottom flask (250 mL), then homogenized by bath-sonicator for 15 min (Fig. 1). Two cotton fabric samples (5 × 5 cm) were dipped into the prepared solution and kept under gentle stirring at room temperature for 60 min to allow adsorption of aniline on the cotton fabrics. The reaction system was then placed in an ice bath (0 up to 5 °C) and kept under stirring for 15 min. The oxidant solution was prepared by dissolving 4.286 g of (NH4)2S2O8 in 50 mL deionized water (aniline to oxidant molar ratio of 1:1) and magnetically stirred for 15 min at room temperature. The steady and dropwise addition of oxidant solution into the reaction system resulted in beginning the polymerization reaction on the surface of cotton fabric. After that, the reaction was followed for 4 h, and the color of the fabric samples was altered to green. Then, the coated fabrics were washed with plenty of deionized water for removing unreacted oxidant, monomer, and unbound PANI. The available and unbound polyaniline was carefully separated, washed with deionized water, and dried at 60 °C for 6 h for further studies. Finally, the coated fabrics were dried at 60 °C for 6 h before measurements were performed.

Characterization of coated cotton fabric

The Fourier Transform Infrared (FTIR) spectra of each sample were recorded on a Bruker Tensor-27 spectrometer (Germany). The Attenuated Total Reflectance-Fourier Transform Infrared (ATR–FTIR) spectra were collected on a Bruker Equinox-55 spectrometer (Germany). The spectra were analyzed in the wavelength range of 400 and 4000 cm−1. The morphology of each coated cotton sample was observed using Scanning Electron Microscope (TESCAN MIRA3 XMU, Czech Republic), which was equipped with a field emission gun (FESEM). The crystallographic structure of synthesized conductive materials and coated samples was determined using an X-ray diffractometer (Panalytical X'PertPro, Netherlands) with CuKα radiation (λ = 1.5404 Å). The x-ray diffraction (XRD) pattern of samples was recorded over the range 5° ≤ 2θ ≤ 90° with a step size of 0.05° and a step time of 1 s. The crystallographic parameters of samples were calculated based on the following equations:

$$ d = \frac{{{\text{n}}\uplambda }}{{2 {\text{Sin}}\uptheta }}\;\left( {\text{Bragg's law}} \right),\quad L = \frac{{{\text{k}} \uplambda }}{{\upbeta \cos\uptheta }}.\quad \left( {\text{Scherrer equati}} \right),\quad {\text{and}}\quad N = \frac{L}{d} + 1 $$

where d is the inter-layer spacing, L is crystallite size, N is the number of graphene layers in the crystal, n is a positive integer (n = 1), λ is the wavelength of the incident wave (λ = 0.15404 nm), θ is the diffraction peak position (°), k is a form factor (k = 0.91), and \({{\varvec{\upbeta}}}\) is the width at half-height of the corresponding diffraction peak in radian. The point-to-point surface resistance of the cotton fabrics was measured according to IEC 61,340–4-10, employing a TERA OHM METER electrical resistivity Test Instrument (Iran) at 22 °C, and 35% relative humidity. The Test Instrument has been calibrated by the NACI laboratory (Certification No. 98L 1307–1/1) according to the IDS-GDL-0316 standard. Moreover, the measurement of out-of-range values, the DEC digital multimeter (model DEC330FC), was coupled with the Test Instrument. The sheet resistance of cotton sample (Ω/square) was calculated as (O × W/D) with O = electrical resistance of cotton sample in Ohm, W = width of the sample in cm, and D = distance between two-point probe in cm. The distance between the probes was adjusted by 1 cm, and each sample was tested 10 times. The color characteristics of prepared conductive cotton fabric were determined using a Ci60, X-Rite spectrophotometer. The reflectance spectrum of each sample was recorded over a range of 400–700 nm, and the color values (L*, a*, b*, C*, h) were determined under illuminant D65 and the 10° standard observer. Also, the color strength (K/S) of each coated sample was calculated based on the reflectance spectrum, according to the (1 − R)2/2R, in which R is the reflectance of the sample.

Results and discussions

The in situ preparation was used to produce the different types of conductive cotton fabric samples via a reduction reaction process on the deposited GO on the coated cotton fabric or polymerization of monomer on the surface of cotton fabric by immersing fabric sample in the reaction mixture of polymerization. The prepared samples were characterized by using different methods, and the obtained results are as a following.

Morphology of synthesized samples

The SEM images of fibers reveal a typical morphology of cotton fibers, which was modified by different conductive materials. It is clear from the FESEM micrographs (Fig. 2), which no impurity appeared on the surface of pristine cotton fibers and presented relatively smooth and neat surfaces with no mentionable features like rumples or wrinkles (Barani 2014a, 2014b; Barani and Boroumand 2016; Haji et al. 2013). The smooth surface of cotton fabric was altered to a rough surface after modification with conductive materials, such as GO, RGO, PPy, and PANI (Fig. 2). After the coating, a laminar layer of GO appeared on the surface of cotton, which indicates the successful deposition of GO nanosheets on the surface of cotton fibers (Drewniak et al. 2016; Krishnamoorthy et al. 2013; Shojaeenezhad et al. 2017). The GO nanosheets were adsorbed on the surface of cotton fiber due to hydrogen bond and van der Waals' force between functional groups of GO and cotton fiber (Xu et al. 2015; Yu et al. 2011). After that, the GO nanosheets were converted to RGO nanosheets by a reduction method. The RGO nanosheets remained on the cotton fibers surface after the GO nanosheets chemical reduction with Na2S2O4, which may be due to the homogeneous coating of the GO nanosheets over the cotton fibers. As it is evident from EFSEM images (Fig. 2), the size and morphology of RGO nanosheets are as same as the deposited GO nanosheets on the surface of the cotton fiber after being reduced in the reduction process.

Fig. 2
figure 2

Scanning electron microscopy (SEM) of coated cotton fabrics by conductive materials with different magnification (left) 5 kx, and (right) 75 kx

In the case of PPy-coated cotton fabric, polypyrrole formed a continuous layer consisted of spherical particles of different sizes on the surface of cotton fibers, which would enhance its electrical conductivity. Moreover, the coating of cotton fabric through in situ chemical polymerization of aniline resulted in the forming of a layer of HCl-doped granular polyaniline (emeraldine form of polyaniline) over the cotton fibers surface, which eventually would impart electrical conductivity to the cotton fabric.

FTIR analysis

The chemical structure of prepared samples was investigated for evaluating the characteristics of the synthesized conductive materials (GO, RGO, PPy, and PANI) alongside their interaction with the cotton fibers as a textile substrate. The FTIR spectra of the synthesized GO sample (Fig. 3) shows some characteristic signals, which are around 1736 (C=O stretching vibration), 1619 (C=C stretches from un-oxidized aromatic CC bonds), 1226 (C–O stretching vibrations of C–OH from alcohol groups), and 1055 cm−1 (C–O stretching vibrations of C–O–C). The presence of signals assignable to the oxygen-containing functional groups confirmed that the oxidation reaction as a chemical exfoliation was successfully carried out on the graphite. Moreover, there is broadband around 3404 cm–1 due to the OH stretching vibrations of introduced hydroxyl and carboxyl groups of GO and absorbed water molecules between GO sheets. The FTIR spectra of synthesized GO samples agree with other studies (Aliyev et al. 2019; Habte et al. 2019; Krishnamoorthy et al. 2013; Rabchinskii et al. 2018; Romero et al. 2018).

Fig. 3
figure 3

Normalized FTIR spectra of (left) cotton and synthesized conductive material and (right) the normalized ATR–FTIR spectra of coated cotton fabric with conductive material (GO-Co with 1 mg/mL GO concentration; RGO-Co with 1 mg/mL RGO concentration; PANI-Co with 1 mL monomer, oxidant molar ratio of 1:1, and dopant molar ratio of 1:7; PPy-Co with 1 mL monomer, oxidant molar ratio of 1:1). The spectra were normalized based on the highest band intensity

As can be seen, the FTIR spectrum of synthesized PANI shows some characteristic bands as follow; broadband centered around 3439 cm−1 is attributed to the N–H vibrations of PANI. The two absorption peaks at 1471 cm−1 and 1578 cm−1 are assigned to the C = C stretching vibration for the benzenoid and quinonoid ring-stretching vibrations of polyaniline, respectively (Fig. 4a). Moreover, the band at 1110 cm−1 is assigned to the C–N stretching mode for the benzenoid ring, and the presence of a signal at 789 cm−1 is attributed to the C–H vibration (Butoi et al. 2017; Kang et al. 1998; Sariciftci et al. 1987).

Fig. 4
figure 4

The different forms of a polyaniline with various oxidation degree, b polymerization and chemical structure of Polypyrrole, and c the schematic design of hydrogen bonds formed between the hydroxyl groups of cotton fibers and the deposited conductive materials

In the FTIR spectra of synthesized polypyrrole, the presence of several weak absorption bands in the range of 1200–1700 cm−1 is associated with the fundamental vibrations of the polypyrrole ring (Fig. 4b). The bands at 1289, 1445, 1539 and 1642 cm−1 are due to the C–N, C=C, C–C, and C=N stretching vibrations of the pyrrole ring. Moreover, the two absorption peaks at 1023 and 1085 cm−1 are attributed to the C–H and N–H in-plane deformation vibrations. The bands that appeared at 2923 and 3432 cm−1 are due to C–H and N–H stretching vibration of polypyrrole, respectively (Kato et al. 1991; Moosvi et al. 2016; Ramesan 2013).

As can be seen, the cotton fiber presents some characteristics in the FTIR and ATR–FTIR spectra (Fig. 3), which are the same and in good agreement with the literature (Barani 2014a, 2014b; Barani and Mahltig 2020; Chung et al. 2004). The FTIR and ATR–FTIR spectra of cotton fiber show some characteristics bands as follow; the characteristics absorption bands of cotton fiber appear in the range from 900 to 1500 cm−1 due to C–O and C–H vibration. A weak peak occurred at 1650 cm−1 due to the O–H bending mode of the adsorbed water molecule. Moreover, a broad peak appeared at around 3400 cm−1 due to the stretching vibration of the hydrogen-bonded O–H in cellulose molecules. By comparing the ATR–FTIR spectra of coated cotton fabric (Fig. 3), it shows that all samples presented the same prominent resonance bands of cotton fiber and respective coated material. In the ATR–FTIR spectra of GO and RGO-coated cotton fabrics, only characteristic peaks of cotton fiber are visible, which might be due to the low adsorption of GO/RGO on the cotton surface (with a weight gain in the range of approximately 0.72% in RGO(1 M)-cotton and 3.21% in RGO(5 M)-cotton). The ATR–FTIR spectrum of PANI-coated cotton sample presented dominant characteristic peaks of cotton with two absorption peaks at 1471 and 1578 cm−1 attributed to the benzenoid (N–B–N) and quinonoid (N=Q=N) ring-stretching vibrations of polyaniline, respectively. In the ATR–FTIR spectrum of PPy-coated cotton, characteristic peaks of polypyrrole are more prominent due to the high adsorption of polypyrrole on the cotton surface and a high-thickness and uniform layer of polypyrrole. The coating of cotton fabric with PPy and PANI resulted in a lower intensity of the attributed hydroxyl bands around 3400 cm−1 due to hydrogen bonds forming between the hydroxyl groups of cotton fibers and the coated conductive polymer (Fig. 4c). The protonated coated polymer can interact with the functional hydroxyl of cotton fibers and result in the lower intensity (PPy-cotton =  − 62% and PANI-cotton =  − 38%) of the hydroxyl bands in coated cotton fabric samples. However, these interactions can enhance the fastness of coated cotton fabric.

XRD analysis

This technique was used to determine the average interlayer spacing and the orientation of a single crystal or grain. Cotton fabric presented some broad reflections peaks due to its semi-crystalline cellulosic structure (Fig. 5) and generally appeared near to the 2θ angles of 14.8°, 16.8° and 22.2°, and which are associated to (1–10), (110), and (200) (French 2014; French and Santiago Cintrón 2013). According to XRD diffraction patterns, the position of these characteristic peaks did not markedly shift after coating conductive material over the cotton fabric sample, and the same results have been reported for the graphene coating over the other textile substrates (Fugetsu et al. 2010; Karimi et al. 2014, 2016; Molina et al. 2015; Nooralian et al. 2016). The characteristic reflection peaks of the graphene will not be distinguishable at the XRD pattern if it is successfully exfoliated and uniformly deposited on the fiber surface (Fugetsu et al. 2010; Karimi et al. 2016; Nooralian et al. 2016; Tang et al. 2014). Moreover, no detectable changes in the XRD pattern of coated cotton fabric might be due to the low quantity of coating materials (GO, RGO, PPy, and PANI) (Karimi et al. 2014; Molina et al. 2015). According to the FESEM images (Fig. 2) of this assay, can confirm that no detecting the characteristic reflection peaks at XRD pattern could be due to the successful exfoliation and uniformly deposition on the surface of cotton fibers.

Fig. 5
figure 5

The XRD patterns of (left) graphite and synthesized graphene oxide and (right) coated cotton fabric with conductive material

The diffraction pattern of pure graphite powder (Fig. 5) presented an intense peak around 2θ = 26.6°, which is indexed to (002) crystal plane orientation (Ganguly et al. 2011; Herzog et al. 1994; Hishiyama and Nakamura 1995; Kelly and Billups 2013) with an interlayer spacing of 0.33 nm (Table 2). The exfoliation of graphite intercalation compounds as a top–down process is one of the routes to produce graphene (Eswaraiah et al. 2011; Lee et al. 2019). It is carried out to achieve the desired number of graphene layers. The graphite exfoliation is performed via a chemical or mechanical method (Wu et al. 2009). The oxidation reaction (Guerrero-Contreras and Caballero-Briones 2015; Muzyka et al. 2018; Sohail et al. 2017) as a chemical exfoliation was used in this assay. After the oxidation reaction, the characteristic peak of graphite (002) is found to be shifted for graphene oxide to around 2θ = 11.1° (Ganguly et al. 2011; Ju et al. 2010; Ma et al. 2017). The oxidation reaction increased the interlayer spacing (142%) from 0.33 to 0.79 nm due to oxygen-containing functional groups between the layers and water molecules located in the interlayer galleries. Furthermore, the existence of a very small peak around 2θ = 42° in the XRD pattern of graphene oxide confirms the presence of unordered graphite layers, which is known as a turbostratic disorder structure and is formed due to incomplete oxidation (Chen et al. 2011; Jurkiewicz et al. 2018; Li et al. 2007). The results indicate that the crystallite size, L002, decreases after oxidation reaction, which might be due to the breaking of crystallites and formation of defects crystal (Hontoria-Lucas et al. 1995; Krishnamoorthy et al. 2013; Romero et al. 2018). Moreover, the oxidation increased the interlayer spacing due to oxygen-containing functional groups, including carbonyl, hydroxyl, and epoxide. The appearance of these functional groups resulted in a decrease in the interactions between the graphene layers by increasing the interlayer distance (Guerrero-Contreras and Caballero-Briones 2015; Romero et al. 2018). Also, the oxidation process resulted in a lower number of graphene layers (Romero et al. 2018) with a 77% reduction in N value (Table 2).

Table 2 The crystallographic parameters of graphite and graphene oxide samples based on the calculation of the XRD pattern

Electrical conductivity

The sheet resistance of fabric was determined by the two-point probe method, and the obtained data are presented in Fig. 6. The pristine cotton fabric was not an electroconductive textile substrate due to its high electrical resistance (1.9 × 1012 Ω/square). After deposition of graphene oxide over the cotton sample, the electrical resistance of the GO-Cotton sample presented only a partial decrease. The structure changes of carbon atoms during the oxidation process resulted in a low electrical conductivity of GO. The electrical conductivity of GO dramatically decreased when the oxygen content exceeded (Morimoto et al. 2016; Park et al. 2014; Phiri et al. 2018). The coating of cotton fabric with GO didn't change electrical resistance due to the lack of an extended-conjugated orbital system in GO. But, removing the oxygen-containing functional groups of GO resulted in restoring the original sp2 electronic structure of carbon atoms and recovering its electrical conductivity. Therefore, the reduction of graphene oxide resulted in enhancing the electrical conductivity of RGO (Karimi et al. 2014; Park et al. 2014). According to this, the reduction of Go to RGO through chemical reduction with Na2S2O4, the RGO(1%w/v)–Cotton showed a sheet resistance of 11.5 × 103 Ω/square, which represented a decrease of 99% compared with GO(1%w/v)–Cotton. The RGO concentration on the coated fabric surface has a considerable effect on the conductivity of the coated cotton sample (Fig. 6a). Increasing the concentration of RGO dispersion from 1 to 5 mg/mL resulted in a lower sheet resistance (− 99%), which is probably due to the increasing number of charge carriers on the surface of cotton fibers and better surface connection of deposited RGO nanosheets.

Fig. 6
figure 6

The sheet resistance of coated cotton fabric at a different RGO concentrations, b different molar ratio of oxidant for PPy and dopant for PANI polymerization, c different concentration of pyrrole, d different concentration of aniline, e different conductive materials at their lowest sheet resistance value [RGO (5 mg/mL), PPy (1 mL monomer, and oxidant molar ratio of 1:1), and PANI (1 mL monomer, oxidant molar ratio of 1:1, dopant molar ratio of 1:7)]

PPy and PANI inherently are conducting polymers due to the π-conjugated structure (Fig. 6), which can conduct electrical charges (Varesano et al. 2013). The chemical polymerization of pyrrole is a useful method for producing the conductive substrate in an aqueous solution. Usually, the chemical polymerization of the pyrrole monomer is initiated using ferric chloride as an oxidant. Therefore, the effect of pyrrole to oxidant molar ratio (1 and 2.5) and quantity of pyrrole monomer (0.25, 0.5, 1 and 1.8 mL) was investigated on the electrical conductivity of the PPy-coated cotton sample. It is evident that the pyrrole to oxidant molar ratio has no effect on the conductivity of coated cotton fabric and did not alter the electrical resistance values of cotton fabric (Fig. 6b). However, the monomer quantity having a considerable impact on electrical conductivity. Increasing the monomer quantity from 1 to 1.8 mL resulted in markedly higher electrical resistance (Fig. 6c). This can be related to the accumulation of charge carriers on the surface of cotton fibers, which decreased the charge carrier mobility and disrupted the charge transfer process through charge carriers. Moreover, increasing the monomer quantity would decrease cotton flexibility and softness, which is related to the weight gain of cotton (5% weight gain for PPy(0.25)-Cotton and 32% weight gain for PPy(2)-Cotton) as a result of increasing the degree of polypyrrole adsorption on the cotton surface. Also, decreasing the monomer quantity to 0.25 mL had no significant influence on sheet resistance, and only a little change was observed.

Polyaniline usually is synthesized by chemical polymerization of aniline in an acidic aqueous solution of oxidant. The influence of aniline to dopant molar ratio (1 and 7) and quantity of aniline monomer (0.25, 0.5, 1 and 1.7 mL) was studied on the electrical conductivity of PANI-coated cotton fabric. The results confirm that the sheet resistance of coated cotton fabrics depends on the molar ratio of aniline to dopant (Fig. 6b). It is evident from the data that an increase of aniline to dopant molar ratio from 1 to 7 resulted in lower sheet resistance of coated sample (from 417 × 106 to 71 × 106 Ω/square; − 83%). The pristine cotton fabric presented a low electrical conductivity (1.9 × 1012 Ω/square), while in situ polymerization of PANI (0.25 mL) on the surface of cotton fabric resulted in a significant decrease (150 × 109 Ω/square; − 92%) in the sheet resistance. The monomer quantity has a remarkable effect on cotton fabric conductivity (Fig. 6d). Among of different monomer concentrations used, 1 ml of aniline provided the lowest sheet resistance value (23 × 106 MΩ/square for aniline to dopant molar ratio of 1:7), which is significantly lower than that of pristine cotton fabric. The lower quantity of aniline monomer (< 1 mL) resulted in marked increases in the sheet resistance value of the coated sample. The 0.25 mL of aniline monomer presented a higher sheet resistance value than the greater concentration (0.5, 1 and 1.7 mL). The less electrical conductivity at the low quantity of aniline monomer could be attributed to the decrease of doping level (and subsequently the number of charge carriers) on the surface of cotton fibers, which resulted from the reduction of dopant concentration in the reaction medium. Although increasing the monomer quantity up to 1.7 and 2 mL had no significant influence on sheet resistance, only a little change was observed. The electrical conductivity of synthesized polyaniline is very sensitive to the applied polymerization conditions. The only protonated emeraldine is a form of conducting polyaniline (Ansari 2006; Balint et al. 2014; Boeva and Sergeyev 2014; Wallace et al. 2008), which is synthesized by oxidative polymerization of aniline in aqueous acid. The emeraldine salt could be formed using 1 ml of aniline monomer with aniline to dopant molar ratio of 1:7. The color coordination results confirmed the emeraldine synthesis on this sample by the appearance of green color (Fig. 4a). Bajgar et al. (2016) has reported the deposition of conducting polymers (polyaniline or polypyrrole) on cotton fabric as electrodes to collect the electrical response to the stimulation of a Venus flytrap plant. They reported that the coating with PPy provided a lower sheet resistance value compared with PANI, which is in agreement with the obtained results in the current study. The lowest electrical resistance (1 × 103 Ω/square) was obtained for PPy(1 ml)-Cotton sample, which represents a decrease of approximately 91% and 99% compared with RGO(1%w/v)–Cotton and PANI (1 mL)-Cotton samples, respectively (Fig. 6e).

Colorimetric characteristics of coated cotton fabric

The effect of conductive materials on the color appearance of coated samples was studied by measuring the color values (L*, a*, b*, and h°). The difference in the color of coated fabrics is quite distinguishable with the naked eye. The color value of coated samples indicates that their color is brown, dark brown, black, green, and dark blue (Fig. 7). When the cotton fabric treated with graphene oxide (GO), the color of pristine cotton altered from white to brown due to the brownish color of deposited GO on the surface of cotton fibers (Fig. 7a). Also, the reduction of GO to RGO through chemical reduction, the RGO (1%w/v)–Cotton represents a lower chromaticity and lightness value than GO (1%w/v)–Cotton. Moreover, the higher concentration of RGO results in a lower chromaticity value.

Fig. 7
figure 7

The color characteristics of coated cotton samples with conductive materials such as a color coordination, b hue angle at CIELAB color space, and cf reflectance spectra

The PPy-coated cotton samples represent a black color with the lowest chromaticity and lightness value. The coating cotton fabric with polyaniline shows various colors from green to blue, which is different from the other coated samples. The PANI-cotton samples with different polyaniline content presented a hue angle between 179° and 244° (Fig. 7b), which confirms the appearance of green and blue color-coated cotton fabric (polyaniline content from 0.25 to 2 mL). The polyaniline polymer represents different colors due to various degrees of oxidation and protonation. When the leucoemeraldine as a fully reduced polymer is oxidized, the two forms of fully oxidized (pernigraniline) and half oxidized polymer (emeraldine) are formed (Fig. 4a). Therefore, the color of different forms of the synthesized polyaniline polymer indicates the degree of its oxidation. The various steps of oxidation polymerization are associated with color changes. The protonated pernigraniline presented a blue color and was altered to a green color due to the emeraldine salt.

The different lightness and color strength of the coated cotton fabric (Fig. 7c) indicates the deposition of different GO or RGO concentrations on the textile substrate. Increasing graphene concentrations, more and more graphene was embedded in the cotton fibers, resulted in a dark brown fabric with higher color strength. Among of different conductive materials used, the polypyrrole provided the highest color strength (Fig. 7d), which is significantly greater compared to the other coated cotton samples (GO-cotton, RGO-cotton, and PANI-cotton). Moreover, the results confirm that the color strength of polypyrrole coated cotton fabrics was affected by pyrrole content (Fig. 7b). Appling 2 ml of pyrrole monomer resulted in the lowest color strength and presented the highest sheet resistance among of used quantity of monomer. Therefore, the color strength of polyaniline-coated cotton fabrics depends on the aniline content (Fig. 7f). Its trend is as same as sheet resistance values of polyaniline coated samples versus of aniline content. The lowest color strength of polyaniline-coated cotton fabric is achieved using the 1 mL of pyrrole monomer. This pyrrole quantity (1 mL) is presented the lowest sheet resistance due to the formation of emeraldine salt.

Conclusions

The electrical conductivity of cotton fabrics was enhanced using an in situ approach, such as polymerization of conductive polymer or synthesis of reduced graphene oxide. The prepared samples were characterized by using different methods. The size and morphology of RGO nanosheets were as same as the deposited GO nanosheets on the surface of cotton fibers. The synthesis of polypyrrole and polyaniline resulted in a continuous layer on the cotton fiber surface, which eventually imparted electrical conductivity to the cotton fabric. The FTIR spectroscopy showed the excellent production of synthesized conductive materials. The ATR–FTIR spectroscopy confirmed the presence of hydrogen bonds between the hydroxyl groups of cotton fibers and the conductive materials. The coating of conductive material over the cotton fabric did not markedly shift the position of XRD characteristic peaks, which could be due to the successful exfoliation of synthesized graphene and their uniform deposition.

The pristine cotton fabric is not an electroconductive textile substrate due to its high electrical resistance (1.9 × 1 012 Ω/square). The deposition of graphene oxide as a coating on the cotton fabric resulted in a partial decrease in the electrical resistance. The reduction of graphene oxide resulted in enhancing the electrical conductivity of RGO (220 × 103 Ω/square), which represented a decrease of 95% compared with the GO–Cotton sample. The PPy (1 mL)–Cotton showed the lowest sheet resistance of 1 × 103 Ω/square, representing a decrease of approximately 99% compared with RGO (1%w/v)–Cotton sample. The sheet resistance value of polyaniline coated cotton fabrics depended on the molar ratio of aniline to oxidant and was very sensitive to the degree of oxidation and protonation. The protonated pernigraniline showed a blue color which was later altered to the green color due to the emeraldine salt and provided the lowest sheet resistance.