0% found this document useful (0 votes)
12 views3 pages

Circuit Arduino

The document outlines a gas leak detection system circuit diagram using an Arduino Uno, MQ-2 gas sensor, SG90 servo motor, and other components. It provides a detailed components list, pin connections, and important notes regarding power supply and calibration. The system is designed to detect gas leaks and activate a cooling fan and audio alarm for safety.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views3 pages

Circuit Arduino

The document outlines a gas leak detection system circuit diagram using an Arduino Uno, MQ-2 gas sensor, SG90 servo motor, and other components. It provides a detailed components list, pin connections, and important notes regarding power supply and calibration. The system is designed to detect gas leaks and activate a cooling fan and audio alarm for safety.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

GAS LEAK DETECTION SYSTEM

Circuit Diagram

+12V

12V POWER
SUPPLY

MQ-2 SG90
GAS SENSOR Analog Signal SERVO

VCC GND A0 PWM 5V GND

GND

ARDUINO UNO
A0 D8

D2 D9

D7 5V

GND

10kΩ

12V FAN IRF540N PUSH BUZZER


+- MOSFET BUTTON 5V

📋 Components List
Arduino Uno: Main microcontroller board

MQ-2 Gas Sensor: Detects gas leakage (LPG, propane, methane)


SG90 Servo Motor: Controls gas valve (open/close)

IRF540N MOSFET: Switches 12V cooling fan

12V Cooling Fan: Ventilation after gas leak

5V Buzzer: Audio alarm for gas detection

Push Button: Manual system reset

10kΩ Resistor: Pull-up resistor for button

12V External Power Supply: Powers fan and servo

Breadboard & Jumper Wires: Circuit connections

🔌 Pin Connections
MQ-2 Gas Sensor:
• VCC → Arduino 5V
• GND → Arduino GND
• A0 → Arduino Pin A0

SG90 Servo Motor:


• Red (VCC) → External 12V Supply +
• Brown/Black (GND) → Arduino GND
• Orange (Signal) → Arduino Pin D9

IRF540N MOSFET (for 12V Fan):


• Gate → Arduino Pin D7
• Drain → 12V Fan negative terminal
• Source → Arduino GND
• 12V Fan positive → External 12V Supply +

5V Buzzer:
• Positive → Arduino Pin D8
• Negative → Arduino GND

Push Button:
• One terminal → Arduino Pin D2
• Other terminal → Arduino GND
• 10kΩ pull-up resistor: Pin D2 to 5V

Power Connections:
• External 12V Supply + → Servo VCC, Fan +
• External 12V Supply - → Arduino GND
• Arduino 5V → MQ-2 VCC

⚠️ Important Notes:
Power Supply: Use external 12V supply for servo and fan - Arduino 5V cannot provide
enough current
MOSFET: IRF540N handles high current for 12V fan switching
Gas Sensor: MQ-2 needs 24-48 hours for accurate readings after first use
Safety: Test all connections before powering on
Calibration: Allow 15-second warmup time for MQ-2 sensor

You might also like