1 - 20 of 151 Posts

dpeilow

·
Registered
Joined
·
70 Posts
Discussion Starter · #1 · (Edited)
Hi,

The European cars (Volt and Ampera) are not going to have any remote monitoring / smartphone functionality like Volts in NA get. There is no equivalent of Onstar over here yet and my efforts to get GM to offer something have been fruitless.

Now, the Tesla guys had a similar issue and so a group of enthusiast owners built a module that interfaces with its CAN bus to read out charge state, start and stop charging and other useful functions:

It was designed to work with other cars as well.

Has anyone done any investigation of the Volt CAN bus to start to document the messages on there? If so, it would be very useful to the thousands of owners in Europe who are soon taking delivery if we can get this working.

David

Attachments

• 19.9 KB Views: 813

Duncan

·
Registered
Joined
·
133 Posts
There's a thread on this forum about the OBD2 information. Otherwise it may be possible to work out something from the sources for the open-source software for the 2012 Volt/Ampera available at http://www.oss.gm.com/2012VoltAmpera/index.html

P.S. Whereabouts in the UK are you? I'm near Abingdon, Oxon.

Edit to say that having had a look at the sources I can't see anything car specific in it: just the usual kernel, busybox and gcc stuff. Is it possible to get a shell prompt on a Volt?

mikeg3

·
Registered
Joined
·
1,785 Posts
If you can get an unrestricted shell prompt on a Volt microprocessor, can viruses be far behind?

I doubt that this can be done, but nothing in IT is impossible except a bug-free Windows release.

dpeilow

·
Registered
Joined
·
70 Posts
Discussion Starter · #4 ·
@Duncan - thanks for the link.

I'm about 50 miles due south of you on the A34

dpeilow

·
Registered
Joined
·
70 Posts
Discussion Starter · #5 ·
So the OVMS guys have said that if they can get a log file of various events like charging status, SOC, cable connected, etc, then they could make a start with a port.

I read through the various other CAN hacking threads but couldn't see if anyone made a log file available. Could someone please post one? Thanks.

markwj

·
Registered
Joined
·
19 Posts
An update on where we are with OVMS support for Volt/Ampera.
1. The physical side is done. The new v2 hardware is working in real Volts/Amperas, and an OVMS-OBDII cable (that supports both Renault Twizy, Volts and Amperas) is done and available.
2. We've now got GPS location, altitude and heading (from OVMS GPS, not from the car) working well.
3. We've also got VIN and SOC (auto-ranging) from the CAN bus, so we can remotely monitor SOC.
4. The development Apps have some images of the cars.

That is a start, but to make this really useful, we need to decode CAN bus messages to determine:
• Whether the car is ON or OFF
• Whether the car is charging or not
• Speed
• Estimated / Ideal ranges
• Temperatures

The Twizy guys have shown how this can be done. In a matter of weeks, they got OVMS supporting the Twizy with some really neat tricks. For example; looking at current going in/out of the battery and the car on/off status to indirectly determine whether charging was in progress, and alert on charge interruption.

It would be great to get this done for the Volt/Ampera.

Thanks, Mark.

nie-mehr-benzin.de

·
Registered
Joined
·
21 Posts
Mark,

i'll try to capture some data with parallel DashDAQ and CANUSB/CANHACKER running. I hope to decode some new CANIDs these days...

This are the known IDs so far:

0C9 Byte 5 Accelerator 0 (0%) to 254 (100%)
0F1 Byte 2 Brake 0 (0%) to Unknown (254?) Typical pressure on brake pedal generates about 30.
135 Byte 1 Drive Position 0=Park, 1=Neutral, 2=Drive/L, 3=Reverse
1A1 Byte 8 Accelerator 0 (0%) to 254 (100%)
1C3 Byte 8 Accelerator 0 (0%) to 254 (100%)
1EF Bytes 3-4 Gas Engine RPM RPM
1F5 Byte 4 Shift Position PRNDL 1=Park, 2=Reverse, N=Neutral, D=Drive, L=Low
206 Bytes 1-2 Battery SOC .250kWh Units possibly .244kWh
32A Bytes 1-4 GPS Latitude Milliarcseconds
32A Bytes 5-8 GPS Longitude Milliarcseconds
3E9 Bytes 1-2 Speed 1/100 MPH 55MPH would be 5500 (0x157c)

