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

Arduino-Controlled Motion-Activated Relay System with LED Indicator and DC Motor Control

View and Edit Project In Cirkit DesignerImage of Arduino-Controlled Motion-Activated Relay System with LED Indicator and DC Motor Control

Circuit Documentation

Summary of the Circuit

This circuit is designed to control a DC motor and an LED using an Arduino UNO microcontroller in response to signals from two HC-SR501 motion sensors. The Arduino UNO is powered by a 12V battery, which also supplies power to a 2-channel relay module. The relay module is used to switch the DC motor and the LED on and off. The motion sensors are powered by the 5V output from the Arduino and send signals to the Arduino's digital pins when motion is detected.

Component List

Arduino UNO

HC-SR501 Motion Sensor (x2)

Relay Module 2 Channel

LED: Two Pin (red)

DC Motor

Battery 12V

Wiring Details

Arduino UNO

HC-SR501 Motion Sensor

Relay Module 2 Channel

LED: Two Pin (red)

DC Motor

Battery 12V

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 control the circuit components. The user is expected to write the necessary code to read the motion sensor outputs and control the relay module accordingly.