Introduction

Nanostructured conducting polymers represent an emerging class of materials characterized by their unique mechanical, electrical, and optical properties. This nanocatalysts encompass various conducting polymers, including polyaniline, polypyrrole (PPy), polythiophene, and their by-products (Wang et al. 2022; Ramanavicius and Malinauskas 2006; Shuying and Stephen 2006; Karlsson et al. 2005, Kang et al. 2004). Recently, various morphologies have been reported, such as films with microspores, hollow, micro, nanospheres, nanotubes, and nanofibers. These morphologies contribute to conducting polymers diverse electronic and optical properties, which can be further enhanced by molecular arrangement or incorporating other organic and inorganic materials. The poly(3,4-ethylenedioxythiophene) (PEDOT) stands for an extreme conductance that can be produced via oxidative polymerization or electrochemical polymerization (Parthasarathy et al. 1994; Jia et al. 2024; Yang, et al. 2024; Zhang et al. 2006). It has been found that the applications in antistatic coatings and organic light-emitting devices have been achieved by an excellent conductivity and π-conjugated structure. Similarly, PPy exhibits good electrical conductivity and environmental stability, assembling for appropriate applications like electronic and optical devices, electrochemical sensors, and field emission applications. PPy nanomaterials were frequently dealing with different methods, such as complicated porous polymeric templates, electro-spinning, interfacial polymerization, and surfactant-assisted micelles. Surfactants or doping agents are crucial in directing reaction pathway for specific sizes and shapes of nanomaterials. Moreover, performance of sensors has been utilizing polymerization on the system phases, emphasizing importance in comprehensively understanding and meticulously controlling for the materials composition and morphologies. The PEDOT-PPy is an organic hybrid material that exhibits several desirable applications in various fields. These materials may be due to its high conducting and excellent environmental stability (Shim et al. 2008; Peng et al. 2007; Groenendaal et al. 2000; Wallace and Kane-Maguire 2002). The efficiency of sensors utilizing polymers relies on numerous factors with phase transition also significantly valid. Therefore, we have selected for Sr-based tungsten oxide (SrWO4), which are exhibited to an extensively tunable band gaps, typically in the ranges at 2.3 to 2.8 eV (Berdichevsky and Lo 2006; Otero and Cortes 2003; Wang and Jiang 2000). These SrWO4 consume harvested important consideration due to their versatile activities with wide a range of applications. The SrWO4 thin films and nanoparticles have been widely studied and tested by the microelectronics and catalysis scenarios (Pringle et al. 2004; Wang and Martin 1996; Kang et al. 2005; Vito and Martin 1998; Jang and Yoon 2005). Additionally, SrWO4 has been explored by devices that serve as a photoanode material to convert solar energy into electricity (Goren and Lennox 2001; Wu et al. 2005; De Armit and Armes 1993; Eftekhari and Kazemzad 2006). SrWO4 nanoparticles can be incorporated as electron transport layers in colloidal quantum dot LEDs to improve device performance. Consequently, photocatalysis and photoelectron catalysis are other vital crucial roles (Zhang and Manohar 2004; Chen et al. 2011; Kumar et al. 2016; Raja et al. 2019; Jiandong et al. 2006; Bingyu et al. 2016). SrWO4-based photocatalysts have shown promise in various environmental applications, including water splitting like hydrogen production and methanol oxidation for fuel cells. Other than those, notable application is wastewater treatment, where SrWO4 serves as a visible light photocatalyst to generate highly reactive hydroxyl radicals (OH). SrWO4 is a versatile material with diverse applications across different fields, from electronics and catalysis to environmental remediation (Yu et al. 2024; Altunay 2022). The innovative points of the work, this material has a new creative movement of double layers polymerization, and it should be monitored for the first time addressed, to be examined for good capabilities in electrochemical sensing with enhanced to the higher active sites. Not only that, it’s an effort to photocatalytic degradation applications. Similar kinds of reports have been engaged in the past few days. The tunable band gap, semiconductor properties, and photocatalytic activity make it a promising candidate for addressing various technological and ecological challenges. Moreover, incorporating PEDOT-PPy into SrWO4 conducting polymers can alter the phase transition state of SrWO4, leading to significant effects on sensor activity. This composite formation, such as SrWO4/PEDOT-PPy to introduce p-n type characteristics, which can enhance the electrocatalytic and photocatalytic processes. SrWO4 is combined with PEDOT-PPy and interaction between the two materials can transform the structural and electronic possessions of the composite. The PEDOT-PPy component being a conducting polymer, while introduces additional conductivity for the composite. Moreover, the presence of PEDOT-PPy can influence phase transition behaviour of SrWO4 materials with potentially altering its crystalline structure and other phase composition. This modification of the phase transition state of SrWO4 materials due to the accumulation of PEDOT-PPy nanohybrids has been achieved by several effects on sensor activity.

