How to make an Coughing smoke detector with an UNO and an MQ-2 Arduino Smoke

im really new to arduino and programming in regular.

For a schoolproject we are going to make an smoke detector that does'nt ring an alarm when it detects smoke, but start coughing.

We want to do this with hooking up an MQ-2 to the UNO and make it start an audiosample as fast as the smoke gets detected. This could be on a pc or if that isn't possible any other suggestion. Hopefully someone can help us :slight_smile:

Justin van Creij