这是indexloc提供的服务,不要输入任何密码
Skip to content

CANbus for Openpilot

dzid edited this page Feb 26, 2025 · 1 revision

In order for openpilot to be able to control vehicle speed, it needs to access to ignition status, PT-CAN and F-CAN. (F-CAN doesn't need to be connected with VO540 )

Full CAN connections are here. But we don't need it all.

Connection requirement:

Car F_Can PT_Can
DCC VO544 Y Y
CC VO544 o Y
E9x with DCC Y Y

It is possible to code in DCC in many

Where can CAN be accessed?

There are many places, but this one is best ;)

PT-CAN and Ignition status are spliced in a big wire-loom in the driver footwell corner above footrest plastic cover. image image

"Splices" are just wires twisted together and covered with a plastic sleeve. All CANbuses have two splices - CAN Low and CAN High.

We need to add wire to each one of them and route it to the harness.

F-CAN is available as splices exposed in a wire-loom below front of the driver door frame (under footwell floor lining). (This is for LHD car. Verify CANbus placement for RHD) image

F-CAN was harder to access as it required popping door step panel and lifting carpet floor a bit while adding a new wires to splice pair.

Harness

Comma Harness Box can be used, but also it can be easily DIY'ed using a resistor, jumpers and screw terminals, as currently we don't need switching between the busses (this may change for ACC option). The resistor can be probably between 100-400 ohms.

Schematic breakoutboard

And finally, BMW CAN mapping is here.

And on the car side is here.

Clone this wiki locally