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

Can we use custom file instead of CAN Bus for receiving data from our vehicle? #132

Open
NKumar1612 opened this issue Nov 24, 2022 · 3 comments

Comments

@NKumar1612
Copy link

Issue

Use a file which collects data from vehicle and use data from there instead of CAN Bus.

Hardware

Device Connection Method Screen Mobile Device Android Auto Version
Raspberry Pi 3b USB Cable Wave Share 15.6" Touch screen Realme Narzo 30Pro v.8.4.624324-release

Installation Method: Install.sh

Description of problem:

I am working on a custom vehicle as off now, and whilst I haven't got any issues yet, I was wondering if there's a way instead of using CAN Bus protocol, if I could just use a Custom file. From where I would collect my vehicle's Speed-o-Meter, Charge-Meter, ODO Meter, and the other vehicle data.

Expected Result:

Able to pipe data through a file, as an alternative to just using CAN Bus.

Problem-relevant steps to reproduce:

I couldn't find any, since I'm just asking for a suggestion. I don't have any issue with the application as of now and it is working well.

Traceback (if applicable):

Nothing as of now.

Additional info:

Nothing as of now.

@icecube45
Copy link
Member

Can you walk through how you envision this working (on a high level)? I'm not sure if I'm fully understanding what the ask is.

@NKumar1612
Copy link
Author

Ok, so the thing is that we're actually building a caravan from the scratch over here. When we've been building it we haven't used an OBD board but instead have created a Python Script from where it will be connected to all of the sensors within the vehicle and the data will be pipelined from there to the program. The sensors being the speedometer, GPS device, Charge-o-meter, ODO meter, etc.

I have gone through the code and also the application, but I've only seen a choice for collecting and using data through CAN Bus, like in the images below:

2022-11-30-132323_1024x600_scrot
2022-11-30-132305_1024x600_scrot_002

So i would just like to know, if there's a possibility in which instead of CAN Bus, can i pipeline the data through the python script and not through SocketCAN or ELM327 CAN Bus interfaces?

@robert5974
Copy link
Collaborator

Have you already tested the python script? If you aren't using an OBD board, what type of network are the messages formatted for? Are the messages from the vehicle custom as well?

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

3 participants