Autonomous Robotics

Obstacle Avoiding Robot

Category Autonomous Robotics
Core Tech Arduino, HC-SR04, L298N Driver
Timeline Winter 2025
Obstacle Avoiding Robot with Arduino and HC-SR04 sensors

Project Overview

The Obstacle Avoiding Robot is a fully autonomous four-wheeled robot capable of navigating environments without any human input. Powered by an Arduino UNO and equipped with three HC-SR04 ultrasonic sensors — front, left, and right — the robot detects obstacles within a 30 cm threshold and makes real-time steering decisions to avoid collisions. The L298N dual motor driver handles independent wheel speed control for smooth turns.

Key Features & Implementation

Challenges Solved

Ultrasonic sensors occasionally returned spurious zero readings due to narrow-angle reflections on smooth surfaces. A median-of-three reading filter was implemented per sensor cycle, discarding outlier values before any decision is made — drastically improving navigation reliability on tiled floors and glass surfaces.