Arduino UNO-Based IR Sensor Alarm System with LED and Buzzer
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit consists of an Arduino UNO microcontroller, a blue LED, a buzzer, and an IR sensor. The Arduino UNO serves as the central control unit, interfacing with the other components to create a functional system. The LED and buzzer provide visual and auditory feedback, respectively, while the IR sensor detects infrared signals.
Component List
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
LED: Two Pin (blue)
- Description: A blue light-emitting diode.
- Pins: cathode, anode
Buzzer
- Description: An electronic device that produces a sound.
- Pins: PIN, GND
IR Sensor
- Description: A sensor that detects infrared light.
- Pins: out, gnd, vcc
Wiring Details
Arduino UNO
- GND: Connected to the GND pins of the buzzer, LED, and IR sensor.
- D7: Connected to the PIN of the buzzer.
- D8: Connected to the cathode of the LED.
- 5V: Connected to the vcc of the IR sensor.
- D12: Connected to the out of the IR sensor.
LED: Two Pin (blue)
- cathode: Connected to D8 of the Arduino UNO.
- anode: Connected to the GND of the Arduino UNO.
Buzzer
- PIN: Connected to D7 of the Arduino UNO.
- GND: Connected to the GND of the Arduino UNO.
IR Sensor
- out: Connected to D12 of the Arduino UNO.
- gnd: Connected to the GND of the Arduino UNO.
- vcc: Connected to the 5V 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:
}
Additional 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.