Skip to content

embeddedTS/park-ranger

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

park-ranger

An example application for TTL sensor, garage parking assistant with TS-7553-V2 and Maxbotix Ultrasonic Rangefinder (HRLV-MaxSonar-EZ1 MB1013). The LCD screen of the TS-7553-V2 enclosure displays range in feet and instructs driver on when to pull forward, slow down, and stop. The sonar sensor is setup to use TTL-level UART by soldering the jumper on the back of the PCB and connected to /dev/ttymxc6 (Pin 10 on the HD1 header, see manual).

Image of Breadboard Wiring Diagram

Installation

All these steps should be done on the TS-7553-V2 as root.

  1. Install cairo dev headers

    apt-get install libcairo2-dev

  2. Clone repository

    git clone https://github.com/embeddedTS/park-ranger.git

  3. Change into project directory

    cd park-ranger

  4. Compile program

    make

  5. Install to /usr/local/bin/

    make install

Running

A systemd service file has been provided as an example for starting park-ranger automatically, to be copied to /etc/systemd/system/ and enabled using systemctl enable park-ranger.service. This is how you'd do it manually.

  1. Ensure keypad drivers are disabled

    rmmod gpio_keys

    echo “blacklist gpio_keys” > /etc/modprobe.d/fbdev-blacklist.conf

  2. Ensure LCD screen drivers have been installed

    modprobe ts-st7565p-fb

  3. Setup LCD screen using helper program

    lcd-helper

  4. Run the program

    park-ranger

About

An example application for TTL sensor, garage parking assistant with TS-7553-V2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published