regards,

Johannes

nie-mehr-benzin.de

·
Registered
Joined
·
21 Posts
Yeah..... DashDAQ + CANUSB makes it !

Here is some data from the charger:

5EC Byte 3 Charging Current units 0.2 A (ex. 14.2 A = 0x47)
5EC Byte 4 Charging Voltage units 2 V (ex. 222V = 0x6F)

....going on hacking.

Johannes

nie-mehr-benzin.de

·
Registered
Joined
·
21 Posts
there it goes..

5EC Byte 5 Outside Air Temperature in °C unit 0.5°C offset +40 (exp.: 0x60 = 8.0 °C)
5EC Byte 6 Outside Air Temperature filtered in °C unit 0.5°C offset +40

;-)

nie-mehr-benzin.de

·
Registered
Joined
·
21 Posts
Ouch,....

the DashDAQ generates much more codes, if it's connected on the ODBII, we have found out:

101,5E9,5EC,7E0,7E8

Perhaps the 101 is a trigger?!:

time canid numberofbytes <data>....
18,220 101 8 FE 01 3E 00 00 00 00 00
20,945 101 8 FE 01 3E 00 00 00 00 00
23,660 101 8 FE 01 3E 00 00 00 00 00
26,385 101 8 FE 01 3E 00 00 00 00 00
29,100 101 8 FE 01 3E 00 00 00 00 00
31,815 101 8 FE 01 3E 00 00 00 00 00
34,557 101 8 FE 01 3E 00 00 00 00 00
37,269 101 8 FE 01 3E 00 00 00 00 00
39,993 101 8 FE 01 3E 00 00 00 00 00
42,707 101 8 FE 01 3E 00 00 00 00 00
45,435 101 8 FE 01 3E 00 00 00 00 00

Thats all for 27 seconds

7E0 and 7E8:

17,843 7E0 8 02 01 00 00 00 00 00 00
19,237 7E0 8 02 01 00 00 00 00 00 00
20,621 7E0 8 02 01 00 00 00 00 00 00
22,006 7E0 8 02 01 00 00 00 00 00 00
23,402 7E0 8 02 01 00 00 00 00 00 00
24,787 7E0 8 02 01 00 00 00 00 00 00
26,180 7E0 8 02 01 00 00 00 00 00 00
27,586 7E0 8 02 01 00 00 00 00 00 00
28,981 7E0 8 02 01 00 00 00 00 00 00
30,379 7E0 8 02 01 00 00 00 00 00 00
31,761 7E0 8 02 01 00 00 00 00 00 00
33,138 7E0 8 02 01 00 00 00 00 00 00
34,530 7E0 8 02 01 00 00 00 00 00 00
35,926 7E0 8 02 01 00 00 00 00 00 00
37,301 7E0 8 02 01 00 00 00 00 00 00
38,694 7E0 8 02 01 00 00 00 00 00 00
40,094 7E0 8 02 01 00 00 00 00 00 00
41,475 7E0 8 02 01 00 00 00 00 00 00
42,858 7E0 8 02 01 00 00 00 00 00 00
44,254 7E0 8 02 01 00 00 00 00 00 00
45,617 7E0 8 02 01 00 00 00 00 00 00
17,844 7E8 8 06 41 00 BE 7F B8 13 AA
19,244 7E8 8 06 41 00 BE 7F B8 13 AA
20,623 7E8 8 06 41 00 BE 7F B8 13 AA
22,008 7E8 8 06 41 00 BE 7F B8 13 AA
23,410 7E8 8 06 41 00 BE 7F B8 13 AA
24,793 7E8 8 06 41 00 BE 7F B8 13 AA
26,187 7E8 8 06 41 00 BE 7F B8 13 AA
27,593 7E8 8 06 41 00 BE 7F B8 13 AA
28,984 7E8 8 06 41 00 BE 7F B8 13 AA
30,385 7E8 8 06 41 00 BE 7F B8 13 AA
31,764 7E8 8 06 41 00 BE 7F B8 13 AA
33,142 7E8 8 06 41 00 BE 7F B8 13 AA
34,535 7E8 8 06 41 00 BE 7F B8 13 AA
35,927 7E8 8 06 41 00 BE 7F B8 13 AA
37,311 7E8 8 06 41 00 BE 7F B8 13 AA
38,701 7E8 8 06 41 00 BE 7F B8 13 AA
40,098 7E8 8 06 41 00 BE 7F B8 13 AA
41,477 7E8 8 06 41 00 BE 7F B8 13 AA
42,863 7E8 8 06 41 00 BE 7F B8 13 AA
44,256 7E8 8 06 41 00 BE 7F B8 13 AA
45,624 7E8 8 06 41 00 BE 7F B8 13 AA

