<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div><blockquote type="cite"><div>So we still have to find Car On/Off and the charging status.</div></blockquote><br></div><div>Worst case for car on/off, we use parked/notparked (gear shift position). That is normally relatively easy to find. The "CAN gateway" document you quote gives message transmission intervals - that is a big clue and should help to narrow things down.</div><div><br></div>Very feasible. I'll make the stub tonight, based on "MI" as the vehicle type.<div><br></div><div><blockquote type="cite"><div>I'm interested in using the OVMS v1 HW for logging of CAN messages. How to pay for postage?</div></blockquote><br></div><div>Not sure where you are, but US$5 should cover it (the boards are pretty light). Just paypal to <a href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>, then let me know your address (by eMail to <a href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>). Same goes for anyone else who wants one of these.</div><div><br></div><div>I myself am trying to use one as a CAN-Bluetooth gateway (using an HC-05 style bluetooth module), as a proof-of-concept for the in-car real-time OVMS display.</div><div><br></div><div>Regards, Mark.</div><div><br><div><div>On 30 Apr, 2013, at 5:29 AM, Thomas Bergo wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi,<div><br></div><div>So far the following CAN messages is discovered by Priusfan published on myimiev forum:</div><div><br></div><div>SOC</div><div>RPM</div><div>Range</div><div>Battery current</div><div>Battery voltage</div>
<div>Speed</div><div>Odo</div><div>Battery cell voltage</div><div>Battery cell temperature</div><div><br></div><div>So we still have to find Car On/Off and the charging status.</div><div><br></div><div>Those messages are available as Mitsubishi has made a CAN Gateway where those data is provided. <span></span><a href="http://www.pref.nagasaki.jp/ev/ev&its/120614/navi/gateway_gaiyou.pdf">http://www.pref.nagasaki.jp/ev/ev&its/120614/navi/gateway_gaiyou.pdf</a></div>
<div><br></div><div><br></div><div>Regarding the two-character abbreviation I think Brand-Model (MI) as TR and RT is most intuitive. So my vote goes to MI.</div><div><br></div><div>I'm interested in using the OVMS v1 HW for logging of CAN messages. How to pay for postage?</div>
<div><br></div><div>Regards, Thomas</div><div><br><br>mandag 29. april 2013 skrev Mark Webb-Johnson  følgende:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">
Thomas,<div><br></div><div>Earlier this year, Matt Beard mentioned he was interested in doing i-Miev support, but I'm not sure of his status. He is on this list, so should see this. There are also several OVMS users who have that car in their stable, so the requirement is definitely there.</div>
<div><br></div><div>It is probably worth firstly doing a quick feasibility check, to see what level of OVMS support is possible:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>
Firstly, What are the specs for the CAN bus? What baud rate is it, and what is the connector? There are  just three messages that are key to feasibility:</div></div><div><div><div><br></div></div></div></blockquote><div><div>
<div><ol><ol><li>SOC - battery state of charge - <i>car_SOC</i></li><li>Car On/Off (ignition switch, or Park/Drive gear lever) - <i>car_doors1 [bit7]</i></li><li>Car Charging (true or false) - <i>car_doors1 [bit 4]</i></li>
</ol></ol></div></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div><br></div></div></div><div><div><div>If those three are available, and readable by the OVMS hardware, then the project is most likely feasible. There are lots of other parameters (range, temperature, odometer, speed, vin, tpms, etc) that are nice to have, but are either optional (nice-to-have) or can generally be derived from these three key messages - so long as they can be found. For example, on the Volt/Ampera we don't know the detailed charge messages, but do know whether the car is charging or not - we can assume charge interrupted if the charge finishes before 95% complete. Similarly, if the range of the car is XXkm, we can estimate the current range based on XX * SOC%. If the car has no GPS details on the CAN bus, then we can use the GPS in the OVMS module itself.</div>
</div></div></blockquote><div><div><br></div><div>What vehicle two-character abbreviation do you think is suitable: IM or MI? Examples are RT (Renault Twizy), VA (Volt/Ampera), TR (Tesla Roadster).</div><div><br></div><div>
If you can let me have the can bus specs and information on the above 3 messages, I will create you a stub vehicle implementation.</div><div><br></div><div>Regards, Mark.</div><div><br></div><div>P.S. With reference to the development guide (<a href="https://raw.github.com/markwj/Open-Vehicle-Monitoring-System/master/docs/OVMS_Development.pdf" target="_blank">https://raw.github.com/markwj/Open-Vehicle-Monitoring-System/master/docs/OVMS_Development.pdf</a>), these are the current set of parameters that OVMS supports.</div>
<div><br></div><div><blockquote style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:40px;border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none;border-width:initial;border-color:initial;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
<h1><a name="13e5473ab4dd4ae8_13e5473ab4dd4ae8__Toc221031762">Vehicle Module Development Checklists</a> </h1><h2><a name="13e5473ab4dd4ae8_13e5473ab4dd4ae8__Toc221031763">Development Checklists</a><br><br><u></u><u></u></h2><p>You can use these checklists to know what vehicle parameters the OVMS system supports, and how you can map a specific vehicle to these. </p><table border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none;border-width:initial;border-color:initial">
<thead><tr><td width="126" valign="top" style="width:125.9pt;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-color:white;border-right-color:white;border-bottom-color:white;border-left-color:white;border-top-width:1pt;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;background-image:initial;background-color:black;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt;background-repeat:initial initial"><p><b><span style="font-size:10pt;color:white">Parameter<u></u><u></u></span></b></p></td><td width="142" valign="top" style="width:5cm;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-top-color:white;border-right-color:white;border-bottom-color:white;border-top-width:1pt;border-right-width:1pt;border-bottom-width:1pt;border-left-style:none;border-left-width:initial;border-left-color:initial;background-image:initial;background-color:black;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt;background-repeat:initial initial"><p><b><span style="font-size:10pt;color:white">Purpose<u></u><u></u></span></b></p></td><td width="175" valign="top" style="width:175.15pt;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-top-color:white;border-right-color:white;border-bottom-color:white;border-top-width:1pt;border-right-width:1pt;border-bottom-width:1pt;border-left-style:none;border-left-width:initial;border-left-color:initial;background-image:initial;background-color:black;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt;background-repeat:initial initial"><p><b><span style="font-size:10pt;color:white">Vehicle Support Notes<u></u><u></u></span></b></p></td></tr></thead><tbody><tr><td width="443" colspan="3" valign="top" style="width:442.8pt;border-top-style:none;border-top-width:initial;border-top-color:initial;border-left-style:solid;border-left-color:white;border-left-width:1pt;border-bottom-style:solid;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-style:solid;border-right-color:white;border-right-width:1pt;background-image:initial;background-color:silver;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt;background-repeat:initial initial"><p><b><span style="font-size:9pt"> </span></b></p><p><b><span style="font-size:9pt">Vehicle Identification<u></u><u></u></span></b></p></td></tr><tr><td width="126" valign="top" style="width:125.9pt;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-right-color:white;border-bottom-color:white;border-left-color:white;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;border-top-style:none;border-top-width:initial;border-top-color:initial;background-image:initial;background-color:silver;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt;background-repeat:initial initial"><p><span style="font-size:9pt">car_type<u></u><u></u></span></p></td><td width="142" valign="top" style="width:5cm;border-top-style:none;border-top-width:initial;border-top-color:initial;border-left-style:none;border-left-width:initial;border-left-color:initial;border-bottom-style:solid;border-bottom-color:white;border-bottom-width:1pt;border-right-style:solid;border-right-color:white;border-right-width:1pt;background-image:initial;background-color:silver;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt;background-repeat:initial initial"><p><span style="font-size:9pt">Vehicle type identified<u></u><u></u></span></p></td><td width="175" valign="top" style="width:175.15pt;border-top-style:none;border-top-width:initial;border-top-color:initial;border-left-style:none;border-left-width:initial;border-left-color:initial;border-bottom-style:solid;border-bottom-color:white;border-bottom-width:1pt;border-right-style:solid;border-right-color:white;border-right-width:1pt;background-image:initial;background-color:silver;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt;background-repeat:initial initial">
<div><span style="font-size:9pt"> </span><br></div></td></tr><tr><td width="126" valign="top" style="width:125.9pt;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-right-color:white;border-bottom-color:white;border-left-color:white;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;border-top-style:none;border-top-width:initial;border-top-color:initial;background-image:initial;background-color:silver;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt;background-repeat:initial initial"><p><span style="font-size:9pt">car_vin<u></u><u></u></span></p></td><td width="142" valign="top" style="width:5cm;border-top-style:none;border-top-width:initial;border-top-color:initial;border-left-style:none;border-left-width:initial;border-left-color:initial;border-bottom-style:solid;border-bottom-color:white;border-bottom-width:1pt;border-right-style:solid;border-right-color:white;border-right-width:1pt;background-image:initial;background-color:silver;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt;background-repeat:initial initial"><p><span style="font-size:9pt">Vehicle VIN<u></u><u></u></span></p></td><td width="175" valign="top" style="width:175.15pt;border-top-style:none;border-top-width:initial;border-top-color:initial;border-left-style:none;border-left-width:initial;border-left-color:initial;border-bottom-style:solid;border-bottom-color:white;border-bottom-width:1pt;border-right-style:solid;border-right-color:white;border-right-width:1pt;background-image:initial;background-color:silver;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt;background-repeat:initial initial">
<div><span style="font-size:9pt"> </span><br></div></td></tr></tbody></table><p><u></u> <u></u></p><table border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none;border-width:initial;border-color:initial">
<thead><tr><td width="126" valign="top" style="width:125.9pt;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-color:white;border-right-color:white;border-bottom-color:white;border-left-color:white;border-top-width:1pt;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;background-image:initial;background-color:black;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt;background-repeat:initial initial"><p><b><span style="font-size:10pt;color:white">Parameter<u></u><u></u></span></b></p></td><td width="142" valign="top" style="width:5cm;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-top-color:white;border-right-color:white;border-bottom-color:white;border-top-width:1pt;border-right-width:1pt;border-bottom-width:1pt;border-left-style:none;border-left-width:initial;border-left-color:initial;background-image:initial;background-color:black;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt;background-repeat:initial initial"><p><b><span style="font-size:10pt;color:white">Purpose<u></u><u></u></span></b></p></td><td width="175" valign="top" style="width:175.15pt;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-top-color:white;border-right-color:white;border-bottom-color:white;border-top-width:1pt;border-right-width:1pt;border-bottom-width:1pt;border-left-style:none;border-left-width:initial;border-left-color:initial;background-image:initial;background-color:black;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt;background-repeat:initial initial"><p><b><span style="font-size:10pt;color:white">Vehicle Support Notes<u></u><u></u></span></b></p></td></tr></thead><tbody><tr><td width="443" colspan="3" valign="top" style="width:442.8pt;border-top-style:none;border-top-width:initial;border-top-color:initial;border-left-style:solid;border-left-color:white;border-left-width:1pt;border-bottom-style:solid;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-style:solid;border-right-color:white;border-right-width:1pt;background-image:initial;background-color:silver;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt;background-repeat:initial initial"><p><b><span style="font-size:9pt"> </span></b></p><p><b><span style="font-size:9pt">GPS Status</span></b><span style="font-size:9pt"><u></u><u></u></span></p></td></tr><tr><td width="126" valign="top" style="width:125.9pt;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-right-color:white;border-bottom-color:white;border-left-color:white;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;border-top-style:none;border-top-width:initial;border-top-color:initial;background-image:initial;background-color:silver;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt;background-repeat:initial initial"><p><span style="font-size:9pt">Vehicle GPS<u></u><u></u></span></p></td><td width="142" valign="top" style="width:5cm;border-top-style:none;border-top-width:initial;border-top-color:initial;border-left-style:none;border-left-width:initial;border-left-color:initial;border-bottom-style:solid;border-bottom-color:white;border-bottom-width:1pt;border-right-style:solid;border-right-color:white;border-right-width:1pt;background-image:initial;background-color:silver;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt;background-repeat:initial initial"><p><span style="font-size:9pt">Does the vehicle have a built-in GPS? If so, complete the following.<u></u><u></u></span></p></td><td width="175" valign="top" style="width:175.15pt;border-top-style:none;border-top-width:initial;border-top-color:initial;border-left-style:none;border-left-width:initial;border-left-color:initial;border-bottom-style:solid;border-bottom-color:white;border-bottom-width:1pt;border-right-style:solid;border-right-color:white;border-right-width:1pt;background-image:initial;background-color:silver;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt;background-repeat:initial initial">
<div><span style="font-size:9pt"> </span><br></div></td></tr><tr><td width="126" valign="top" style="width:125.9pt;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-right-color:white;border-bottom-color:white;border-left-color:white;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;border-top-style:none;border-top-width:initial;border-top-color:initial;background-image:initial;background-color:silver;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt;background-repeat:initial initial"><p><span style="font-size:9pt">car_gpslock<u></u><u></u></span></p></td><td width="142" valign="top" style="width:5cm;border-top-style:none;border-top-width:initial;border-top-color:initial;border-left-style:none;border-left-width:initial;border-left-color:initial;border-bottom-style:solid;border-bottom-color:white;border-bottom-width:1pt;border-right-style:solid;border-right-color:white;border-right-width:1pt;background-image:initial;background-color:silver;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt;background-repeat:initial initial"><div><br class="webkit-block-placeholder"></div></td></tr></tbody></table></blockquote></div></div></div></blockquote></div>
_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br>http://lists.teslaclub.hk/mailman/listinfo/ovmsdev<br></blockquote></div><br></div></body></html>