# Microwave Gas Sensors Based on Electrodeposited Polypyrrole–Nickel Phthalocyanine Hybrid Films

Ileana-Alexandra Pavel, Alexis Lasserre, Léo Simon, Jérôme Rossignol, Sophie

Lakard, Didier Stuerga, Boris Lakard

► To cite this version:

Ileana-Alexandra Pavel, Alexis Lasserre, Léo Simon, Jérôme Rossignol, Sophie Lakard, et al. Mi-crowave Gas Sensors Based on Electrodeposited Polypyrrole–Nickel Phthalocyanine Hybrid Films. Sensors, 2023, 23 (12), pp.5550. 10.3390/s23125550. hal-04142248

HAL Id: hal-04142248

https://hal.science/hal-04142248

Submitted on 29 Jun 2023

HAL is a multi-disciplinary open access
archive for the deposit and dissemination of sci-
entific research documents, whether they are pub-
lished or not. The documents may come from
teaching and research institutions in France or
abroad, or from public or private research centers.

L'archive ouverte pluridisciplinaire HAL, est
destinée au dépôt et à la diffusion de documents
scientifiques de niveau recherche, publiés ou non,
émanant des établissements d'enseignement et de
recherche français ou étrangers, des laboratoires
publics ou privés.

<figure><img src="image_1.png" /></figure>

Distributed under a Creative Commons Attribution 4.0 International License
Article

# Microwave Gas Sensors Based on Electrodeposited Polypyrrole–Nickel Phthalocyanine Hybrid Films

Ileana-Alexandra Pavel<sup>1,†</sup>,<sup>‡</sup> Alexis Lasserre<sup>2,†</sup>, Léo Simon<sup>2</sup>, Jérôme Rossignol<sup>2,*</sup>, Sophie Lakard<sup>1</sup>, Didier Stuerga<sup>2</sup> and Boris Lakard<sup>1#</sup>

**Abstract:** Previous studies have shown that the incorporation of sulfonated metallophthalocyanines into sensitive sensor materials can improve electron transfer and thus species detection. Herein, we propose a simple and easy alternative to the use of generally expensive sulfonated phthalocyanines by electropolymerizing polypyrrole together with nickel phthalocyanine in the presence of an anionic surfactant. The addition of the surfactant not only helps the incorporation of the water-insoluble pigment into the polypyrrole film, but the obtained structure has increased hydrophobicity, which is a key property for developing efficient gas sensors with low sensitivity to water. The obtained results show the effectiveness of the materials tested for the detection of ammonia in the range of 100 to 400 ppm. It is shown by comparing the microwave sensor responses that the film without nickel phthalocyanine (hydrophilic) produces greater variations than the film with nickel phthalocyanine (hydrophobic). These results are consistent with the expected results since the hydrophobic film is not very sensitive to residual ambient water and therefore does not interfere with the microwave response. However, although this excess response is usually a handicap, as it is a source of drift, in these experiments the microwave response shows great stability in both cases.

**Keywords:** conducting polymers; phthalocyanine; microwave transduction; gas sensor; ammonia

<figure><img src="image_2.png" /></figure>

check for
updates

**Citation:** Pavel, I.-A.; Lasserre, A.; Simon, L.; Rossignol, J.; Lakard, S.; Stuerga, D.; Lakard, B. Microwave Gas Sensors Based on Electrodeposited Polypyrrole–Nickel Phthalocyanine Hybrid Films. *Sensors* **2023**, *23*, 5550. https://doi.org/10.3390/s23125550

Academic Editor: Jesús M. Corres

Received: 4 May 2023

Revised: 7 June 2023

Accepted: 9 June 2023

Published: 13 June 2023

<figure><img src="image_3.png" /></figure>

**Copyright:** © 2023 by the authors.
Licensee MDPI, Basel, Switzerland.
This article is an open access article
distributed under the terms and
conditions of the Creative Commons
Attribution (CC BY) license (https://
creativecommons.org/licenses/by/
4.0/).

## 1. Introduction

Constant environmental monitoring and pollution control have become imperative, as environmental pollution has tremendously increased due to rapid modernization and industrialization. More and more, the detection of harmful gases has become an important topic, not only for the assessment of pollutants in the atmosphere but also for human health as a non-invasive clinical diagnostic tool. Gaseous NH₃ in high concentrations can lead to skin and eye irritation, the destruction of the respiratory tract mucosa, and even death [1,2]. On the other hand, in small quantities (400–14,700 ppb), ammonia is present in the breath of patients suffering from hepatic encephalopathy [3,4], end-stage renal disease [5,6], halitosis, or helicobacter pylori infection [7,8].

On one hand, conducting polymers are suitable candidates for sensors as their chemical, electrical, and structural properties can be easily modulated by adding new moieties to the monomer or introducing different dopants [9,10]. For example, the electrical conductivity of poly(N-methylaniline) and polypyrrole can be increased by the addition of an anionic surfactant [11,12], and its adhesion can be improved by dopamine functionalization [13]. Thus, electrochemical sensors based on polypyrrole/SDS films were used to detect p-nitrophenol and iron (II) cations [14,15]. On the other hand, the presence of

<footnote n="1"><sup>1</sup> UTINAM—UMR CNRS 6213, Université de Franche-Comté, 25030 Besançon, France; ileana-alexandra.pavel-licsandru@univ-fcomte.fr (I.-A.P.); slakard@univ-fcomte.fr (S.L.); boris.lakard@univ-fcomte.fr (B.L.)</footnote>

<footnote n="2"><sup>2</sup> GERM, Laboratoire Interdisciplinaire Carnot de Bourgogne, Department Interfaces, UMR CNRS 6303, UB, 21078 Dijon, France; alexis.lasserre@u-bourgogne.fr (A.L.); leo_simon01@etu.u-bourgogne.fr (L.S.); didier.stuerga@u-bourgogne.fr (D.S.)</footnote>

<footnote>* Correspondence: jerome.rossignol@u-bourgogne.fr</footnote>

<footnote>† These authors contributed equally to this work.</footnote>
phthalocyanine macrocycles in a coating generally favors electron transfers between the sensor and the analytes, as they are electron donors, thus offering the ability to interact selectively with different analytes due to their cavity structure [16,17].

