The invention provides an electrochromic
polymer containing a
thiophene embedded unit. The electrochromic
polymer is prepared from the following components in parts by weight: 5 to 10 parts of 5-dibromo, 10 to 15 parts of 4-dialkoxy methyl propylene dioxythiophene, 5 to 10 parts of 4-dicyanothiophene and 3 to 5 parts of 0.006 mmol
palladium acetate. The invention provides an electrochromic
polymer containing a
thiophene embedded unit and a preparation method of the electrochromic polymer. The electrochromic polymer is prepared from the following raw materials in parts by weight: 10-15 parts of 3, 4-dialkoxy methyl propylene dioxythiophene, 5-10 parts of 4-dicyanothiophene, 3-5 parts of 0.006 mmol of
palladium acetate, 5-8 parts of 0.3 mmol of
potassium carbonate, 15-30 parts of 0.03 mmol of
pivalic acid, 1 part of
hydrogen atom, 3 parts of
halogen atom, 2 parts of hydroxyl, 2 parts of carboxyl, 1 part of ester group or linear or branched
alkyl with 1-20 carbon atoms, so that the electrochromic polymer has the characteristics of low driving
voltage, high
optical contrast, high stability, low cost and the like. Meanwhile, two parts of precipitates are poured into a stirring device, an isopropanol solution is added into the stirring device to be stirred, filtering is conducted, and the production period is shortened.