<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Fantastic.</div><div><br></div><div>Do you/Michael want to try to implement this, or shall I?</div><div><br></div><div>Regards, Mark</div><div><br>On 3 Jan, 2013, at 4:22 AM, <<a href="mailto:info@opel-ampera-forum.de">info@opel-ampera-forum.de</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta name="Generator" content="Microsoft Word 14 (filtered medium)"><base href="x-msg://258/"><style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Trebuchet MS";
panose-1:2 11 6 3 2 2 2 2 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
code
{mso-style-priority:99;
font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Sprechblasentext Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.apple-style-span
{mso-style-name:apple-style-span;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
span.E-MailFormatvorlage20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.SprechblasentextZchn
{mso-style-name:"Sprechblasentext Zchn";
mso-style-priority:99;
mso-style-link:Sprechblasentext;
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:488326642;
mso-list-template-ids:631141022;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:"Courier New";
mso-bidi-font-family:"Times New Roman";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1
{mso-list-id:605575088;
mso-list-template-ids:1813139746;}
@list l1:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level2
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level3
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level5
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level6
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level8
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level9
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><div class="WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Mark,<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">we have the following functioning data at this moment:<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><ul type="disc"><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1"><span lang="EN-US">Ambient temperature (the air around the car) - I think this is your 'outside temperature'<o:p></o:p></span></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1"><span lang="EN-US">PEM temperature (the temperature in the charger / drive power conversion unit - the electronics that convert AC to DC for charging, regen and driving)<o:p></o:p></span></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1"><span lang="EN-US">BATTERY temperature (the temperature in the battery itself)<o:p></o:p></span></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1"><span lang="EN-US">Charging current<o:p></o:p></span></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1"><span lang="EN-US">Charging voltage<o:p></o:p></span></li></ul><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:18.0pt"><span lang="EN-US"><o:p> </o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:18.0pt"><span lang="EN-US">The motor temperature doesn’t work at this moment, we have to analyze it.<o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:18.0pt"><span lang="EN-US"><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The request is (in sequence ~10 ms):<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">7E4 8 10 0C 2C FE 43 69 43 68<br>7E4 8 21 80 1F 43 4F 1C 43 00<br>7E4 8 03 AA 04 FE 00 00 00 00<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The answer would be ~160 times:<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">5EC 8 FE xx yy zz uu vv 00 00<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">charging current = xx * 0.2 A<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">charging voltage = yy * 2 V<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">outside temperature = zz * 0.5 °C – 40<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">battery temperature = uu * 1 °C – 40<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">pem temperature = vv * 1 °C - 40<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">this should be enough for the next beta.<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Regards,<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Johannes<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:ovmsdev-bounces@lists.teslaclub.hk">ovmsdev-bounces@lists.teslaclub.hk</a> [<a href="mailto:ovmsdev-bounces@lists.teslaclub.hk">mailto:ovmsdev-bounces@lists.teslaclub.hk</a>] <b>Im Auftrag von </b>Mark Webb-Johnson<br><b>Gesendet:</b> Mittwoch, 2. Januar 2013 02:40<br><b>An:</b> OVMS Developers<br><b>Betreff:</b> Re: [Ovmsdev] Volt/Ampera<o:p></o:p></span></p></div></div><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Tachy / Johannes,<o:p></o:p></p><div><p class="MsoNormal"><o:p> </o:p></p></div><div><p class="MsoNormal">Nice work. That is very useful, and I have added this to the volt/ampera can bus notes file in the repository. This is the sequence we will use.<o:p></o:p></p></div><div><p class="MsoNormal"><o:p> </o:p></p></div><div><p class="MsoNormal">The Tesla Roadster show (and hence the Apps currently support) 4 temperatures in total:<o:p></o:p></p></div><div><p class="MsoNormal"><o:p> </o:p></p></div><div><ul type="disc"><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">Ambient temperature (the air around the car) - I think this is your 'outside temperature'<o:p></o:p></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">PEM temperature (the temperature in the charger / drive power conversion unit - the electronics that convert AC to DC for charging, regen and driving)<o:p></o:p></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">MOTOR temperature (the temperature in the wheel motors)<o:p></o:p></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">BATTERY temperature (the temperature in the battery itself)<o:p></o:p></li></ul></div><div><p class="MsoNormal"><o:p> </o:p></p></div><div><p class="MsoNormal">It would be good if we could find those for the Volt/Ampera.<o:p></o:p></p></div><div><p class="MsoNormal"><o:p> </o:p></p></div><div><p class="MsoNormal">I think we now have enough to get the charge behavior.<o:p></o:p></p></div><div><p class="MsoNormal"><o:p> </o:p></p></div><div><p class="MsoNormal">Will you / MichaelJ work on the code to implement this, or do you want me to do it? It does not look to hard to do, and I think we can use the same logic as the Twizzy (and Michael J previously suggested).<o:p></o:p></p></div><div><p class="MsoNormal"><o:p> </o:p></p></div><div><p class="MsoNormal">Regards, Mark.<o:p></o:p></p></div><div><p class="MsoNormal"><o:p> </o:p></p><div><div><p class="MsoNormal">On 31 Dec, 2012, at 10:38 PM, <<a href="mailto:info@opel-ampera-forum.de">info@opel-ampera-forum.de</a>> <<a href="mailto:info@opel-ampera-forum.de">info@opel-ampera-forum.de</a>> wrote:<o:p></o:p></p></div><p class="MsoNormal"><br><br><o:p></o:p></p><div><div><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Mark,</span><o:p></o:p></p></div><div><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p></div><div><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">here is „tachy“ from<span class="apple-converted-space"> </span><a href="http://opel-ampera-forum.de">opel-ampera-forum.de</a>, i’ve analyzed the requests from a DashDAQ on CANBus.</span><o:p></o:p></p></div><div><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p></div><div><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">To request current and voltage of the charger and the outside temperature, you have to sen</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">d the following sequence:</span><o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">7E4 8 10 08 2C FE 43 69 43 68<span class="apple-converted-space"> </span><br>7E4 8 21 80 1F 00 00 00 00 00<span class="apple-converted-space"> </span><br>7E4 8 03 AA 04 FE 00 00 00 00</span><o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The answer (160 times) is:</span><o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">5EC 8 FE xx yy zz 00 00 00 00</span><o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p></div><div><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">xx =<span class="apple-converted-space"> </span></span><span lang="EN-US">Charging Current, units 0.2 A (ex. 0x43 = 13.4 A)</span><o:p></o:p></p></div><div><p class="MsoNormal"><code><span lang="EN-US" style="font-size:10.0pt">yy =</span></code><span class="apple-converted-space"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""> </span></span><span lang="EN-US">Charging Voltage, units 2 V (ex. 0x70 = 224 V)</span><o:p></o:p></p></div><div><p class="MsoNormal"><span lang="EN-US">zz = outside temperature, units 0,5°C, offset +40 ( ex. 0x60 => 8°C )</span><o:p></o:p></p></div><div><p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p></div><div><p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p></div><div><p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p></div><div><p class="MsoNormal"><span lang="EN-US">Regards,</span><o:p></o:p></p></div><div><p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p></div><div><p class="MsoNormal"><span lang="EN-US">Johannes</span><o:p></o:p></p></div><div><p class="MsoNormal"><code><span lang="EN-US" style="font-size:10.0pt"> </span></code><o:p></o:p></p></div><div><p class="MsoNormal"><code><span lang="EN-US" style="font-size:10.0pt"> </span></code><o:p></o:p></p></div><div><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p></div><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm;border-width:initial;border-color:initial"><div><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Von:</span></b><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><a href="mailto:ovmsdev-bounces@lists.teslaclub.hk">ovmsdev-bounces@lists.teslaclub.hk</a><span class="apple-converted-space"> </span>[<a href="mailto:ovmsdev-bounces@lists.teslaclub.hk">mailto:ovmsdev-bounces@lists.teslaclub.hk</a>]<span class="apple-converted-space"> </span><b>Im Auftrag von<span class="apple-converted-space"> </span></b><a href="mailto:mikeljo@me.com">mikeljo@me.com</a><br><b>Gesendet:</b><span class="apple-converted-space"> </span>Sonntag, 30. Dezember 2012 13:59<br><b>An:</b><span class="apple-converted-space"> </span>OVMS Developers<br><b>Betreff:</b><span class="apple-converted-space"> </span>Re: [Ovmsdev] Volt/Ampera</span><o:p></o:p></p></div></div></div><div><p class="MsoNormal"> <o:p></o:p></p></div><div><p class="MsoNormal">Hi,<o:p></o:p></p></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">it continues<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">Direct reading here: <a href="http://gm-volt.com/forum/showthread.php?12958-CAN-bus-reading-remote-viewing-of-charge-state&p=226884#post226884">http://gm-volt.com/forum/showthread.php?12958-CAN-bus-reading-remote-viewing-of-charge-state&p=226884#post226884</a><o:p></o:p></p></div></div><div><div><p class="MsoNormal">or main here: <a href="http://www.opel-ampera-forum.de/viewtopic.php?f=39&t=1147&start=60#p17254">http://www.opel-ampera-forum.de/viewtopic.php?f=39&t=1147&start=60#p17254</a><o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">It seems that 5EC returns what you request in 7E4.<o:p></o:p></p></div></div><div><div><p class="MsoNormal">Not only Voltage and Current, also Outside Temp and HV-Batterie Temp or HV-Cooling Temp.<o:p></o:p></p></div></div><div><div><p class="MsoNormal">The Meaning of the values depends on the Request in 7E4.<o:p></o:p></p></div></div><div><div><p class="MsoNormal">----- It "could" be that 7EC is an answer from the bus too.<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">And i think that this is a "user generated" output. Generated only by the Gateway?<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">Here is a log when DashDaq starts:<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><div><p class="MsoNormal">34,152 7E0 8 02 01 00 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,154 7E8 8 06 41 00 BE 7F B8 13 AA <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,180 7DF 8 02 01 00 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,182 7E8 8 06 41 00 BE 7F B8 13 AA <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,185 7EB 8 06 41 00 80 40 00 01 AA <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,186 7EF 8 06 41 00 00 00 00 01 AA <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,187 7EC 8 06 41 00 80 00 00 01 AA <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,187 7E9 8 06 41 00 80 00 00 01 AA <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,188 7EA 8 06 41 00 80 00 00 01 AA <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,196 7ED 8 06 41 00 00 00 00 01 AA <o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,528 7E0 8 02 AA 00 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,533 5E8 8 00 00 00 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,591 7E1 8 02 AA 00 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,592 5E9 8 00 00 00 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,656 7E2 8 02 AA 00 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,660 5EA 8 00 00 00 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,721 7E3 8 02 AA 00 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,728 5EB 8 00 00 00 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,787 7E4 8 02 AA 00 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,804 5EC 8 00 00 00 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,851 7E5 8 02 AA 00 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,862 5ED 8 00 AA AA AA AA AA AA AA <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,916 7E7 8 02 AA 00 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,928 5EF 8 00 00 00 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,981 7E1 8 04 2C FE 28 E8 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,984 7E9 8 02 6C FE AA AA AA AA AA <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,987 7E4 8 10 0C 2C FE 43 4F 43 69 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,997 7EC 8 30 00 14 AA AA AA AA AA <o:p></o:p></p></div></div><div><div><p class="MsoNormal">34,998 7E4 8 21 43 68 80 1E 80 1F 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">35,010 7EC 8 02 6C FE AA AA AA AA AA <o:p></o:p></p></div></div><div><div><p class="MsoNormal">35,014 101 8 FE 01 3E 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">35,015 7E1 8 03 AA 04 FE 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">35,018 5E9 8 FE 00 00 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">35,045 5E9 8 FE 00 00 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">35,058 7E4 8 03 AA 04 FE 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">35,072 5E9 8 FE 00 00 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">35,099 5E9 8 FE 00 00 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">35,117 5EC 8 FE 34 48 6E 63 60 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">35,126 5E9 8 FE 00 00 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">35,154 5E9 8 FE 00 00 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">35,171 5EC 8 FE 34 48 6E 63 60 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">35,180 5E9 8 FE 00 00 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">35,207 5E9 8 FE 00 00 00 00 00 00 00 <o:p></o:p></p></div></div><div><div><p class="MsoNormal">35,226 5EC 8 FE 34 48 6E 63 60 00 00 <o:p></o:p></p></div></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">It looks like that a 7Ex starts an output from 5E(x+8). x is between 0 and 7<o:p></o:p></p></div></div><div><div><p class="MsoNormal">7E4 -> 5EC<o:p></o:p></p></div></div><div><div><p class="MsoNormal">---- 7Ex ( 8 < = x <= F) could be a "control" output from the gateway.<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">Info from RScott:<o:p></o:p></p></div></div><div><div id="post_message_226884"><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#333333">I've got some at <a href="http://www.evtools.info/ChevyVoltOBD2CAN.html" target="_blank"><span style="color:#417394;text-decoration:none">http://www.evtools.info/ChevyVoltOBD2CAN.html</span></a>, but really need to update that page (I've found some more, but not ranges).<br><br>If the first byte in 0BC has bit 8 set (leftmost), the car is on; if bit 5 is set, the car is off.<br><br>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).<br><br>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).<br><br>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).</span><o:p></o:p></p></div></blockquote></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">---------------------------------------<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">For 4C1 i can say this is correct. But in Germany it is °C. T =( (4C1 Byte 5) / 2 ) - 40<o:p></o:p></p></div></div><div><div><p class="MsoNormal">I checked it with my old Logs and the Temperature are right.<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">Bye<o:p></o:p></p></div></div><div><div><p class="MsoNormal">Michael<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div><div><div><div><p class="MsoNormal">Am 30.12.2012 um 07:23 schrieb Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>>:<o:p></o:p></p></div></div><div><p class="MsoNormal"><br><br><br><o:p></o:p></p></div><div><div><p class="MsoNormal">Michael,<o:p></o:p></p></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">OK. This looks like an extension to standard OBDII over CAN. See:<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><blockquote style="margin-left:30.0pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt"><div><div><p class="MsoNormal"><a href="http://en.wikipedia.org/wiki/OBD-II_PIDs#CAN_.2811-bit.29_Bus_format">http://en.wikipedia.org/wiki/OBD-II_PIDs#CAN_.2811-bit.29_Bus_format</a><o:p></o:p></p></div></div><div><div><p class="MsoNormal"><a href="http://mbed.org/cookbook/OBDII-Can-Bus">http://mbed.org/cookbook/OBDII-Can-Bus</a><o:p></o:p></p></div></div></blockquote></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><div><p class="MsoNormal">send: 7E4 8 06 2C FE 43 69 43 68 00<o:p></o:p></p></div></div></blockquote><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">OBDII extension:<o:p></o:p></p></div></div><div><ul style="margin-top:0cm" type="disc"><li class="MsoNormal" style="mso-list:l1 level1 lfo2">06 is the number of bytes in the message<o:p></o:p></li><li class="MsoNormal" style="mso-list:l1 level1 lfo2">2C is a custom mode<o:p></o:p></li><li class="MsoNormal" style="mso-list:l1 level1 lfo2">FE 43 69 43 68 00 would normally be the OBDII PID code, but here we don't know as it is custom<o:p></o:p></li></ul></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><div><p class="MsoNormal">send: 7E4 8 03 AA 04 FE 00 00 00 00<o:p></o:p></p></div></div></blockquote></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">Similarly, 03 is the length, AA 04 FE is the message.<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><div><p class="MsoNormal">return: 7EC 8 02 6C FE AA AA AA AA AA<o:p></o:p></p></div></div></blockquote></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">02 is the length, 6C FE is the message. The rest is garbage.<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><div><p class="MsoNormal">return: 5EC 8 FE 4A 6F 00 00 00 00 00 [repeat 160 times]<o:p></o:p></p></div></div></blockquote></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">I think this is just the raw message (not OBDII). It is completely different from an OBDII over CAN reply.<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">It is not unusual for the physical controller ID to be a fixed offset from the OBDII response ID. In standard OBDII over CAN, the offset is often 8. Here, we're seeing an offset of 0x0200.<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><div><div><p class="MsoNormal">Idea:<o:p></o:p></p></div></div><div><div><p class="MsoNormal">car is off. -> no data on can bus.<o:p></o:p></p></div></div><div><div><p class="MsoNormal">car is off and charging -> can bus wakes every ~30 MInutes up. You can see in my Logs.<o:p></o:p></p></div></div><div><div><p class="MsoNormal">When the can bus is awake (it gets valid SOC Data for example), the Module send the initialization sequence and then the demand sequence.<o:p></o:p></p></div></div><div><div><p class="MsoNormal">It can send the demand sequence every 10seconds until the the can bus go sleep.<o:p></o:p></p></div></div><div><div><p class="MsoNormal">When there are no valid values in 5EC (the rest is valid) (temperature is zero, we normally don't have -40°C), the module sends the initialization sequnece again.<o:p></o:p></p></div></div></div></blockquote></div><div><div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">I think this is a fine approach.<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">For your convenience, I've added a hook function vehicle_fn_ticker10() to the vehicle layer. You can hook into that to get a callback once every 10 seconds.<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">I suggest you wrap this logic around a "if (sys_features[FEATURE_CANWRITE])" so that you only do this if canwrite is on. Don't write to the can bus unless it has been opened in active mode (otherwise the system will loop waiting for the bus to be writable, then watchdog timeout as it never does).<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">Other than that, the charging / not-charging state can be maintained in the way you suggest. You should also be able to detect charging is stopped (charging -> not-charging) and check the SOC% to decide whether to alert or not. I think "twizy" Michael does something similar, so you may want to see how he does it and do it the same way.<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">The temperature is a nice bonus. I wonder what other fun stuff is hiding :-)<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">Regards, Mark.<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">On 30 Dec, 2012, at 12:50 AM,<span class="apple-converted-space"> </span><a href="mailto:mikeljo@me.com">mikeljo@me.com</a><span class="apple-converted-space"> </span>wrote:<o:p></o:p></p></div></div><div><p class="MsoNormal"><br><br><br><o:p></o:p></p></div><div><div><p class="MsoNormal">Hi,<o:p></o:p></p></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">Johannes find some interesting stuff:<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><div><p class="MsoNormal">send: 7E4 8 06 2C FE 43 69 43 68 00<o:p></o:p></p></div></div><div><div><p class="MsoNormal">return: 7EC 8 02 6C FE AA AA AA AA AA<o:p></o:p></p></div></div><div><div><p class="MsoNormal">Set Configuration to get Voltage and Current<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">send: 7E4 8 03 AA 04 FE 00 00 00 00<o:p></o:p></p></div></div><div><div><p class="MsoNormal">return: 5EC 8 FE 4A 6F 00 00 00 00 00 [repeat 160 times]<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">Byte 1 (4A) Current<o:p></o:p></p></div></div><div><div><p class="MsoNormal">Byte 2 (6F) Voltage<o:p></o:p></p></div></div><div><div><p class="MsoNormal">Calculation:<o:p></o:p></p></div></div><div><div><p class="MsoNormal">I = Byte 1 * 0.2 in Ampere<o:p></o:p></p></div></div><div><div><p class="MsoNormal">U = Byte 2 / 2 in Volt<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">And continue:<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">Sending this two sequenzes <span style="font-size:10.0pt;font-family:"Arial","sans-serif";background:white">immediately </span><o:p></o:p></p></div></div><div><div><p class="MsoNormal">7E4 8 10 08 2C FE 43 69 43 68<o:p></o:p></p></div></div><div><div><p class="MsoNormal">7E4 8 21 80 1F 00 00 00 00 00<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">gives with this:<o:p></o:p></p></div></div><div><div><p class="MsoNormal">send: 7E4 8 03 AA 04 FE 00 00 00 00<o:p></o:p></p></div></div><div><div><p class="MsoNormal">return: 5EC 8 FE 4A 6F 64 00 00 00 00 [repeat 160 times]<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">Byte 1 and 2 same as before, and in Byte 3 Temperature in °C<o:p></o:p></p></div></div><div><div><p class="MsoNormal">T = (Byte 3 / 2 ) - 40<o:p></o:p></p></div></div><div><div><p class="MsoNormal">This is the Temp. in raw. in Byte 4 could be Temp filtered. Still searching the Sequence for this.<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">Strom: 0x4A * 0,2 = 14,8A<o:p></o:p></p></div></div><div><div><p class="MsoNormal">Spannung: 0x6F * 2 = 222V<o:p></o:p></p></div></div><div><div><p class="MsoNormal">Temperatur: (0x64 / 2) - 40 = 10°C<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">Current and Temperature are ok. I think the Voltage must have an Offset (8 or 9) too. Cause my Voltage is around 230V.<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">It seems that the config send only once (every x Minutes, or so) and the "give me data" ID (7E4 8 03 AA 04 FE 00 00 00 00) every time you want to get it.<o:p></o:p></p></div></div><div><div><p class="MsoNormal">Then you get ~160 times the requested Values in ID 5EC.<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div></div><div><div><p class="MsoNormal">Idea:<o:p></o:p></p></div></div><div><div><p class="MsoNormal">car is off. -> no data on can bus.<o:p></o:p></p></div></div><div><div><p class="MsoNormal">car is off and charging -> can bus wakes every ~30 MInutes up. You can see in my Logs.<o:p></o:p></p></div></div><div><div><p class="MsoNormal">When the can bus is awake (it gets valid SOC Data for example), the Module send the initialization sequence and then the demand sequence.<o:p></o:p></p></div></div><div><div><p class="MsoNormal">It can send the demand sequence every 10seconds until the the can bus go sleep.<o:p></o:p></p></div></div><div><div><p class="MsoNormal">When there are no valid values in 5EC (the rest is valid) (temperature is zero, we normally don't have -40°C), the module sends the initialization sequnece again.<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">Bye<o:p></o:p></p></div></div><div><div><p class="MsoNormal">Michael J.<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div><div><div><div><p class="MsoNormal">Am 28.12.2012 um 01:41 schrieb Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>>:<o:p></o:p></p></div></div><div><p class="MsoNormal"><br><br><br><o:p></o:p></p></div><div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><p class="MsoNormal">Can he provide the logs from the moment the DashDAQ is connected? Perhaps 10 seconds without charging, then start the charge and continue to monitor for 1 minute.<o:p></o:p></p></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">It seems possible that this is enabled by turning on a monitoring mode, but unexpected. This sort of thing would normally just be transmitted as part of the normal message stream.<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">Regards, Mark<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div><div><div><div><p class="MsoNormal">On 27 Dec, 2012, at 11:58 PM,<span class="apple-converted-space"> </span><a href="mailto:mikeljo@me.com">mikeljo@me.com</a><span class="apple-converted-space"> </span>wrote:<o:p></o:p></p></div></div><div><p class="MsoNormal"><br><br><br><o:p></o:p></p></div><div><div><div><div><p class="MsoNormal">Am 27.12.2012 um 01:11 schrieb Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>>:<o:p></o:p></p></div></div><div><p class="MsoNormal"><br><br><br><o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:13.5pt;font-family:"Helvetica","sans-serif"">Now, on to the other messages (I spoke about yesterday in the other thread). I'll try to drum up some interest in the forums to see if anyone can help with the decodes. It would be good if you could do the same.</span><o:p></o:p></p></div></div><div><p class="MsoNormal"> <o:p></o:p></p></div><div><div><p class="MsoNormal">And here some first results from tachy:<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#333333;background:#ECF3F7">CANUSB mit DashDAQ kombiniert bringts! Ich habe soeben den Code für das Ladegerät (Ladestrom/Ladespannung) rausbekommen:</span><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#333333"><br><br><span style="background:#ECF3F7">5EC Byte 3 Ladestrom Einheit 0.2 A (Bsp: 14.2 A = 47h)</span><br><span style="background:#ECF3F7">5EC Byte 4 Ladespannung Einheit 2 V (Bsp: 222V = 6Fh)</span></span><o:p></o:p></p></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">He works with a DashDAQ and a CANUSB, both connected with a ODB2 Y-Cable.<o:p></o:p></p></div></div><div><div><p class="MsoNormal">So he find the Charging Current und Charging Voltage:<o:p></o:p></p></div></div><div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#333333;background:#ECF3F7">5EC Byte 3 Charge Current Unit 0.2 A (Example: 14.2 A = 47h)</span><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#333333"><br><span style="background:#ECF3F7">5EC Byte 4 Charge Voltage Unit 2 V (Example: 222V = 6Fh)</span></span><o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">Fast enough?<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">BUT!!! This IDs doesn't exist in my Logs. i Think the DasDaq send a Command to get this ID.<o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><div><div><p class="MsoNormal">Bye<o:p></o:p></p></div></div><div><div><p class="MsoNormal">michael<o:p></o:p></p></div></div></div><div><p class="MsoNormal">_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br><a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><o:p></o:p></p></div></div><div><p class="MsoNormal"> <o:p></o:p></p></div></div></div><div><p class="MsoNormal">_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br><a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><o:p></o:p></p></div></div><div><p class="MsoNormal"> <o:p></o:p></p></div></div></div><div><p class="MsoNormal">_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br><a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><o:p></o:p></p></div></div><div><p class="MsoNormal"> <o:p></o:p></p></div></div></div><div><p class="MsoNormal">_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br><a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><o:p></o:p></p></div></div><div><p class="MsoNormal"> <o:p></o:p></p></div></div><p class="MsoNormal"><span style="font-size:13.5pt;font-family:"Helvetica","sans-serif"">_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br><a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><o:p></o:p></span></p></div></div><p class="MsoNormal"><o:p> </o:p></p></div></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>OvmsDev mailing list</span><br><span><a href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a></span><br><span><a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a></span><br></div></blockquote></body></html>