Original Reddit post

I’m planning to build my first mini autonomous robot car as a beginner robotics project. The goal is to make a small robot that can move independently, detect obstacles in front of it, and automatically change direction to avoid collisions. I’m planning to use the following components: Components I’m considering: Arduino Uno R3 – Main microcontroller (brain of the robot). HC-SR04 Ultrasonic Sensor – To detect obstacles and measure distance. L298N Motor Driver – To control motor direction and speed. 2 × DC Geared Motors – For movement. 2 × Wheels – Connected to the motors. 2WD Robot Chassis – To mount all the components. Caster Wheel – For balance and support. 2 × 18650 Rechargeable Batteries – Power supply. LM2596 Buck Converter – To regulate voltage. Jumper Wires and a Switch – For connections and power control. My planned working mechanism: The ultrasonic sensor will continuously measure the distance in front of the robot. When it detects an obstacle within approximately 20 cm, the Arduino will process the reading and instruct the motor driver to stop the motors, reverse slightly, and turn in another direction. submitted by /u/Maleficent-System869

Originally posted by u/Maleficent-System869 on r/ArtificialInteligence