Git Product home page Git Product logo

dashcam's Introduction

Automated OBDII car Dashcam system


What is Dashcam?

A fully automated Dashcam system written for the Raspberry pi in bash and Python3. It will record trips and upload these to a server when Wifi is available

Preview MoreImages

Work in progress

Software

Python3

  • mysql connector
  • json
  • requests
  • pySerial
  • pynmea2

Linux packages (Raspberry pi)

  • rfcomm
  • mysqladmin
  • WiringPi
  • gpsdate (Pre compiled ARM binary included) Link
  • v4l-utils (For disabling autofocus on Logitech C920, optional)
  • ffmpeg
  • mysql server

For automatic launch on boot crontab -e

# m h dom mon dow command 
@reboot sudo screen -dm -S cd /home/pi/ && sudo bash main.sh

Bluetooth Pairing

Pair your OBDII device using bluetoothctl before launch

Database

  • Create a new database called Dashcam
  • Import the included sql file into Dashcam

Extra Create a folder called "recording" in the project root

Hardware

Components

  • Raspberry PI
  • Logitech C920
  • NEO-6M GPS module (Serial)
  • Relay
  • ~12V to 5V converter
  • ELM327 OBDII Bluetooth adapter

Connections

  • GPS serial TX/RX to Raspberry pi UART RX/TX
  • Camera to any USB port
  • Relay connected to auxiliary power of car (on when key in aux position) to Raspberry pi GPIO pin 9 (reset) and ground

I experienced issues when using the onboard bluetooth of the Raspberry pi 3 (Kernel panics) I could not figure this issue out so for now I use a cheap Bluetooth USB dongle

dashcam's People

Contributors

luukesselbrugge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.