The probleme is resolved
Without knowing what is connected to what I did not bother with the code. Sorry the word salad does not make any sense to me. Post it in the form of an annotated schematic. Be sure to show all connections, power, ground, power sources and any other hardware involved.
The problem is resolved
The basic design shown will not work. The Arduino does not do CAN very well, you need a CAN controller such as the MCP2515. I attached a simple diagram I found on the internet. It shows the CAN controller module which also has a CAN transceiver onboard. Cory Fowler has published his CAN mcp library which you can get here: GitHub - coryjfowler/MCP_CAN_lib: MCP_CAN Library He has code for a send and receive modules. A CAN node cannot operate alone on a bus, there must be another module to acknowledge any transmissions. A module cannot acknowledge itself unless in loop back mode but in that mode nothing is placed on the bus.
The probleme is resolved
Hi, @koro1
Welcome to the forum.
Have you Googled;
KWP1281 arduino
And found this;
Forget about your Nextion display for the moent, and get the comms protocol working.
Do not try and do too many things at once.
I gather the GitHub has a Wiki page with example code.
Tom....
The probleme is resolved
My mistake I did not realize you were connecting to an older system. Most connect through CAN which apparently is not available on your vehicle. When OBD was initially started many manufacturers did not use CAN and ISO9141 was the way they could communicate with diagnostic equipment.
Here is some interesting information: ISO9141 Code Meaning & How To Fix
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.