A sensor developed at the University of Pittsburgh could strip the element of surprise from some asthma attacks by detecting one before its onset. Fitted in a hand-held device, the tiny sensor provides people who have asthma with a simple and affordable means of keeping tabs on their condition by measuring their breath for high levels of a specific gas associated with asthma inflammation.