Skip to content

dayt0n/Autom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autom

A data recording and video capturing module written in Python for a Chevy Volt.

Requirements

Hardware

  • CANtact OR CANable
  • Raspberry Pi or other small computer/mini PC running Linux (if you use a Pi, you may want to also get a UPS for it as well for data backup operations after the car is turned off)
  • Any secondary PC at home that is always on (preferably running some Linux distribution, but not necessary)
  • A reasonably priced good to high quality webcamera. Personal recommendation: Microsoft LifeCam HD-3000

How To Use Recording

  1. Setup an SSH server on a home computer that will always be on.
sudo apt-get install openssh-server

(Optional) For those who would like to use public/private key authentication to use SFTP

  • Create a public/private key pair on the car PC to use to login to your SSH server instead of using a password
ssh-keygen -b 4096
  • Transfer the public key to the remote home computer
ssh-copy-id username@hostIP
  1. Create backup folder in home directory on the remote computer.
mkdir ~/backup/
  1. Specify the server IP, username, password, port number (default is 22 for SSH), and make sure ifPassword = True and set sshPass in config.cfg.

(Optional) For those using a private key

  • Specify the server IP, username, private key location, port number, and make sure ifPassword = False in config.cfg.
  1. On PC for car installation, clone a copy of Autom anywhere.
  2. Add gnome-terminal -e "path/to/Autom/run.sh" to startup applications on the car PC. If you are using Ubuntu, you can do this by cd'ing to the root directory of this project and executing the following command:
echo -e "[Desktop Entry]\nType=Application\nName=Autom\nExec=gnome-terminal -e \"`pwd`/record/run.sh\"\nIcon=\nComment=\nX-GNOME-Autostart-enabled=true" >> ~/.config/autostart/Autom.desktop
  1. Make sure car PC has the home network as a known network.
  2. Plug in CANtact/CANable into vehicle OBD-II port and then into car PC usb port.
  3. Attach webcamera to front of rearview mirror to get a view of the road, then plug into car PC.
  4. Attach car PC to vehicle power source.
  5. Power on the PC and the car and start driving.

About

Driving data collector and processor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published