MotoLink
MotoLink copied to clipboard
more documentation please?
I've read the title page https://github.com/fpoussin/MotoLink but I am still not sure what this is and what is the status of this project.
Is this an auto-tuning software with an stm32 device as a CAN bridge? What CAN protocols do you currently support?
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.
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.
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)
Can you point me at your OBD code?
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
Thank you! Will check these links.
PS: just to be pedantic - the way I read it sounded as "not tested".
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.
I added some basic canbus code here if you want to check. https://github.com/fpoussin/MotoLink/blob/master/code/app/canbus.c