Welcome to Tesla Motors Club
Discuss Tesla's Model S, Model 3, Model X, Model Y, Cybertruck, Roadster and More.
Register
  • We just completed a significant update, but we still have some fixes and adjustments to make, so please bear with us for the time being. Cheers!

Diagnostic port

opoipi

Member
Aug 30, 2014
13
0
Europe
Thanks supersnoop,
I've already bought it from Fasttech but I need just the connector.
For this reason maybe if I'd know its name (I think it's a standard one) I'll be able to find it on the market.
 

spaceballs

Member
Sep 17, 2013
629
99
Sammamish

markwj

Moderator, Asia Pacific
Apr 10, 2011
4,583
1,179
Hong Kong
diagportconn.jpg


In the roadster, there are four CAN buses. CAN0 on the right, and CAN3 on the left. Pinouts are H at the top, L at the bottom. As indicated, there are +12V permanent and GND pins available two. We use CAN0 (as indicated) for our work on the roadster, as that is the bus with the instrument stuff on it.

Plus is
TE Connectivity / AMP 173851-2

and matching pins are
173631-1

Socket is
TE Connectivity / AMP 174933-1

and matching pins are
173645-1
 

jeremyz

Member
Apr 5, 2013
257
94
.
Mark, What kind of traffic goes over each of the CAN buses? Why is there a need for four separate CAN buses? Can you see all the traffic that is going between the ESS and the PEM from the CAN buses that are available in the diagnostic connector? Thanks.
 

markwj

Moderator, Asia Pacific
Apr 10, 2011
4,583
1,179
Hong Kong
Mark, What kind of traffic goes over each of the CAN buses? Why is there a need for four separate CAN buses? Can you see all the traffic that is going between the ESS and the PEM from the CAN buses that are available in the diagnostic connector? Thanks.

It is common practice in modern automobiles to separate the different parts of the car out from each other by putting them on different CAN buses.

For example, on the roadster, the buses are split:

* Power Train (PEM, body control, parking lock, gear selector, ABS)
* Energy Storage (HVAC, Battery x13)
* Driver Feedback aka Instrumentation (Instrument Cluster, Touchscreen, TPMS)

The idea is that a faulty component on the Driver Feedback bus shouldn't affect the power train (for example). Also, the bandwidth of each bus is kept to just what is required by the modules on that bus.

All three buses go into the Vehicle Management System (VMS). That does have some capabilities for reflecting information on one bus onto another, but in general each bus has its own unique messages and information.

Yes, that connector provides access to all the above three buses.

Firmware-Processors_diagramER.png
 

jeremyz

Member
Apr 5, 2013
257
94
.
Thanks for the detailed explanation. Do you know what kind of micro-controller is in the VMS? I didn't realize that the brains of the roadster was outside of the PEM.
 

markwj

Moderator, Asia Pacific
Apr 10, 2011
4,583
1,179
Hong Kong
Do you know what kind of micro-controller is in the VMS?

Someone mentioned it recently, somewhere on the interwebs, but I can't remember who/what/where. I seem to remember them saying it was a 4 CAN bus ST microcontroller, but not certain.
 

wiztecy

Active Member
Apr 29, 2012
2,905
563
Santa Cruz, California, United States
Last edited:
  • Helpful
Reactions: markwj

baks

Member
Feb 15, 2016
25
0
Ukraine
It is common practice in modern automobiles to separate the different parts of the car out from each other by putting them on different CAN buses.

For example, on the roadster, the buses are split:

* Power Train (PEM, body control, parking lock, gear selector, ABS)
* Energy Storage (HVAC, Battery x13)
* Driver Feedback aka Instrumentation (Instrument Cluster, Touchscreen, TPMS)

The idea is that a faulty component on the Driver Feedback bus shouldn't affect the power train (for example). Also, the bandwidth of each bus is kept to just what is required by the modules on that bus.

All three buses go into the Vehicle Management System (VMS). That does have some capabilities for reflecting information on one bus onto another, but in general each bus has its own unique messages and information.

Yes, that connector provides access to all the above three buses.

View attachment 102973
Sorry, for the Model S also?
 