5xx:

27,707 5E9 8 FE 00 00 00 00 00 00 00
...

31,323 5EC 8 FE 31 00 00 62 61 00 00
...

Johannes

DCFusor

·
Registered
Joined
·
1,480 Posts
Thanks very much for the info, keep up the good work! Once we know a bit more, we might even be able to fiddle with some things we want to change...I bought a can bus dev board from CCS, which I'll get lashed up at some point (bought it for Xanbus use, but hey).
I wish GM would just sell us the codes, like they did for dashdaq. We'll get them eventually through legal reverse engineering anyway, so they might as well make a few bucks?

DCFusor

·
Registered
Joined
·
1,480 Posts
@Duncan
The link is for GM's changes to GPL code - they are being a good citizen that way - evidently they rewrote some parts to fit better into the car, and are revealing that (though it's a bit obfuscated since it appears they are just showing the patches - you'd have to find exactly what version of what they patched first to apply these to).

They don't, as allowed by the GPL, contain any of GM's proprietary code that for example, maps the CANBUS id's to anything, at least not so far as I can tell.

tboult once suggested plugging in a serial dongle to the USB port to see if you could get a prompt there, I might try that since it's easy...

But my overall take is that most of the rewrites they did on standard linux utilities were to take things out, save space and cycles, and that would have been one of the more obvious things to remove if they weren't using it for debug (or even if they were - you'd still remove debugging hooks on shipped code if you were savvy).

RScott

·
Registered
Joined
·
847 Posts
I've got some at http://www.evtools.info/ChevyVoltOBD2CAN.html, but really need to update that page (I've found some more, but not ranges).

If the first byte in 0BC has bit 8 set (leftmost), the car is on; if bit 5 is set, the car is off.

For charging, I can only tell indirectly (e.g. by monitoring the battery SOC in 206, or the battery kW usage in 3e3 bytes 4-5).

Speed is in the first two bytes of 3E9, as MPH*100 (so hex of 0102 would be decimal 258, or a very slow 2.58MPH).

4C1 byte 5 has the outside temperature, in degrees Fahrenheit with an offset of 50 (so 0x76 or 118 decimal would be 68 degrees F).

nie-mehr-benzin.de

·
Registered
Joined
·
21 Posts
guys,

look at this, that's what the DashDAQ writes on the bus if it's booting (logfile filtered with canhacker 2.0)

DashDAQ-Screen with one Field "outside temperature":

Code:
``````21,952 7E0      8 02 01 00 00 00 00 00 00  input
21,958 7E8      8 06 41 00 BE 7F B8 13 AA  output

21,981 7DF      8 02 01 00 00 00 00 00 00  input
21,985 7E8      8 06 41 00 BE 7F B8 13 AA  output
21,986 7E9      8 06 41 00 80 00 00 01 AA
21,983 7EA      8 06 41 00 80 00 00 01 AA
21,982 7EB      8 06 41 00 80 40 00 01 AA
21,988 7EC      8 06 41 00 80 00 00 01 AA
22,003 7ED      8 06 41 00 00 00 00 01 AA
21,986 7EF      8 06 41 00 00 00 00 01 AA

22,328 7E0      8 02 AA 00 00 00 00 00 00  input
22,330 5E8      8 00 00 00 00 00 00 00 00  output

22,392 7E1      8 02 AA 00 00 00 00 00 00  input
22,397 5E9      8 00 00 00 00 00 00 00 00  output

