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

Arduino UNO Controlled DC Motor with IR Sensors and Relay Switching

View and Edit Project In Cirkit DesignerImage of Arduino UNO Controlled DC Motor with IR Sensors and Relay Switching

Circuit Documentation

Summary of the Circuit

This circuit is designed to control a DC motor using an Arduino UNO microcontroller in conjunction with an L298N DC motor driver. The circuit also includes two IR sensors for input, two pushbuttons for manual control, and a 1-channel 5V relay module for additional power control mechanisms. The Arduino UNO is responsible for processing the inputs from the IR sensors and pushbuttons to control the motor's operation through the motor driver.

Component List

Arduino UNO

DC Motor

L298N DC Motor Driver

1 Channel 5V Relay Module

Pushbutton (x2)

IR Sensor (x2)

Wiring Details

Arduino UNO

DC Motor

L298N DC Motor Driver

1 Channel 5V Relay Module

Pushbuttons

IR Sensors

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. The user is expected to write the necessary code to read inputs from the IR sensors and pushbuttons and control the DC motor through the motor driver.