The different forms of the polymorphic materials can be performed in numerous physical and chemical properties, and then modern functionalities are also predicted (Rajkumar et al. 2023; Kokulnathan 2021; Shivakumara et al. 2015; Rendón-Angeles et al. 2015; Sczancoski et al. 2009). Note that, this SrWO4 material has been acceptable for various advantages like less toxicity, low cost, higher surface capacitance, low bandgap energy, abundance, charge separations, mobility, stability, environment friendly, and economically good yields also and optimized in corresponding achievements. These criteria of the key points are more favourable to the material designation, improved the catalytic activities and globalized confirmations. For example, electrode interface, rapid reaction, surface active sites, and electron mobilities. Forever, these materials have been morphologically different because of synthetic approach that was potentially modified and rectified the new convergent activities with lead to the electrochemical sensing, and deliver the reliable photoelectron and further activities. This material is morphologically unclassified due to high dopant concentration and obeys for agglomeration which could not be achieved by any other demerits. All activities are more viable for the composite’s formation. Firstly, it can improve the composites charge transport properties, enhancing for electrocatalytic activities. This result has enriched for more efficient sensing of analytes through electrochemical methods like cyclic voltammetry, etc. Additionally, the modified phase transition state of SrWO4 in nanohybrids can be improved for the photocatalytic properties. Familiarizing SrWO4/PEDOT-PPy hybrids can improve the photocatalytic activities in MB irradiation by modifying the electronic band structure or surface morphology of SrWO4. These advancements pave the way for SrWO4/PEDOT-PPy as highly effective sensors capable for addressing various analytical challenges from environmental monitoring to healthcare diagnostics.

Experimental details

Material and methods

All the chemicals used in the experiments were obtained from reputable suppliers and used without further purification. Here are the listed chemicals and their respective suppliers: Camphor sulfonic acid-C10H16O4S (CSA), Strontium Nitrate (Sr(NO3)2), Ammonium persulfate ((NH4)2S2O8), Sodium tungstate dihydrate (Na2WO4⋅2H2O), Pyrrole (C4H4NH), EDOT (3,4-Ethylenedioxythiophene)-C2H4O2C4H2S, Terephthalic acid (C8H6O4), Sulfadiazine (C10H10N4O2S), Acetone, Chloroform, Ethanol, Ether, Ethyl acetate, and MB. All chemicals and reagents were procured by LR grade with Sigma Aldrich, and using to straight without any extra treatments.

Synthesis of SrWO4 nanoparticles

Synthesis procedure for SrWO4 involves the reaction between Na2WO4⋅2H2O and Sr(NO3)2 under specific conditions. Typically, Na2WO4⋅2H2O (1.65 g) was soluble in 100 mL of deionized water using an ultrasonicate for 40 min. This step helps in achieving the uniform dissolution of Na2WO4⋅2H2O. Additionally, (0.15 g) Sr(NO3)2 solution was mixed in the solution under the ultrasonication. This reaction mixture was continued with an ultrasonicator at 90 °C for 120 min (Alkaykh et al. 2020; Moztahida and Lee 2020; Shi et al. 2017). Furthermore, ultrasonicate has been maintained for 50 kHz frequency with 150 W of power control. After completion of the reaction, we can achieve the SrWO4 colloidal precursor after being collected by centrifugation. The centrifuged product is then washed five times using a mixture of DD water and alcohol to remove impurities.

Synthesis of SrWO4/PEDOT-PPy nanohybrids

The same procedure was applied for synthesizing SrWO4/PEDOT-PPy nanohybrids. However, 0.10 g of SrWO4 was added in 100 mL of DD water, while stirring condition, and this initial polymerization step was mentioned for ice cooling under being stirred. Then, 0.1 mL of CSA in 50 mL of solutions containing EDOT-CSA-pyrrole was separately supplementary of the concoction. This addition is monitored dropwise and followed by the gradual accumulation of (NH4)2S2O8 solution for synthesizing the SrWO4/PEDOT-PPy nanohybrid mixtures that were stirred overnight at 0 °C, and colour combination has changed from yellowish brown to blue-green product consecutively. The product was filtered and eroded five times using chloroform and then vacuum-dried for 48 h.

Degradation of MB

We must depict the temporal evolution of MB degradation with 5 × 10−3. Molar concentration. This photocatalytic method of study has been followed by the reported articles (Gnanamoorthy et al. 2024a; Gnanamoorthy et al. 2024b; Gnanamoorthy et al. 2022).

Electrocatalytic activity of SFA

