How satyasreepada1101/real-time-embedded-gas-monitoring works
This repository is an Arduino-based kitchen gas-monitoring and ventilation controller. Its documented workflow reads environmental sensors and button input, evaluates automatic, manual, and emergency conditions, then controls ventilation and user alerts. The README describes these capabilities, but no source excerpt was available, so the sketch-level connections below reflect documented behavior rather than inspected calls; all software components point to the sole sketch file.
Main entry points: smart_chimney.ino Arduino Sketch
Components 21
Sensing & Input
- DHT22 Sensor
- MQ-2 Sensor
- Override Button
- Sensor Reading
code/smart_chimney.ino - Button Debouncing
code/smart_chimney.ino
Control Logic
- Arduino Sketch
code/smart_chimney.ino - Gas Confirmation
code/smart_chimney.ino - Mode Control
code/smart_chimney.ino - Automatic Speed
code/smart_chimney.ino - Manual Speed
code/smart_chimney.ino - Safety Override
code/smart_chimney.ino
Ventilation & Alarm
- Fan Control
code/smart_chimney.ino - L298N & Fan
- Buzzer Control
code/smart_chimney.ino - Passive Buzzer
Display & Alerts
- LCD Feedback
code/smart_chimney.ino - I2C LCD
- GSM Alerting
code/smart_chimney.ino - SIM800L Module
Other components
- Kitchen Conditions
- Remote Recipient
Connections 26
- Kitchen Conditions → DHT22 Sensor: provides conditions
- Kitchen Conditions → MQ-2 Sensor: provides smoke
- DHT22 Sensor → Sensor Reading: temperature, humidity
- MQ-2 Sensor → Sensor Reading: gas reading
- Override Button → Button Debouncing: button input
- Arduino Sketch → Sensor Reading: reads sensors
- Arduino Sketch → Button Debouncing: handles input
- Arduino Sketch → Gas Confirmation: confirms detection
- Arduino Sketch → Mode Control: selects mode
- Mode Control → Automatic Speed: automatic mode
- Mode Control → Manual Speed: manual mode
- Arduino Sketch → Safety Override: applies safety
- Sensor Reading → Automatic Speed: environment readings
- Gas Confirmation → Safety Override: confirmed hazard
- Automatic Speed → Fan Control: requested speed
- Manual Speed → Fan Control: selected speed
- Safety Override → Fan Control: maximum speed
- Safety Override → Buzzer Control: activates alarm
- Fan Control → L298N & Fan: PWM control
- Buzzer Control → Passive Buzzer: drives buzzer
- Arduino Sketch → LCD Feedback: updates display
- LCD Feedback → I2C LCD: displays status
- Arduino Sketch → GSM Alerting: requests alerts
- Safety Override → GSM Alerting: emergency alert
- GSM Alerting → SIM800L Module: sends SMS, calls
- SIM800L Module → Remote Recipient: delivers alerts