Gas Detection System with Relay-Controlled Fan and LED Indicators
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit consisting of various components including LEDs, a battery, a resistor, a fan, a relay, a diode, a transistor, and a gas sensor. The circuit is designed to demonstrate the interconnection and functionality of these components.
Component List
LED: Two Pin (red)
- Pins: cathode, anode
- Description: A red light-emitting diode used for indication purposes.
5V Battery
- Pins: +, -
- Description: A power source providing 5V DC.
Resistor
- Pins: pin1, pin2
- Description: A resistor used to limit current.
- Properties:
- Resistance: NaN Ohms
Fan
- Pins: GND, 5V
- Description: A fan used for cooling purposes.
12V Relay
- Pins: +, -, C, NC, NO
- Description: A relay used to control high voltage circuits with a low voltage signal.
1N4007 Rectifier Diode
- Pins: Cathode, Anode
- Description: A diode used for rectification purposes.
BC557 Transistor
- Pins: Collector, Base, Emitter
- Description: A PNP transistor used for switching and amplification.
MQ6
- Pins: VCC, GND, A0, DO
- Description: A gas sensor used to detect the presence of gas.
Wiring Details
LED: Two Pin (red)
Instance 1:
- cathode: Connected to NO pin of 12V Relay and 5V pin of Fan.
- anode: Connected to - pin of 12V Relay, anode pin of another LED, GND pin of MQ6, Anode pin of 1N4007 Rectifier Diode, GND pin of Fan, and - pin of 5V Battery.
Instance 2:
- cathode: Connected to NC pin of 12V Relay.
- anode: Connected to - pin of 12V Relay, anode pin of another LED, GND pin of MQ6, Anode pin of 1N4007 Rectifier Diode, GND pin of Fan, and - pin of 5V Battery.
5V Battery
- + pin: Connected to C pin of 12V Relay, VCC pin of MQ6, and Emitter pin of BC557 Transistor.
- - pin: Connected to - pin of 12V Relay, anode pin of both LEDs, GND pin of MQ6, Anode pin of 1N4007 Rectifier Diode, and GND pin of Fan.
Resistor
- pin1: Connected to DO pin of MQ6.
- pin2: Connected to Base pin of BC557 Transistor.
Fan
- 5V pin: Connected to NO pin of 12V Relay and cathode pin of LED.
- GND pin: Connected to - pin of 12V Relay, anode pin of both LEDs, GND pin of MQ6, Anode pin of 1N4007 Rectifier Diode, and - pin of 5V Battery.
12V Relay
- NO pin: Connected to cathode pin of LED and 5V pin of Fan.
- - pin: Connected to anode pin of both LEDs, GND pin of MQ6, Anode pin of 1N4007 Rectifier Diode, GND pin of Fan, and - pin of 5V Battery.
- C pin: Connected to VCC pin of MQ6, + pin of 5V Battery, and Emitter pin of BC557 Transistor.
- + pin: Connected to Cathode pin of 1N4007 Rectifier Diode and Collector pin of BC557 Transistor.
- NC pin: Connected to cathode pin of another LED.
1N4007 Rectifier Diode
- Cathode: Connected to + pin of 12V Relay and Collector pin of BC557 Transistor.
- Anode: Connected to - pin of 12V Relay, anode pin of both LEDs, GND pin of MQ6, GND pin of Fan, and - pin of 5V Battery.
BC557 Transistor
- Collector: Connected to + pin of 12V Relay and Cathode pin of 1N4007 Rectifier Diode.
- Base: Connected to pin2 of Resistor.
- Emitter: Connected to C pin of 12V Relay and + pin of 5V Battery.
MQ6
- VCC: Connected to C pin of 12V Relay and + pin of 5V Battery.
- GND: Connected to - pin of 12V Relay, anode pin of both LEDs, Anode pin of 1N4007 Rectifier Diode, GND pin of Fan, and - pin of 5V Battery.
- DO: Connected to pin1 of Resistor.
Code
No microcontroller code is provided for this circuit.
This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and code documentation.