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

Decode CAN messages from the included data dictionary #5

Open
monkbroc opened this issue Aug 23, 2016 · 7 comments
Open

Decode CAN messages from the included data dictionary #5

monkbroc opened this issue Aug 23, 2016 · 7 comments

Comments

@monkbroc
Copy link
Member

Use the data dictionary format in https://community.carloop.io/t/data-format-for-data-dictionaries-and-can-traces/74/3 to automatically decode CAN messages on the device.

@paradoxewan
Copy link

Hi, thanks for starting this. I think that if we work together with a common architecture then its going to be a lot faster to develop for as many vehicles as possible and take a little bit of the learning curve out of the way for new users. From my side, i think we need to nail a specification for the data dictionary, and logging data. With this in mind, i have started working on a couple of tools. 1 "CAN_PACK" this will be a GUI tool for making JSON files (or other format) for the creation of dictionary format. 2. CAN_REPLAY - the start of some replay tools for replaying log files either back onto the can network, or to generate stats or triggers for messages. This will probably be based around CANopen.pcap so that we can easily use tools like wireshark, which would seem to be on way of using the related data. Ill update here with some github links when i have crafted v1 of the tools.

@alan707
Copy link
Member

alan707 commented Aug 29, 2016

That is a fantastic idea @paradoxewan ! We can use our open source CAN Simulator as the hardware to replay the logged signals! Also, we are working towards adding SocketCAN capability - have you played around with that?

@kg6hxm
Copy link

kg6hxm commented Oct 12, 2016

I've used the Freematics Hardware adapter with success in the past. Anyone seen that? I'd be game helping with this project.

https://github.com/stanleyhuangyc/ArduinoOBD

@alan707
Copy link
Member

alan707 commented Oct 12, 2016

This looks very interesting, @kg6hxm care to share more details?

@kg6hxm
Copy link

kg6hxm commented Oct 12, 2016

I've got the UART adapter hooked into my Linkit ONE, and a 9DOF adapter. I'm mining GPS, DOF, and car data for sub-second analysis to figure out driving habits. I hope to be able to fingerprint the driver of my carpool based on how they drive. A also hope to map out roads for how people drive on them, and find more fuel efficient routes.

@monkbroc
Copy link
Member Author

This kind of project is exactly what we had in mind when creating Carloop! Are you on the community.carloop.io forum yet? I'd like to talk more about how far along you are with the project.

@kg6hxm
Copy link

kg6hxm commented Oct 13, 2016

I am not on the community yet. I'm still trying to understand where you are all with your project. As far as I can see, you hooked up the Particle boards to the CAN bus, and did a proof of concept. Is this a valid assessment?

I'm always willing to help inspire creativity, so don't think my response is downplaying the potential of what this project could become.

I also wonder about the use of the Photon for this, since I need to powercycle my Photon to connect to wifi. Is there a way to ask it to reconnect without that manual cycle? Also, how's the connection do being hidden so far down in the car? My build was being made to be mounted on the dash for better GPS, cell, and wifi signal strengths.

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

4 participants