Self Driving Car Using Arduino(autonomous Guided Vechicle)

13,672

79

15

About: electronics hobbist

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

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.

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!!!!!!!

Share

    Recommendations

    • Audio Contest 2018

      Audio Contest 2018
    • Metalworking Contest

      Metalworking Contest
    • Fix It! Contest

      Fix It! Contest

    15 Discussions

    0
    None
    prasad25689

    Question 6 weeks ago

    Can we enter destination coordinates using mobile or any remote?

    0
    None
    prasad25689

    6 weeks ago

    Can we change destination data in every trial???

    0
    None
    thaitam0401

    Question 5 months ago

    can u share your library files in your process?

    0
    None
    Tamil mahan

    Question 6 months 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
    None
    JoerryM

    10 months ago

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

    0
    None
    fungkyk

    10 months 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'

    0
    None
    akshayJ43

    1 year ago

    Can you upload the whole vedio now please

    0
    None
    sak4ankris

    Reply 1 year ago

    @present destination should be add to program as coordinate

    0
    None
    ankrissak4

    Reply 1 year ago

    thank you.

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

    0
    None
    anish73

    1 year ago

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

    1 reply
    0
    None
    sak4anish73

    Reply 1 year ago

    just enter your lat and lon in programm