Newbie question: Getting data beyond engine_speed and vehicle_speed

120 views
Skip to first unread message

Shaunak Kashyap

unread,
Oct 10, 2015, 11:15:14 PM10/10/15
to OpenXC
I've flashed vi-obd2-firmware-FORDBOARD-ctv7.0.1.bin onto my OpenXC dongle.  I've verified this by running:

$ openxc-control --format json version
Device is running version 7.0.1 (default)

When I run openxc-dump, I only see messages for vehicle_speed and engine_speed:

$ openxc-dump
{"timestamp": 1444533194.460386, "name": "vehicle_speed", "value": 0}
{"timestamp": 1444533194.480578, "name": "engine_speed", "value": 2785}
{"timestamp": 1444533196.50062, "name": "vehicle_speed", "value": 0}
{"timestamp": 1444533196.520832, "name": "engine_speed", "value": 2801}
{"timestamp": 1444533198.540729, "name": "vehicle_speed", "value": 0}
{"timestamp": 1444533198.560777, "name": "engine_speed", "value": 2820}
{"timestamp": 1444533200.580504, "name": "vehicle_speed", "value": 0}
{"timestamp": 1444533200.600678, "name": "engine_speed", "value": 2832}
{"timestamp": 1444533202.620508, "name": "vehicle_speed", "value": 0}
{"timestamp": 1444533202.640777, "name": "engine_speed", "value": 2840}
{"timestamp": 1444533204.660509, "name": "vehicle_speed", "value": 0}
{"timestamp": 1444533204.680753, "name": "engine_speed", "value": 2828}
...

How can I get other values such as steering_wheel_angle, etc.?

I've connected the OpenXC dongle to my 2005 Mazda 3.

Thanks!

Shaunak

Zac

unread,
Oct 13, 2015, 12:44:55 PM10/13/15
to OpenXC
Hi Shaunak,

Glad to hear you got it working properly!

Sounds like the Mazda only supports a few of the PID requests being made by that particular version of firmware. Steering wheel angle is not supported in the PID requests. The extended data set on Ford vehicles is made possible with the custom firmware at developer.ford.com. You can also see some documentation about it here: http://openxcplatform.com/vehicle-interface/firmware.html. You can certainly give that a shot, but I'm not certain there will be any similarity between Ford and Mazda during that year...

There may be other information online about specific CAN signal mappings on a 2005 Mazda which you could use to compile your own firmware? Anyone else on the group had experience with a Mazda?

- Zac

Cory Pruce

unread,
Nov 28, 2015, 11:20:47 AM11/28/15
to OpenXC
Hi Shaunak and Zac,

I have pretty much the same problem with a Ford 2016 Focus, except it also gives engine_load and engine_coolant_temperature. I see from the spreadsheet that 2015 is the latest supported model. However, I would've thought more messages would be carried over. I think I've tried most of the firmware releases since v6.0, but I don't know the type. Anyone have any suggestions?

Thanks!
Cory

Zac

unread,
Dec 1, 2015, 4:50:56 PM12/1/15
to OpenXC
Hi Cory, 

For the 2016 Focus, you'll want to download firmware Type 4 (or Type 4b if you have a manual transmission) from the Ford Developer website here: https://developer.ford.com/pages/openxc which should provide you with much for data on your Ford vehicle. You'll need to create an account, sign an agreement, and then you should have access to the compiled firmware files.

Give it a go and let us know if it works.

Thanks,
Zac

Cory Pruce

unread,
Dec 2, 2015, 1:31:26 AM12/2/15
to ope...@googlegroups.com
Thanks Zac! I'll try it soon

--
You received this message because you are subscribed to a topic in the Google Groups "OpenXC" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openxc/EFCPk5XJ4yY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openxc+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/openxc.
To view this discussion on the web visit https://groups.google.com/d/msgid/openxc/db5020b2-5b55-48e2-a54f-456903cc4a17%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Message has been deleted

Cory Pruce

unread,
Dec 7, 2015, 2:03:20 AM12/7/15
to OpenXC

Hi Zac,

Thanks a bunch, it worked great! One more thing though:

Now I am trying to send CAN messages. I've tried to send via the Send Can and Diagnostics request in the OpenXC enabler. However, I get no responses. Should I at least be getting something like 'message invalid'. I believe I may be encoding the payload incorrectly but also think that some responses should be given.

Specifically, I trying to play around with the fuel level. I see in https://en.wikipedia.org/wiki/OBD-II_PIDs#Mode_01 that the fuel level pid is 2F and after rgrep'ing in one of the vi-firmware sources, I saw 27 as the pid for fuel load.

I've tried inputting the pid as the message id and as the first 3 digits of the payload.

Any tips are greatly appreciated :D

Thanks again,
Cory

Zac

unread,
Dec 8, 2015, 12:54:37 AM12/8/15
to OpenXC
Hi Cory,

Unfortunately, the binary firmware files you downloaded from developer.ford.com do not support the CAN message sending functionality. You'd have to go back to the firmware releases on Github for that. Which firmware were you testing with?

- Zac

Cory Pruce

unread,
Dec 8, 2015, 4:37:31 AM12/8/15
to OpenXC
Thanks Zac! I'll try the firmware in the repo soon
Reply all
Reply to author
Forward
0 new messages