Therefore, it seems interesting to combine the remarkable properties of conducting polymers and phthalocyanines by incorporating a phthalocyanine into a conducting polymer matrix. However, this incorporation is not easy due to the low solubility of phthalocyanines in aqueous solution; therefore, it is often necessary to use sulfonated phthalocyanine [18,19]. For example, a polypyrrole-doped cobalt-tetrasulfonated phthalocyanine film was electrodeposited on a carbon-fiber ultramicroelectrode and used to perform the amperometric detection of 2-mercaptoethanol by differential pulse voltammetry [20]. The addition of tetrasulfonated nickel phthalocyanine to an acidic solution of aniline resulted in an accelerated deposition of polyaniline, and the resulting composite film exhibited catalytic activity toward the electro-oxidation of ascorbic acid in a nearly neutral buffer [21]. Tetrasulfonated copper phthalocyanine [22] and tetrasulfonated nickel phthalocyanine [23] were incorporated into polyaniline films, which both demonstrated high sensitivity to ammonia. Similarly, the incorporation of a sulfonated cobalt phthalocyanine into a polypyrrole film during electropolymerization resulted in a remarkable improvement in the response to ammonia, which was found to be fast, reproducible, and very sensitive [24]. The NO₂-sensing capability of polypyrrole was also enhanced after it was functionalized with iron (III) phthalocyanine-4,4',4'',4'''-tetrasulfonic acid monosodium salt since the resistance of the film decreased strongly during exposure to NO₂ gas at room temperature [25]. To further facilitate the incorporation of a cobalt-tetrasulfonated phthalocyanine inside a conducting polypyrrole film during its electropolymerization, Muthuraman et al. added an anionic, cationic, or neutral surfactant within the electrolyte solution [26]. The physico-chemical analyses confirmed the orientation of the film variation according to the surfactant type and identified the immobilization site of the metallophthalocyanine. Moreover, it was shown that the morphology and conductivity of the films were strongly impacted by the presence and nature of the surfactant. In another study, Tiwari et al. added a cationic surfactant to the electrolytic solution to facilitate the incorporation of a non-sulfonated copper phthalocyanine into a conducting polypyrrole film. This film was then successfully used for the selective detection of the nerve gas simulant dimethyl methyl phosphonate [27].

Based on this work, the present study aimed to develop a less expensive alternative to the use of sulfonated phthalocyanines. Our approach was to incorporate a non-functionalized nickel phthalocyanine into a polypyrrole film using a sodium dodecyl sulfate (SDS) anionic surfactant during electropolymerization (Scheme 1). The physico-chemical properties (morphological features and wettability) of the films obtained with and without metallophthalocyanines were compared. These polypyrrole/phthalocyanine composite films, as well as polypyrrole films, were then tested as sensing layers of microwave gas sensors for the detection of ammonia, using their ability to operate at room temperature, contrary to metal oxide-based chemiresistors that typically operate at 300–500 °C [28,29]. Microwave sensors are a relatively new type of sensors that are characterized by a propagative structure (e.g., a microwave planar resonator) surrounded by a sensing film [30]. The sensing principle is based on the propagation and reflection of electromagnetic waves into the sensitive material. Thus, the sensor measures the frequency evolution of the sensitive material’s permittivity after the adsorption of gas molecules on the surface of the sensitive layer at room temperature [31]. Among the materials already used as sensitive layers in microwave sensors for gas detection, metal oxides [32], zeolites [33], conducting polymers [34], and phthalocyanines [35] appear to be promising materials. Through this study, the aim was to determine if the composite films obtained by the association of a conductive polymer and a metallophthalocyanine can also lead to highly sensitive responses to ammonia via microwave transduction.
<figure><img src="image_4.png" /><figcaption>**Scheme 1.** Schematic representation of polypyrrole with nickel phthalocyanine in the presence of an SDS surfactant.</figcaption></figure>

## 2. Experimental Section

* Materials

Pyrrole (Py), sodium dodecyl sulfate (SDS), and nickel phthalocyanine (NiPc) were reagent-grade and were used as received from Sigma Aldrich. All the solutions were prepared in MiliQ water. Py and SDS were prepared at a concentration of 0.1 M, and NiPc was prepared at 0.001 M. The solvent used for the electrodeposition experiments was double-distilled water.

* Electrochemistry

All the electrochemical experiments were performed using a SPELEC potentiostat/galvanostat controlled by a PC via a DropView software interface. The electrochemical cell consisted of a classical three-electrode setting with a Saturated Calomel Electrode (SCE) reference electrode, a platinum plate (5 × 5 × 0.1 cm) as the counter electrode, and a platinum wire (0.785 mm²) or fluorine-doped tin oxide (FTO) substrate (R = 80 Ω/square, 10 mm × 30 mm) as the working electrode.

* Mechanical profilometry

The thickness and roughness of the films were measured using a Dektak 150 Surface Profiler from Veeco. The arithmetic roughness (Ra) was measured with a scan length of 5000 µm at a scan speed of 50 µm/s. The thickness (T) was measured using the same operating conditions after the creation of a physical sharp step in the film. The reported Ra and T values are the averages of at least 3 measurements performed at different locations in the films.

* Scanning electron microscopy (SEM)

The surface topography of the films was imaged, without prior metallization, using a high-resolution Thermo Scientific Apreo 2 Scanning Electron Microscope. The electron beam energy used was 5 keV, and the working distance was 10 mm.

* Energy-dispersive X-ray spectroscopy (EDS)

Energy-dispersive X-ray spectroscopy was performed on a FEG TESCAN scanning electron microscope with an EDS detector. The EDS quantification was obtained at 7 kV and 1.1 mA using Idfix software from SamX with an XPP matrix correction (ZAF improvement).

* Water contact angle measurements

The wettability of the films was studied using a contact angle analyzer (Digidrop from GBX) equipped with a CCD camera, a sample stage, and a syringe holder. A 5 µL drop of ultrapure water was formed at the tip of a syringe needle and placed onto the sample surface by raising the sample until contact was made. Then, an image of the drop was captured, and the contact angle was determined by drawing the tangent close to the edge of the droplet. At least five drops were deposited on each film.
* Infrared spectroscopy

The infrared spectra of the films were obtained using Infrared Reflection Absorption Spectroscopy (IRRAS) in reflection geometry at a grazing-incidence angle of 65°. The infrared spectrometer used was a Vertex 70 FT-IR equipped with a DGTS detector. For each film, 256 scans were recorded with a 2 cm⁻¹ resolution.

