Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to query OBD PIDs and wrap them into fake CAN PIDs #5

Open
timurrrr opened this issue May 16, 2021 · 2 comments
Open

Add ability to query OBD PIDs and wrap them into fake CAN PIDs #5

timurrrr opened this issue May 16, 2021 · 2 comments

Comments

@timurrrr
Copy link
Owner

See https://racechrono.com/forum/discussion/2039/obd2-splitter for a relevant discussion.

At least on Subaru BRZ / Toyota 86 / Scion FR-S, I was unable to find some PIDs (e.g. ambient temperature, fuel level) in the CAN bus broadcasts. As those are "slow" channels anyways, it's fine to just query them via OBD protocol, and send them to RaceChrono, pretending these are CAN messages.

@alancyau
Copy link

alancyau commented Jun 9, 2024

In RaceChrono, can you add your OBD reader under the "OBD-II readers" section in addition to the "Other devices" section? That way you can still query standard sensor data such as intake air temp.

image

@timurrrr
Copy link
Owner Author

timurrrr commented Jun 16, 2024

@alancyau The device would need to implement both the ELM327 (?) protocol and the RaceChrono DIY protocol. That might be a non-trivial amount of work, and I'm not 100% sure that RaceChrono will correctly handle connecting to the same device over two protocols at the same time.

Another option is to make the CAN reader translate "fake" CAN IDs to periodic OBD requests. I've successfully done that in the past, but didn't get around to publishing the code. I need to clean it up a bit first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants