[Ovmsdev] OVMS Leaf Support

Robert Sharpe robert.sharpe at evergreen-consulting.co.uk
Wed Oct 16 02:14:23 HKT 2013


Hi Mark,>I would rather the actual development discussions take place here on this list. A lot of smart people here, with experience getting these vehicle modules working.No problem.  What I was really suggesting was a way of tracking tasks toclarify what needs to be done, who is doing it and its statushelp get engagement from other people that might want to also helpshows general progress to the users/developerslinks to maybe to task specific threadsProbably a better system would be to share a google spreadsheet.Let me know what you think.RobOn Oct 15, 2013, at 3.04AM, Mark Webb-Johnson wrote:Developers guide is here:https://github.com/markwj/Open-Vehicle-Monitoring-System/blob/master/docs/OVMS_Development.pdf?raw=trueI would rather the actual development discussions take place here on this list. A lot of smart people here, with experience getting these vehicle modules working.The biggest concern for me is whether we can get everything we need off one CAN bus (the car CAN that is on the standard OBD-II pins). Every time this is raised, the response is 'oh, no, you need to see all 4 vehicle buses (and Chademo bus included)'. I don't believe that. In most cases I've seen, the common useful information is gatewayed onto the primary CAN bus used for OBD-II comms - either directly as repeated CAN messages, or indirectly via PID polling. Sure, in an ideal world the OVMS module would support 10 individual CAN buses, the legacy OBD-II buses, plus methane sensors for cabin pollution, but for what we need to do I really don't think it is necessary.I think what the Leaf Spy people have done really shows what is possible with that primary CAN bus. Sure, they could also be accessing the legacy OBD-II buses as well, but I doubt it. We can even see what Leaf Spy is accessing, as they have a trace function:What I will need is an ELM trace to see if I can determine what the problem is.1. Start the app and go to the bottom of the Settings menu (Debug) and check the "Trace ELM" check box, then exit the app. The trace starts on the next app startup.2. Start up the app and let it run for 20 seconds then exit. The "Trace ELM" flag is automatically turned off. A logging message will flash bottom center while logging is active.3. Using the email address in the About screen send me the TRC_******.txt file located in the LEAF_BT_CAN folder.Can someone with that program try it, and send me the trace output?Also, are there any CAN bus dump files out there for the CAR CAN bus? It would be good to see the volume of data, as well as some examples.Later today, I'll prepare a list of what OVMS needs, and let's try to map that to CAR CAN data messages and PID requests. Let's see if this is feasible first.Regards, Mark.On 14 Oct, 2013, at 10:01 pm, Robert Sharpe robert.sharpe at evergreen-consulting.co.uk> wrote:Hi Kevin,Thanks a lot for your kind offer.I should set expectations that I am an out of practice and slow coder, but I will do what I can to help.  I can probably help more with test, debug and coordination.So if you are still happy then, as I dont have any OVMS kit, I will need an OVMS and correct cable.Can someone point me to a developer beginner's instructions for what else is required to develop/test, e.g. programmer, sniffer, code repository login, CM procedures, etcIt helps me, and hopefully anyone else working on the project, if we can agree the breakdown of work.  As you may have already seen I have suggested a post for the Leaf development at http://www.openvehicles.com/node/111 Nikki/Mark shall we use that as a way of planning and tracking the work ?Regards,RobOn Oct 14, 2013, at 2.21PM, Nikki Gordon-Bloomfield wrote:Hi Kevin, That's very generous. Happy to test OVMS in my LEAF, so I guess another OVMS kit with a righty cable? Nikki. On 14 Oct 2013, at 13:47, Kevin Sharpe ZCW kevin.sharpe at zerocarbonworld.org">target="_blank">kevin.sharpe at zerocarbonworld.org> wrote:






Rob, Mark (C), Nikki,


If it helps, I'm happy to provide each of you with OVMS hardware FOC in return for your efforts on the Leaf development :-)


Let me know what you need,










Kevin Sharpe | Founder & Patron

Tel: +44 122 566 7544 ext: 800 | Skype: zerocarbonworld

kevin.sharpe at zerocarbonworld.org | www.zerocarbonworld.org | twitter.com/zerocarbonworld




Zero Carbon World is a UK Registered Charity #1141347









From: Robert Sharpe robert.sharpe at evergreen-consulting.co.uk">target="_blank">robert.sharpe at evergreen-consulting.co.uk>
Reply-To: OVMS Developers ovmsdev at lists.teslaclub.hk">target="_blank">ovmsdev at lists.teslaclub.hk>
Date: Monday, 14 October 2013 13:41
To: OVMS Developers ovmsdev at lists.teslaclub.hk">target="_blank">ovmsdev at lists.teslaclub.hk>
Subject: Re: [Ovmsdev] OVMS Leaf Support





