Circuit Documentation
Summary
This circuit consists of an Arduino UNO microcontroller, an MQ-9 gas sensor, a red LED, and a MAHIR 7.0 power supply. The Arduino UNO is used to control the LED and read data from the MQ-9 sensor. The MAHIR 7.0 power supply provides the necessary voltage to the Arduino UNO.
Component List
LED: Two Pin (red)
- Description: A red LED with two pins: cathode and anode.
- Pins: cathode, anode
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
MQ-9 Breakout
- Description: A gas sensor module that can detect carbon monoxide, methane, and LPG.
- Pins: VCC, GND, DO, AO
MAHIR 7.0
- Description: A power supply module.
- Pins: GND, 7V, 3.7v
Wiring Details
LED: Two Pin (red)
- cathode is connected to GND of the Arduino UNO.
- anode is connected to D13 of the Arduino UNO.
Arduino UNO
- GND is connected to:
- cathode of the LED.
- GND of the MQ-9 Breakout.
- GND of the MAHIR 7.0.
- D13 is connected to anode of the LED.
- 5V is connected to VCC of the MQ-9 Breakout.
- Vin is connected to 7V of the MAHIR 7.0.
- D2 is connected to DO of the MQ-9 Breakout.
MQ-9 Breakout
- VCC is connected to 5V of the Arduino UNO.
- GND is connected to GND of the Arduino UNO.
- DO is connected to D2 of the Arduino UNO.
MAHIR 7.0
- GND is connected to GND of the Arduino UNO.
- 7V is connected to Vin of the Arduino UNO.
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:
}
Documentation (documentation.txt)
This documentation provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and the code used in the Arduino UNO.
