A surface-acoustic-wave (SAW) sensor was used to detect gaseous chemical compounds ammonia, methane and their mixtures in varied environmental conditions. The sensing chamber was improved using top-cover PMMA with 200-μL fluidic channels, compared with a traditional 1-L four-neck bottle. Small concentrations of ammonia (≈ 250 ppb) and methane (≈ 9 ppm) were detectable with this SAW sensor array with a sensing film, PNVP with mesoporous carbon hollow nanospheres. Tests of the stability and repeatability showed that the noise of the frequency change is about ± 12.5 Hz within 410 s; the signal loss is less than 9% after 16 detection cycles. According to the results of the sensing measurements, the frequency shift of the ammonia/methane mixture was equivalent to the sum of the frequency shifts of ammonia and methane. In highly humid conditions the loss of signal of ammonia was much larger than that of methane. Based on the results of quantitative measurements of ammonia/methane gaseous mixtures, we found that the superposition effect between sensing signals for ammonia and methane was useable to predict the signal intensity for ammonia/methane gaseous mixtures at varied relative concentrations. Because of the threat of environmental pollution and its risk to human health, there is a great demand for a gas sensor with high sensitivity, rapid response and a low detection limit that is applicable to a mixture of gases for real-time monitoring. An electronic nose has been widely used in many applications such as for the quality of indoor air, food safety, environmental monitoring and military applications, even in national security issues.1,2 Substantial consideration has been devoted to develop an electronic-nose system in gas sensing of volatile organic compounds without having to identify specific molecular components.3-7 Compared with conventional methods for the analysis of gases, such as use of a gas chromatograph combined with a mass spectrometer (GC-MS) or a (Fourier-transform) infrared spectrometer, an electronic nose has several advantages greatly beneficial for gas detection, including high-throughput sample detection, small size and moderate cost. 8,9 Furthermore, an electronic nose is suitable for nonexpert users and easily applicable to daily life. 10 In traditional biomedical testing, the concentration of ammonia is an important biomarker for the detection of uremia and chronic liver disease. The level of ammonia in the breath of chronic hepatitis patients (0.745 ppm) is significantly greater than that for a normal person (0.278 ppm); 11 patients who have liver failure exhale 4.8-ppm ammonia in their breath. The explosive characteristic of methane is of concern for public safety. In addition, people breathing methane at a high concentration might suffer health problems, resulting in an oxygen deficiency, increased breathing and pulse rates, emotional upset and even death.Many gas-sensing methods include sensor arrays demonstrated with various catalytic metals and chemical compounds, or an opticalfiber gas...