Self Driving Car Using Arduino(autonomous Guided Vechicle)

23,203

83

21

Introduction: Self Driving Car Using Arduino(autonomous Guided Vechicle)

About: electronics hobbist

fully autonomous cars, without steering wheels or brake pedals are most hot topic in 2017 .so i decided make something like that but it was soo challengive !

in my project self driving car or autonomous guided vehicle is a self-piloted vehicle that does not require an operator to navigate and accomplish its tasks. My autonomous vehicle is presented which employs a GPS Receiver Module to capture the GPS signal and determine the current location of the vehicle. The system is controlled using an Arduino uno, a magnetic compass sensor and DC motors. The compass sensor determines the vehicle direction by continuously providing measurement of heading. The micro-controller drives the DC motors to move the vehicle to a manually entered destination coordinates. Obstacle detection and avoidance are achieved by incorporating a ultrasonic sensor to measure the distance between the vehicle and the obstacle, and avoidance is implemented by the micro-controller. The designed autonomous vehicle is able to navigate itself independently from one location to a user-prescribed location, using GPS-location data. The vehicle measures the bearing angle, and changes its heading towards the destination and repeats the process as it moves to the destination. The performance of the vehicle is enhanced with a capability to detect and avoid unexpected obstructions placed in its path.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Components Required

Step 2: Schematic

  • Attach all components as per in schematic
  • make sure that compass should be isolated from electronic and magnetic field
  • power up the ckt with 9v source

Step 3: Attach All Components to Rover

  • attach all component to rover
  • power up the circuit
  • keep in mind keeep compass away from all other electronic components

Step 4: Programming

for programming u need

  • arduino ide
  • usb cable

follow the link for code

Step 5: Result

self driving car run smoothly but accuracy of gps is very low

watch test video test one

full video comming soon

thanks!!!!!!!

Arduino Contest 2016

Participated in the
Arduino Contest 2016

Be the First to Share

    Recommendations

    • Backyard Contest

      Backyard Contest
    • Silly Hats Speed Challenge

      Silly Hats Speed Challenge
    • Arduino Contest 2020

      Arduino Contest 2020

    21 Discussions

    0
    sunil9901
    sunil9901

    Question 1 year ago on Step 5

    sir,where is the software or applications..???

    0
    NarayanH3
    NarayanH3

    Answer 6 months ago

    I also have the same doubt

    0
    Karthikstark5
    Karthikstark5

    10 months ago

    Bro I gave connections correct but it didn't follow the coordinates. And it only move single step and not working...after every reset button ,it give output,it does not work in loop.

    0
    han zhe
    han zhe

    Reply 10 months ago

    Hi! I'm facing the same problem as yours. Have you solve the problem? If you do please share it with me. Appreciate your help.

    0
    sunil9901
    sunil9901

    Question 1 year ago on Step 1

    How to enter destination location

    0
    prasad25689
    prasad25689

    Question 1 year ago

    Can we enter destination coordinates using mobile or any remote?

    0
    prasad25689
    prasad25689

    1 year ago

    Can we change destination data in every trial???

    0
    thaitam0401
    thaitam0401

    Question 2 years ago

    can u share your library files in your process?

    0
    Tamil mahan
    Tamil mahan

    Question 2 years ago

    hey...

    can u share library files for hmc588l

    its showing like

    autonomous_car1:146: error: 'class HMC5883L' has no member named 'getHeading'

    mag.getHeading(&mx, &my, &mz);

    0
    JoerryM
    JoerryM

    2 years ago

    Where do i get those libraries. I'm getting fatal error upon compiling.

    0
    fungkyk
    fungkyk

    2 years ago

    Hello..
    can you share the library for the compass sensor?
    thank you

    my problem like this:

    sketch_jan22a.ino: In function 'void setup()':
    sketch_jan22a:51: error: 'class HMC5883L' has no member named 'initialize'
    sketch_jan22a.ino: In function 'void loop()':
    sketch_jan22a:73: error: 'class HMC5883L' has no member named 'getHeading'
    sketch_jan22a:102: error: 'class HMC5883L' has no member named 'getHeading'
    sketch_jan22a:133: error: 'class HMC5883L' has no member named 'getHeading'
    sketch_jan22a:144: error: 'class HMC5883L' has no member named 'getHeading'

    2
    akshayJ43
    akshayJ43

    2 years ago

    Can you upload the whole vedio now please

    0
    ankris
    ankris

    3 years ago

    how the destination point is given?

    0
    sijah_ak
    sijah_ak

    Reply 3 years ago

    @present destination should be add to program as coordinate

    0
    ankris
    ankris

    Reply 3 years ago

    thank you.

    can we change the destination according to our need by mean of a continous communication with the system ?

    0
    anish73
    anish73

    3 years ago

    Can you please guide me on how to enter the inputs in code ?

    1
    sijah_ak
    sijah_ak

    Reply 3 years ago

    just enter your lat and lon in programm

    0
    vishnumaiea
    vishnumaiea

    3 years ago

    Well done bro. =^ Waiting for a video now ;)