Polypyrrole based gas sensor for ammonia detection Related In-situ and ex-situ resistance measurements of polypyrrole film using double-band electrode Investigation of solid polymer electrolyte gas sensor with different electrochemical techniques