Code Monkey home page Code Monkey logo

tiltometer's Introduction

LOGO

Table of Contents

Introduction
Requirements
Installation
Resources
Contributing
Licensing

Foreword: I wrote this program in High School. Enough said. Use at your own risk. Goodluck and enjoy.

Introduction

I came to develop this program mostly out of summer boredom. I drive a Jeep and thought it would be cool to install a touch screen coupled with a raspberry pi inside. I plan on affixing a rear view camera to my tailgate, and using some
open source libraries like OpenCV to achieve some obstacle recognition in the future. Feel free to submit a pull request and make changes or improvements as you see fit. I will review and merge valuable changes. Please see the section on contributing for more details and guidelines. Anyways, thanks for visiting and enjoy!

Requirements

This is the list of parts I used and how to configure them:

  • Raspberry Pi Model 3
  • LSM9DS0 IMU
  • 7" Raspberry Pi Touch Screen
  • A soldering iron
  • 5V power supply for the Raspberry Pi

Installation

  1. Clone repository: git clone https://github.com/djcopley/Tiltometer.git
  2. Enable i2c - in terminal type sudo raspi-config then navigate to Interfacing Options > I2C > Yes
  3. Install dependencies: sudo apt install i2c-tools libi2c-dev python-smbus python3.4 pip3 install PyGObject
  4. Make start_tiltometer executable chmod +x start_tiltometer.sh

You will most likely need to solder the headers to your LSM9DS0 IMU module so start by doing that. Next we can start wiring the IMU to our Raspberry Pi.

Raspi-Pinout

For our purposes we need to find the I2C headers. It's the same for both models of the Raspberry Pi so if you have a different model, no need to worry. Pin 3 and 5 are our I2C headers(GPIO 2 and 3). Connect power to 3.3v, SDA to GPIO 2, SCL to GPIO 3 and GND to... well ground of course.

After all this, you're ready to go! Just go to your Tiltometer directory and type ./start_tiltometer.sh.

Resources

LSM9DS0 Data Sheet

Finding Pitch and Roll

Gtk Python Documentation

Contributing

I would like to keep this as simple as possible so all I will say here is be courteous and use common sense and there won't be any issues. In case there is any discrepancy or you would like more information, please check out the full set of guidelines here. Any contribution is much appreciated!

Thank you! ๐Ÿ˜

Licensing

This project falls under the purview of the MIT License.

tiltometer's People

Contributors

djcopley avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ammarnoman

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.