Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

Arduino UNO-Based IR Sensor Alarm System with LED and Buzzer

Image of Arduino UNO-Based IR Sensor Alarm System with LED and Buzzer

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller, an IR sensor, a buzzer, and an LED. The circuit is designed to detect an object using the IR sensor and respond by activating the buzzer and LED.

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

IR Sensor

  • Description: An infrared sensor used to detect objects.
  • Pins: out, gnd, vcc

Buzzer

  • Description: An electronic device that emits sound when activated.
  • Pins: PIN, GND

LED: Two Pin (red)

  • Description: A red light-emitting diode.
  • Pins: cathode, anode

Comment

  • Description: Placeholder for comments in the circuit.
  • Pins: None

Wiring Details

Arduino UNO

  • 5V: Connected to vcc of the IR sensor.
  • GND: Connected to gnd of the IR sensor, GND of the buzzer, and cathode of the LED.
  • D10: Connected to anode of the LED.
  • D9: Connected to PIN of the buzzer.
  • D2: Connected to out of the IR sensor.

IR Sensor

  • vcc: Connected to 5V of the Arduino UNO.
  • gnd: Connected to GND of the Arduino UNO.
  • out: Connected to D2 of the Arduino UNO.

Buzzer

  • GND: Connected to GND of the Arduino UNO.
  • PIN: Connected to D9 of the Arduino UNO.

LED: Two Pin (red)

  • cathode: Connected to GND of the Arduino UNO.
  • anode: Connected to D10 of the Arduino UNO.

Code Documentation

Arduino UNO Code

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

}

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

}

Additional Documentation


This document provides a comprehensive overview of the circuit, including the components used, their connections, and the code running on the Arduino UNO.