22,456 7E2      8 02 AA 00 00 00 00 00 00  input
22,463 5EA      8 00 00 00 00 00 00 00 00  output

22,522 7E3      8 02 AA 00 00 00 00 00 00  input
22,524 5EB      8 00 00 00 00 00 00 00 00  output

22,587 7E4      8 02 AA 00 00 00 00 00 00  input
22,604 5EC      8 00 00 00 00 00 00 00 00  output

22,651 7E5      8 02 AA 00 00 00 00 00 00  input
22,662 5ED      8 00 AA AA AA AA AA AA AA  output

22,716 7E7      8 02 AA 00 00 00 00 00 00  input
22,726 5EF      8 00 00 00 00 00 00 00 00  output

22,781 7E4      8 10 08 2C FE 43 69 43 68  input
22,788 7EC      8 30 00 14 AA AA AA AA AA  output

22,789 7E4      8 21 80 1F 00 00 00 00 00  input
22,800 7EC      8 02 6C FE AA AA AA AA AA  output

(22,817 101      8 FE 01 3E 00 00 00 00 00  input?)

22,820 7E4      8 03 AA 04 FE 00 00 00 00  input
22,864 5EC      8 FE 14 71 60 00 00 00 00  output
22,897 5EC      8 FE 14 71 60 00 00 00 00
22,928 5EC      8 FE 14 71 60 00 00 00 00
22,961 5EC      8 FE 14 71 60 00 00 00 00
22,994 5EC      8 FE 14 71 60 00 00 00 00
23,027 5EC      8 FE 14 71 60 00 00 00 00
23,058 5EC      8 FE 14 71 60 00 00 00 00
23,090 5EC      8 FE 14 71 60 00 00 00 00
23,123 5EC      8 FE 14 71 60 00 00 00 00
23,158 5EC      8 FE 14 71 60 00 00 00 00
23,189 5EC      8 FE 14 71 60 00 00 00 00
23,221 5EC      8 FE 14 71 60 00 00 00 00
23,253 5EC      8 FE 14 71 60 00 00 00 00
23,285 5EC      8 FE 14 71 60 00 00 00 00``````
Byte 4 from 5EC is the outside temperature (0x60).

....see

nie-mehr-benzin.de

·
Registered
Joined
·
21 Posts

Code:
``````49,547 7E4      8 06 2C FE 43 69 43 68 00   (input: config for voltage/current of charger)
49,557 7EC      8 02 6C FE AA AA AA AA AA   (OK?)

49,563 7E4      8 03 AA 04 FE 00 00 00 00   (input for display results)
49,589 5EC      8 FE 43 70 00 00 00 00 00   (results, ~160 reads for a few seconds)``````
Byte 2+3 is current and voltage

Outside temperature:

Code:
``````27,761 7E4      8 10 08 2C FE 43 69 43 68   (input config 1 for outside temperature)
27,763 7EC      8 30 00 14 AA AA AA AA AA   (OK?)

27,764 7E4      8 21 80 1F 00 00 00 00 00   (input config 2 for outside temperature)
27,777 7EC      8 02 6C FE AA AA AA AA AA   (OK?)

27,796 7E4      8 03 AA 04 FE 00 00 00 00   (input for display results)
27,840 5EC      8 FE 00 00 5B 00 00 00 00   (results, ~160 reads for a few seconds, here: 0x5B in Byte 3)``````

tboult

·
Registered
Joined
·
3,165 Posts

Code:
``````49,547 7E4      8 06 2C FE 43 69 43 68 00   (input: config for voltage/current of charger)
49,557 7EC      8 02 6C FE AA AA AA AA AA   (OK?)

49,563 7E4      8 03 AA 04 FE 00 00 00 00   (input for display results)
49,589 5EC      8 FE 43 70 00 00 00 00 00   (results, ~160 reads for a few seconds)``````
Byte 2+3 is current and voltage

SNIP

I'd like to see if I am I reading this correctly before I start poking around on my canbus.
Is the first part saying it is sending a message to

mode 49
ID 547
device 7E4
(for config)

looking for data to display
mode 49,
ID 563 to 7E4
looking fro response
from device 5EC?

Is 43h = current 70=Volt? Any idea what are the units?