Cyclic voltammetry, DPV and other supporting analysis were evidenced by modification for surface of the GCE by SrWO4/PEDOT-PPy with its explored good conductance, and surface areas in electrode. Modified SrWO4/PEDOT-PPy GCE electrode has significantly improved the sensitivity for SFA molecules. We can achieve the marvellous electrochemical sensing obtained for more efficient detection in SFA molecules.

Results and discussion

X-ray diffraction investigations

Figure 1a–b illustrates the X-ray diffraction (XRD) patterns of SrWO4 and SrWO4/PEDOT-PPy nanohybrids, providing insights into their crystallinity and structural characteristics. As observed, SrWO4 nanomaterials XRD pattern results have a good crystalline nature, with distinct diffraction peaks corresponding to the tetragonal crystal systems. As observed, SrWO4 major peaks are well matched for JCPDS card no: 89–2568 & 85–0587 (Cavalcante et al. 2013; Zhang et al. 2015b; Rajkumar et al. 2023). In Fig. 1b, the XRD pattern of SrWO4/PEDOT-PPy nanohybrids reveals some modifications in peak intensities and positions are compared to pure SrWO4. The presence of PEDOT-PPy hybrids on SrWO4 leads to noticeable changes in diffraction peak intensities and slight shifts in peak positions towards lower angles, which has obeyed the interactions between SrWO4 and PEDOT-PPy, and then leading to the crystalline structures of the hybrid material. The diffraction peaks 2θ-24 to 26° can be ascribed to the (020) planes (Chougule et al. 2011; Zhang et al. 2015a; Munusamy et al. 2019) and then due to their less crystallinity with conductive nature of polymer backbone (Herrmann et al. 2015; Ammam et al. 2010). Accumulation of PEDOT-PPy to SrWO4 decreases the overall crystallinity, as evidenced by the shifting of diffraction peaks towards lower 2θ values. This result indicates that PEDOT-PPy hybrids steric hinders for the crystallization of SrWO4 grains, that subsequently reduced the diffraction peak intensities. The XRD analysis confirms the successful synthesis of SrWO4/PEDOT-PPy nanohybrids and highlights the structural modifications to induced by the presence of conducting polymer on SrWO4 materials with impacting on its crystallinity and peak characteristics.

Fig. 1
figure 1

ab XRD investigations of SrWO4 nanomaterials and (b) SrWO4/PEDOT-PPy nanohybrid materials

FT-IR analysis

SrWO4/PEDOT-PPy nanohybrids FT-IR result was shown in Fig. 2. The SrWO4 nanoparticles display several bands. As determined and explained to that the several modes of the confirmation. The W–O antisymmetric stretching vibration as shown in band position is 814 cm−1, besides peak 459 cm−1 predicted to Sr–O stretching vibrations (Suda and Zverev 2019). The peak 1092 cm−1 is corresponding to the C–O–C vibrations for methylenedioxy moieties and band 1566 cm−1 and 770 cm−1 ascribed to the thiophene-based functional molecules and C-S bond stretching vibrations of the molecules. Meanwhile, peak 1274 cm−1 agrees to the O = S = O (SO2) widening vibrations that were present in PEDOT-PPy doped with CSA hybrids. The copolymer PEDOT-PPy exhibits three different significant peaks like 3785, 1450, and 1566 cm−1 due to intermolecular H-bonding and conjugation of the polymer’s backbone. Furthermore, peak 3427 cm−1 and 3373 cm−1 for stretching vibrations for H–O-H and N–H moieties, respectively. This interaction has decreased wavenumber of the vibrational patterns that were detected even though indicating chemical interactions between SrWO4 and PEDOT-PPy components.

Fig. 2
figure 2

FT-IR spectrum of (a) SrWO4/PEDOT-PPy nanohybrid materials

UV–visible DRS spectroscopy investigations

SrWO4/PEDOT-PPy nanohybrids DRS UV–visible absorption analysis were shown in Fig. 3a–b. This figure reveals strong absorption bands at 320 and 410 nm which signifies transition of optical infraction rings in SrWO4/PEDOT-PPy nanohybrid materials. Furthermore, these bands are ascribed to π-π* transition in between poly-(3,4-ethylenedioxythiophene)-polypyrrole materials. Meanwhile, observed absorbance intensity has a longer wavelength which conferred to the red shift region of the SrWO4/PEDOT-PPy nanohybrids. However, this does not appear in the peak shift, like arising from the electron–hole transition between SrWO4 and PEDOT-PPy hybrids. SrWO4/PEDOT-PPy materials band gap energy has been determined by Tauc equation from Kubelka- Monk function (given below).

$${(\alpha h\upsilon )}^{n}=A(h\upsilon -E{g)}^{n}$$

where, h is a Planck’s constant, α is Absorption coefficient, υ is a Frequency and n is a 2 1/2 (direct and indirect) and A is a Constant.

Fig. 3
figure 3

