Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller, various sensors (temperature, sound, flame, and PIR), a buzzer, and LEDs. The circuit is designed to interface with these components, allowing for the detection of environmental parameters such as temperature, sound levels, flame presence, and motion. The LEDs and buzzer serve as indicators for the respective sensor outputs.
Component List
Microcontrollers
- Arduino UNO: A microcontroller board based on the ATmega328P. It has 14 digital input/output pins, 6 analog inputs, a USB connection, a power jack, an ICSP header, and a reset button.
Sensors
- Temperature Sensor (LM35): A precision integrated-circuit temperature device with an output voltage linearly proportional to the Centigrade temperature.
- Sound Sensor: A microphone-based sensor with digital and analog outputs that can detect sound levels in the environment.
- Sensor SHT113 Flame: A flame detector that can sense the presence of fire or flame.
- PIR Sensor: A passive infrared sensor that detects motion by measuring changes in the infrared levels emitted by surrounding objects.
Indicators
- LED (Red): A red light-emitting diode used as an indicator.
- LED (Yellow): A yellow light-emitting diode used as an indicator.
- Buzzer: An electronic buzzer that can produce a tone as an audible alert.
Passive Components
- Resistor: A component that provides resistance to the flow of electric current. In this circuit, resistors are used to limit current to the LEDs.
Power Supply
- USB Power: A power supply module that provides power to the circuit through a USB connection.
Wiring Details
Arduino UNO
- Digital Pin D8: Connected to the anode of a red LED through a resistor.
- Digital Pin D9: Connected to the anode of another red LED through a resistor and to a buzzer.
- Digital Pin D4: Connected to the data pin of the PIR sensor.
- Digital Pin D6: Connected to a buzzer.
- Digital Pin D7: Connected to the digital output of the sound sensor.
- Digital Pin D2: Connected to the V+ pin of the temperature sensor.
- Analog Pin A0: Connected to the analog output of the flame sensor.
- Analog Pins A4 and A5: Interconnected between two Arduino UNO boards.
- Ground (GND): Common ground for various components.
- 5V: Power supply to the sensors and the resistors connected to the LEDs.
Temperature Sensor (LM35)
- V+: Connected to Digital Pin D2 on the Arduino UNO.
- Vout: Not connected.
- GND: Connected to the common ground.
Sound Sensor
- VCC: Connected to the 5V supply from the Arduino UNO.
- GND: Connected to the common ground.
- DO: Connected to Digital Pin D7 on the Arduino UNO.
- AO: Not connected.
Sensor SHT113 Flame
- A0: Connected to Analog Pin A0 on the Arduino UNO.
- D0: Not connected.
- GND: Connected to the common ground.
- VCC: Connected to the 5V supply from the Arduino UNO.
PIR Sensor
- Data: Connected to Digital Pin D4 on the Arduino UNO.
- VCC: Connected to the 5V supply from the Arduino UNO.
- GND: Connected to the common ground.
LED (Red and Yellow)
- Anode: Connected to the respective digital pins on the Arduino UNO through resistors.
- Cathode: Connected to the common ground.
Buzzer
- PIN: Connected to Digital Pin D9 on one Arduino UNO and Digital Pin D6 on the other Arduino UNO.
- GND: Connected to the common ground.
Resistor
- Pin1: Connected to the anode of the respective LEDs.
- Pin2: Connected to the 5V supply from the Arduino UNO.
Documented Code
Arduino UNO (Primary)
void setup() {
}
void loop() {
}
Arduino UNO (Secondary)
void setup() {
}
void loop() {
}
Note: The provided code snippets are placeholders and do not contain any functional code. They are meant to be replaced with the actual code that drives the circuit's functionality.