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

Arduino-Controlled Obstacle-Avoiding Robot with IR and Ultrasonic Sensors

View and Edit Project In Cirkit DesignerImage of Arduino-Controlled Obstacle-Avoiding Robot with IR and Ultrasonic Sensors

Circuit Documentation

Summary

This circuit is designed to control a DC motor using an Arduino UNO microcontroller and an L298N DC motor driver. It also includes an ultrasonic sensor for distance measurement and two IR sensors for object detection. The circuit is powered by a 12V battery, which also supplies power to the motor driver. The Arduino UNO manages the inputs and outputs, interfacing with the sensors and controlling the motor driver.

Component List

Arduino UNO

L298N DC Motor Driver

12V Battery

Ultrasonic Sensor

DC Motor

IR Sensor

Wiring Details

Arduino UNO

L298N DC Motor Driver

12V Battery

Ultrasonic Sensor

DC Motor

IR 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:

}

This code is a template and does not contain any functional code. It is expected that the user will fill in the setup() function with initialization code and the loop() function with the main logic of the application.