Skip to content

SISPRO is a Raspberry Pi / Python based GPS & video tracking system.

License

Notifications You must be signed in to change notification settings

vitorbari/sispro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SISPRO

SISPRO is a Raspberry Pi / Python based GPS & video tracking system.

Table of Contents

Introduction
Parts
Schematics
Installation
Roadmap
References
Contributing

Introduction

SISPRO is a tracking system for Raspberry PI which uses a Raspberry Camera Module and a Adafruit Ultimate GPS Breakout. It records videos over multiple files and writes .srt (subtitle) files with GPS data (Lat / Long; Km/h; etc). The system also writes a log file with lots of information.

It has 2 operating modes:

  • Recording mode: Records the videos and text files (srt and log)
  • Watching mode: Plays the recorded videos in loop

It has been only tested on a Raspberry Pi Model B running Raspbian.

Parts

Schematics

Sispro Schematics

Installation

Assuming you have Raspbian installed and internet connection:

Pre Installation Steps

  1. Firmware Update
$ sudo rpi-update
  1. Update the list of available packages and their versions
$ sudo apt-get update
  1. Install newer versions of the packages you have
$ sudo apt-get upgrade

Installation Steps

  1. Enable Camera Module
$ sudo raspi-config
  1. Install dependencies
$ sudo apt-get install python-picamera python3-picamera python-rpi.gpio gpsd gpsd-clients python-gps python-smbus
  1. GPS Setup

Edit /boot/cmdline.txt - When the Pi is booting all the debug messages are sent to the serial port. This can be useful for some purposes but we need to turn this off to free the port for our own use.

$ sudo nano /boot/cmdline.txt

And change:
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
to:
dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait

Edit /etc/inittab - To disable the login feature we can run the following command to edit the inittab system file

$ sudo nano /etc/inittab

And change:
T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
to:
#T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100 4. Grab the source code

$ cd ~  
$ wget https://github.com/vitorbari/sispro.git

Optional Post Installation Steps

  1. Camera Module Test
$ raspistill -o image.jpg
  1. GPS Module Test
$ cgps -s
  1. Start Sispro at boot time (TODO)
  2. Enable Auto Login
$ sudo nano /etc/inittab

And change:
1:2345:respawn:/sbin/getty 115200 tty1
to:
#1:2345:respawn:/sbin/getty 115200 tty1

Under that line add:
1:2345:respawn:/bin/login -f pi tty1 </dev/tty1 >/dev/tty1 2>&1 4. Enable HDMI Hotplug

$ sudo nano /boot/config.txt

And change:
hdmi_force_hotplug=0
to:
hdmi_force_hotplug=1

Roadmap

  • Add RTC
  • Add Inertial sensors
  • Add ODB2 Connectivity

References

Contributing

If you would like help implementing a new feature or fixing a bug, fork the repo and submit a pull request!

About

SISPRO is a Raspberry Pi / Python based GPS & video tracking system.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages