openxc / vi-firmware

OpenXC-compatible firmware for PIC32 and LPC1768
http://vi-firmware.openxcplatform.com
BSD 3-Clause "New" or "Revised" License
197 stars 105 forks source link

Is there any ability to provide power to OBD pins via the openxc standard? #403

Closed rollsch closed 6 years ago

rollsch commented 6 years ago

Is there any ability in the openxc firmware specification to provide power to other IO pins?

Eg provide 5-10v on a separate OBD pin?

This is something that is specified in J2534, however J2534 is a windows only standard meaning to port J2534 functionality to Android etc you must rewrite each windows driver.

emarsman commented 6 years ago

No, this isn't supported easily. We do use some GPIO. However, none of them are routed to the OBD-II pins. Also, would have to check what the current limit would be and it would need to be level shifted to get above 5V.

If you want to dig deeper, here is all the MCU config:

https://github.com/openxc/vi-firmware/tree/master/src/platform/lpc17xx

And here is the schematic. You would need to add a connection to the OBD-II pins:

http://vi.openxcplatform.com/electrical/sources/index.html

I will close this issue.