Just a case for gas sensor with Arduino Pro Mini and a computer buzzer.
I used an USB cable for powering.
Arduino code is using the digital output of MQ2 sensor so you can adjust the threshold from the bottom potentiometer.
By default the used sensor have HIGH output on D-OUT. Other sensors may be different.