This paper presents an application developed with an alternative solution to the problem posed to the International Mining Community, in detecting and controlling the environment inside an underground coal mine. This approach may avoid situations that risk miners’ lives and even the overall safety of a mine, as is the case of gas concentration that can become explosive. The application is based on the following methods: Coward’s triangle and Bureau of Mines diagrams, then a module of capture and sample are added of the concentrations within the mine to conclude at runtime if the mixture is explosive or not .The final results from the use of this application show that it is a low-cost alternative which can be extensively used.