How to Build Obstacle Avoiding Robot For Beginners With Arduino Tutorial

Written by: roboguru

Step 1: Basic

This Tutorial is for anyone getting started with arduino. We will be building an obstacle avoiding robot that uses an ultrasonic HC SR-04 sensor to detect objects and 2 continuous (360 degree) servos wired to an external battery supply. This project uses an Arduino Uno without motor shield. The code is not mine, but not sure who to give credit to as I combined about 4 different sketches I found online.

Comment with any questions and sorry I said UMMM about 3000 times, I get nervous on camera...

All parts and code can be found here :

CH340g driver for chinese arduino uno can be downloaded here: