/DAPrototype

Prototype driver assist based on Raspberry Pi hardware

Primary LanguageC++GNU General Public License v3.0GPL-3.0

    <a class="btn-octicon tooltipped tooltipped-nw"
       href="https://windows.github.com"
       aria-label="Open this file in GitHub Desktop"
       data-ga-click="Repository, open with desktop, type:windows">
        <svg aria-hidden="true" class="octicon octicon-device-desktop" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M15 2H1c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h5.34c-.25.61-.86 1.39-2.34 2h8c-1.48-.61-2.09-1.39-2.34-2H15c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm0 9H1V3h14v8z"/></svg>
    </a>

    <!-- '"` --><!-- </textarea></xmp> --></option></form><form accept-charset="UTF-8" action="/nategreco/DAPrototype/edit/master/README.md" class="inline-form js-update-url-with-hash" data-form-nonce="98edccfe8496e23db9dd6daac1cc21b22fe630b1" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /><input name="authenticity_token" type="hidden" value="Xxg+MZ2gaWbK/x79SvOasrFMR/OtOR6YhneYzXq2UvHyrXHXdxic8k2Q9TFyRKGyG20oO6GQx6e75jDCMJZNnA==" /></div>
      <button class="btn-octicon tooltipped tooltipped-nw" type="submit"
        aria-label="Fork this project and edit the file" data-hotkey="e" data-disable-with>
        <svg aria-hidden="true" class="octicon octicon-pencil" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path fill-rule="evenodd" d="M0 12v3h3l8-8-3-3-8 8zm3 2H1v-2h1v1h1v1zm10.3-9.3L12 6 9 3l1.3-1.3a.996.996 0 0 1 1.41 0l1.59 1.59c.39.39.39 1.02 0 1.41z"/></svg>
      </button>

Raspberry Pi Driver Assist

A standalone driver assist unit based on Raspberry Pi hardware and OpenCV libraries

Daytime driving conditions

Nighttime driving conditions

Rainy driving conditions

This project is an attempt to create a standalone, windshield mounted driver assist unit with the following functionality:

  • LDW (Lane Departure Warning)
  • FCW (Forward Collision Warning)
  • Tailgate warning
  • Driver pull-ahead warning
  • Dashcam functionality (with GPS & timestamp overlay)

Installation

Debian (Jessie):

todo

Hardware

Part List:

  • Raspberry Pi v3
  • 8gb (or greater) class 10 SD card
  • Rasbperry Pi v2.1 camera with cable
  • LidarLite (v3) LIDAR rangefinder
  • Adafruit Ultimate GPS
  • GPS antenna and adapter
  • 5" HDMI 800x480 screen
  • Flexible HDMI elbow
  • Buzzer
  • Female DC barrel jack connector
  • Cigarette adapter with male DC barrel connector
  • 68000000uF 16V capacitor
  • Power LED
  • 3D printed or other fabricated housing
  • Custom made breadboard
    • DC:DC buck poswer supply, 12V to 5V
    • 40-pin female header
    • 12V relay
    • Various resistors, diodes, male and female header pins

Third party libraries

Requirements:

  • OpenCv 3.1.0
  • Raspicam 0.1.3
  • WiringPi 2.29

Release History

  • 0.0.1
    • Work in progress

Meta

Nathan Greco – LinkedInNathan.Greco@gmail.com

Distributed under the GNU GPL 3.0 license. See LICENSE for more information.

https://github.com/nategreco/github-link