Also why is this example with OAT so different from the previous OAT example you gave?

nie-mehr-benzin.de

·
Registered
Joined
·
21 Posts
I'd like to see if I am I reading this correctly before I start poking around on my canbus.
Is the first part saying it is sending a message to

mode 49
ID 547
device 7E4
(for config)

looking for data to display
mode 49,
ID 563 to 7E4
looking fro response
from device 5EC?

Is 43h = current 70=Volt? Any idea what are the units?

Also why is this example with OAT so different from the previous OAT example you gave?
"49,547" is a timestamp (<seconds>,<milliseconds>)

the columns are:

<timestamp> <canid> <numberofbytes> <data>

The result data is:

5EC Byte 2 Charging Current units 0.2 A (ex. 0x43 = 13.4 A)
5EC Byte 3 Charging Voltage units 2 V (ex. 0x70 = 224 V)

the previous example was the raw log from the DashDAQ with all bootup-commands, which the DashDAQ is sending on the bus before reading single data. My previous posts were only "thinking aloud"

To get the data from the charger you have only to send the two 7E4-commands in sequence:

7E4 8 06 2C FE 43 69 43 68 00
7E4 8 03 AA 04 FE 00 00 00 00

nie-mehr-benzin.de

·
Registered
Joined
·
21 Posts
While DashDAQ is reading all available signals from the bus, the sequences are as follows:

Code:
``````02,887 7DF      8 02 01 00 00 00 00 00 00
02,894 7E8      8 06 41 00 BE 7F B8 13 AA
02,892 7E9      8 06 41 00 80 00 00 01 AA
02,891 7EA      8 06 41 00 80 00 00 01 AA
02,891 7EB      8 06 41 00 80 40 00 01 AA
02,890 7EC      8 06 41 00 80 00 00 01 AA
02,903 7ED      8 06 41 00 00 00 00 01 AA
02,891 7EF      8 06 41 00 00 00 00 01 AA