**3. Results and Discussion**

**3.1. Electrodeposition and Characterization of PPy-SDS and PPy/NiPc-SDS Films**

* Electrochemical deposition of PPy-SDS and PPy/NiPc-SDS films

First, two polymer films were formed using cyclic voltammetry (CV) from an aqueous solution of SDS in the presence (PPy/NiPc-SDS) or absence of nickel phthalocyanine (PPy-SDS). To form these conductive films, five potential scans were performed from -0.2 to +1.5 V/SCE at a scan rate of 50 mV/s at a platinum working electrode. The cyclic voltammogram recorded during the potentiodynamic growth of polypyrrole in the presence of SDS (Figure 1A) displayed an increase in current and a shift in the oxidation pic to higher values as the number of cycles increased due to the growth of PPy films and the incorporation of the SDS anions acting as dopants. The intensity of the oxidation peaks was between 300 and 500 µA, which was much lower than the values obtained during the polymerization of pyrrole in water in the presence of LiClO₄, which were on the order of several µA [21–23,25,26,36–38]. Indeed, during the oxidation of pyrrole, the PPy film grows and becomes positively charged so that the negative polar heads of SDS anions can attach to the polymer backbone and occupy a large place that can then no longer be occupied by the pyrrole units [22–26,36–38]. On the contrary, in the absence of SDS anions and in the presence of small perchlorate anions, this steric hindrance does not exist. Thus, perchlorate anions can strongly penetrate and dope the PPy backbone, whereas SDS anions lead to a less important doping, which results in a lower electrochemical activity for the deposits realized here than for PPy-LiClO₄ films that were previously reported [22–26,36–38]. However, the presence of SDS also has advantages. Indeed, PPy-SDS films are thinner (1 µm), smoother (72 nm), and more homogeneous than PPy-LiClO₄ electrodeposited in the same conditions, which are about 30 µm thick and 3 µm rough [21–23,25,26,38–40]. The cyclic voltammogram recorded during the potentiodynamic growth of polypyrrole in the presence of SDS and phthalocyanines (Figure 1B) displayed the same general trends since an increase in current and a shift in the oxidation pic to higher values as the number of cycles increased were also observed. The fact that the oxidation current increases with the number of cycles evidences the conductive character of the two electrodeposited polymer films.

<figure><img src="image_5.png" /><figcaption>**Figure 1.** (A) Cyclic voltammograms for the electropolymerization of PPy films on a Pt electrode in the presence of SDS. (B) Cyclic voltammograms for the electropolymerization of PPy films on a Pt electrode in the presence of SDS and NiPc.</figcaption></figure>
Given the CVs that were obtained, it was decided to perform the electrodeposition of the PPy-SDS and PPy/NiPc-SDS films using chronoamperometry by applying a potential of +1.0 V/SCE, corresponding to the potential of the oxidation peak of pyrrole, for 5 min. This time was chosen for both experiments to obtain thick PPy films allowing for a better comparison of the properties of the films. Figure 2 displays the oxidation of the solutions on an FTO electrode. It can be observed that the curves have similar shapes, indicating that the electropolymerization process of the conductive films is not significantly different in the presence of nickel phthalocyanine (less than a 5% difference between the two curves).

<figure><img src="image_6.png" /><figcaption>**Figure 2.** Amperometric polymerization of PPy-SDS and PPy/NiPc-SDS films on an FTO electrode.</figcaption></figure>

* Characterization of PPy-SDS and PPy/NiPc-SDS films

The spectra of the PPy-SDS and PPy/NiPc-SDS films obtained using IRRAS spectroscopy (Figure 3) are in good agreement with those reported in the literature for polypyrrole [41–43]. The bands at 3400–3500 cm⁻¹ are due to N–H stretching vibration, those below 3000 cm⁻¹ are due to C–H stretching vibration, those at 1550 and 1480 cm⁻¹ are due to the vibrations of the polypyrrole ring, those at 1250 and 1050 cm⁻¹ are due to C=H in-plane vibrations, and that at 1200 cm⁻¹ is due to C-N stretching vibrations. Therefore, the infrared spectra confirm that the electrodeposited films possess the expected chemical structure. To analyze the incorporation of the NiPc into the polymer film, an energy-dispersive spectroscopy analysis was performed on both films (Figure 4). As presented in Table 1, the presence of the metallophthalocyanine was confirmed by the presence of nickel in the sample, and the presence of the SDS surfactant was confirmed by the presence of sulfur. Moreover, the FTO glass electrode contained the elements Si and Sn, which explains their presence in the EDS spectrum and shows that the analysis of the PPy/NiPc-SDS film was performed on the whole film and not only its surface. More precisely, the presence of the different elements was evidenced by the presence of peaks on the spectrum at 0.25 keV for carbon, 0.40 keV for nitrogen, 0.85 keV for nickel, 1.05 keV for sodium, 1.75 keV for silicon, 2.30 keV for sulfur, and 3.45 keV for tin atoms [44].
<figure><img src="image_7.png" /><figcaption>**Figure 3.** IRRAS spectra of PPy-SDS and PPy/NiPc-SDS films electrodeposited on an FTO electrode using chronoamperometry at +1 V/SCE.</figcaption></figure>

<figure><img src="image_8.png" /><figcaption>**Figure 4.** Energy-dispersive spectroscopy of PPy-SDS and PPy/NiPc-SDS films electrodeposited on an FTO electrode using chronoamperometry at +1 V/SCE.</figcaption></figure>

<table><caption>**Table 1.** Quantification results (weights) of PPy-SDS and PPy/NiPc-SDS films.</caption><thead><tr><th></th><th>W% (C)</th><th>W% (N)</th><th>W% (O)</th><th>W% (Na)</th><th>W% (S)</th><th>W% (Ni)</th></tr></thead><tbody><tr><td>PPy-SDS</td><td>47.44</td><td>9.92</td><td>28.43</td><td>1.62</td><td>12.57</td><td>0</td></tr><tr><td>PPy/NiPc-SDS</td><td>45.24</td><td>8.13</td><td>26.56</td><td>6.11</td><td>13.50</td><td>0.45</td></tr></tbody></table>

