Home · FAQ · New Posts · My Posts · PMs · Search · Members · Members Map · Calendar · Profile · Donate · Register · Log In |
Home > In Car Electronics > ELM327 Mini BT For Freel2 |
|
|
parrafin23 Member Since: 24 Jun 2013 Location: Norway Posts: 57 |
Wel.. my Interface is allmost complete, I just need to find a switch that will work. The wires are for MsCan and HsCan.
|
||
25th Dec 2014 1:49 pm |
|
Tradewind 35 Member Since: 04 Dec 2012 Location: Cornwall Posts: 441 |
I just got to get me one of them.
|
||
25th Dec 2014 6:35 pm |
|
iain cooper Member Since: 27 Aug 2007 Location: north of Glasgow Posts: 1989 |
when does the "fun" part come in ?
|
||
26th Dec 2014 9:15 am |
|
shamus5178 Member Since: 28 Sep 2012 Location: Ashford Posts: 197 |
Sorry to sound a bit of a tech biff, but what's this for?
|
||
26th Dec 2014 9:55 am |
|
alex_pescaru Member Since: 12 Mar 2009 Location: RO Posts: 4642 |
parrafin23 wants to collect information from the car's CAN buses and show them on a big screen device.
|
||||
26th Dec 2014 2:19 pm |
|
parrafin23 Member Since: 24 Jun 2013 Location: Norway Posts: 57 |
Its allmost done, I just need the switch now.
|
||||||||
27th Dec 2014 7:29 am |
|
alex_pescaru Member Since: 12 Mar 2009 Location: RO Posts: 4642 |
Yes, I've logged the traffic on CAN buses, but I've used an USB based logging device.
|
||
27th Dec 2014 7:56 am |
|
parrafin23 Member Since: 24 Jun 2013 Location: Norway Posts: 57 |
Im scratching this Idea.. goin for the Arduino UNO Rev3 with CAN Bus Shield v1.2
|
||
15th May 2016 9:46 am |
|
chicken george Member Since: 05 Dec 2007 Location: N. Yorks Posts: 13290 |
anyone else whilst respecting the tech , thinks that the huge screen in teslas and some Volvos looks absolutely ridiculous?
|
||
15th May 2016 10:10 am |
|
rubot Member Since: 15 May 2016 Location: San Diego, California Posts: 2 |
I think we are after the same result here. I have started. I'm using an Arduino based hardware solution for the can-bus sniffing. Actually, its a Sparkfun Redboard which is an Arduino Uno clone. I buy a lot of components from www.sparkfun.com so I wanted to try their redboard. Anyway, in addition to using the redboard I am using their Can-Bus Shield https://www.sparkfun.com/products/13262. To set everything up I followed sparkfun's tutorial here: https://learn.sparkfun.com/tutorials/can-bus-shield-hookup-guide with the exception of using the GPS, LCD, and code. There is a parts list in the tutorial. I wrote code using a different canbus library because I think there might be an issue with 29-bit IDs in sparkfun's code library. Although, i'm not 100% sure just yet since I am still struggling with understanding the IDs. I could use guidance here. Everything considered the setup has been very easy. I've had what I think is some success capturing can-bus messages. Right now my arduino writes them to SD card on the shield instead of sending them over USB or wireless to my PC. I think both connections are much slower than the canbus and there is a potential for missing messages or receiving improperly formatted messages. When I've run the capture for a few minutes I remove the SD card and plug it in to my PC. Then open the file in excel for analysis: I saw Alex's list of ECU IDs over here: http://disco3.co.uk/forum/topic102801.html. I expected I would find these in my log file. At least from the ECUs on the high speed bus (more on that later). However, what I found was that there are many many more IDs in the log file. Of the thousands of messages I recorded only three or four ECU IDs from the list were represented (note the ABS and FRONT LIGHTS in the SRC ECU column of my screenshot). I'm not too sure what to make of this. I don't think there are more ECUs than what Alex listed. There might be something wrong with my code (very likely) or some kind of encryption at work... Also, it might be that the message IDs don't necessarily correspond to ECUs but more likely each function of an ECU (ECUs might have several...?) has it's own ID. So back to the hardware for a second. One of the most notable limitations of my hardware setup is that the canbus shield can only interface with one canbus at a time. Right now, based on the components I purchased using the list in Sparkfun's tutorial I can only connect to the high speed canbus. I have not attempted yet but I think it would not be too difficult to rewire a plug to interface with the medium speed canbus. So the future solution would need either multiple Arduino/canbus shield devices attached or a custom shield that can connect to more than one canbus at a time. Currently, I am reviewing my code, which is very short, for errors and exploring other code libraries that might work better. I think Alex has had success looking at traffic from other applications for clues. I only have one other piece of diagnostic software and it doesn't interface with all ECUs. If I can spy on the traffic I might get a better understanding of what a proper message looks like. Going forward, I think the key here is understanding the IDs as a whole. From my limited understanding I believe that the message "ID" contains both the source and destination IDs but also a Parameter Group Number. I think the Paramter Group Number is specific to the information we are looking for. I mean to say that PGN #### corresponds to pressure in the air reservoir or something like that. The information here http://tucrrc.utulsa.edu/DecodingDataDumpIDs.html is what is leading me down this path although it does not pertain specifically to Land Rover. Decoding the actual data should be fairly simple from there... Comments, suggestions? Am I headed the wrong way? What can I share with everyone to help? |
||
15th May 2016 5:28 pm |
|
alex_pescaru Member Since: 12 Mar 2009 Location: RO Posts: 4642 |
Congrats for what you've achieved!!
|
||
15th May 2016 8:08 pm |
|
parrafin23 Member Since: 24 Jun 2013 Location: Norway Posts: 57 |
So you do liggin to a SD car and view it on the computer when done.. how about adding a LCD so you can minitor whats goin on? I didnt order one, but after reading the SparkFun forums a bit I see now that its vise to get one.
|
||
17th May 2016 7:45 am |
|
rubot Member Since: 15 May 2016 Location: San Diego, California Posts: 2 |
Yes, I'm sending it to SD card. When we sort out what messages contain the information we need then that would be the time to look at using something like an LCD. Right now, for sniffing, there are just too many messages occurring too quickly for the LCD to be useful.
uh, yeah... The topic is relevant to FL2 owners but specific to D3 at this point. It would probably be best to move it back over to the D3 forum... See here for the new thread, i hope everyone can still stay involved: http://www.disco3.co.uk/forum/topic145750.html |
||
17th May 2016 7:32 pm |
|
|
All times are GMT |
< Previous Topic | Next Topic > |
Posting Rules
|
Site Copyright © 2006-2024 Futuranet Ltd & Martin Lewis