ab UV Visible DRS analysis: (a) SrWO4 nanoparticles; (b) SrWO4/PEDOT-PPy nanohybrid materials

Figure 3b demonstrates in between (αhν)n and hu relationship for the SrWO4/PEDOT-PPynanohybrids. As the determined bandgap energy value is 2.1 eV, supplementary can occur to the correlation of the size. Which also obsessed and depends on quantum confinement effects. SrWO4/PEDOT-PPynanohybrids observed below 450 nm ranges, it might be a low bandgap energy because this quantum confinement is sensible, and obtained results are suitable with referred other findings (Jayakrishnan et al 2024; Gnanamoorthy et al 2020). Furthermore, lattice strain, crystal defects, and other characters were also caused by the electronic band structure variations, then material energy levels were affected (Duraimurugan et al. 2018). In the future, the bandgap energy will be obeyed for the shifts, for the meantime this may be due to the molecular absorption on the surface being formed. The observed lower band gap energy results are more feasible for photocatalytic activity degradation applications.

Morphological analysis

Figures 4 and 5a–d presents FE-SEM and HR-TEM images of the SrWO4 and SrWO4/PEDOT-PPy nanohybrids. In Fig. 4a–c, the cubic shape of SrWO4 nanoparticles can be observed. These nanoparticles appear uniformly sized with a diameter range of 0.5 to 1 µm. In Fig. 5a–c, the agglomerates consist of core–shell structures, indicating the presence of SrWO4/PEDOT-PPy nanohybrids. The irregular cubic particles of SrWO4 nanoparticles are clearly visible with agglomerates form of the morphology. Overall, the morphological images can illustrate to the successful synthesis of SrWO4 nanoparticles and their integration of PEDOT-PPy nanohybrids achieved by the distinctive core–shell morphologies with ranges at 500 to 200 nm. SrWO4/PEDOT-PPy hybrid has a core shell-like morphology, with appearance images of the PEDOT-PPy hybrid portraying the deposition of SrWO4 nanoparticles using the chemical oxidative method. SrWO4/PEDOT-PPy images sequence hybrid exposes a growth in the statement of SrWO4 with a growth of polymerization, while creating a core–shell-type superficial construction. SrWO4 over PEDOT-PPy delivers supreme synergistic sites. In place of polymerization classifications increase, the quantity of synergistic sites controls as SrWO4 nanoparticles commence towards detach as a result of particle aggregation. Figure 5d portrays EDX spectrum of the SrWO4 and PEDOT-PPy materials, which confirms the O, W, Sr elements and the C, and S elements are confirmed by PEDOT-PPy hybrids.

Fig. 4
figure 4

ac FE-SEM images of SrWO4 nanoparticles

Fig. 5
figure 5

ac FE-SEM morphological images and (d) EDX spectrum of SrWO4/PEDOT-PPy nanoparticles

In Fig. 6a–c, the images depict SrWO4 nanoparticles with PEDOT-PPy integrated onto their surface. The spherical structures have a length ranging from approximately 50 nm, 100 nm, and 200 nm. Its exhibits to be contributed and two-dimensional core–shell structures also formed in the hybrid materials. Moreover, the lattice fringes were also carefully examined by this investigation, which were shown in Fig. 6d. Furthermore, resulting images have indicated the atomic spacing of interplanar fringes at 0.3 nm and which ascribed to SrWO4/PEDOT-PPy nanohybrids. Moreover, this relevant information has been followed by the specific records (Bu et al. 2024; Cheng et al. 2023).

Fig. 6
figure 6

ad HR-TEM images of SrWO4/PEDOT-PPy hybrids

Electrochemical behaviours of SrWO4/PEDOT-PPy GCE

The SrWO4/PEDOT-PPy/GCE electrode elaborate for dispersion of nanohybrids with sonication for 50 mL of Ethanol (0.1 mg/mL) and sulfadiazine (SFA) solution also prepared. The modified GCE was polished by 1500 emery sheet by sonication under ethanol cleaning, after modification of GCE. The modified GCE was further treated by immersing and then air-dried. These steps were crucial in creating an optimized SrWO4/PEDOT-PPy/GCE electrode with improved properties for the electrochemical determination of SFA. Figure 7 explains the cyclic voltammetry curves of SrWO4/PEDOT-PPy/GCE in the presence of the pH-6 and the optimum scan rate at 50 mVs−1. CV of SFA at the modified GCE exhibits a prominent oxidation peak at around 0.95 V. The oxidation peaks of SFA at the SrWO4/PEDOT-PPy modified GCE appears at a higher potential (0.95 V) compared to the bare GCE, indicating enhanced electron transfer kinetics facilitated by the modified GCE electrode. Thereafter, the anodic peak potential has been shifted towards the positive track by approximately 250 mV for the SrWO4/PEDOT-PPy modified electrode, indicating its electrocatalytic ability. The SrWO4/PEDOT-PPy/GCE shows a higher anodic peak current (1.5621 µA) and higher peak potential at + 0.95 V, compared to bare electrodes, while determined to its superior electrochemical sensing behavior, which corresponds to the core-shaped morphology of the SrWO4/PEDOT-PPy nanohybrids, with a nanoscale size at 50 nm which has determined from HRTEM investigations, furthermore, contributes to enhancing electrochemical behaviors. It confirms the presence of surface functional groups like -NH-, -S-, -COO-, and redox of SFA sensor. Finally, we conclude that SrWO4/PEDOT-PPy/GCE electrode has explored the well electrochemical sensing activities.