SEM images of the polypyrrole film obtained in the presence of the SDS surfactant exhibited a cauliflower structure that is characteristic of electrodeposited polypyrrole films (Figure 5A) [39]. The morphology of the electrodeposited film was not drastically affected by the incorporation of nickel phthalocyanine since the same cauliflower structure was observed for the PPy/NiPc-SDS film (Figure 5B). The thickness of the PPy-SDS film was 1 µm, while the thickness of the PPy/NiPc-SDS film was 3.5 µm, and the films had roughness measurements of 72 nm and 46 nm, respectively.
<figure><img src="image_9.png" /><figcaption>**Figure 5.** (A) SEM micrograph of PPy-SDS film electrodeposited on an FTO electrode using chronoamperometry at +1 V/SCE. (B) SEM micrograph of PPy/NiPc-SDS film electrodeposited on an FTO electrode using chronoamperometry at +1 V/SCE.</figcaption></figure>

The PPy-SDS film displayed very hydrophilic behavior, with a water contact angle of less than 5°, while the PPy/NiPc-SDS film was more hydrophobic, with a contact angle between 50 and 70 °C (Figure 6). These measurements were in direct correlation with the film structure, not because of the presence of the surfactant, since the surfactant was present in both films, but due to the presence of the insoluble dye.

<figure><img src="image_10.png" /><figcaption>**Figure 6.** (A) Contact angle of PPy-SDS film electrodeposited on an FTO electrode using chronoamperometry at +1 V/SCE. (B) Contact angle of PPy/NiPc-SDS film electrodeposited on an FTO electrode using chronoamperometry at +1 V/SCE.</figcaption></figure>

## 3.2. *Development of Polymer-Based Microwave Sensors*

* Fabrication and chemical modification of the microwave gas sensors

Gas generation was ensured by calibrated Air Liquide gas cylinders (air and air + ammonia up to 400 ppm) with a guaranteed water concentration below 3 ppm. The gas circulated in the measuring bench through Teflon tubes, and the flow management was carried out using Bronkhorst EL Flow mass flow controllers. These devices also managed the dilution of the gas mixture (air and air + ammonia). The cell was either charged with the carrier gas alone (air) or with the carrier gas polluted with the target gas (air + ammonia). The switch from one to the other was made by activating a pneumatic valve. The cell was purged by sweeping with dry air. The cell filling time was estimated to be 30 s. The gas sensor was successively exposed to ammonia concentrations in air for 20 min, followed by dry air purges for 25 min. The hermetic cell was made entirely of glass to limit coadsorption phenomena. The sensor was connected via low-attenuation coaxial cables to a Rohde Schwarz R&D ZVB Vector Network Analyzer (VNA) that analyzed microwave variations over a range from 10 MHz to 20 GHz. The entire setup was controlled by a LabView interface on a dedicated computer. Figure 7 shows a schematic representation of the setup that was used.
<figure><img src="image_11.png" /><figcaption>**Figure 7.** Setup that was used: VNA = Vector Network Analyzer, CG = carrier gas, MFC = mass flow controller, RH = relative humidity sensor, T = temperature sensor, FC = Faraday cage, MS = mass spectrometer [45].</figcaption></figure>

The sensor that was used was a microstrip spiral resonator with six resonant frequencies equally distributed in the range from 2 to 8 GHz [40]. The characteristics of the gas sensor are given in Figure 8A. A picture of a gas sensor without a deposited sensitive material is given in Figure 8B, as is a picture of a gas sensor coated with a PPy/NiPc-SDS film (Figure 8C) obtained using potentiostatic electrodeposition for 5 min at +1 V/SCE.

<figure><img src="image_12.png" /><figcaption>**Figure 8.** (A) Resonator structure and its dimensions (A): Wf = 2 mm, Wf2 = 0.150 mm, Lf = 30 mm, Lf2 = 6 mm, A = 3 mm, B = 6 mm, C = 5 mm, number of coils = 7, coils width = 0.150 mm, coil spacing = 0.150 mm [40]. (B) Gas sensor without deposited sensitive material. (C) Gas sensor coated with a PPy/NiPc-SDS sensitive layer (this layer was electrodeposited using chronoamperometry by applying a potential of +1.0 V/SCE for 5 min).</figcaption></figure>

* Gas sensing results

Microwave measurements consist of generating incident waves with known parameters (magnitude, phase, frequency, etc.) via the VNA and transmitting them to the gas sensor via the coaxial cables. Some of the incident waves are reflected by the gas sensor, while the other waves are transmitted. The interaction between the surrounding gas and the sensitive material deposited on the circuit causes changes in physical and chemical
properties such as the permittivity of the material. Thus, the principle of the measurement is to observe the microwave variations that are translated by the modification of the parameters of the reflected and transmitted waves compared to the incident waves. It is a kind of measurement of the reflection and transmission coefficient.

Figures 9 and 10 show the microwave responses (magnitude, in blue) of the PPy/NiPc-SDS gas sensor and the PPy-SDS gas sensor and the ammonia concentration in air (in orange) as a function of time, respectively. A label is assigned to each ammonia exposure peak. For example, for the first exposure of the sensor to 100 ppm ammonia for PPy/NiPc-SDS film (Figure 9), the peak is defined as (a'₁), and for the second exposure to 100 ppm ammonia for the same film, the peak is defined as (a'₂). Respectively, these same exposure peaks are indicated by the labels (a₁) and (a₂) for the PPy-SDS film in Figure 10.

What should be observed here is not the absolute value of the magnitude or even the direction of variation but the value of the magnitude variation for each ammonia pulse at different concentrations. The value of the magnitude is not relevant because it depends on the analysis frequency. However, the two sensors did not have the same resonance frequencies since the deposited materials were not identical, so the analysis was not carried out at the same frequency. Moreover, it should be noted that in the case of the PPy/NiPc-SDS sensor the analysis was carried out at 6.12 GHz, while in the case of the PPy-SDS sensor it was carried out at 6.75 GHz, which corresponded to the frequency of the same resonance but had been shifted according to the nature of the electrodeposited polymer film. Thus, the direction of the magnitude variation did not reflect any physical or chemical phenomenon linked to the interaction of the target with the material but was simply dependent on whether the analysis was carried out right below or above the real resonance frequency of the sensor. Indeed, it was not possible to perform an analysis at the exact value of the resonance frequency since the measurements that were performed were broadband measurements and there was a finite number of experimental points over the chosen working frequency range. As a result, each analysis was performed at the experimental frequency closest to the system's "real" resonant frequency to obtain the greatest variations in the microwave parameters. The choice of the experimental analysis frequency and the difference between this frequency and the sensor's "real" resonance frequency were directly linked to the VNA's resolution and parameter settings.

