A sensor was developed for simultaneous measurements of carbon monoxide (CO) and carbon dioxide (CO2) fluctuations in internal combustion engine exhaust gases. This sensor utilizes low-cost and compact light-emitting diodes (LEDs) that emit in the 3-5 mu m wavelength range. An affordable, fast response sensor that can measure these gases has a broad application that can lead to more efficient, fuel-flexible engines and regulation of harmful emissions. Light emission from LEDs is spectrally broader and more spatially divergent when compared to that of lasers, which presented many design challenges. Optical design studies addressed some of the non-ideal characteristics of the LED emissions. Measurements of CO and CO2 were conducted using their fundamental absorption bands centered at 4.7 mu m and 4.3 mu m, respectively, while a 3.6 mu m reference LED was used to account for scattering losses (due to soot, window deposits, etc.) common to the three measurement LEDs. Instrument validation and calibration was performed using a laboratory flow cell and bottled-gas mixtures. The sensor was able to detect CO2 and CO concentration changes as small as 30ppm and 400ppm, respectively. Because of the many control and monitor species with infra-red absorption features, which can be measured using the strategy described, this work demonstrates proof of concept for a wider range of fast (250Hz) and low-cost sensors for gas measurement and process monitoring.