I’d like to read at least RPM, TPS and ECT from the diagnostic connector of my bike (Yamaha Tracer 900 2019).
I’ve made a simple board with Arduino Nano v3 and the MCP2515 CAN module… my first issue was that the interrupt pin seems not work correctly (is always LOW) but I bypass the problem for the moment just checking the ret value of the read function to understand if something is ready to read. I’ll try with a new MCP2515 module.
Now I can receive lot of CAN messages from my bike but how to retrieve the RPM. TPS and ECT?
It seems to me that the TPS could be send with ID 0x216 (bytes 1 and 3?), the ECT with 0x20A (bytes 2 and 3?) and the RPM with 0x280 (bytes 5 and 6?) but it’s just a feeling looking at the screen while playing with the bike…
In attach the received messages… can you please help me?
Is there another way to retrieve the info I need? Asking via OBDII protocol?
If yes can you help me with the Arduino code?
00_run_ok.txt (334 KB)