<figure><img src="image_13.png" /><figcaption>**Figure 9.** Variations in the magnitude of the PPy/NiPc-SDS microwave sensor (in blue) and the ammonia concentration in air (in orange) over time at 6.12 GHz.</figcaption></figure>
<figure><img src="image_14.png" /><figcaption>**Figure 10.** Variations in the magnitude of the PPy-SDS microwave sensor (in blue) and the ammonia concentration in air (in orange) over time at 6.75 GHz.</figcaption></figure>

However, in both cases, the microwave response was considered to be qualitative and quantitative. The qualitative response meant that the variation in the microwave response was directly linked to the presence or the absence of ammonia in the air. For each increase or decrease in the target gas concentration, there was a quick variation in the magnitude. Moreover, the response time of the sensor was very short (a few seconds), making this device a real-time detection tool. This observation was consistent with the findings of previous work that highlighted the ability of the gas sensor to respond in real time to a change in the pollutant gas concentration. These observations were made and proven using a mass spectrometer directly connected to a gas circuit [45]. Furthermore, the quantitative aspect of the gas sensor response was highlighted by the fact that as the ammonia concentration in the air increased, the variation in the microwave response also increased. Both characteristics are essential for effective target detection. Finally, the response of the microwave sensor was particularly stable in the sense that the drift observed in the response was very low regardless of the sensor.

Figure 11 shows the magnitude variation in the two gas sensors (blue—PPy-SDS and orange—PPy/NiPc-SDS) as a function of the NH₃ concentration. The labels indicated (x,y) or (x',y) correspond to the labels defined for Figures 9 and 10. Figure 11 highlights the high stability of the signal at concentrations above 100 ppm. This is consistent with one of our previous papers that showed a more in-depth study of the stability of the microwave device over time [46]. Moreover, a linearization of the magnitude variations as a function of the ammonia concentrations in the air showed a linearity coefficient of about 99% for both sensors. This was consistent with the results of Wang et al., who demonstrated the existence of a linear or quasi-linear range of amplitude variations with respect to the ammonia concentration at concentrations above 50 ppm in air using a microwave sensor coated with a SnO₂/bionic porous carbon composite material [47].
<figure><img src="image_15.png" /><figcaption>**Figure 11.** Variations in the magnitude of the microwave responses for the PPy-SDS sensor and the PPy/NiPc-SDS sensor as a function of the ammonia concentration in air.</figcaption></figure>

It can also be seen that the film without nickel phthalocyanine (PPy-SDS sensor) caused the greatest variation compared to the film containing it (PPy/NiPc-SDS sensor). The sensitivity of the PPy-SDS sensor was 3 to 4 times greater than that of the PPy/NiPc-SDS sensor. This was consistent with our expectations: the film of the PPy-SDS sensor was hydrophilic, whereas the film of the PPy/NiPc-SDS sensor was more hydrophobic. Thus, the effect of residual water (a major interferent) was much weaker in the case of the PPy/NiPc-SDS sensor. However, other work has shown that the main reason for the drift in microwave sensor responses is the uncontrolled presence of water [45]. Here, the conditions in the laboratory were carefully controlled, a precise protocol for conditioning the gas sensor was carried out before each experiment, the gas cylinders were calibrated and guaranteed a low concentration of water, and the cell was hermetically sealed so that water variations were non-existent or extremely low during the experiments.

As mentioned above, the estimated response time was very short, between 1.5 and 5 s, depending on the concentration. The repeatability of the PPy-SDS-coated sensor was estimated to be 5.5% for 100 ppm NH₃, 5.4% for 200 ppm, and 7.3% for 400 ppm. The repeatability of the PPy-NiPc-SDS-coated sensor was very similar: 6.0% for 100 ppm NH₃, 5.2% for 200 ppm, and 7.3% for 400 ppm. In addition, good stability and repeatability of the microwave device are prerequisites for machine learning using experimental data [46]. Although this type of work has not yet been carried out on the sensors presented in this paper, other work by the team has demonstrated the ability of a TiO₂-coated microwave device to detect and quantify an ammonia concentration with 92% accuracy under conditions similar to those in this paper in the 0–400 ppm range using machine learning technology [45]. The sensitivity of the sensor in both cases was estimated from Figure 11. The PPy-SDS-film-coated sensor had a sensitivity of 3.2 dB/ppm, while the PPy/NiPc-SDS-film-coated sensor had a sensitivity of 0.98 dB/ppm. The sensitivity values given (as absolute values) are the result of averaging the sensitivities evaluated at 100, 200, and 400 ppm. Since a very high degree of linearity has been demonstrated in this concentration range, the sensitivities for these three concentrations were consistent with each other.

Compared with sensors already presented in the literature for the detection of ammonia using a hybrid layer, the presented sensors have fairly similar, if not better, characteristics in terms of response time (a few seconds, depending on the concentration), but this work has not shown that it can quantify or detect ammonia below the concentration that many sensors can detect today [48–53]. This is mainly due to the maturity of the original transduction used in this paper. Indeed, microwave transduction is relatively
new compared with more conventional transductions, and certain technological hurdles
are yet to be overcome. Microwave sensors are still at a stage of research where proof of
concept is only focused on laboratory conditions. This corresponds to a TRL level well
below that of most conventional transducers. However, one of the perspectives of this
work and one of the objectives of our teams is to compare, in the next study, the detection
quality of an industrial sensor and our home-made sensor. However, the results presented
in this paper are very encouraging since, compared with other microwave sensors for
ammonia in the literature, this sensor has very good characteristics, particularly in terms of
sensitivity [45-47,54].

4. Conclusions

Solutions composed of pyrrole with and without nickel phthalocyanine were electro-
oxidized in the presence of an anionic surfactant. This oxidation led to the formation of
polypyrrole or polypyrrole/phthalocyanine films, as evidenced by infrared spectroscopy
and energy-dispersive spectroscopy. The electrodeposited films showed similar cauliflower-
like structures but very different wettability measurements. These films were then used as
sensitive layers for microwave gas sensors. The resulting sensors were found to be sensitive
to ammonia, and a linear relationship was established between the response of both films
and the quantity of ammonia gas for concentrations above 100 ppm. In addition, the
response under controlled laboratory conditions was greater for the more hydrophilic film
(PPy-SDS) than for the hydrophobic film (PPy/NiPC-SDS). Although the PPy-SDS-coated
sensor appeared to be more efficient at first, work carried out on the same sensor coated
with another sensitive material (TiO2) suggested that this state is highly dependent on
variations in relative humidity during measurement. Indeed, under outdoor measurement
conditions, the relative humidity is constantly changing, and since the PPy-SDS sensor is
hydrophilic, the drift in the signal from this sensor is expected to be much greater than the
drift in the signal from the PPy/NiPC-SDS sensor, which is hydrophobic. These hypotheses
will be the subjects of our future work and need to be backed up by precise data. In addition,
a study of the sensor's responses at lower concentrations (i.e., outside the range of linearity
discussed above) will also be carried out. In both cases, and depending on the experimental
conditions, the stability and sensitivity of the presented sensors demonstrate the benefits of
combining microwave transduction and electrochemical polymer synthesis to overcome
the difficulties currently encountered by other types of gas sensors.

