Stoaty
Posts: 4490
Joined: Fri Jun 18, 2010 9:50 pm
Delivery Date: 12 Jun 2011
Leaf Number: 3871
Location: West Los Angeles

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Thu May 09, 2013 11:31 pm

Turbo3 wrote:Has anyone noticed that logging does not seem to work?

Seems I have this problem only with the Nexus 7. Last log is from 5/3.
I haven't gotten around to testing logging yet, will hopefully do so this weekend.

Love version 0.21t. Only a couple of small issues:

1) I think it would probably look better to line up the temp on screen 3 where it was before (and make the tappable area smaller). It looks too busy and unstructured to me (of course, I might change my mind when I see it the other way).
2) Suggest removing the temperature choices from Settings screen, since no longer needed, and don't really belong in the DTE section anyway
3) Small buglet - go to screen 3, go to settings, hit the back button (don't need to change anything in settings), then touch the tappable area to change what temperature is shown (avg, min, max). Result: temperature cycles to next display (correct), but no click from speaker (the buglet)
2011 Leaf with 62,000 miles given to Nephew
2013 Tesla Model S85 with 251 miles rated range at full charge
Leaf Spy Manual
Battery Aging Model Spreadsheet

Turbo3
Gold Member
Posts: 2011
Joined: Mon Jul 19, 2010 8:34 pm
Delivery Date: 12 May 2011
Leaf Number: 002191
Location: San Jose, CA

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Fri May 10, 2013 12:04 am

Updated Version 0.21t.

3) is not under my control. But both my Fusion 2 and Event make sounds with your sequence.

Changes
* made font smaller for temp label so digits don't need to move. You need to switch to C to see all the text that needs to fit.
* deleted temperature selection from Settings DTE panel

Turbo3
Gold Member
Posts: 2011
Joined: Mon Jul 19, 2010 8:34 pm
Delivery Date: 12 May 2011
Leaf Number: 002191
Location: San Jose, CA

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Fri May 10, 2013 12:40 am

Looked more into the Nexus 7 issue. If I look at the file on the Nexus with the File Manager it has the correct date and size of today and 2.46MB. But if I connect it to my PC and look from the PC side it has a date of 5/3 and size of only 606KB.

So on the Nexus 7 I did a copy and paste to a different folder and now from the PC side the copied file has the correct date and size.

Very strange.

So the App is logging correctly but Nexus won't let me see the original file with the true date/size. I must make a copy first. I wonder if the original file is somehow locked to the app even though I close the file after each write.

firetrax
Posts: 20
Joined: Sat May 04, 2013 7:16 am
Delivery Date: 04 May 2013
Location: U.K.

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Fri May 10, 2013 2:35 am

Great work on this Turbo3

I've given it a go with my ELM327 clone and all seems to be working well. A couple of quick queries:

1. If I was to modify the wiring in the ELM327 adaptor as per Garygid's instructions to read the EV-CAN instead of CAR-CAN, would all the information still be available i.e. SOC, Temps etc. as well as the "True" GID reading?

2. In the UK we do not get miles per kwh on the dash reading. Instead we get kwH per mile but only to 1 decimal place making it quite useless. Is there any way to read miles per kwh from the CAN bus?

3. Any possibility of reading tyre pressures?

Cheers and thanks again for the fantastic work on this.

jclemens
Posts: 168
Joined: Mon Sep 05, 2011 7:37 am
Delivery Date: 02 Nov 2011
Leaf Number: 003748
Location: Mississauga
Contact: Website

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Fri May 10, 2013 6:41 am

I remember reading somewhere that the tire pressures for the leaf have been difficult to obtain because we do not know the command codes to request them. The data is not broadcasted from TPMS rather, they only reply when asked, this might happen when the car is first turned on.
The only way we can get this code is probably with a consult III

In an unrelated question, if I/we install a switch to change over to EV-CAN (disconnected from OBDII of course), will this application pick anything up? Can we get actual gids? or would we have to use hyperterm and manually punch in the request?
Interested in a j1772 dummy inlet to hang your EVSE when not charging?
PM me for details. or see http://erroneus.myevblog.com/buy-plastic-parts-here/

LEAFfan
Posts: 4828
Joined: Fri Apr 23, 2010 6:08 pm
Delivery Date: 08 Jun 2011
Leaf Number: 1855
Location: Phoenix Area

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Fri May 10, 2013 6:43 am

firetrax wrote:Great work on this Turbo3

I've given it a go with my ELM327 clone and all seems to be working well. A couple of quick queries:

1. If I was to modify the wiring in the ELM327 adaptor as per Garygid's instructions to read the EV-CAN instead of CAR-CAN, would all the information still be available i.e. SOC, Temps etc. as well as the "True" GID reading?

2. In the UK we do not get miles per kwh on the dash reading. Instead we get kwH per mile but only to 1 decimal place making it quite useless. Is there any way to read miles per kwh from the CAN bus?

3. Any possibility of reading tyre pressures?

Cheers and thanks again for the fantastic work on this.
1. Mine is modified to read the EV CAN, but it still reads everything.
2013 LEAF SV Del. 2/28/13
2013 LEAF World Record for Most Miles Driven On One Charge-188 miles/8.8 m/kW h
4.8 kW DC PV ($ .91/W fully installed)/ Dec., 2010