Hi Mark,




This looks very interesting.




I am out today but will look in more depth tomorrow.




Regards,

Rob


---- On Mon, 14 Oct 2013 10:08:41 +0100 Mark Webb-Johnson mark at webb-johnson.net">target="_blank">mark at webb-johnson.net> wrote ----





I think the leaf spy app shows what can be done. It only uses standard OBDII, with just one can bus. It could also be using the other non-can OBDII buses, but I doubt it.


Shame it is not open source, but the leaf codes are pretty well documented now.


Regards, Mark

On 14 Oct, 2013, at 4:00 pm, Nikki Gordon-Bloomfield nikki at aminorjourney.com">target="_blank">nikki at aminorjourney.com> wrote:



Oh yes, there are multiple CAN busses on the LEAF. The standard one, which is where all the data below comes from, an the EV can -- that would require some clever doodads, since both are on the same physical connector -- just different pins. 


Nikki. 







On 14 Oct 2013, at 04:50, Mark Webb-Johnson mark at webb-johnson.net">target="_blank">mark at webb-johnson.net> wrote:



Robert,


Sorry for the delay in response - I’ve been off grid parenting for the past 24 hours.


I think @Nufkin has done some preparation work, and we have a stub vehicle support file (vehicle_nissanleaf.c), but nothing working yet.


This App shows what can be done:




https://play.google.com/store/apps/details?id=com.Turbo3.Leaf_Spy_Pro















using just the OBD-II port (I assume all the single master CAN bus, but perhaps also other buses on OBD-II).


I’m very excited by this, and more than willing to help, but I don’t have the car here so am limited in what I can do.


Can you work with @nufkin (and his other half) on this?


You would need some sort of CAN bus decoder (perhaps just an OBD-II dongle, or CAN-USB adaptor), plus an OVMS module and PICKIT for firmware download. If you use MAC OSX, the development environment is simple to setup - for windows there are a few more
 hoops to jump through. Lastly, a RS232-USB adaptor is useful (but not essential).


Regards, Mark.




On 13 Oct, 2013, at 4:00 pm, Robert Sharpe robert.sharpe at evergreen-consulting.co.uk">target="_blank">robert.sharpe at evergreen-consulting.co.uk> wrote:

Hi,
ovmsdev-request at lists.teslaclub.hk">target="_blank">ovmsdev-request at lists.teslaclub.hk>


Is anyone working on Leaf support?


I am interested in helping if I can and have started a discussion at http://openvehicles.com/comment/220#comment-220 to capture were we are with the Leaf.


Regards,
Robert Sharpe (Technical Director)
07711 252971http://www.facebook.com/EvergreenConsultingLtd
http://twitter.com/EGCtechnical
http://uk.linkedin.com/in/arsharpe
www.evergreen-consulting.co.ukYour Plugged-in PartnerSupport the future and switch to a renewable energy supplier such as 
Good EnergyEvergreen Consulting is the trading name of Sharpe Consultants Ltd

/ovmsdev-request at lists.teslaclub.hk">target="_blank">/ovmsdev-request at lists.teslaclub.hk>_______________________________________________
OvmsDev mailing list
OvmsDev at lists.teslaclub.hk">target="_blank">OvmsDev at lists.teslaclub.hk
http://lists.teslaclub.hk/mailman/listinfo/ovmsdev





_______________________________________________
OvmsDev mailing list
OvmsDev at lists.teslaclub.hk">target="_blank">OvmsDev at lists.teslaclub.hk
http://lists.teslaclub.hk/mailman/listinfo/ovmsdev








_______________________________________________
OvmsDev mailing list
OvmsDev at lists.teslaclub.hk">target="_blank">OvmsDev at lists.teslaclub.hk
http://lists.teslaclub.hk/mailman/listinfo/ovmsdev


_______________________________________________ 
OvmsDev mailing list 
OvmsDev at lists.teslaclub.hk">target="_blank">OvmsDev at lists.teslaclub.hk
http://lists.teslaclub.hk/mailman/listinfo/ovmsdev









_______________________________________________OvmsDev mailing listOvmsDev at lists.teslaclub.hk">target="_blank">OvmsDev at lists.teslaclub.hkhttp://lists.teslaclub.hk/mailman/listinfo/ovmsdev_______________________________________________OvmsDev mailing listOvmsDev at lists.teslaclub.hkhttp://lists.teslaclub.hk/mailman/listinfo/ovmsdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.teslaclub.hk/pipermail/ovmsdev/attachments/20131015/564107d3/attachment-0001.html>


More information about the OvmsDev mailing list