**Author Contributions:** Conceptualization, J.R., D.S. and B.L.; Methodology, D.S.; Software, I.-A.P. and A.L.; Validation, J.R., B.L. and S.L.; Formal Analysis, I.-A.P., B.L., J.R. and A.L.; Investigation, I.-A.P. and A.L.; Resources, B.L., S.L. and J.R.; Data Curation, I.-A.P. and A.L.; Writing-original draft preparation, L.S., I.-A.P. and A.L.; Writing-review and editing, L.S., I.-A.P. and A.L.; Visualization, D.S., J.R., B.L. and S.L.; Supervision, J.R., B.L. and S.L.; Projection Administration, J.R., B.L. and S.L.; Fundings, B.L. and J.R.; Acquisition, B.L. and J.R. All authors have read and agreed to the published version of the manuscript.

**Funding:** This research was funded by the Regional Council of Bourgogne Franche-Comté and the EUR EIPHI (PIMS project).

**Informed Consent Statement:** Informed consent was obtained from all subjects involved in the study.

**Data Availability Statement:** The data presented in this study are available on request from the
corresponding author. The data are not publicly available due to privacy.

**Acknowledgments:** This research was supported by the instruments and staff of the Utinam Chem-
istry technical Platform (PCU), in particular Stéphanie Beffy for the infrared spectra, and by the
French RENATECH network and its FEMTO-ST technological facility.

**Conflicts of Interest:** The authors declare that they have no known competing financial interests or
personal relationships that could have appeared to influence the work reported in this paper.
## References

1. Eduard, W.; Pearce, N.; Douwes, J. Chronic Bronchitis, COPD, and Lung Function in Farmers: The Role of Biological Agents. Chest **2009**, *136*, 716–725. [CrossRef] [PubMed]

2. Freeman, L.B. Evaluation of Agricultural Exposures: The Agricultural Health Study and the Agricultural Cohort Consortium. Rev. Environ. Health **2009**, *24*, 311–318. [CrossRef] [PubMed]

3. Lockwood, A.H. Blood Ammonia Levels and Hepatic Encephalopathy. Metab. Brain Dis. **2004**, *19*, 345–349. [CrossRef] [PubMed]

4. Ong, J.P.; Aggarwal, A.; Krieger, D.; Easley, K.A.; Karafa, M.T.; Van Lente, F.; Arroliga, A.C.; Mullen, K.D. Correlation between ammonia levels and the severity of hepatic encephalopathy. Am. J. Med. **2003**, *114*, 188–193. [CrossRef] [PubMed]

5. Chan, M.-J.; Li, Y.-J.; Wu, C.-C.; Lee, Y.-C.; Zan, H.-W.; Meng, H.-F.; Hsieh, M.-H.; Lai, C.-S.; Tian, Y.-C. Breath Ammonia Is a Useful Biomarker Predicting Kidney Function in Chronic Kidney Disease Patients. Biomedicines **2020**, *8*, 468. [CrossRef] [PubMed]

6. Chen, C.-C.; Hsieh, J.-C.; Chao, C.-H.; Yang, W.-S.; Cheng, H.-T.; Chan, C.-K.; Lu, C.-J.; Meng, H.-F.; Zan, H.-W. Correlation between breath ammonia and blood urea nitrogen levels in chronic kidney disease and dialysis patients. J. Breath Res. **2020**, *14*, 036002. [CrossRef] [PubMed]

7. Amano, A.; Yoshida, Y.; Oho, T.; Koga, T. Monitoring ammonia to assess halitosis. Oral Surg. Oral Med. Oral Pathol. Oral Radiol. Endodontol. **2002**, *94*, 692–696. [CrossRef]

8. Kearney, D.J.; Hubbard, T.; Putnam, D. Breath Ammonia Measurement in Helicobacter pylori Infection. Dig. Dis. Sci. **2002**, *47*, 2523–2530. [CrossRef]

9. Pavel, I.-A.; Lakard, S.; Lakard, B. Flexible Sensors Based on Conductive Polymers. Chemosensors **2022**, *10*, 97. [CrossRef]

10. Wong, Y.C.; Ang, B.C.; Haseeb, A.S.M.A.; Baharuddin, A.A.; Wong, Y.H. Review—Conducting Polymers as Chemiresistive Gas Sensing Materials: A Review. J. Electrochem. Soc. **2020**, *167*, 037503. [CrossRef]

11. Direksilp, C.; Sirivat, A. Tunable size and shape of conductive poly(N-methylaniline) based on surfactant template and doping. Polym. Int. **2019**, *68*, 1042–1053. [CrossRef]

12. Kaur, A.; Ishpal, Dhawan, S. Tuning of EMI shielding properties of polypyrrole nanoparticles with surfactant concentration. Synth. Met. **2012**, *162*, 1471–1477. [CrossRef]

13. Zhang, W.; Yang, F.K.; Pan, Z.; Zhang, J.; Zhao, B. Bio-Inspired Dopamine Functionalization of Polypyrrole for Improved Adhesion and Conductivity. Macromol. Rapid Commun. **2014**, *35*, 350–354. [CrossRef]

