We report the description of a laser spectrometer based on difference-frequency generation. As a pump laser, we used a master-slave diode laser configuration emitting at 785 nm, while for a signal laser, we used a diode-pumped Nd : YAG laser. The wavelength of the idler radiation is continuously tunable in the spectral region between 2.88 to 3.02 μm. In this range lie the ν <sub xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sub> fundamental vibrational symmetric stretching mode of water vapor and the relatively strong combination band ν <sub xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sub> + ν <sub xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">3</sub> of nitrous oxide that are both investigated in this work. We show that both molecules can be simultaneously detected by using a simple absorption scheme and by tuning the spectrometer frequency within few gigahertz. A systematic study of pressure broadening for a N <sub xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sub> O line has been performed in presence of the main air constituents, i.e., nitrogen and oxygen. Finally, the estimation of the minimum detectable N <sub xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sub> O concentration at 500 torr of nitrogen resulted in 2.6(2) ppmV with 0.9-m absorption path-length.