Fig. 7
figure 7

CV investigation of SrWO4/PEDOT-PPy/GCE in SFA: (a) pH—7, (b) GCE/SFA, (c) SrWO4/PEDOT-PPy/GCE

Scan rate effects

Figure 8 shows scan rate of SrWO4/PEDOT-PPy modified GCE in 0.1 mM SFA solution. However, oxidation peak potential is slightly changed towards higher values of the scan rate with increased peak potential, and then indicating the redox sites of the modified electrode and SFA. The anodic peak currents for SFA at the modified GC electrodes exhibited a linear relationship and the scan rate at 50–180 mVs−1, and the calibration equation of I(µA) = 8.5899 + 19.8ν (Vs−1) (R2 = 0.9978) and confirm the inset figure. This indicates that a diffused controlled process controls the electron transfer reaction. A cyclic voltammetry signal for the oxidation of SFA appeared at the SrWO4/PEDOT-PPy modified GCE to investigate the adsorption behavior of SFA, confirming that SFA was adsorbed during the oxidation process. This adsorption property enables the determination of SFA without interference from species like uric acid and dopamine. The presence of SrWO4/PEDOT-PPy/GCE likely contributes to the adsorption of SFA/GCE.

Fig. 8
figure 8

Electrochemical analysis: SrWO4/PEDOT-PPy/GCE in SFA at 50–180 mV/s scan rates. (Inserted figure is calibration plots of the modified electrodes.)

In contrast, deviations from this expected electron count may suggest inefficiencies or side reactions occurring during the oxidation process, which could affect the overall catalytic performance of the hybrid material. Therefore, evaluating the correspondence between the expected and observed number of 2 electrons and 2 protons provides valuable insights into the functioning mechanism of SFA oxidation catalyzed by the hybrid nanocomposite (equation given below).

$$\text{I}=\frac{\text{nFv}}{4\text{RT}}$$

While, n is called as number of electrons, IPa is called as anodic peak current (µA), R is called as gas constant, T is called as temperature (K), F is called as faraday constant, Q is called as charge (C) and v is called as scan rate (mVs−1) of the reaction.

Finally, rate constant (ks) and charge transfer coefficient (α) is also examined by the Laviron equation (dictated below).

$$Epc={E}^{^\circ }+(RT/\alpha nF) ln(RTk^{^\circ }/\alpha nF)-(RT/\alpha nF)ln\upsilon$$

However, α is called as electron transfer coefficient, Eo is called as formal potential, R is called as gas constant (8.314 J K−1 mol−1), n is called as number of transfer electron, F is called as Faraday’s constant (96,485 C mol−1), T is called as temperature (298 K), and ko is called as standard rate constant respectively.

DPV of SFA at SrWO4/PEDOT-PPy/GCE

The DPV response of the SrWO4/PEDOT-PPy modified GCE electrode demonstrates the promising potential for detecting SFA. As shown in Fig. 9, the DPV response exhibits a linear relationship with successive addition of SFA, indicating the ability to quantify SFA concentrations accurately. The calibration plot that was discussed in Fig. 9 inset, further confirms the linear DPV response over the concentration range tested. The linear DPV response range extends from 0.1 × 10−8 M to 10.5 × 10−9 M, and the sensitivity of the SrWO4/PEDOT-PPy modified GCE is 3.502 µA/µM cm−2 underscores an electrode’s ability to detect SFA at low concentrations. Additionally, the (QL) quantification limit, and (DL) detection limit values is 1.0936 × 10−9 M and 2.2104 × 10−9 M µA−1 which has indicated the electrode’s capability to detect SFA at trace levels with satisfactory precision and accuracy. These results highlight the potential of the SrWO4/PEDOT-PPy modified GCE, as a sensitive and reliable platform for the electrochemical detection of SFA.

Fig. 9
figure 9

a DPV analysis of SrWO4/PEDOT-PPy/GCE in SFA (Inserted figure is calibrated plot of concentrations of 0. 1 × 10−8 ~ 10.5 × 10.−9 M)

