GithubHelp home page GithubHelp logo

cliffhangermobo's Introduction

Code for my race robot for competitive Indian robotics.

The 'robot' is a manually controlled vehicle that has good off-road capabilities, named "Cliffhanger". It uses a tank style steering, and uses tank treads (or belts). It is modular, and is also used for "pick and place" competitions.

This code handles the ESC functions, and includes active stabalisation, using a 6050 MPU.

In my case, I uploaded it to an ardunio pro mini, but any arduino should work, theoretically. The motor drivers used here are a pair of BTS7960 h-bridge modules, but any dual h-bridge can be used, so long as it can handle the current and voltage requirements.

Pinout

Inputs :

direction -> D2

throttle -> D3

MPU-6050 SDA -> A4

MPU-6050 SCL -> A5

Gain Pot -> A0

(Gain pot is used to set the gain value)

Outputs:

R_Rpwm -> D5

R_Lpwm -> D6

L_Rpwm -> D9

L_Lpwm -> D10

References Used

For reading rc signals using hardware interrupts : kelvineyeone : read pwm, decode rc receiver input and apply fail safe

For applying corrections using the MPU: MRSC_Adapter_3Pin_Servo

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.