Blind Spot Detection: Arduino + Distance Sensor + Matlab GUI

5,994

19

9

Introduction: Blind Spot Detection: Arduino + Distance Sensor + Matlab GUI

This project studies the feasibility of using an HC-SR04 ultrasonic distance sensor to provide an indication of a vehicle in the drivers blind spot. Please post questions below and I will be happy to answer.

Step 1: Test Ultrasonic Sensor and Matlab Integration

Mount single sensor to car exterior and monitor data using Matlab GUI.

Step 2: 3D Case for Device

3D print case with variable sensor angles.

  • Ignore the rough surface on the top. I still have to remove that support material.
  • The 2 holes may be slightly to far apart, which makes it extremely tight when sliding in the ultrasonic sensor.
    • Update: need to make holes closer together.

Be the First to Share

    Recommendations

    • Pocket-Sized Speed Challenge

      Pocket-Sized Speed Challenge
    • Super-Size Speed Challenge

      Super-Size Speed Challenge
    • Audio Challenge 2020

      Audio Challenge 2020

    9 Discussions

    0
    Elektrikas
    Elektrikas

    2 years ago

    Hello, do I need "Matlab gui" to make it?

    0
    MechZaari
    MechZaari

    Reply 2 years ago

    I think the GUI feature in matlab comes standard but I could be wrong. Try out the code and see if it works.

    0
    Elektrikas
    Elektrikas

    Question 2 years ago

    Hello, do I need "Matlab gui" to make it?

    0
    MuskanG4
    MuskanG4

    2 years ago

    matlab files are blank .. there is no code in them .. can you re-send the code for matlab gui

    0
    MechZaari
    MechZaari

    Reply 2 years ago

    I have uploaded a zip file with the files. Hopefully this solves the problem.

    0
    GabrielB158
    GabrielB158

    3 years ago

    Hello, I'm from Brazil and I have a question.
    If the car comes in the opposite direction the sensor will detect it?

    0
    MechZaari
    MechZaari

    Reply 3 years ago

    The sensor will detect a distance to any object in its field of view. So if you point the device in the forward direction then you will detect on coming vehicles or the distance to vehicles right in front of the car.

    0
    DanielJ256
    DanielJ256

    3 years ago

    Does it work well at highway speeds?

    0
    MechZaari
    MechZaari

    Reply 3 years ago

    I haven't tested it on the highway but since the relative speed between vehicles is always the same and small no matter the legal speed limit, it should work fine.?