Detecting gases wirelessly and cheaply