A new novel, pyrene modified, thiophene–pyrrole based monomer was synthesized via a Schiff base reaction. It showed sensitive fluorescence changes when interacting with metal ions. Moreover, the electrochemical properties of its polymer were investigated.