Amperometric response of SFA at SrWO4/PEDOT-PPy/GCE

The optimal electrode potential for chronoamperometric measurements to assess the stability and limit of detection of sulfadiazine (SFA) was determined to be 0.95 V versus saturated calomel electrode (SCE), using SrWO4/PEDOT-PPy/modified GCE. These experiments were conducted under stirring conditions in 0.1 M phosphate buffer (pH 7), with the maintaining potential at 0.95 V versus time. Figure 10 shown significantly increases in the current response of SFA, while indicating the effective electrocatalytic oxidation. Moreover, the amperometry current response of the SrWO4/PEDOT-PPy modified glassy carbon electrodes depend on various concentrations of SFA optimized for the potential. As the concentration of SFA also improved (ranges from 0.1 × 10−5 to 10.5 × 10−9 M), the oxidation current response also increased correspondingly. The calibration curve, depicted in the inset of Fig. 10, demonstrates a linear relationship with the equation I = 0.6950 (SFA) + 2.786 (c) and a high correlation coefficient of R2 = 0.9989. Hence, we carried out results that are exhibiting an excellent sensitivity and low detection limits for sensing SFA. The morphologically favorable configuration, along with the synergistic effects and efficient capture of electrons, contributes to the enhanced performance of the proposed sensor for SFA detection.

Fig. 10
figure 10

a Amperometric analysis with calibrated plot of SrWO4/PEDOT-PPy/GCE (0.1 × 10−5 ~ 10.5 × 10.−9 M)

Interference study of UA with DA of SFA at SrWO4/PEDOT-PPy/GCE

Amperometric measurements were conducted to evaluate the response of the SrWO4/PEDOT-PPy-modified glassy carbon electrode (GCE) to consecutive addition of 2 mM DA & 2 mM UA hip 0.1 M phosphate buffer solution on pH 7.0, maintaining peak potential at 0.95 V over time. Figure 11 illustrates the amperometric current response of the SrWO4/PEDOT-PPy-modified GCE electrode to the sequential addition of 2 mM DA and 2 mM UA. Initially, different concentrations of sulfadiazine (SFA) (50, 100, 150 µL) were added and followed by the UA and DA (50, 100 µL), and then further additions of SFA. It is evident that the current increases upon the addition of SFA, while no significant response appeared for the addition of UA and DA. The catalytic current response of the SFA oxidation applied potential is 0.95 V. No current response is observed for UA and DA at this applied potential, indicating that 0.95 V is the optimized potential for sensing SFA. Furthermore, when UA and DA are measured alongside SFA, no significant current responses are obtained, highlighting the excellent efficiency of the freshly modified electrode in mitigating the interfering effects during the electroanalytical determination of SFA.

Fig. 11
figure 11

a Amperometric analysis of SrWO4/PEDOT-PPy/GCE/GCE in SFA, DA, and UA

Real sample analysis

Amperometric quantities of the SFA in the presence urine samples has directed to using standard adding methods towards deliberate the stabilities in SrWO4/PEDOT-PPy modified GCE. Particularly, the actual samples (Urine) were diluted with UA. However, the SFA was arranged in urine samples to analyze urine samples in time. This present potential flow is 0.95 V with a slow magnetic sequence. An amperometric analysis of recently watery resolutions of actual samples (without SFA) revealed no current responses. Far ahead, the SFA was added, than sharpened in the sample, and detected in current responses. SrWO4/PEDOT-PPy/GCE electrode shows an excellent recovery range of 99.5%. Based on this, as recovery results were shown in Table 1. SrWO4/PEDOT-PPy/GCE demonstrations are respectable recoveries for the actual samples. These consequences promote the idea that future sensors can function as a capable and consistent stage for resolving SFA detection in urine samples.

Table 1 Recovery results

Photodegradation of SrWO4/PEDOT-PPy nanohybrid materials