markwj

Moderator, Asia Pacific
Apr 10, 2011
4,583
1,179
Hong Kong
Sorry, for the Model S also?

Design of the Model S is slightly different, but based on the same model. Multiple buses. In the Model S, the instrumentation uses ethernet, and a CAN-to-ethernet gateway is used to bridge the two.
 

markwj

Moderator, Asia Pacific
Apr 10, 2011
4,583
1,179
Hong Kong
Does anybody know where to buy an OBD-II adapter for the Roadster?

Why bother? There is nothing much of interest on that connector.

The K-line is connected to TPMS. Any standard OBDII bluetooth/wifi/usb ELM327/STN1110 should be able to read that.

The CAN bus is connected to VMS, supposedly at 1MHz. OBDII dongles won't handle that speed; you'll need a dedicated USB-CAN adaptor. I haven't seen any documents on what is on that bus (if anything).

You won't find any OBDII standard PIDs there.
 

ML Auto

Member
Mar 8, 2014
709
713
SW Florida
Why bother? There is nothing much of interest on that connector.

The K-line is connected to TPMS. Any standard OBDII bluetooth/wifi/usb ELM327/STN1110 should be able to read that.

The CAN bus is connected to VMS, supposedly at 1MHz. OBDII dongles won't handle that speed; you'll need a dedicated USB-CAN adaptor. I haven't seen any documents on what is on that bus (if anything).

You won't find any OBDII standard PIDs there.

About the only thing it is useful for is to access the airbag system.
 

ShawnA

Supporting Member
Nov 13, 2017
873
649
Edwardsburg, MI
Hi Mark,

Is the picture of your fingers and the OBD connector removed from its connection to the VMS?

Thank you, Shawn

PS - Still working with the OBD2 and TPMS programming for the Roadsters serial 501 and up.
 

gregd

Active Member
Dec 31, 2014
2,524
1,755
CM98
That picture (if it's the one I'm thinking of) is of the Roadster's "Diagnostic port". It's normally just hanging there, unconnected, under the passenger-side of the dash. It's intended for the service folks to access the car's internal CAN bus system. Nothing standard about what happens there, hence the OVMS module to receive and interpret the traffic.

The OBDII port is on the driver's side, mounted against the center console under the dash. Standard physical connector and mounting location, but not much to gather by plugging into it, or at least conflicting information about the signals supposedly present vs folks actually doing something with them. Tesla included it because the regulatory framework at the time required the connector. So they put one in. :)

If you can raise some sort of conscious response from the OBDII port (e.g. on the K-line), you will probably be the first. Please let us know!
 

ShawnA

Supporting Member
Nov 13, 2017
873
649
Edwardsburg, MI
Hi Greg,

Thank you. I have been working with the one at the US driver's right knee location.

I have heard about the one on the passenger side but I have not looked for it or done anything with it.

I am sure it is the OBD2 on the driver's side that uses the K-line for TPMS input, but I have yet to get it to accept my inputs...

Thanks again, Shawn
 

matt_in_ca

Member
Sep 1, 2015
89
39
Los Angeles, CA
Why bother? There is nothing much of interest on that connector.

The K-line is connected to TPMS. Any standard OBDII bluetooth/wifi/usb ELM327/STN1110 should be able to read that.

The CAN bus is connected to VMS, supposedly at 1MHz. OBDII dongles won't handle that speed; you'll need a dedicated USB-CAN adaptor. I haven't seen any documents on what is on that bus (if anything).

You won't find any OBDII standard PIDs there.

I would like to use a pay-as-you-drive insurance service, but that requires plugging in an OBD-II dongle
 

About Us

Formed in 2006, Tesla Motors Club (TMC) was the first independent online Tesla community. Today it remains the largest and most dynamic community of Tesla enthusiasts. Learn more.

Do you value your experience at TMC? Consider becoming a Supporting Member of Tesla Motors Club. As a thank you for your contribution, you'll get nearly no ads in the Community and Groups sections. Additional perks are available depending on the level of contribution. Please visit the Account Upgrades page for more details.


SUPPORT TMC
Top