Code Monkey home page Code Monkey logo

velociryder's Introduction

Velociryder Code

This is the software for the Velociryder, a self balancing two wheeled skateboard, started as a side project and was then entered in Georgia Tech's 2011 InVenture Prize. We made it all the way to the finals!

Features

The code has the following features:

  • PD control (no integral, wasn't necessary)
  • Automatic startup via killswitch and level detection
  • Support for foot pedal steering, just as in the Velociryder
  • Use of accelerometer and gyroscope to obtain board level
  • Moving average and complementary filters for the sensors

It works alright.

Usage

Things you will probably need to tweak:

In velociryder.pde

  • Turning constants

In sensors.pde

  • GYROTORAD4, GYROTORAD, ACCLTORAD: These convert the sensor's ADC units to radians
  • ACCL_CENTER: This defines the center balance point of the board
  • sensor defines: The pins the sensors are on
  • OHSHITSWITCH: killswitch pin

In motors.pde

  • However you control your motors

This is Arduino source code. So put it in a directory called velociryder in your sketchbook, fiddle, program, and go!

Implementations

License

This code is released under the MIT License. If you do use it, send me a message, I want to see it!

velociryder's People

Contributors

aaronbot3000 avatar

Stargazers

 avatar  avatar Andrew Ash avatar  avatar Ankit Shankar avatar

Watchers

 avatar James Cloos avatar

Forkers

ranqingfa houcy

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.