If what you're looking for is missing, call us — we'll help you find it

Robotics Projects

Obstacle-Avoiding Robot Car

A two-wheel robot that drives forward and turns away from obstacles.

Obstacle-Avoiding Robot Car — main component

Overview

An ultrasonic sensor on a servo scans ahead. Closer than a set distance, the robot stops, looks left and right and turns to the clearer side.

Build Steps

  1. Assemble the chassis

    Mount the motors, wheels and caster, and fix the battery holder underneath.

  2. Wire the driver

    Connect motors to the L298N, battery to its supply and logic pins to the UNO. Share ground.

  3. Mount the scanner

    Fix the HC-SR04 to the servo horn and wire the servo to a PWM pin.

  4. Write the avoid logic

    Drive forward until close, stop, scan both ways, then turn toward the larger distance.

Related Projects