Abstract:A conductive polymer film P(CNPy-co-EDOT) with high electrochemical activity was prepared by copolymerization of N-2-cyanoethylpyrrole (CNPy) and 3,4-ethylenedioxythiophene (EDOT). FT-IR spectrometer, SEM, electrochemical workstation and UV-Vis absorption spectrometer were used to characterize the molecular structure, microstructure, electrochemical and optical absorption properties of the polymer films. The electrochromic switching and open circuit stability of polymer films were evaluated by spectroelectrochemistry. The results showed that the introduction of the co-monomer EDOT could significantly enhance the electropolymerization capacity of the monomer CNPy, resulting in the formation of copolymer films with excellent electrochemical redox activity and optical absorption characteristics. These films exhibited a relatively low bandgap (1.70~2.32 eV) and a porous particle accumulation structure that facilitates electrolyte ion transport. Through optimizing the comonomer ratio to n(CNPy):n(EDOT)=3:7, the copolymer films had excellent multicolor electrochromic properties, showing good optical contrast (35.7%), fast response time (0.76 s), high coloring efficiency (219.6 cm2/C) and good open circuit memory performance in electrochromic properties. They also presented rich color variations from yellowish brown (?0.8 V), grass green (+0.4 V) to blue (+1.0 V), which hold potential application as electrochromic materials.