barsad22
Posts: 135
Joined: Fri Jan 14, 2011 5:16 pm
Delivery Date: 17 Feb 2011
Location: Berkeley, CA

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Fri Jun 28, 2013 4:03 pm

I'm happy to report a successful pairing with my OBDII device and a Samsung Galaxy phone (sorry I don't have the specs on both, I'm not with the car or phone right now). Thanks to Turbo3 and everyone else who have worked to perfect this, I think by far this is the best method of gathering data from our cars inexpensively, and I appreciate the effort from everyone on the forum.
I would be happy to participate in any data gathering project that is underway (it sounds like the easiest way to do this would be an opt-in "send data" option on the next version of the Android app, and then we all agree to send on particular trips or days).
I eagerly await the EV Can mod on the app (which I know requires a physical mod, too).

Best,
Josh
2011 red Nissan Leaf SL L3
Delivered 2/17/11
Aerovironment home charger

Turbo3
Gold Member
Posts: 1835
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

Sun Jun 30, 2013 9:38 am

Version 0.25b(FS) is up for testing.

Per GregH's request I have added the new Health value.

Image

GregH
Posts: 859
Joined: Fri Jul 01, 2011 4:16 pm
Delivery Date: 13 Jun 2011
Leaf Number: 26967
Location: Irvine, CA

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Sun Jun 30, 2013 6:08 pm

Turbo3 wrote:Version 0.25b(FS) is up for testing.

Per GregH's request I have added the new Health value.

Image


Thanks Jim..
Jim and I have also been looking at the temperature data from the car trying to get our software (for both LeafDD and the ELM Leaf battery app) to be as accurate as possible. The car reports only the raw thermistor value from the A/D which is a non-linear log scale, and it's own calculation of the temperature in whole degrees C. Since we'd like to provide more precision than just 1.0C or 1.8F, we look at the raw thermistor A/D value and try to calculate it ourselves. It seems the car is not using a look up table but rather a few linear approximations. All of the raw data recorded thusfar is documented in the "Active CAN sampling" thread. The existing (but soon to be updated) version of the Leaf battery app uses the following equation:
TempF = 162-(raw*0.181)
This works well in the mid range but as the temperature rises the thermistor values get closer and closer.
Based on the correct data observed so far, here is a simple conversion table for temperatures mentioned on MNL using the older battery app software..

Actual temp C, raw A/D, battery app reports (F), actual temp (F)
15.0C 569 59.0F 59.0F
20.0C 517 68.4F 68.0F
25.0C 467 77.5F 77.0F
30.0C 419 86.2F 86.0F
35.0C 374 94.3F 95.0F
40.0C 333 101.7F 104.0F
45.0C 293 109.0F 113.0F
'17 blue Volt Premier w/ACC
'12 SL black Leaf
'11 SL blue Leaf
RAV4-EV 2002-2005
Gen1 & Gen2 EV1 1997-2003
PV 2.4Kw, 10kWh lithium battery SCE TOU-DA

jguenst
Posts: 26
Joined: Fri Apr 22, 2011 7:18 pm
Delivery Date: 15 Jun 2013
Leaf Number: 11373
Location: Nashville, TN

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Mon Jul 01, 2013 12:53 pm

Turbo3 wrote:Version 0.25b(FS) is up for testing.

Per GregH's request I have added the new Health value.

Image


how to we get
new Health value? so we need to download the app again?

thanks for doing all of this. it has been wonderful to monitor the car. still at 61 AHr but looks like we have full use of 21.5 kWH. drove 68 miles after full charge and had 24 miles left on the car

Turbo3
Gold Member
Posts: 1835
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

Mon Jul 01, 2013 1:15 pm

jguenst wrote:
Turbo3 wrote:Version 0.25b(FS) is up for testing.

Per GregH's request I have added the new Health value.

Image


how to we get
new Health value? so we need to download the app again?

thanks for doing all of this. it has been wonderful to monitor the car. still at 61 AHr but looks like we have full use of 21.5 kWH. drove 68 miles after full charge and had 24 miles left on the car

This is a Beta test app. Go to bottom of settings panel and select "Look for Beta Version".

You will need to email me at WattsLeft.meter@gmail.com if you don't already have the passcode.

FairwoodRed
Posts: 456
Joined: Wed May 18, 2011 10:25 am
Location: Fairwood, WA

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Mon Jul 01, 2013 3:40 pm

Re: app not exiting in a timely fashion.

