HI. My AIT-LASRI YOUNES
this instructable is the written version of my "Arduino: How To Build An Obstacle Avoiding Robot" Youtube video that I've uploaded recently. I strongly recommend you to check it out.
So, without further ado, Let's get started !
Step1: Video Tutorial : Just 6 Minutes - Watch and Make.. :
Arduino Tutorial : How To Build An Obstacle Avoiding Robot
Watch carefully
Step 2: Materials : Necessary materials and equipments :
![Materials : Necessary materials and equipments](https://cdn.instructables.com/FXW/P84D/IRHV6DZV/FXWP84DIRHV6DZV.MEDIUM.jpg?width=614)
![Materials-2.jpg](https://cdn.instructables.com/F0Z/S4KV/IRHV6E1Y/F0ZS4KVIRHV6E1Y.SMALL.jpg?width=307)
![Materials-3.jpg](https://cdn.instructables.com/FT7/1949/IRHV6E21/FT71949IRHV6E21.SMALL.jpg?width=307)
* Arduino Uno R3
* Adafruit Motor Shield
*HC-SR04 Ultrasonic Module Distance Sensor for Arduino
* Tower Pro SG90 RC Mini Servo Motor
* Bracket / Holder for HC-SR04
* DC Motors and Wheels
* Bovine Wheel
* Plate or something like that
* Jumper
* Battery Buckle 9V
* Battery 9V
* Glue Gun or Cable Ties
Step 3: A Chassis and Sensor Connections :
![A Chassis and Sensor Connections](https://cdn.instructables.com/FK7/CY1P/IRHV6E44/FK7CY1PIRHV6E44.MEDIUM.jpg?width=614)
![Connections-1.jpg](https://cdn.instructables.com/FY6/MBWJ/IRHV6DXO/FY6MBWJIRHV6DXO.MEDIUM.jpg?width=387.040693221048)
![vlcsnap-2016-08-05-03h16m30s110.jpg](https://cdn.instructables.com/FLW/I0T9/IRHV6E67/FLWI0T9IRHV6E67.SMALL.jpg?width=226.95930677895197)
![vlcsnap-2016-08-05-03h16m51s207.jpg](https://cdn.instructables.com/FDB/761N/IRHV6E68/FDB761NIRHV6E68.SMALL.jpg?width=204.66666666666663)
![vlcsnap-2016-08-05-03h17m05s620.jpg](https://cdn.instructables.com/FR0/0AU9/IRHV6E8B/FR00AU9IRHV6E8B.SMALL.jpg?width=204.66666666666663)
![vlcsnap-2016-08-05-03h17m26s304.jpg](https://cdn.instructables.com/FWR/7FV4/IRHV6EAE/FWR7FV4IRHV6EAE.SMALL.jpg?width=204.66666666666663)
![vlcsnap-2016-08-05-03h17m35s198.jpg](https://cdn.instructables.com/FX3/CS22/IRHV6ECJ/FX3CS22IRHV6ECJ.MEDIUM.jpg?width=614)
A Chassis
Attaching The Arduino To The Chassis
Connecting The Sensor To The Arduino
Step 4: Motors and Motor Shield Connections :
![Motors and Motor Shield Connections](https://cdn.instructables.com/FLU/IRFP/IRHV6DXS/FLUIRFPIRHV6DXS.MEDIUM.jpg?width=614)
![vlcsnap-2016-08-05-03h19m06s664.jpg](https://cdn.instructables.com/FD6/QQVY/IRHV6ECK/FD6QQVYIRHV6ECK.MEDIUM.jpg?width=345.6583543352345)
![vlcsnap-2016-08-05-03h20m40s428.jpg](https://cdn.instructables.com/FQ6/W0OW/IRHV6EEN/FQ6W0OWIRHV6EEN.SMALL.jpg?width=268.3416456647654)
![vlcsnap-2016-08-05-03h40m59s945.jpg](https://cdn.instructables.com/FY0/6I13/IRHV6EGQ/FY06I13IRHV6EGQ.SMALL.jpg?width=204.66666666666663)
![vlcsnap-2016-08-05-04h10m09s212.jpg](https://cdn.instructables.com/F95/0ZM5/IRHV6EKU/F950ZM5IRHV6EKU.SMALL.jpg?width=204.66666666666663)
![vlcsnap-2016-08-05-04h10m44s632.jpg](https://cdn.instructables.com/F4V/Y2O8/IRHV6ENX/F4VY2O8IRHV6ENX.SMALL.jpg?width=204.66666666666663)
Attaching The Motor Shield To The Ardunio
Step 5: Programming The Robot :
![Programming The Robot](https://cdn.instructables.com/F8S/DMCO/IRHV6EQZ/F8SDMCOIRHV6EQZ.MEDIUM.jpg?width=614)
EmoticonEmoticon