In this project, implemented using an Arduino Uno board, we used a sensor that is sensitive to smoke, fire, and gas. The sensor values are read through analog pin A1. If the value from pin A1 is greater than 300 (which indicates the presence of smoke or gas — this threshold was determined using the Serial Monitor), pin 13 of the Arduino, which is connected to an LED and a buzzer, will be activated. Otherwise, pin 13 remains off. The sensor data is also printed through the serial port, allowing us to monitor the status of pin A1 at any given moment.
Team Perfect Duo:
Comments