LEAFfan
Posts: 4828
Joined: Fri Apr 23, 2010 6:08 pm
Delivery Date: 08 Jun 2011
Leaf Number: 1855
Location: Phoenix Area

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Fri May 10, 2013 6:50 am

vsiev wrote:Great app! Got my ELM327 today from a Chinese seller off ebay. I just plugged it in and paired the device to my HP Touchpad running android. Turned on the car and started the app. I have not tested everything yet though. Is there a manual for the app or a reference to what all the numbers and info mean? (e.g. in the Distance to Empty (DTE) setting what does % State of Charge (SOC) Reserved mean and what happens when I change it from the default setting.)

One other question I have is if I leave the ELM327 in the OBDII port, will that drain the battery? I noticed a red light from the device when plugged in even though the Leaf is off.
As long as you exit the App, it should be fine. I've been testing that for three days now, and it hasn't lost a tenth yet. However, when I left the App running with the car off, it took my battery down to 8V.
2013 LEAF SV Del. 2/28/13
2013 LEAF World Record for Most Miles Driven On One Charge-188 miles/8.8 m/kW h
4.8 kW DC PV ($ .91/W fully installed)/ Dec., 2010

User avatar
garygid
Gold Member
Posts: 12469
Joined: Wed Apr 21, 2010 8:10 am
Delivery Date: 29 Mar 2011
Leaf Number: 000855
Location: Laguna Hills, Orange Co, CA

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Fri May 10, 2013 7:02 am

As long as you exit the App, it should be fine. I've been testing that for three days now, and it hasn't lost a tenth yet. However, when I left the App running with the car off, it took my battery down to 8V.
So, when leaving the App running, it must be keeping all the normally-sleeping
car electronics awake to answer the queries.

Of course, with the dongle active (not on switched 12v power),
somebody could approach your "sleeping" car, pair with the
ELM327 device, and... possibly wake up the car and... do "stuff"? :o
See SOC/GID-Meter and CAN-Do Info
2010 Prius
2011 LEAF, 2014 Tesla S85
2018 & 2019 Tesla Model 3
PU: SDG&E
Solar PV: 33 x 225W -> 7 kW max AC
Craigslist: Xm5000Li Electric Motorcycle

User avatar
garygid
Gold Member
Posts: 12469
Joined: Wed Apr 21, 2010 8:10 am
Delivery Date: 29 Mar 2011
Leaf Number: 000855
Location: Laguna Hills, Orange Co, CA

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Fri May 10, 2013 7:11 am

While we are being "tap happy" on screen 3... :D
there is one other "tap" function that would be useful:

Tap on "miles" to increase the miles/kWh factor by one tenth.
Then, tap elsewhere nearby (perhaps on the mi/kWh number)
to decrease the mi/kWh factor by one tenth. 8-)

Just a thought.
See SOC/GID-Meter and CAN-Do Info
2010 Prius
2011 LEAF, 2014 Tesla S85
2018 & 2019 Tesla Model 3
PU: SDG&E
Solar PV: 33 x 225W -> 7 kW max AC
Craigslist: Xm5000Li Electric Motorcycle

User avatar
garygid
Gold Member
Posts: 12469
Joined: Wed Apr 21, 2010 8:10 am
Delivery Date: 29 Mar 2011
Leaf Number: 000855
Location: Laguna Hills, Orange Co, CA

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Fri May 10, 2013 7:31 am

Responses (^^^) within the quote:
jclemens wrote:I remember reading somewhere that the tire pressures for the leaf have been
difficult to obtain because we do not know the command codes to request them.

^^^If the tire pressures are in the CAN data, we have not identified them.
Since they are almost constant during any typical log session, they are
not easy to find, but I suspect that nobody has looked closely, after
designing a short log session where the tire is deflated, and then inflated
again, with the car On, where it flashes the lights and beeps the "horn" during
the re-inflation process.

The data is not broadcasted from TPMS rather, they only reply when asked,
this might happen when the car is first turned on.

^^^Since the car needs to monitor the tire pressures during driving,
to operate the low-pressure idiot light, the car must be asking for
the pressures occasionally, but the tire pressure data might not
be broadcast on one of the CAN buses (probably the CAR-CAN bus).

The only way we can get this code is probably with a consult III

In an unrelated question, if I/we install a switch to change over to EV-CAN
(disconnected from OBDII of course), will this application pick anything up?

^^^The GID-Meter has a switch (double pole, break-before-make) to switch
between the EV bus and the CAR bus, and switching while live does not
appear to cause any problem there. However, it is just "listening", not
writing to the bus and waiting for responses.
If the App had a Pause-Polling function, that might be useful for
graceful switching between the two CAN buses.

Can we get actual gids?

^^^The App could get actual GIDs when the ELM327 device is attached to the EV bus.

or would we have to use hyperterm and manually punch in the request?
See SOC/GID-Meter and CAN-Do Info
2010 Prius
2011 LEAF, 2014 Tesla S85
2018 & 2019 Tesla Model 3
PU: SDG&E
Solar PV: 33 x 225W -> 7 kW max AC
Craigslist: Xm5000Li Electric Motorcycle

Return to “LEAF CANBus”