While driving around this weekend (350+ miles) I used an unmodified ELM327. The app would start and stop readily every time, even on my morning commute today. After I got to work, I tried it again with no ELM327 nearby and the first time it worked fine, but the second time it hung. The first time I had the app open for about 3 seconds before I exited and the second time I had it open for about 10 seconds ( I noticed that “waiting for ELM” flashed red briefly). Third time, I waited 15 seconds and it also exited (but it had two red flashes and the second was much shorter). I tried a dozen more times at various time delays and it hung every time. On these later attempts, I stopped seeing the red flash.

Next, I’ll try to see if my installation of the app was the problem. I plan to clear my application data, uninstall the program, reset my Galaxy S2 to factory defaults, sideload v0.25, and try again.

By the way, Turbo3 says that his program data was 12kb, mine is only 8kb. Anyone know if that is normal?

Weatherman
Posts: 916
Joined: Tue Aug 30, 2011 12:03 pm
Delivery Date: 08 Jul 2012
Leaf Number: 20922
Location: Weston, Florida

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Tue Jul 09, 2013 9:01 am

Question for the Samsung Galaxy S4 users out there...

What ELM327 adapter have you gotten to work? I tried the Vgate one and I only get as far as "Waiting 4 Leaf data". It never goes any further than that.
2013 Crystal Red Volt
2012 SV Glacier Pearl LEAF; turned in 5/12/2015:18.6K Miles:50.13 AHr:10 bars, 24% gone

Weatherman
Posts: 916
Joined: Tue Aug 30, 2011 12:03 pm
Delivery Date: 08 Jul 2012
Leaf Number: 20922
Location: Weston, Florida

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Thu Jul 11, 2013 11:01 am

and... strike two!

The BAFX adapter doesn't even get as far as the Vgate one did. The app says "Waiting for ELM", and that's it.
2013 Crystal Red Volt
2012 SV Glacier Pearl LEAF; turned in 5/12/2015:18.6K Miles:50.13 AHr:10 bars, 24% gone

User avatar
LEAFer
Posts: 2647
Joined: Mon May 24, 2010 10:10 am
Delivery Date: 19 Jan 2011
Leaf Number: 000215
Location: Sacramento Area

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Thu Jul 11, 2013 11:58 am

^^^ Have you tried cycling the phone after making sure the LEAF is powered up ? ( I assume your Galaxy is paired with the ELM ... are there any LED's on the EML showing activity ? If the LEAF is powered OFF, but you have the app (and BT) running ... is there a relay-like clicking noise from near the front right headlight of the LEAF ? )
2011 Silver SL+QC [Mfg: 11/2010] 36mo/15k LEASE
06Jun2013 Status [28.5 months][34,173 miles][11 bars]
Lost CapacityBar 6/6/13 @34,173 miles while in LEAF Battery Monitor: 83.41%, 71.4F (avg); cool overnight;

Weatherman
Posts: 916
Joined: Tue Aug 30, 2011 12:03 pm
Delivery Date: 08 Jul 2012
Leaf Number: 20922
Location: Weston, Florida

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Thu Jul 11, 2013 12:10 pm

Both the Vgate and BAFX pair properly. Both show they have power. I turned the LEAF on and even drove around a bit with the adapter plugged in and the LEAF app on. With the BAFX, no other LEDs light up except for the red, power LED (it's the one that the LEAF app responds with "waiting for ELM"). On the Vgate, one of the green LED light flashes with a slow pulse when the LEAF app is running, but none of the other LEDs light up (it's the one the LEAF app responds with "waiting 4 Leaf data").

I plugged the BAFX into a friends Porsche and fired up Torque and it worked perfectly. Most of the green data LEDs were flashing as if data was being actively transmitted from the adapter to the Galaxy. So, I know the BAFX adapter works, the bluetooth connection works and the Torque app on the Galaxy works.

For the LEAF, it just appears as if it's not transmitting any data.


One thing I'm going to try in a bit is to see if I can attach the BAFX to the LEAF and run Torque. I don't know how many of the LEAF codes Torque will understand, but I can at least see if another app can inspire the LEAF to transmit data.

Update: Unlike the LEAF battery app, Torque inspired the BAFX data transfer LEDs to blink, but Torque indicates it is not able to talk to the vehicle ECU. From reading other posts, it looks like Torque doesn't understand what the ECU is transmitting, but it, at least, got the BAFX LEDs to blink.
2013 Crystal Red Volt
2012 SV Glacier Pearl LEAF; turned in 5/12/2015:18.6K Miles:50.13 AHr:10 bars, 24% gone

Return to “LEAF CANBus”