SELF OBSTACALES AVOIDING ROBOT
by COLOSSALC in Circuits > Arduino
1656 Views, 11 Favorites, 0 Comments
SELF OBSTACALES AVOIDING ROBOT
THIS IS A OSBTISCALES AVODING ROBOT THIS IS CREATING IN JUST 5 EASY AND SMALL STEPS
This might cost you 10 to 20 dollar or less
FIND a SHOP TO BUY STUFFS OR ONLINE,TO MAKE IT WORKING for the Code to Work You Have to Download the NewPing Library From This Link: Http://playground.arduino.cc/Code/NewPing#Download. and Then It Put in the Arduino Library Folder.
MATERIALS REQUIRED
YOU WILL NEED
*ARDIUNO
*JUMPER WIRES
*TYRES
*CHASSEY
*BREAD BOARD
*MOTORS (If you want to make a fast car you should take a motor of more than 500 rpm but it might crash while turning I advice you to take 250 rpm motors)
*ultrasonic sensor(HC-SR04)
*SOLDERING MACHINE ,SOLDER
*12V BATTERY
*DOUBLE SIDE TAPE
*L293D
ADJUST THE TIRES IN THE MOTORS WITH THE CHASSEY,ADJUST THE BREAD BOARD IN THE CHASSEYAND LEAVE SPACE FOR THE 12 V BATTERY,STICK THE 12V BATTERY WITH DOUBLE SIDE FOAM TAPE ,IF U WANT TO PUT 4 MOTORS JOIN THE 2 MOTORS IN FRONT WITH THE 2 MOTORS IN BACK IN SERIES BUT I AM GONA SHOW WITH 2 MOTORS ,STICK THE ADRIUNO IN FRONT OF TE BREAD BOARD ,STICK THE HC-SRO4 IN FRONT OF THE CHASSEY
THATS IT!
THIS WILL LOOK HARD BUT,DO IT CAREFULLY AND YOU WILL FIND IT EASY
1. Connect pin 1, 9 and 16 together and connect it to 5v
2. Connect pin 4,5,12,13 together and connect it Gnd
3. Connect your 1st motor to pin 3 and 6
4. Connect your 2nd motor to pin 11 and 14
5. Connect pin 15 to digital pin 8
6. Connect pin 10 to digital pin 9
7. Connect pin 2 to digital pin 10
8. Connect pin 7 to digital pin 11
9. Connect HC-SR04 Vcc pin to 5v and Gnd to Gnd
10. Trig to digital pin 3 and Echo to digital pin 2
11. Battery pack's positive to IC pin 8 and Battery pack's Gnd to Gnd
12. Connect 9v battery's positive to Vin on Arduino and Gnd to Gnd