14. Arulraj, A.D.; Vijayan, M.; Vasantha, V.S. Highly selective and sensitive simple sensor based on electrochemically treated nano polypyrrole-sodium dodecyl sulphate film for the detection of para-nitrophenol. Anal. Chim. Acta **2015**, *899*, 66–74. [CrossRef]

15. Gholami, M.; Rezayi, M.; Nia, P.M.; Yusoff, I.; Alias, Y. A novel method for fabricating Fe²⁺ ion selective sensor using polypyrrole and sodium dodecyl sulfate based on carbon screen-printed electrode. Measurement **2015**, *69*, 115–125. [CrossRef]

16. Musa, I.; Raffin, G.; Hangouet, M.; Martin, M.; Alcacer, A.; Zine, N.; Bellagambi, F.; Jaffrezic-Renault, N.; Errachid, A. Development of a Chitosan/Nickel Phthalocyanine Composite Based Conductometric Micro-sensor for Methanol Detection. Electroanalysis **2022**, *34*, 1338–1347. [CrossRef]

17. Musa, I.; Raffin, G.; Hangouet, M.; Martin, M.; Bausells, J.; Zine, N.; Bellagambi, F.; Jaffrezic-Renault, N.; Errachid, A. Electrospun PVC-nickel phthalocyanine composite nanofiber based conductometric methanol microsensor. Microchem. J. **2022**, *182*, 107899. [CrossRef]

18. Sizun, T.; Bouvet, M.; Suisse, J.-M. Humidity effect on ammonia sensing properties of substituted and unsubstituted cobalt phthalocyanines. Talanta **2012**, *97*, 318–324. [CrossRef]

19. Kumar, A.; Singh, A.; Debnath, A.; Samanta, S.; Aswal, D.; Gupta, S.; Yakhmi, J.V. Room temperature ppb level Cl2 sensing using sulphonated copper phthalocyanine films. Talanta **2010**, *82*, 1485–1489. [CrossRef]

20. Gulppi, M.; Bedioui, F.; Zagal, J.H. Overoxidized Polypyrrole/Cobalt Tetrasulfonated Phthalocyanine Modified Ultramicro-Carbon-Fiber Electrodes for the Electrooxidation of 2-Mercaptoethanol. Electroanalysis **2001**, *13*, 1136–1139. [CrossRef]

21. Milczarek, G. Self-doped polyaniline films prepared by electropolymerization in the presence of sulfonated nickel phthalocyanine. Thin Solid Films **2009**, *517*, 6100–6104. [CrossRef]

22. Gaudillat, P.; Jurin, F.; Lakard, B.; Buron, C.; Suisse, J.-M.; Bouvet, M. From the Solution Processing of Hydrophilic Molecules to Polymer-Phthalocyanine Hybrid Materials for Ammonia Sensing in High Humidity Atmospheres. Sensors **2014**, *14*, 13476–13495. [CrossRef]

23. Zhihua, L.; Xucheng, Z.; Jiyong, S.; Xiaobo, Z.; Xiaowei, H.; Tahir, H.E.; Holmes, M. Fast response ammonia sensor based on porous thin film of polyaniline/sulfonated nickel phthalocyanine composites. Sens. Actuators B Chem. **2016**, *226*, 553–562. [CrossRef]

24. Sizun, T.; Patois, T.; Bouvet, M.; Lakard, B. Microstructured electrodeposited polypyrrole-phthalocyanine hybrid material, from morphology to ammonia sensing. J. Mater. Chem. **2012**, *22*, 25246–25253. [CrossRef]

25. Paul, S.; Joseph, M. Polypyrrole functionalized with FePcTSA for NO₂ sensor application. Sens. Actuators B Chem. **2009**, *140*, 439–444. [CrossRef]

26. Muthuraman, G.; Shim, Y.-B.; Yoon, J.-H.; Won, M.-S. Simultaneous immobilization of cobalt tetrasulfonated phthalocyanine during electropolymerization of pyrrole in presence of surfactants: A study of film morphology and its conductivity. Synth. Met. **2005**, *150*, 165–173. [CrossRef]

27. Tiwari, D.; Sharma, R.; Vyas, K.; Boopathi, M.; Singh, V.V.; Pandey, P. Electrochemical incorporation of copper phthalocyanine in conducting polypyrrole for the sensing of DMMP. Sens. Actuators B Chem. **2010**, *151*, 256–264. [CrossRef]
28. Bobkov, A.; Luchinin, V.; Moshnikov, V.; Nalimova, S.; Spivak, Y. Impedance Spectroscopy of Hierarchical Porous Nanomaterials Based on por-Si, por-Si Incorporated by Ni and Metal Oxides for Gas Sensors. *Sensors* **2022**, *22*, 1530. [CrossRef]

29. Ponce, M.; Castro, M.; Aldao, C. Resistance and capacitance analysis of Pd-doped and undoped SnO₂ thick films sensors exposed to CO atmospheres. *Ceram. Int.* **2006**, *32*, 733–737. [CrossRef]

30. Gugliandolo, G.; Naishadham, K.; Crupi, G.; Donato, N. Design and Characterization of a Microwave Transducer for Gas Sensing Applications. *Chemosensors* **2022**, *10*, 127. [CrossRef]

31. de Fonseca, B.; Rossignol, J.; Stuerga, D.; Pribetich, P. Microwave signature for gas sensing: 2005 to present. *Urban Clim.* **2015**, *14*, 502–515. [CrossRef]

32. Mirzaei, A.; Neri, G. Microwave-assisted synthesis of metal oxide nanostructures for gas sensing application: A review. *Sens. Actuators B Chem.* **2016**, *237*, 749–775. [CrossRef]

33. de Fonseca, B.; Rossignol, J.; Bezverkhyy, I.; Bellat, J.; Stuerga, D.; Pribetich, P. Detection of VOCs by microwave transduction using dealuminated faujasite DAY zeolites as gas sensitive materials. *Sens. Actuators B Chem.* **2015**, *213*, 558–565. [CrossRef]

34. Jang, C.; Park, J.-K.; Yun, G.-H.; Choi, H.H.; Lee, H.-J.; Yook, J.-G. Radio-Frequency/Microwave Gas Sensors Using Conducting Polymer. *Materials* **2020**, *13*, 2859. [CrossRef] [PubMed]

