Skip to content

QUAFFquaff/OBDDetect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OBDDetect

driving detection and producting

Environment Setting:

Hardware

    1. Install the Freematics device to car.
    1. To pair the Freematics with RPi, then run the following command in a terminal: sudo rfcomm bind 0 24:0A:C4:06:50:2A 2 This will bind the Freematics device to /dev/rfcomm0 on channel 2.  
      Afterwards, /dev/rfcomm0 can be read like any serial device. (this step can be run with shell script when pi startup)
    1. Start OBD run the EventDetect.py

Software

required python3.5

  • 1.install python packages needed in program:

    • xlrd
    • xlwd
    • xlutils
    • pip install --user numpy
    • pip install --user scipy or sudo apt-get install python3-scipy
    • pip install --user pandas
    • pip install --user joblib
    • pip install --user -U scikit-learn
    • pip install --user pymysql
    • pip install --user gensim
    • pip install --user stop_words
    • pip install --user nltk
    • pip install --user fuzzywuzzy
  • 2.startup bluetooth

    • set up shell script for bluetooth
      run chmod 777 testboot.sh
      add command to rc.local at /etc/rc.local
    • Or copy shell script to /etc/init.d
      run sudo update-rc.d script defaults 95
      sudo systemctl enable bluetoothconn.service

Development Knowledge

Team Name:

  • Quaff

  • Daben

About

driving detection and producting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published