NDIR $CO_2$ gas sensor was built with ASIC implemented thermopile sensor which included temperature sensor and unique elliptical waveguide structures in this paper. The temperature dependency of dual infrared sensor module ( $CO_2$ and reference IR sensors) has been characterized and its output voltage characteristics according to the temperature and gas concentration were proposed for the first time. NDIR $CO_2$ gas and reference IR sensors showed linear output voltages according to the variation of ambient temperatures from 243 K to 333 K and their slopes were 14.2 mV/K and 8.8 mV/K, respectively. The output voltages of temperature sensor also presented a linear dependency according to the ambient temperature and could be described with V(T)=-3.191+0.0148T(V). The output voltage ratio between $CO_2$ and reference IR sensors revealed irrelevant to the changes of ambient temperatures and gave a constant value around 1.6255 with standard deviation 0.008 at 0 ppm. The output voltage of $CO_2$ gas sensor at zero ppm $CO_2$ gas consisted of two components; one is caused by the HPB (half pass-band) of IR filter and the other is attributed to the part of $CO_2$ absorption wavelength. The characteristics of output voltages of $CO_2$ gas sensor could be accurately modeled with three parameters which are dependent upon the ambient temperatures and represented small average error less than 1.5% with 5% standard deviation.