Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino Nano IR Sensor Alarm System with Battery Power

View and Edit Project In Cirkit DesignerImage of Arduino Nano IR Sensor Alarm System with Battery Power

Circuit Documentation

Summary

This circuit consists of an Arduino Nano microcontroller, an IR sensor, a piezo buzzer, a 12V 5Ah battery, and a step-down converter. The IR sensor detects objects and sends a signal to the Arduino Nano, which then activates the piezo buzzer. The step-down converter is used to convert the 12V from the battery to 5V to power the Arduino Nano and other components.

Component List

  1. Arduino Nano

    • Description: A small, complete, and breadboard-friendly board based on the ATmega328P.
    • Pins: D1/TX, D0/RX, RESET, GND, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11/MOSI, D12/MISO, VIN, 5V, A7, A6, A5, A4, A3, A2, A1, A0, AREF, 3V3, D13/SCK
  2. IR Sensor

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

    • Description: A piezoelectric buzzer used to produce sound.
    • Pins: pin 1, pin 2
  4. 12V 5Ah Battery

    • Description: A 12V battery used to power the circuit.
    • Pins: 12v +, 12v -
  5. Step-down Converter (18V to 5V)

    • Description: A step-down converter used to convert 12V to 5V.
    • Pins: VIN, GND IN, GND OUT, VOUT

Wiring Details

Arduino Nano

IR Sensor

Piezo Buzzer

12V 5Ah Battery

Step-down Converter (18V to 5V)

Documented Code

Arduino Nano 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, component list, wiring details, and the code used in the Arduino Nano.