Аннотация:Polypyrrole (PPy) films were electrodeposited in a galvanostatic mode in the presence of salt and acid forms of sulfonated
polyelectrolytes distinguished by different rigidity of the polymer backbone. The process of PPy electrosynthesis was studied by
in situ spectroscopy in the UV-visible-NIR spectral regions with simultaneous monitoring of the electrochemical parameters of
the synthesis. The PPy films were characterized by Raman spectroscopy. The morphology of the PPy-polyelectrolyte films was
investigated by atomic force microscopy. PPy-polyelectrolyte films were successfully tested as sensitive layers in optical
ammonia sensors. The behavior of the polymer-based gas sensors, including response time and response amplitude, to various
ammonia gas concentrations ranging from 25 to 529 ppm was investigated. The experimental results showed that these parameters
are dependent on the polyelectrolytes structure and form (acid or salt). The optical sensors based on the films of PPy
complexes with the salt forms of all polyelectrolytes and the acid form of the rigid-chain polyelectrolytes can reliably detect 25-
ppm ammonia, the complexes of the rigid-chain polyacids responding significantly faster.