“…Conducting polymers have widely been investigated in the last two decades due to their unique electrical properties and potential applications in various electronic devices, such as sensors, light emitting diodes, and rechargeable batteries [1–17]. Among the conducting polymers, polyaniline (PANI) is one of the most popular for its easy synthesis, high electrical conductivity, and good environmental stability [1, 3, 6–10, 12–37]. PANI is available in four different forms, such as leucoemeraldine base (colorless), emeraldine base (blue), pernigraniline base (violet), and emeraldine salt (green) depending on the pH of the solution and oxidation potential out of which only emeraldine salt (or protonated emeraldine) is electrically conducting.…”