Git Product home page Git Product logo

motolink's Introduction

View this project on CADLAB.io.

MotoLink

GitHub version Build Status Total alerts Language grade: C/C++

CAN Bus, K-Line interface for motorcycles, with a fuel/ignition mapper function.

Primarily intended to communicate with Honda HRC, Generic OBD, or Yamaha YEC ECUs.

This device will create a fuel map based on the various sensor inputs. You will then be able to alter the fuel using your prefered application. (HRC, TuneEcu, YEC, etc...)
This replaces auto tune fuel systems like Bazzaz or Power commander, except you still have to enter the changes manually. (import/export functions are planned)
Having a wideband exhaust sensor is mandatory. If your bike doesn't have one, you can use an innovate LC2.

Includes some digital (RPM, Speed), analog (TPS, ECT, Wideband), serial (Wideband), as well as a knock sensor input interface for tuning.

Alt text

File tree:

├── Board Eagle board files
├── Code
│   ├── App Motolink's MCU code
│   ├── Bootloader STM32 Bootloader
│   ├── ChibiOS-RT ChibiOS/RT submodule
│   ├── ChibiOS-Contrib ChibiOS Community drivers submodule
│   └── Common Common files for bootloader and Motolink
├── Drivers Windows drivers installer
├── GUI Motolink's graphical user interface
├── LICENSE GPL Licence file
└── README.md This readme file

You will need to init and update the git submodules (QtUsb, ChibiOS-RT, ChibiOS-Contrib) to build the projects.

Building

GUI

  • Make sure submodules are pulled
  • You will need python 2/3 in the path (system path or Qt Creator project setting PATH variable)
  • Go to the GUI folder
  • Unzip res/oxygen.zip
  • You need a binary file of the firmware, an empty one can be created for testing. (../code/app/build/motolink.bin)
  • You need to install QtUsb (https://github.com/fpoussin/QtUsb)
  • Open the project with Qt Creator
  • Compile and launch

App and Bootloader

  • You will need ARM's GCC toolchain
  • Make sure submodules are pulled
  • Go the de code/app or code/bootloader folder
  • For the app, you need to compile the DSP lib (just launch make in the dsp_lib folder)
  • make
  • For the bootloader, use your favorite stlink interface or my QSTLink2 app
  • Once the bootloader is running, you can update the app through the GUI

motolink's People

Contributors

fpoussin avatar cadlab-io[bot] 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.