I want to be able to use the OBD2 port on different vehicles to communicate with my Apalis Ixora board. Im aware that Apalis boards have CAN interfaces. They also use socketcan and can-utils via Torizon OS. OBD2 implements various protocols including CAN as well SAE J1850M, ISO 9141-2, and ISO 14230-4. Does the Apalis boards & Torizon OS have any builtin features that would support these aditional protocols. I was thinking of using the UART RS232 connections on the board. Would this be appropriate? Would I need to use an external microcontroller to translate the OBD signals such as the ELM 327?
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello!
The Apalis Ixora board, running Torizon OS, is well-equipped with built-in CAN interfaces, making it compatible with the OBD2 protocol that utilizes CAN. This setup allows for direct communication with vehicles using OBD2 over CAN, thanks to Torizon OS’s support for socketcan and can-utils.
However, for other OBD2 protocols such as SAE J1850M, ISO 9141-2, and ISO 14230-4, the Apalis Ixora board does not offer native support. To communicate using these protocols, you would likely need an external microcontroller or an OBD2 adapter like the ELM 327. These devices can translate the signals from these protocols into a format that the Apalis board can understand.
Regarding the use of UART RS232 connections on the Apalis Ixora board, they are not suitable for direct OBD2 communication. OBD2 primarily requires specific protocols that are not natively supported over UART. Therefore, an external microcontroller, such as the ELM 327, would be necessary to translate OBD signals to a format that the Apalis board can process effectively.
In summary, while the Apalis Ixora board can communicate with OBD2 systems using CAN, additional support for other OBD2 protocols will require external hardware like the ELM 327. The UART connections alone may not suffice for OBD2 communication without additional translation capabilities.
Best regards,
Toradex AI Assistant.
Please, also check if these links can help you solve your problem:
Can someone confirm if the AI response is accurate.
Hey @Waunye11,
It looks like the protocols you have mentioned have specific electrical requirements that would need conditioning before being read via a linux machine.
I found an open source project that does something very similar to this. That can be used as a reference. Freediag - Vehicle Diagnostic Suite
-Eric
Thanks I will look into this project