This project demonstrates a smoke monitoring and detection system built using an Arduino Uno, MQ-135 gas sensor, 16x2 LCD display, buzzer, and LEDs. The system detects smoke levels in the environment and provides a warning through visual and auditory alerts when the smoke concentration exceeds a certain threshold.
- Real-time Smoke Level Monitoring: Displays smoke concentration on the 16x2 LCD in PPM (parts per million).
- Audible and Visual Alerts: Activates a buzzer and red LED when smoke levels exceed the threshold.
- Safe Indicator: Green LED lights up when smoke levels are within the safe range.
- User-friendly Interface: Provides real-time feedback through the LCD display.
- I2C Communication Protocol: Utilized to interface the 16x2 LCD with fewer connections, simplifying the wiring process.
- Arduino Uno - Microcontroller for managing sensors and outputs.
- MQ-135 Gas Sensor - Measures smoke concentration.
- 16x2 I2C LCD Display - Displays smoke values and system messages.
- Buzzer - Emits audible alerts for high smoke levels.
- LEDs (Red and Green) - Visual indicators for smoke level status.
- Breadboard - For easy circuit connections.
- Jumper Wires - Connects the components.
-
Clone the Repository:
git clone https://github.com/prantikm07/Smoke-Detection
-
Set Up the Hardware:
- Connect the components as per the circuit diagram.
- Upload the code to the Arduino Uno using the Arduino IDE.
-
Calibrate the Sensor:
- Allow the MQ-135 sensor to warm up for 24-48 hours before use for accurate readings.
-
Run the System:
- Power on the Arduino Uno.
- Observe the LCD for smoke levels and corresponding alerts.
- Setup Section:
- Initializes the LCD display and serial communication.
- Displays introductory messages.
- Loop Section:
- Reads smoke levels from the MQ-135 sensor.
- Displays smoke levels on the LCD.
- Triggers the buzzer and LEDs based on the smoke concentration.
Click here for the Demo Video!
-
LCD Messages:
- "SMOKE_VALUE: PPM"
- Alerts like "WARNING!" when thresholds are exceeded.
-
Buzzer and LEDs:
- Buzzer and red LED activate for dangerous smoke levels.
- Green LED indicates safe smoke levels.
- Safe Range: Below 100 PPM.
- Warning Range: 100 PPM and above.
You can adjust the threshold values in the code based on the specific application.
- Add support for logging smoke concentration levels to an SD card.
- Implement Wi-Fi or Bluetooth for remote monitoring.
- Integrate a rechargeable battery for portability.
This project is licensed under the MIT License. See the LICENSE file for more details.