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

Arduino UNO Based Motion-Activated LED System

View and Edit Project In Cirkit DesignerImage of Arduino UNO Based Motion-Activated LED System

Circuit Documentation

Summary of the Circuit

This circuit is designed to interface a PIR (Passive Infrared) motion sensor with an Arduino UNO microcontroller to detect motion and signal the presence of motion through a red LED. The PIR sensor is powered by the Arduino's 5V output and its ground is connected to the Arduino's ground. The sensor's output is connected to one of the Arduino's digital input pins. The LED is connected to another digital pin of the Arduino through a resistor to limit the current and protect the LED.

Component List

Arduino UNO

LED: Two Pin (red)

PIR/Motion Sensor

Resistor

Wiring Details

Arduino UNO

LED: Two Pin (red)

PIR/Motion Sensor

Resistor

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:

}

Note: The provided code is a template and does not contain any functional code to operate the circuit. The user is expected to write the necessary setup and loop functions to initialize the pins and handle the logic for the PIR sensor and LED.