03,032 7E0      8 04 2C FE 00 42 00 00 00
03,037 7E8      8 02 6C FE AA AA AA AA AA
03,047 7E4      8 04 2C FE 43 7D 00 00 00
03,053 7EC      8 02 6C FE AA AA AA AA AA
03,067 7E0      8 04 2C FE 15 64 00 00 00
03,070 7E8      8 02 6C FE AA AA AA AA AA
03,089 7E4      8 04 2C FE 82 B2 00 00 00
03,096 7EC      8 02 6C FE AA AA AA AA AA
03,111 7E4      8 04 2C FE 83 5C 00 00 00
03,118 7EC      8 02 6C FE AA AA AA AA AA
03,132 7E4      8 04 2C FE 82 B7 00 00 00
03,141 7EC      8 02 6C FE AA AA AA AA AA
03,154 7E4      8 04 2C FE 41 B2 00 00 00
03,162 7EC      8 02 6C FE AA AA AA AA AA
03,175 7E4      8 04 2C FE 82 B5 00 00 00
03,183 7EC      8 02 6C FE AA AA AA AA AA
03,197 7E1      8 04 2C FE 1C 36 00 00 00
03,203 7E9      8 02 6C FE AA AA AA AA AA
03,219 7E1      8 04 2C FE 1C 37 00 00 00
03,224 7E9      8 02 6C FE AA AA AA AA AA
03,240 7E0      8 04 2C FE 28 10 00 00 00
03,246 7E8      8 02 6C FE AA AA AA AA AA
03,262 7E0      8 04 2C FE 00 46 00 00 00
03,266 7E8      8 02 6C FE AA AA AA AA AA
03,284 7E4      8 04 2C FE 40 E7 00 00 00
03,291 7EC      8 02 6C FE AA AA AA AA AA
03,306 7E1      8 04 2C FE 28 BD 00 00 00
03,311 7E9      8 02 6C FE AA AA AA AA AA
03,328 7E1      8 04 2C FE 28 BC 00 00 00
03,332 7E9      8 02 6C FE AA AA AA AA AA
03,348 7E1      8 04 2C FE 28 BE 00 00 00
03,352 7E9      8 02 6C FE AA AA AA AA AA
03,370 7E1      8 04 2C FE 24 29 00 00 00
03,372 7E9      8 02 6C FE AA AA AA AA AA
03,392 7E0      8 04 2C FE 15 72 00 00 00
03,395 7E8      8 02 6C FE AA AA AA AA AA
03,413 7E0      8 04 2C FE 15 70 00 00 00
03,415 7E8      8 02 6C FE AA AA AA AA AA
03,435 7E0      8 04 2C FE 15 73 00 00 00
03,445 7E8      8 02 6C FE AA AA AA AA AA
03,456 7E0      8 04 2C FE 15 71 00 00 00
03,462 7E8      8 02 6C FE AA AA AA AA AA
03,478 7E2      8 04 2C FE 28 51 00 00 00
03,485 7EA      8 02 6C FE AA AA AA AA AA
03,500 7E2      8 04 2C FE 28 52 00 00 00
03,506 7EA      8 02 6C FE AA AA AA AA AA
03,522 7E2      8 04 2C FE 28 53 00 00 00
03,526 7EA      8 02 6C FE AA AA AA AA AA
03,544 7E2      8 04 2C FE 28 54 00 00 00
03,547 7EA      8 02 6C FE AA AA AA AA AA
03,565 7E4      8 04 2C FE 13 AF 00 00 00
03,577 7EC      8 02 6C FE AA AA AA AA AA
03,587 7E4      8 04 2C FE 41 B7 00 00 00
03,594 7EC      8 02 6C FE AA AA AA AA AA
03,608 7E0      8 04 2C FE 00 05 00 00 00
03,612 7E8      8 02 6C FE AA AA AA AA AA
03,630 7E4      8 04 2C FE 41 B6 00 00 00
03,637 7EC      8 02 6C FE AA AA AA AA AA
03,652 7E4      8 04 2C FE 43 5A 00 00 00
03,659 7EC      8 02 6C FE AA AA AA AA AA
03,673 7E4      8 04 2C FE 43 5D 00 00 00
03,681 7EC      8 02 6C FE AA AA AA AA AA
03,695 7E1      8 04 2C FE 24 87 00 00 00
03,697 7E9      8 02 6C FE AA AA AA AA AA
03,716 7E0      8 04 2C FE 00 0C 00 00 00
03,718 7E8      8 02 6C FE AA AA AA AA AA
03,738 7E0      8 04 2C FE 1A 2D 00 00 00
03,739 7E8      8 02 6C FE AA AA AA AA AA
03,760 7E0      8 04 2C FE 11 31 00 00 00
03,768 7E8      8 02 6C FE AA AA AA AA AA
03,781 7E1      8 04 2C FE 24 14 00 00 00
03,785 7E9      8 02 6C FE AA AA AA AA AA
03,803 7E4      8 04 2C FE 43 56 00 00 00
03,810 7EC      8 02 6C FE AA AA AA AA AA
03,824 7E4      8 04 2C FE 43 7F 00 00 00
03,832 7EC      8 02 6C FE AA AA AA AA AA
03,847 7E4      8 04 2C FE 43 2E 00 00 00
03,853 7EC      8 02 6C FE AA AA AA AA AA
03,868 7E1      8 04 2C FE 24 16 00 00 00
03,873 7E9      8 02 6C FE AA AA AA AA AA
03,889 7E4      8 04 2C FE 43 2B 00 00 00
03,899 7EC      8 02 6C FE AA AA AA AA AA
03,923 7E1      8 04 2C FE 1C 2F 00 00 00
03,927 7E9      8 03 7F 2C 31 AA AA AA AA
04,116 7E1      8 04 2C FE 24 17 00 00 00
04,122 7E9      8 02 6C FE AA AA AA AA AA
04,139 7E1      8 04 2C FE 1C 30 00 00 00
04,143 7E9      8 03 7F 2C 31 AA AA AA AA
04,336 7E0      8 04 2C FE 00 5B 00 00 00
04,341 7E8      8 02 6C FE AA AA AA AA AA
04,355 7E1      8 04 2C FE 24 11 00 00 00
04,360 7E9      8 02 6C FE AA AA AA AA AA
04,376 7E4      8 04 2C FE 83 34 00 00 00
04,384 7EC      8 02 6C FE AA AA AA AA AA
04,398 7E4      8 04 2C FE 43 4F 00 00 00
04,405 7EC      8 02 6C FE AA AA AA AA AA
04,420 7E1      8 04 2C FE 40 D0 00 00 00
04,427 7E9      8 03 7F 2C 31 AA AA AA AA
04,612 7E4      8 04 2C FE 43 2D 00 00 00
04,621 7EC      8 02 6C FE AA AA AA AA AA
04,636 7E4      8 04 2C FE 41 B4 00 00 00
04,643 7EC      8 02 6C FE AA AA AA AA AA
04,661 7E4      8 04 2C FE 90 5C 00 00 00
04,665 7EC      8 02 6C FE AA AA AA AA AA
04,680 7E4      8 04 2C FE 43 B0 00 00 00
04,688 7EC      8 02 6C FE AA AA AA AA AA
04,700 7E4      8 04 2C FE 83 5A 00 00 00
04,708 7EC      8 02 6C FE AA AA AA AA AA
04,722 7E0      8 04 2C FE 00 0F 00 00 00
04,726 7E8      8 02 6C FE AA AA AA AA AA
04,744 7E0      8 04 2C FE 20 3F 00 00 00
04,746 7E8      8 02 6C FE AA AA AA AA AA
04,766 7E4      8 04 2C FE 43 7E 00 00 00
04,773 7EC      8 02 6C FE AA AA AA AA AA
04,788 7E0      8 04 2C FE 00 0B 00 00 00
04,794 7E8      8 02 6C FE AA AA AA AA AA
04,809 7E1      8 04 2C FE 28 83 00 00 00
04,812 7E9      8 02 6C FE AA AA AA AA AA
04,830 7E1      8 04 2C FE 28 AF 00 00 00
04,832 7E9      8 02 6C FE AA AA AA AA AA
04,852 7E1      8 04 2C FE 28 81 00 00 00
04,859 7E9      8 02 6C FE AA AA AA AA AA
04,874 7E1      8 04 2C FE 28 85 00 00 00
04,879 7E9      8 02 6C FE AA AA AA AA AA
04,896 7E1      8 04 2C FE 28 84 00 00 00
04,900 7E9      8 02 6C FE AA AA AA AA AA
04,917 7E1      8 04 2C FE 28 B0 00 00 00
04,920 7E9      8 02 6C FE AA AA AA AA AA
04,939 7E1      8 04 2C FE 28 82 00 00 00
04,940 7E9      8 02 6C FE AA AA AA AA AA
04,960 7E1      8 04 2C FE 28 86 00 00 00
04,967 7E9      8 02 6C FE AA AA AA AA AA
04,983 7E4      8 04 2C FE 80 1F 00 00 00
04,989 7EC      8 02 6C FE AA AA AA AA AA
05,004 7E4      8 04 2C FE 80 1E 00 00 00
05,011 7EC      8 02 6C FE AA AA AA AA AA
05,025 7E4      8 04 2C FE 43 69 00 00 00
05,033 7EC      8 02 6C FE AA AA AA AA AA
05,048 7E4      8 04 2C FE 43 68 00 00 00
05,054 7EC      8 02 6C FE AA AA AA AA AA
05,068 7E4      8 04 2C FE 43 6C 00 00 00
05,076 7EC      8 02 6C FE AA AA AA AA AA
05,090 7E4      8 04 2C FE 43 73 00 00 00
05,097 7EC      8 02 6C FE AA AA AA AA AA
05,112 7E4      8 04 2C FE 43 6B 00 00 00
05,119 7EC      8 02 6C FE AA AA AA AA AA
05,133 7E4      8 04 2C FE 43 6E 00 00 00
05,141 7EC      8 02 6C FE AA AA AA AA AA
05,155 7E4      8 04 2C FE 43 74 00 00 00
05,162 7EC      8 02 6C FE AA AA AA AA AA
05,176 7E4      8 04 2C FE 43 6D 00 00 00
05,184 7EC      8 02 6C FE AA AA AA AA AA
05,198 7E4      8 04 2C FE 43 6F 00 00 00
05,208 7EC      8 02 6C FE AA AA AA AA AA
05,220 7E4      8 04 2C FE 43 58 00 00 00
05,227 7EC      8 02 6C FE AA AA AA AA AA
05,241 7E4      8 04 2C FE 1C 43 00 00 00
05,249 7EC      8 02 6C FE AA AA AA AA AA
05,263 7E4      8 04 2C FE 43 BB 00 00 00
05,270 7EC      8 02 6C FE AA AA AA AA AA
05,285 7E1      8 04 2C FE 24 2B 00 00 00
05,292 7E9      8 02 6C FE AA AA AA AA AA
05,308 7E0      8 04 2C FE 00 0E 00 00 00
05,314 7E8      8 02 6C FE AA AA AA AA AA
05,329 7E0      8 04 2C FE 20 7E 00 00 00
05,335 7E8      8 02 6C FE AA AA AA AA AA
05,349 7E2      8 04 2C FE 1A 1F 00 00 00
05,351 7EA      8 03 7F 2C 31 AA AA AA AA
05,543 7E2      8 04 2C FE 19 40 00 00 00
05,547 7EA      8 02 6C FE AA AA AA AA AA
05,566 7E0      8 04 2C FE 00 4C 00 00 00
05,572 7E8      8 02 6C FE AA AA AA AA AA
05,587 7E1      8 04 2C FE 24 34 00 00 00
05,589 7E9      8 02 6C FE AA AA AA AA AA
05,609 7E1      8 04 2C FE 24 2C 00 00 00
05,616 7E9      8 02 6C FE AA AA AA AA AA
05,632 7E1      8 04 2C FE 28 78 00 00 00
05,636 7E9      8 03 7F 2C 31 AA AA AA AA
05,824 7E1      8 04 2C FE 19 42 00 00 00
05,826 7E9      8 02 6C FE AA AA AA AA AA
05,847 7E1      8 04 2C FE 19 A1 00 00 00
05,853 7E9      8 02 6C FE AA AA AA AA AA
05,869 7E2      8 04 2C FE 19 41 00 00 00
05,872 7EA      8 02 6C FE AA AA AA AA AA
05,890 7E2      8 04 2C FE 19 9E 00 00 00
05,892 7EA      8 03 7F 2C 31 AA AA AA AA
06,083 7E1      8 04 2C FE 28 E8 00 00 00
06,090 7E9      8 02 6C FE AA AA AA AA AA
06,107 7E2      8 04 2C FE 1A 18 00 00 00
06,109 7EA      8 03 7F 2C 31 AA AA AA AA
06,300 7E2      8 04 2C FE 19 D4 00 00 00
06,305 7EA      8 02 6C FE AA AA AA AA AA
06,323 7E0      8 04 2C FE 00 0D 00 00 00
06,329 7E8      8 02 6C FE AA AA AA AA AA``````

