Giter VIP home page Giter VIP logo

Comments (8)

fpoussin avatar fpoussin commented on August 16, 2024

It's an interface for aftermarket motorcycle (but works for cars too) ECU. It allows for auto mapping while looking for TPS, RPM, AFR and knock.
There's a LIN interface for Hondas, a TTL for Yamaha/Kawasaki, RS232 for the innovate wideband, a CAN interface for some other brands but I haven't tested it (except hardware) so it's unused.
It does not modify the ECU directly as I have no mean to do it.

Keep in mind this is still in early stages.

from motolink.

 avatar commented on August 16, 2024

Can you please elaborate on CAN firmware capabilities? I am interested to learn more about specific protocols.

Is it untested because you do not have a CAN vehicle to test with? My truck has CAN OBD.

from motolink.

fpoussin avatar fpoussin commented on August 16, 2024

Right now there is none as my race bike ECU (Honda) does not communicate at all during run, I use signals from the sensors directly. It have plans to test it on a modern Yamaha (MT-10) which uses a specific protocol. I also need to test on OBD CAN. (maybe on a simulator)

from motolink.

 avatar commented on August 16, 2024

Can you point me at your OBD code?

from motolink.

fpoussin avatar fpoussin commented on August 16, 2024

As I said it's not there yet (except basic init of the peripheral)
Sadly I don't have CAN on my car...

You can have a look at some other code here: https://github.com/ObdDiag-Net/allpro/blob/master/src/adapter/obd/isocan.cpp
https://github.com/brendan-w/python-OBD/blob/master/obd/protocols/protocol_can.py
https://en.wikipedia.org/wiki/OBD-II_PIDs#CAN_.2811-bit.29_bus_format

It's mostly a matter of setting the CAN filters, sending PIDs an reading the answer, it should be easy.

This might help:
http://www.chibios.com/forum/viewtopic.php?t=1695

from motolink.

 avatar commented on August 16, 2024

Thank you! Will check these links.

PS: just to be pedantic - the way I read it sounded as "not tested".

from motolink.

fpoussin avatar fpoussin commented on August 16, 2024

You're welcome!

I'll add some code for the CAN protocols soon but I have no way to test it on a car, I also need to get an adapter to reverse engineer Yamaha's protocol.

from motolink.

fpoussin avatar fpoussin commented on August 16, 2024

I added some basic canbus code here if you want to check.
https://github.com/fpoussin/MotoLink/blob/master/code/app/canbus.c

from motolink.

Related Issues (2)

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.