Forum Rule: Always post complete source code & details to reproduce any issue!
-
-
I'm not a canbus expert, but I have some advice.
The way to think about canbus is that it's very similar to ethernet. Ethernet is a transport, and to do anything useful with it, you have to know the protocol that is being used. So, you'll need to form a packet that tells the ECU which piece of information you want to be sent. And then, you'll have to know how to get that information out of the response packet.
Here's an example project that might help: https://github.com/skpang/Teensy_CAN-Bus_ECU_reader and the corresponding hardware for it: http://skpang.co.uk/catalog/teensy-c...32-p-1507.html
The magic happens in this file: https://github.com/skpang/Teensy_CAN...ecu_reader.cpp Starting on line 25, the message is stuffed with the correct values, and then sent. Then starting on line 49, the response is unpacked and used.
Now - I can't tell based on the images that you posted if your ECU is using a similar protocol. As I said I'm not a canbus expert so I don't know if there are industry standards for this stuff, so maybe the project that I linked to will just work straight away on your ECU. But anyway, hopefully that gives you an idea of how to proceed.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules