← Projects

Embedded Systems

Autonomous Obstacle Avoidance Vehicle

Ultrasonic Sensing · Arduino IDE · Embedded Systems

Overview

Microcontroller Arduino Uno
Distance Sensor HC-SR04 Ultrasonic
Language C++
Detection Range 2 – 400 cm
Behavior Real-time avoidance
Architecture Non-blocking (millis)
TODO — Demo video & wiring diagram

Demo video (~30 s) of the vehicle navigating an obstacle course. Annotated wiring diagram (Fritzing or hand-drawn). Place at public/assets/projects/obstacle-avoidance-robot/.

400 cm

Maximum sensor range

2 cm

Minimum detection range

3 states

State machine states

Problem

Approach

Analysis

TODO — Annotated code snippet

Key loop showing the non-blocking millis() pattern, state machine transitions, and sensor read logic. Syntax-highlighted code block.

TODO — Wiring diagram

Schematic showing HC-SR04 trigger/echo pin connections, motor driver wiring, and power distribution.

Result

Assembled Arduino obstacle avoidance vehicle with ultrasonic sensor mounted
Assembled vehicle with HC-SR04 ultrasonic sensor

Reflection