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

Arduino UNO Motion-Activated LED and Buzzer System with Battery Power

View and Edit Project In Cirkit DesignerImage of Arduino UNO Motion-Activated LED and Buzzer System with Battery Power

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller, a red LED, a rocker switch, a buzzer, a power jack, a battery case, a resistor, and an HC-SR501 motion sensor. The circuit is designed to control the LED and buzzer based on the input from the motion sensor and the rocker switch.

Component List

  1. 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
  2. LED: Two Pin (red)

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

    • Description: A switch that can toggle between two states.
    • Pins: 1, 2
  4. Buzzer

    • Description: A piezoelectric buzzer.
    • Pins: PIN, GND
  5. Power Jack

    • Description: A jack for connecting a power source.
    • Pins: POSITIF, NEGATIF
  6. Battery Case

    • Description: A case for holding batteries.
    • Pins: +, -
  7. Resistor

    • Description: A 220 Ohm resistor.
    • Pins: pin1, pin2
    • Properties: Resistance = 220 Ohms
  8. HC-SR501 Motion Sensor

    • Description: A motion sensor module.
    • Pins: GND, OUT, VCC

Wiring Details

Arduino UNO

LED: Two Pin (red)

Rocker Switch

Buzzer

Power Jack

Battery Case

Resistor

HC-SR501 Motion Sensor

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 document provides a comprehensive overview of the circuit, including the components used, their wiring details, and the code for the Arduino UNO microcontroller.