Giter VIP home page Giter VIP logo

mhr17_ice_controller's Introduction

MHR17 ICE Controller

Code for Clutch (DC Brushless Motors) and Throttle (Servo)

Serial

Serial output of debuging is on TXD0(Pin 14 EXT1)
And for Serial USB the Yellow pin is the TX
To run screen to read Serial messages from USB line:
screen /dev/tty.usbserial-FT94THM6 9600

Clutch Control:

Motor On/Off: PA1 (Pin 25 EXT1)
    01: On
    00: Off

Motor Direction Control: PA2 (Pin 26 EXT1)
    Direction defined facing motor
    CAN:
        Message: 0 CW (Depress)
        Message: 1 CCW (Release)

Motor Position: PD0 (Pin 26 EXT2@) (Uses interupt INT0)
    Make sure to disable pull after enabling sei(); global interupt

Throttle Motor:

Uses PWM for servo 
Ouput on: PB5 (Pin 29 EXT2)

Shifting Control:

Calibration with Hall Sensors:
Upshift: 185 Increments
Down Shift: Negative (-) 165 Increments
Half Shift: 140 Increments

CW disengages clutch

CCW engages clutch

mhr17_ice_controller's People

Contributors

stenny1 avatar yabskbd avatar

Watchers

James Cloos avatar  avatar Tyler Siegel avatar  avatar  avatar Saad Shaik avatar

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.