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

LLS: 3-CAN-bus LEAF-Logging System

Tue Oct 18, 2011 12:20 am

Using CAN-Do and a LEAF-Logging System (LLS), one can
log the messages from all three of the CAN buses simultaneously.

The LEAF-Logging System uses three AVR-CAN Boards
a fast 4-port RS232-to-USB adapter, and an interface box.
DSCF0140-LLS-20.jpg
The first non-prototype LLS (pictured above) was well received by the client.
You do not have the required permissions to view the files attached to this post.
Last edited by garygid on Wed Feb 08, 2012 11:06 pm, edited 6 times in total.
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: 3-CAN LEAF-Logging System: Ordering

Tue Oct 18, 2011 12:27 am

LEAF-Logging-System Usage:

1. With the LLS Power Switch in the OFF position

2. Plug into the OBD port on the LEAF

3. Plug into the USB port on the PC

4. Check (and possibly Set) the assigned COM Ports in Device Manager

5. Start CAN-Do, govto the I/O Control window, and set the COM Ports as needed.

6. Turn on the LEAF, LLS, and Start Logging, in any order, as desired.
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: 3-CAN LEAF-Logging System: Ordering

Tue Oct 18, 2011 12:28 am

FAQ:

1.
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: 3-CAN LEAF-Logging System: Ordering

Tue Oct 18, 2011 12:29 am

LLS Setup:

1. The LLS is shipped with the 3 AVR-CAN boards unplugged, for safer shipping.

2. Connect the 4-port RS232-to-USB adapter to your computer, using the supplied USB cable.

3. Use Device/Hardware Manager to set the COM-Port numbers, setting the baud rates to 115200 baud. The settings "8-data, No-Parity, 1-Stop", with Flow Control set to "None", should be used (should be the default).

4. With the 3 D9 female connectors on the left, looking at the LLS Power Switch, the OBD cable should exit the black box near the bottom right of the "end" of the box.

5. In that position, the Power Switch UP is Always-ON, middle position is OFF, and DOWN is Automatic-ON (when the LEAF is "ON").

6. Commect one AVR-CAN Board to the EV-CAN channel: With the LLS Power Switch OFF, connect one AVR-CAN board to the female D9 that is furthest from the Power Switch.

7. With the USB unplugged from the computer, connect the female D9 on the Board to the male D9 on the R-2-U adapter board that is furthest from the USB connection.

8. Plug the OBD cable into the LEAF, connect the USB from the R2U adapter to the PC, turn the LEAF ON (Ready or ACC2 Mode), and turn the LLS Power ON.

9. Start the CAN-Do program (that you have already Run successfully), and use the I/O Control to read in just the EV messages, with the lowest COM-Port number that you assigned. Check "Count Messages" (or some such, but NOT "Monitor Messages"), and begin reading. If you have specified the correct com port, messages should be coming in at about 200 per second.

10. If no mwssages come in, Stop, adjust the COM-Port to one of the others that you set, and try again. When you get the correct one, messages should "fly" in. Do not continue until you have success here.

11. Power the LEAF and LLS off, attach the next AVR-CAN Board (the Car-CAN channel), and test again in a similar manner. When both channels work, proceed.

12. Connect the third (last) AVR-CAN Board and test the AV-CAN channel. Messages are slower coming in here. When this works, proceed.

13. Try recording all 3 channels at once, write the data to an ".alc" (all CANs) file.

14. Try Logging with "See/Show Dashboard" checked.

15. Well done, Enjoy.
Last edited by garygid on Thu Oct 20, 2011 7:56 pm, edited 1 time in total.
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: LLS: 3-CAN-bus LEAF-Logging System

Thu Oct 20, 2011 7:19 pm

Misc. LLS issues:
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: LLS: 3-CAN-bus LEAF-Logging System

Thu Oct 20, 2011 7:59 pm

I just added an "Install LLS" post 2 above this one.
Last edited by garygid on Wed Feb 08, 2012 11:08 pm, edited 1 time in total.
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: LLS: 3-CAN-bus LEAF-Logging System

Wed Nov 02, 2011 7:44 pm

I added a picture of the assembled LEAF Logging System (LLS) to the first post.
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
windpoweredleaf
Posts: 113
Joined: Wed Jan 05, 2011 9:43 pm
Delivery Date: 17 Jun 2011
Leaf Number: 4270
Contact: Website

Re: LLS: 3-CAN-bus LEAF-Logging System

Sat Nov 05, 2011 8:12 am

Gary,

I like it. Do you have a list of signals that are logged?

Also have you run CAN do on Wine before?
Josh and Peter
Co-Founders of http://www.EVbadges.com
Unifying the EV Community
2011 Glacier Pearl Nissan Leaf SL + QC port
Delivered 06-17-11 - 24,500 miles
EVSE: eVgo network
Garaged 1910 Ford Model T Roadster w/ mother in law seat, LHD

User avatar
windpoweredleaf
Posts: 113
Joined: Wed Jan 05, 2011 9:43 pm
Delivery Date: 17 Jun 2011
Leaf Number: 4270
Contact: Website

Re: LLS: 3-CAN-bus LEAF-Logging System

Sat Nov 05, 2011 4:01 pm

I found your signal list your website. There are several signals that should be available that you don't have yet. I would really like to help you test these out. I have some good ideas on what could be done once we have all the signals.

I also tried running CAN-do on Wine, but the Java Runtime was not compiled with the code, so it popped some errors. I am trying to figure out the Linux fix, but if you could compile it with the java runtime, it would be the easy fix for Linux compatibility.
Josh and Peter
Co-Founders of http://www.EVbadges.com
Unifying the EV Community
2011 Glacier Pearl Nissan Leaf SL + QC port
Delivered 06-17-11 - 24,500 miles
EVSE: eVgo network
Garaged 1910 Ford Model T Roadster w/ mother in law seat, LHD

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: LLS: 3-CAN-bus LEAF-Logging System

Sun Nov 06, 2011 12:07 pm

CAN-Do is written in Visual Basic 6 (VB6) which compiles for Windows. Generally it should work on Win XP, Vista, and 7.

I do not know if "Wine" can run it.
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”