[Ovmsdev] Model S Can Bus Specs
Mark Webb-Johnson
mark at webb-johnson.net
Wed Jan 8 08:19:18 HKT 2014
Oliver,
Thanks for this. I managed to get, and convert, the data. I'll let you know what I find.
Regards, Mark.
On 2 Jan, 2014, at 11:04 pm, Oliver Weidmann <oliver at sdds.ch> wrote:
> Mark,
>
> here are two readouts (snapshots) of Model S attached as CVS.
>
> Additionally I recoded a trace of a ten minutes drive with the car. The car produced 138 MB of raw data during that drive. You can download the CSV from here:
>
> http://we.tl/cpKpYlbAtj
>
> Have fun with them ;)
>
> Regards
> Oliver
>
> Von: ovmsdev-bounces at lists.teslaclub.hk [mailto:ovmsdev-bounces at lists.teslaclub.hk] Im Auftrag von Oliver Weidmann
> Gesendet: Donnerstag, 2. Januar 2014 12:07
> An: 'OVMS Developers'
> Betreff: Re: [Ovmsdev] Model S Can Bus Specs
>
> Mark,
>
> Thanks – I had to do quite some trial-and-error to find the bus specs. Model S looked like a EE-lab on wheels ;)
>
> It looks like there are several bus-pins available on the diag-connector. “Our” can wires are on the right side – in the same place as in the roadster – but the other pins seems to transmit bus signals as well. The two pins just left of “our” can pins are transmitting on +/- 4V. And on the far left side there are probably additional can pins. Could mean that the S is running multiple can buses (Roadster has 3 different can buses running). Somewhere I read that Model S also has a “BEAN Bus” (a Toyota specific standard running on a single wire - http://elinux.org/BEAN_Bus). But for now, we should stick to the can signals ;)
>
> I’ll do a bus dump of “our” can wires today and send you the results. Maybe I can even log a short drive with Model S.
>
> Regards
> Mark
>
>
>
> Von: ovmsdev-bounces at lists.teslaclub.hk [mailto:ovmsdev-bounces at lists.teslaclub.hk] Im Auftrag von Mark Webb-Johnson
> Gesendet: Donnerstag, 2. Januar 2014 01:57
> An: OVMS Developers
> Betreff: Re: [Ovmsdev] Model S Can Bus Specs
>
> Oliver,
>
> Now, this makes my new year happy. The 512kbps (vs 1Mbps) explains the previous report I heard of can bus errors when plugged in and active at the assumed (roadster ) speed of 1Mbps. I think Tesla's switch to 512kbps is sensible - allows a lot more standard equipment to be connected.
>
> I would love to see a can bus dump (a few minutes, with the car on).
>
> Regards, Mark
>
> On 1 Jan, 2014, at 11:27 pm, "Oliver Weidmann" <oliver at sdds.ch> wrote:
>
> A good new year to everyone on this mailing list.
>
> I finally found some time to play with my Model S and search for bus wires.
>
> Well here are some details:
>
> The bus connector is located underneath the touch screen (grab the storage shelf hole and pull STRAIGHT down).
>
> The connector is the same as in the Roadster. When reading the bus be sure to attach CAN HIGH, CAN LOW and CAN GROUND (you can use normal GND, see image). If you don’t use CAN GROUND, the car will get confused. The Roadster doesn’t care if you use CAN GROUND, but Model S seems to be a bit sensitive on this topic. Also be careful with the +12V pin. If you produce a short your instrument panel screen will eventually go black as they seem to share the same fuse (which is the 5A fuse #49 in fuse box #2).
>
> Ok, once all wires are in place and the car is still running, it’s time to read some data. Bus speed is 500 Kbit/s (vs. 1Mbit/s in the Roadster).
>
> A fist quick look at the data showed me the following:
>
> ID 2C8 looks like the actual charge settings.
>
> 67 32 = min Standard
> 67 5A = max Standard
> 67 63 = one tick before max Range
> 27 64 = max Range
>
> Obviously the second bit bit represents the percentage of the charge settings (32h=50dec=50%, 64h=100dec=100%). It seems to be a readout only variable, as sending messages to ID 2C8 didn’t change the charge settings.
>
> Maybe this is the first step for OVMS for Model S? Well, we’ll have to see ;)
>
> regards
> Oliver
>
>
>
> Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv.
>
>
> <can_connector.jpg>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>
>
>
> Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv.
>
>
>
>
>
> Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv.
>
>
> <MODEL_S_02012014_DRIVE_2.csv><MODEL_S_02012014_DRIVE.csv>_______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20140108/535f392e/attachment.htm>
More information about the OvmsDev
mailing list