Git Product home page Git Product logo

kls's Introduction

KLS

Code for interfacing with KLS motor controllers using Teensy 3.6 for the UVA Solar Car project.

Contents of this repository

  • KLS.h contains the class definition for KLS
  • KLS.ino contains an example Arduino program for using the library functions
  • WIP

KLS Motor Controller Library

Miscellaneous Notes

Some things we've learned:

  • Bit stuffing: for synchronization purposes, if there are 5 bits of the same value sent consecutively, then a bit of opposite value is inserted ("stuffed") after those 5 bits
    • See photos>bit_stuffing.PNG
  • Connecting Teensy 3.6 to MCP 2562 Transceiver:
    • See photos>Transceiver_Teensy_Connections.PNG
    • do not forget to ground the STBY pin

Some resources we've found helpful:

  • General CAN background (lower-level info starting around 11 minutes in)
  • Orion BMS Wiring information: Solar Car Google Drive: Orion BMS Main IO Connector, Orion BMS Wiring Guide
  • Orion BMS CAN information: Solar Car Google Drive: operational_manual.pdf, Orion BMS Software Utility
  • MCP 2562 Datasheet
  • Software for Orion BMS: Orion BMS Utility

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.