The environment is deteriorating every day. In the face of this problem, there are innovative ways to counteract this phenomenon that could lead to the massive extinction of living beings. The automotive fleet is a serious polluting factor in the world, emitting many toxic gases and pollutants into the environment, within which we will focus on noxious gases and NOx. The objective of this study is to realize a detector of noxious gases emitted by the exhaust pipe promoting a reduction of these, separated by two major phases, detection and filtering (regeneration). For this purpose, we have used the guide of filter families that are being promoted by environmental standards for better quality in the environment. Following this, a prototype is designed using basic circuit design components that are controlled by a free programmable microcontroller (Arduino UNO), guided by the technology present in the ECH and DPF filters. The prototype showed values in real-time and indicated when to switch from one process to another, in addition to displaying graphically how many values, in parts per million, are being detected, activating LED indicators that show an immediate response. Taking into account the above mentioned, it is recommended to promote research and use of the family of filters that will be presented to reduce the problem of air pollution and the environment.