The development of anilinium 2-acrylamide-2-methyl-1-propanesulfonate (Ani-AMPS) monomer, confirmed by 1H NMR, 13C NMR, and FTIR, is systematically studied. Ani-AMPS contains two polymerizable functional groups, so it was submitted to selective polymerization either by free-radical or oxidative polymerization. Therefore, poly(anilinium 2-acrylamide-2-methyl-1-propanesulfonic) [Poly(Ani-AMPS)] and polyaniline doped with 2-acrylamide-2-methyl-1-propanesulfonic acid [PAni-AMPS] can be obtained. First, the acrylamide polymer, poly(Ani-AMPS), favored the π-stacking of the anilinium group produced by the inter- and intra-molecular interactions and was studied utilizing 1H NMR, 13C NMR, FTIR, and UV-Vis-NIR. Furthermore, poly(Ani-AMPS) fluorescence shows quenching in the presence of Fe2+ and Fe3+ in the emission spectrum at 347 nm. In contrast, the typical behavior of polyaniline is observed in the cyclic voltammetry analysis for PAni-AMPS. The optical properties also show a significant change at pH 4.4. The PAni-AMPS structure was corroborated through FTIR, while the thermal properties and morphology were analyzed utilizing TGA, DSC (except PAni-AMPS), and FESEM.