Introduction: Obstacle Avoider Robot Using Arduino Uno and IR Proximity Sensor
Follow the Steps to create a Obstacle Avoid Robot Using Arduino Uno And IR Proximity Sensor
Step 1: Parts Required
1) Arduino Uno R3 (Clone will do)
2) IR Proximity Sensors ( 2 Recommended)
3) Chassis With Motors
4) Breadboard
5) L293D Motor Driver Board
6) 9V Batteries with battery Caps (2 battery and 2 caps)
7) Jumper Cables
Step 2: Connections of IR Proximity to Arduino
Join Jumper cables from 2 IR proximity Sensors.
Connections From IR Proximity To Arduino
1) Connect the 5V Jumper wire from IR Proximity Sensor to 5V on the Arduino. (Use a breadboard for connecting multiple jumpers)
2) Connect the GND Jumper wire from IR Proximity Sensor to GND on the Arduino. (Use a breadboard for connecting multiple jumpers)
Step 3: Connecting IR Sensors and Motors to Arduino UNO
1) Connect the IR Data Pins That We Left In Step 2 On The Breadboard.
2) From The Breadboard Connect The Jumper To Analog pin 3
3) Connect 1st Set of IN Pins From L293D To Digital Pin 2 and 3
4) Connect 2nd Set of IN Pins From L293D To Digital Pin 4 and 5
Step 4: Connecting L293D Motor Driver Board to Chassis
In L293D there are 4 Input Pins and 4 Output Pins. You Need To Connect The Output Pins To Motors And Input Pins To Arduino. There Will Also Be A Set Of Pins + and - Which Need To Be Powered By External Battery
Step 5: Programming Arduino Using Windows/MAC
Upload the following Program On your Arduino UNO.
Usual Mistakes Made:
1) Select the Correct Port Before Uploading the Program.
Attachments
Step 6: Powering the Circuit
Now Power the Arduino And L293D With A External 9V Battery.
9 Comments
3 years ago
Sir could you please share the codes
Reply 3 years ago
Under Step 5 you can find the program ir_OBS.ino
That is an Arduino IDE File
3 years ago
What are IN Pins???
Reply 3 years ago
IN Pins are the input pins on your L293D motor driver.
7 years ago
sar can you kindly add the links to purchase components online
Reply 4 years ago
PARA: El pendejo al que le estoy dando reply, ni siquiera el condenado puso como armar todo de un momento a otro, sale todo ya armado como si todos apareciera por arte de magia y usted pendejo hijo de un barco lleno de treinta mil putas cree que va a poder armar toda esta mierda?
7 years ago
Nice work! Do you have a video of it working?
Reply 7 years ago
Check the last instruction. Video is uploaded.
Reply 7 years ago
TVE vídeo file seems to be corrupt :(