Simulation of the Gas sensor with Arduino UNO

Simulation

Click on the start simulation button and then click on Gas sensor you will see gas particles in front of Gas sensor.

Try to move the gas particles and see the amount of gas in the serial monitor by clicking on the serial monitor button.

If the value will be greater than 400 then the buzzer will beep.