Blind Spot Detection: Arduino + Distance Sensor + Matlab GUI


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.



    • Oil Contest

      Oil Contest
    • Planter Challenge

      Planter Challenge
    • Make it Move Contest

      Make it Move Contest

    We have a be nice policy.
    Please be positive and constructive.



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


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

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

    1 reply

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

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

    1 reply

    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.

    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.?