Innovative oxidation processes offer promising solutions for addressing the environmental concerns of persistent organic pollutants in industrial wastewater. However, challenges persist in achieving efficient degradation of contaminants, particularly dyes, in wastewater treatment. Various catalysts have been explored for oxidative degradation, including metal oxides, metal oxychlorides, and dye activation, but generating reactive species for efficient dye oxidation remains a persistent challenge. Photocatalysis has emerged as a highly effective approach for the degradation and mineralization of manufacturing wastewater dyes owing to the subjects clean, sustainable, and stable characteristics. In photocatalytic degradation, photo-generated electron–hole pairs with solid oxidizing or reducing potentials are engendered within the catalyst surface’s active sites. As recombination rate of these photo-induced electron carriers is a crucial factor influencing the photocatalytic degradation efficiency of dyes like MB. Additionally, the redox ability also estimates by potentials of (CB) conduction band and (VB) valence band and its exposed photocatalytic degradation. Thereafter, the Poly(3,4-ethylenedioxythiophene)-polypyrrole (PEDOT-PPy) has occurred as a promising contender for photocatalytic applications due to its dual conjugation, metal-ion-free nature, low cost, and visible light response. However, the weak driving force of PEDOT-PPy arranged for photo-excited electron carriers are confines charge dynamics and degradation rates. To address this limitation, the creation of n-p type interfaces to modify charge dynamics and steer the activity of free radicals is required. Strontium tungstate (SrWO4) provides ideal support for facilitating n-p type construction and enhancing the morphology, charge carrier dynamics, and electron transport of the SrWO4/PEDOT-PPy structure. By forming n-p type double layers, SrWO4-PEDOT-PPy exhibits improved degradation efficiency for dyes like methylene blue. By generating additional electron interfaces, introducing dopants such as camphor sulfonic acid (CSA) can enhance charge carrier separation and diffusion efficiency. The charge diffusion pathway follows a dual charge mechanism in the n-p type SrWO4/PEDOT-PPy structure, contributing to efficient dye degradation.

Figure 12a depicts the absorption spectrum of a 5 × 10−3 M MB in SrWO4/PEDOT-PPy catalyst, along with the time intervals. The dye absorption maximum is λ = 663 nm without any significant shift that appeared in absorption maximum. Initially, the absorbance of SrWO4/PEDOT-PPy exhibited a maximum range higher for 0 min in before irradiation, which decreased after 10 min of irradiation. Then, continues irradiation for another 10 min and the absorbance maximum didn’t change. Hence, the photocatalytic efficiency and rate constant ranges were examined by using absorbance value. Accordingly, the blank test has been proved by the MB dye with suffered insignificant self-degradation under dark medium for several minutes (Fig. 12b), while prescribed to a visible light degradation, which was not realized for the illumination. Furthermore, the test has been declared to the little self-degradation and contaminant impacts also none. This test has been followed by the other relevant articles (Gan et al. 2024; Manikandan et al. 2024).

Fig. 12
figure 12

ac Photocatalytic activities (a) Absorption maximum MB, (b) Rate constants and (c) degradation efficiency of SrWO4/PEDOT-PPy nanomaterials

Figure 12c presents the calculated decolonization efficiency of MB and SrWO4/PEDOT-PPy nanoparticles demonstrated a maximum efficiency of 99.1%. The kinetic plot lnAt and irradiation time is shown in Fig. 12d, as considered rate constant values at R2- 0.999 min−1. Those results have indicated the good remarkable efficiency and effectiveness of SrWO4/PEDOT-PPy nanohybrid materials. These SrWO4/PEDOT-PPy nanohybrid materials have a giant degradation ability that should be compared to that of the other catalysts (El-Bindary et al. 2019; El-Dossoki et al. 2021; Awad et al. 2023).

The mechanism involves the generation of photo-induced holes (h+) and electrons (e) by SrWO4/PEDOT-PPy under visible light irradiation. Owing to the subordinate conduction band (CB), electrons from SrWO4 may migrate to PEDOT-PPy, forming an n-p type configuration in the composite photocatalyst. This configuration enhances charge carrier separation and facilitates reactant transfer processes. Moreover, the interface between the d-orbitals of strontium tungsten oxide and the photocatalysts allows for the efficient departure of charge carriers, further improving MB adsorption on the photocatalyst surface. The free electrons react with O2 crop superoxide radicals (O2), which combine with H2O to OH radicals. The radicals initiate the degradation of MB into H2O, CO2, and other intermediates. The morphological transformation of SrWO4/PEDOT-PPy significantly enhances the photocatalytic activity, stability, and reusability of the photocatalyst. Intentionally incorporating functional groups in SrWO4/PEDOT-PPy, like NH assembly, contributes to its efficacy in MB degradation (Fig. 13). This mechanistic aspect has been followed by previous reported reports (Xu et al. 2024; Zhou et al. 2023, 2024a, 2024b; Lu et al. 2023; Xu et al. 2022; Ren et al. 2023; Lu et al. 2022; Cheng et al. 2024).

Fig. 13
figure 13

Photocatalytic mechanism of MB in SrWO4/PEDOT-PPy nanohybrids

$${\text{SrWO}}_{4}-\text{PEDOT}-\text{PPy}+\text{hv}\to {\text{SrWO}}_{4}-\text{PEDOT}-\text{PPy}+({{{\text{e}}^{-}}_{\text{CB}}}^{+}+{{\text{h}}^{+}}_{\text{VB}})$$
(1)
$${\text{SrWO}}_{4}-\text{PEDOT}-\text{PPy}\left({\text{e}-}_{\text{CB}}\right)+{\text{O}}_{2}\to \bullet {\text{O}}_{2}$$
(2)
$${\text{SrWO}}_{4}-\text{PEDOT}-\text{PPy}\left({{\text{h}}^{+}}_{\text{VB}}\right)+{\text{H}}_{2}\text{O}\to {\text{SrWO}}_{4}-\text{PEDOT}-\text{PPy}+{\text{H}}^{+}+{\text{OH}}^{\bullet }$$
(3)
$$MB+{{}^{\bullet }O}_{2}+{OH}^{\bullet }\to {CO}_{2}+{\text{H}}_{2}\text{O}$$
(4)