35. Rossignol, J.; Barochi, G.; de Fonseca, B.; Brunet, J.; Bouvet, M.; Pauly, A.; Markey, L. Development of Gas Sensors by Microwave Transduction with Phthalocyanine Film. *Procedia Eng.* **2012**, *47*, 1191–1194. [CrossRef]

36. Sinha, M.; Verma, P.; Panda, S. Metal-phthalocyanine modified doped polyaniline for VOC sensing applications. *Flex. Print. Electron.* **2020**, *5*, 014014. [CrossRef]

37. Zucolotto, V.; Ferreira, M.; Cordeiro, M.R.; Constantino, C.J.; Moreira, W.C.; Oliveira, O.N. Nanoscale processing of polyaniline and phthalocyanines for sensing applications. *Sens. Actuators B Chem.* **2006**, *113*, 809–815. [CrossRef]

38. Olgac, R.; Soganci, T.; Baygu, Y.; Gök, Y.; Ak, M. Zinc(II) phthalocyanine fused in peripheral positions octa-substituted with alkyl linked carbazole: Synthesis, electropolymerization and its electro-optic and biosensor applications. *Biosens. Bioelectron.* **2017**, *98*, 202–209. [CrossRef]

39. Kulkarni, G.; Kandesar, P.; Velhal, N.N.; Kim, H.; Puri, V. Facile synthesis of coral cauliflower-like polypyrrole hemispheres toward screening electromagnetic interference pollution. *J. Appl. Polym. Sci.* **2021**, *138*, 50447. [CrossRef]

40. Bailly, G.; Harrabi, A.; Rossignol, J.; Michel, M.; Stuerga, D.; Pribetich, P. Microstrip Spiral Resonator for Microwave-Based Gas Sensing. *IEEE Sens. Lett.* **2017**, *1*, 450040. [CrossRef]

41. Fu, Y.; Su, Y.-S.; Manthiram, A. Sulfur-Polypyrrole Composite Cathodes for Lithium-Sulfur Batteries. *J. Electrochem. Soc.* **2012**, *159*, A1420. [CrossRef]

42. Liang, X.; Liu, Y.; Wen, Z.; Huang, L.; Wang, X.; Zhang, H. A nano-structured and highly ordered polypyrrole-sulfur cathode for lithium-sulfur batteries. *J. Power Sources* **2011**, *196*, 6951–6956. [CrossRef]

43. Kato, H.; Nishikawa, O.; Matsui, T.; Honma, S.; Kokado, H. Fourier transform infrared spectroscopy study of conducting polymer polypyrrole: Higher order structure of electrochemically-synthesized film. *J. Phys. Chem.* **1991**, *95*, 6014–6016. [CrossRef]

44. Periodic Table for EDS Analysis. Available online: https://www.jeolusa.com/RESOURCES/Posters (accessed on 3 May 2023).

45. Lasserre, A.; Grzelak, L.; Rossignol, J.; Brousse, O.; Stuerga, D.; Paindavoine, M. From microwave gas sensor conditioning to ammonia concentration prediction by machine learning. *Sens. Actuators B Chem.* **2022**, *367*, 132138. [CrossRef]

46. Rossignol, J.; Harrabi, A.; Stuerga, D.; Pribetich, P.; Bailly, G.; Leblois, T. Critical Influence of Dielectric Sensitive Material and Manufactured Process in Microwave Gas-Sensing: Application of Ammonia Detection with an Interdigital Sensor. *ACS Omega* **2020**, *5*, 11507–11514. [CrossRef] [PubMed]

47. Wang, N.; Zhang, N.; Wang, T.; Liu, F.; Wang, X.; Yan, X.; Wang, C.; Liu, X.; Sun, P.; Lu, G. Microwave gas sensor for detection of ammonia at room-temperature. *Sens. Actuators B Chem.* **2022**, *350*, 130854. [CrossRef]

48. Ivanova, V.; Klyamer, D.; Krasnov, P.; Kaya, E.N.; Kulu, I.; Kostakoğlu, S.T.; Durmuş, M.; Basova, T. Hybrid materials based on pyrene-substituted metallo phthalocyanines as sensing layers for ammonia detection: Effect of the number of pyrene substituents. *Sens. Actuators B Chem.* **2023**, *375*, 132843. [CrossRef]

49. Gai, S.; Wang, B.; Wang, X.; Zhang, R.; Miao, S.; Wu, Y. Ultrafast NH3 gas sensor based on phthalocyanine-optimized non-covalent hybrid of carbon nanotubes with pyrrole. *Sens. Actuators B Chem.* **2022**, *357*, 131352. [CrossRef]

50. Ridhi, R.; Neeru; Gautam, S.; Saini, G.; Tripathi, S.; Rawat, J.; Jha, P. Amendment in sensing response of Single Walled Carbon nanotube (SWCNT) towards ammonia gas with copper phthalocyanine functionalization. *Mater. Today Proc.* **2020**, *28*, 1759–1763. [CrossRef]

51. Kang, D.; Wang, B.; Wang, X.; Li, Y.; Chen, Z.; He, C.; Wu, Y. Stably dispersed metallophthalocyanine noncovalently bonded to multiwalled carbon nanotubes for ammonia sensing at room temperature. *Sens. Actuators B Chem.* **2017**, *246*, 262–270. [CrossRef]

52. Li, Y.; Wang, B.; Yu, Z.; Zhou, X.; Kang, D.; Wu, Y.; Chen, Z.; He, C.; Zhou, X. The effects of central metals on ammonia sensing of metallophthalocyanines covalently bonded to graphene oxide hybrids. *RSC Adv.* **2017**, *7*, 34215–34225. [CrossRef]
53. Hallil, H.; Dejous, C.; Hage-Ali, S.; Elmazria, O.; Rossignol, J.; Stuerga, D.; Talbi, A.; Mazzamurro, A.; Joubert, P.-Y.; Lefeuvre, E. *Passive Resonant Sensors: Trends and Future Prospects*. *IEEE Sens. J.* **2021**, *21*, 12618–12632. [CrossRef]

54. Zhang, N.; Jiang, B.; Xue, S.; Wang, X.; Wang, T.; Sun, P.; Lu, G. General analysis method for the signal enhancement of microwave gas sensor through variation of energy loss. *Sens. Actuators B Chem.* **2022**, *367*, 132117. [CrossRef]

**Disclaimer/Publisher's Note:** The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.