Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino-Controlled Gas Detection System with Relay-Triggered Exhaust Fan and Alert Buzzer

View and Edit Project In Cirkit DesignerImage of Arduino-Controlled Gas Detection System with Relay-Triggered Exhaust Fan and Alert Buzzer

Circuit Documentation

Summary

This circuit is designed to interface various components with an Arduino UNO microcontroller. The circuit includes a buzzer, an MQ-5 gas sensor, a 12V single-channel relay, an exhaust fan, three 9V batteries, two rocker switches, a DC motor, and a red LED. The Arduino UNO controls the buzzer, reads the digital output from the MQ-5 sensor, and drives the relay to control the power to the exhaust fan, DC motor, and LED. The batteries provide power to the relay and the components connected to it. The rocker switches are used to control the power flow from the batteries.

Component List

Wiring Details

Buzzer

Arduino UNO

MQ-5 Gas Sensor

12V Single Channel Relay

Exhaust Fan 12"

9V Batteries

Rocker Switches

DC Motor

LED (Red, Two Pin)

Documented Code

Arduino UNO Code (sketch.ino)

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Note: The provided code for the Arduino UNO is a template with empty setup and loop functions. This code needs to be completed with the logic for reading the sensor, driving the buzzer, and controlling the relay based on the sensor's output.

Additional Documentation (documentation.txt)

No additional documentation code was provided.