Formation of hydroxyl radicals’ investigations

The hydroxyl radical’s determination study was carried out by the Fluorescence (PL) equipment. As an indicated procedure, 1 M terephthalic acid (TA) was dispersed in 2 mM NaOH solution with examined for reactor vessel and tested under 50 min. Meanwhile, 20 mg of the catalyst was supplementary in TA solution beneath magnetically stirring, collected every 10 min. As the same excitation was also used for the whole test. Furthermore, determined emission peak at 425 nm and fixed excitation range for 315 nm, these OH radicals formation undergoes the 2-hydroxyterephthalic acid, which have highly fluorescent behaviours (Li et al. 2022; Uribe-Lopez et al. 2021). This conversion has been examined and repeated for different time intervals. Figure 14 shows PL spectroscopy of the SrWO4/PEDOT-PPy catalyst in the presence of TA, which improved the intensity and generates to the hydroxyl radicals.

Fig. 14
figure 14

Radical determination of MB in SrWO4/PEDOT-PPy nanohybrids

Reusability confirmation study

The photocatalytic applications main backbone role and significant stricture for reusability, especially expected in well identity of the catalyst. However, these SrWO4/PEDOT-PPy materials could be determined by the reusability measurements in the presence of the MB dye solution and it’s followed by the simple method. This method is very feasible and reliable in a future correspondence application. The dye degradation of the SrWO4/PEDOT-PPy nanohybrids catalyst with different time intervals has been demonstrated for various recycles are shown in Fig. 15, whose scrutinizing role is the optimization and completion of the illumination and maintenance at visible light. This same experiment was repeated several times and collected again for the catalyst maintained at 60℃ and resulted in pretty for the cycles. Therefore, this SrWO4/PEDOT-PPy materials could be proven to be better beneficial approaches for the catalytic applications (Al Hunaiti et al. 2024; Vishwanathan et al. 2023; Wu et al. 2019; Cheng et al. 2018), the above-observed results didn’t show any other significant difficulties, toxicity, loss, or any other kind of the issues so this nanocatalyst also refers as a good possibility nature of the degradation with recycle behaviours and environmental decades. The significant determinations were mentioned in the figure, which was designated to the photocatalytic enhancements.

Fig. 15
figure 15

Reusability activities of the SrWO4/PEDOT-PPy nanohybrids

Conclusion

In conclusion, the SrWO4/PEDOT-PPy nanohybrids have been successfully achieved through a straightforward polymerization process, as confirmed by various analytical techniques, including UV–Visible DRS, FT-IR, FE-SEM, XRD, and HR-TEM. The SrWO4/PEDOT-PPy nanocomposite tetragonal phase formation was confirmed by XRD, irregular cubes like morphological determination was carried out to the FE-SEM and HR-TEM investigations with observed diameter ranges at 200 to 50 nm. The M–O-M functional moieties were present in 459 to 814 cm−1 and other composites are confirmed by FT-IR spectroscopy. Rather than that, we can accomplish to 2.1 eV bandgap energy, such behaviours are acceptable for the different applications.

SrWO4/PEDOT-PPy modified glassy carbon electrode (GCE) demonstrated excellent electrochemical performance for detecting SFA, exhibiting enhanced sensitivity compared to bare SFA. The detection limits (QL) and quantification limits (DL) for SFA detection were 1.0936 × 10−9 and 2.2104 × 10−9 M µA−1, respectively, highlighting the sensor’s high selectivity and sensitivity. Moreover, the SrWO4/PEDOT-PPy nanohybrid showed promising potential as an electrocatalyst for developing cost-effective and efficient SFA electrochemical sensors for practical applications. Additionally, the hybrid material demonstrated excellent photocatalytic activity for MB degradation, achieved maximum efficiency of 99.1% for 80 min. This remarkable performance can be attributed to the inhibition of good recombination process, might be creation of the heterojunctions in between SrWO4 and PEDOT-PPy hybrids. The main standards of the catalyst could be considered for a new ethnicity in the degradation, radical formations and good recyclable activities also examined. Comprehensively, the SrWO4/PEDOT-PPy nanohybrid holds great promise not only for electrochemical sensing applications but also used for future photocatalytic applications in other pollutants and other viable potential impact for an environmental remediations.