tboult

·
Registered
Joined
·
3,165 Posts
"49,547" is a timestamp (<seconds>,<milliseconds>)

the columns are:

<timestamp> <canid> <numberofbytes> <data>

The result data is:

5EC Byte 2 Charging Current units 0.2 A (ex. 0x43 = 13.4 A)
5EC Byte 3 Charging Voltage units 2 V (ex. 0x70 = 224 V)

the previous example was the raw log from the DashDAQ with all bootup-commands, which the DashDAQ is sending on the bus before reading single data. My previous posts were only "thinking aloud"

To get the data from the charger you have only to send the two 7E4-commands in sequence:

7E4 8 06 2C FE 43 69 43 68 00
7E4 8 03 AA 04 FE 00 00 00 00

Ah. thanks. That makes more sense. So we are seeing the DashDaw send a request and then the responses from it. Interesting that the not a PID formated request. I was hoping to adapt this for use in torque with android, but it is very PID centric..

Kratus

·
Registered
Joined
·
2 Posts
Kudos Johannes, great results!

1 - 20 of 151 Posts
{"extraction_info": {"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.9567658305168152, "perplexity": 4596.375755583492}, "config": {"markdown_headings": false, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2021-21/segments/1620243991252.15/warc/CC-MAIN-20210512035557-20210512065557-00447.warc.gz"}