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

Arduino UNO Motion-Activated LED System with PIR Sensor

View and Edit Project In Cirkit DesignerImage of Arduino UNO Motion-Activated LED System with PIR Sensor

Circuit Documentation

Summary

This circuit is designed to detect motion using an HC-SR501 PIR motion sensor and respond by lighting up an LED. The Arduino UNO microcontroller is used to process the sensor input and control the LED. A resistor is used to limit the current flowing through the LED.

Component List

HC-SR501 PIR Motion Sensor

Arduino UNO

LED: Two Pin (Red)

Resistor

Wiring Details

HC-SR501 PIR Motion Sensor

Arduino UNO

LED: Two Pin (Red)

Resistor

Code Documentation

Arduino UNO Code

File Name: sketch.ino

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

}

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

}

File Name: documentation.txt

This code initializes the Arduino UNO but does not contain any specific logic for the motion sensor or LED. You can add your custom logic in the setup() and loop() functions to handle the motion detection and LED control.