VW J533 (Gateway) Cable - nasser2019/CommaAi GitHub Wiki

◄ Home / ◄ Volkswagen / VW J533 Cable

Introduction

If you don't have LKAS (lane keeping assist/lane departure warning) then you need to interface with your car at the J533 CAN Gateway under the steering wheel and above the pedals. The role of the Gateway (also known J533) is the exchange of data between the CAN databus systems ('powertrain CAN databus,' 'convenience CAN databus' and 'infotainment CAN databus') and the conversion of diagnostic data from CAN databus systems. This is a central point where OpenPilot can intercept data to understand the car's state, and manipulate and insert data to impersonate the lane departure warning system to provide lateral control.

Technical Information

A source of some confusion is which direction data flows. In summary, the critical connection is for OpenPilot to intercept pins 7/17 of the J533 connector. The Comma Relay 'man-in-the-middles' the flow of data down the VW "extended CAN bus" (7/17 on the J533 connector). It's easy to wire it the wrong way around.

Data from pins 7/17 comes into CAN2 of the Black Panda from the socket end of the Aliexpress harness, gets manipulated by OpenPilot to add steering commands, and then is sent out CAN0 of the Black Panda to the J533 Gateway via the red plug of the Aliexpress harness. CAN0 and CAN2 are electrically connected together when the relay is operating in passthrough mode. So CAN0 should be connected to the red plug and CAN2 should be connected to the black socket.

Connector Gender

There is often confusion between whether connectors are referred to by the housing gender or the pin gender. Throughout this document connectors are referred to by pin gender, thus the RED J533 connector, despite being a 'plug' is a FEMALE connector because the individual contacts are female sockets

J533 Gateway location

j533 cable location Lay on your back in the driver's footwell with a torch. Get as close to the firewall as possible. Look up. You will see a (sometimes) red connector. (It's not red in this picture but it's in the red circle). This is the J533 connector. It is plugged into the J533 CAN gateway

J533 pinout for MQB Vehicles

j533_vw

J533 wiring diagram for White/Grey Panda [EOL, only for OpenPilot 0.7.9 and below!]

J533_Ver3 1_2019 11 20 Note: "Panda Female" is shown when looking at the back of the connector. To avoid confusion ensure the pin numbers on the connector match the pin numbers written on the panda itself.

Shopping list for white/grey panda harness

  1. Gateway Extension Adapter
  2. OBD Female Connector w/ Wires | check eBay/Aliexpress
  3. 60 ohm Resistor (5w or less)
  4. Cloth electrical harness tape

J533 wiring diagram for Comma 2/Black Panda (Requires Comma Power and Comma Relay!)

j533 black panda

Comma 2/Black Panda J533 harness with elimination of Comma Power (Requires Comma Relay!)

J533 dream harness

Combined Comma 2/Black Panda & White/Grey Panda J533 harness together

j533 harness diagrams together

Shopping list for Comma 2/Black Panda harnesses

  1. Gateway Extension Adapter
  2. MQB Development Harness
  3. Cloth electrical harness tape
  4. Electrical connectors (butt splices if you're brave or DSUB pins/sockets if you are non-committal)