The development of a simple, low-cost sensor for the effective sensing of multiple gases in industrial or residential zones has been in high demand in recent days. In this article, we have proposed an optical sensor for the dual sensing of oxygen (O2) and ammonia (NH3) gases, which consists of oxygen and ammonia-sensitive fluorescent dyes coated individually on both sides of a glass substrate. An ethyl cellulose (EC) matrix doped with platinum (II) meso-tetrakis (pentafluorophenyl) porphyrin (PtTFPP) serves as the oxygen-sensing material, whereas the NH3-sensing material includes an eosin Y fluorescent indicator immobilized within a cellulose acetate (CA) matrix. Both the oxygen and ammonia-sensitive materials were excited by the same LED light source with a 405 nm peak wavelength, while the corresponding emissions were detected separately for the selective sensing of the gases under study. The dual gas sensor exhibits maximum sensitivities of around 60 and 20 for oxygen and ammonia gases, respectively. The high sensitivity and selectivity of the proposed optical dual sensor suggests the feasibility of the simultaneous sensing of oxygen and ammonia for practical applications.