Obstacle Avoider Robot Using Arduino Uno and IR Proximity Sensor

19,104

91

9

Introduction: Obstacle Avoider Robot Using Arduino Uno and IR Proximity Sensor

About: Founder of Spark Innovations https://www.facebook.com/sparkinnovationshyd

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.

Step 6: Powering the Circuit

Now Power the Arduino And L293D With A External 9V Battery.

Step 7: You Are Now Done With the Project

Be the First to Share

    Recommendations

    • Make it Glow Contest

      Make it Glow Contest
    • First Time Author Contest

      First Time Author Contest
    • PCB Challenge

      PCB Challenge

    9 Discussions

    0
    Rajdeep Mistry
    Rajdeep Mistry

    7 months ago

    Sir could you please share the codes

    0
    sanchitagarwal2
    sanchitagarwal2

    Reply 7 months ago

    Under Step 5 you can find the program ir_OBS.ino
    That is an Arduino IDE File

    0
    marianebabe
    marianebabe

    1 year ago

    What are IN Pins???

    0
    g3holliday
    g3holliday

    Reply 9 months ago

    IN Pins are the input pins on your L293D motor driver.

    0
    Ramkumar paidi
    Ramkumar paidi

    4 years ago

    sar can you kindly add the links to purchase components online

    0
    ORTIZ LOAIZAG
    ORTIZ LOAIZAG

    Reply 2 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?

    0
    wold630
    wold630

    4 years ago

    Nice work! Do you have a video of it working?

    0
    sanchitagarwal2
    sanchitagarwal2

    Reply 4 years ago

    Check the last instruction. Video is uploaded.

    0
    AndreaD20
    AndreaD20

    Reply 4 years ago

    TVE vídeo file seems to be corrupt :(