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: WattsLeft™ Monitor (Parallax SX28AC/DP SOC/CAN Project)

Thu Oct 25, 2012 9:52 am

Gary,

Tested with v193 which showed problem was with CRC not being good. Took a closer look at my code and found that when I rearranged the registers to allow seven history entries I put in a bug that corrupted the last CRC byte after it was internally checked. Easy to fix and now it works great.

Those with code level 0.76 will need to select the "Ignore CRC Ck" box until I reflash their boxes to a higher level. But CAN-DO v193 (or higher) is the one to use with "CRC Ck" selected in order to properly handle the extra two bytes of CRC. Otherwise the extra bytes will cause lost frames due to loss of sync after each frame. (I can update at the next BayLeaf meeting on Nov 10)

Thanks again for making this change.

Instructions:

First wake up WattsLeft then press the small Reset Button on the back. You will see the current version number on the first line and the CAN-DO mode on the second line. Turn the rotary selector until the second line changes from CAN-DO Off to CAN-DO Dbg then wait 20 seconds for the setting to be locked in and you return to the normal screens. In debug mode the actual sending of data is user controlled by turning the rotary control fully clockwise (you see the internal register screen).

If you have not already done so add WattsLeft as a Wireless Device on your PC. Take your laptop out to the car and wakeup WattsLeft. From "Control Panel/Bluetooth Devices" select "Add Wireless Device" . A "Pair with a wireless device" window will pop up and in a little while WattsLeft should be found and displayed. Select it and press "Next". Select the option where you provide the pairing code which is "1234". After entering 1234 pairing should be complete. You only need to do this once and you don't need to have CAN-DO set to Dbg or ON. Those modes only select when and if data is sent out.

There is also a CAN-DO ON mode which sends out data on all screens but I do not recommend it as it slows down screen updates. But you can try it if you like. Just press the reset button again (twice if the box is asleep) and turn the selector clockwise until you go from Off=>Dbg=>ON then wait for the auto timeout return.

Start up CAN-DO v193 or higher. You can leave the baud rate at 115200. On the main menu select "Input Logs" then Enable the EV-Comm input, set the COM port to your Bluetooth adapter (must in the COM range 0-16) and select "CRC Ck". Also check the box "Run Dashboard" so you can see the realtime data window. Finally press the "Read Comm Input" Button to start the connection. Don't forget to go back to the main window and select "Update INI" to save your settings.

If you look at the ring around the reset button in the back it will flash pink when Bluetooth is looking for a connection and go solid pink when a connection is made.

Jim

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

Re: WattsLeft™ Monitor (Parallax SX28AC/DP SOC/CAN Project)

Thu Oct 25, 2012 3:36 pm

Great news that it actually works!

While reading, the number of properly received messages
is shown in the 3rd field, and the number of "errors" is
shown in the 4th (pink) field.

By checking "Show Max Buf" (or some such), the 4th field turns
White, and displays the maximum number of bytes in the
Comm Port buffer. This number should stay fairly small if
CAN-Do is "eating" bytes fast enough.

If you think that your log data looks good, please zip and email
the ".evc" (binary log) file to me to look at.

If you have a compatible USB-attached GPS "hockey puck",
CAN-Do will simultaneously log the selected GPS data.

Please let me know of any problems, or suggestions.
Cheers, Gary
See SOC/GID-Meter and CAN-Do Info
2010 Prius, now for sale
2011 LEAF, sold in 2015
2018 Tesla Model 3
2014 Tesla S, Model 3 in 2019
PU: SDG&E
Solar PV: 33 x 225W -> 7 kW max AC
To Sell: X-treme 5000Li EV motorcycle

User avatar
Electric4Me
Posts: 533
Joined: Tue Apr 20, 2010 7:25 pm
Delivery Date: 08 Apr 2011
Leaf Number: 772
Location: Union City, CA

Re: WattsLeft™ Monitor (Parallax SX28AC/DP SOC/CAN Project)

Tue Dec 04, 2012 1:28 pm

I bought this meter, with the new OLED display, this past Saturday. It's great! Jim and I were able to hide the wires well with no permanent modifications. We pulled the main console cover off, fished the wire from the driver's foot well area up to the top, plugged it in to the newly velcro mounted display, then pushed the cover back on. The lower wire for the adjustment knob was easily routed as well by pulling the cupholder up, "flossing" the wire between the plastic panels, then pushing the cupholder back in place.

My wife especially appreciates the straight forward way the information is available.

Pics:

Image
Image
Image
Bill Davis
2011 Cayenne Red SL
2014 Toyota RAV4 EV
6.4 kW PV system
Fun in the Leaf! (video)

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

Re: WattsLeft™ Monitor (Parallax SX28AC/DP SOC/CAN Project)

Wed Dec 05, 2012 10:25 pm

Do you have a link to the OLED that you used?
See SOC/GID-Meter and CAN-Do Info
2010 Prius, now for sale
2011 LEAF, sold in 2015
2018 Tesla Model 3
2014 Tesla S, Model 3 in 2019
PU: SDG&E
Solar PV: 33 x 225W -> 7 kW max AC
To Sell: X-treme 5000Li EV motorcycle

User avatar
TonyWilliams
Posts: 10090
Joined: Sat Feb 19, 2011 1:48 am
Location: San Diego
Contact: Website

Re: WattsLeft™ Monitor (Parallax SX28AC/DP SOC/CAN Project)

Wed Dec 05, 2012 10:35 pm

Electric4Me wrote:I bought this meter, with the new OLED display, this past Saturday.
I don't see where the range is displayed. Can you take a pic of that? Looks great, though.

If one of the Gidmeter builders would like to work on the Rav4, I will pay a substantial premium to get one for my car

User avatar
waidy
Posts: 234
Joined: Wed Apr 21, 2010 2:37 pm
Delivery Date: 04 Feb 2011
Leaf Number: 0299
Location: Los Altos Hills, CA
Contact: Website

Re: WattsLeft™ Monitor (Parallax SX28AC/DP SOC/CAN Project)

Wed Dec 05, 2012 11:27 pm

TonyWilliams wrote:
Electric4Me wrote:I bought this meter, with the new OLED display, this past Saturday.
I don't see where the range is displayed. Can you take a pic of that? Looks great, though.

If one of the Gidmeter builders would like to work on the Rav4, I will pay a substantial premium to get one for my car
I want one as well.
Waidy Lee
http://www.waidy.com/ev" onclick="window.open(this.href);return false;

User avatar
TonyWilliams
Posts: 10090
Joined: Sat Feb 19, 2011 1:48 am
Location: San Diego
Contact: Website

Re: WattsLeft™ Monitor (Parallax SX28AC/DP SOC/CAN Project)

Wed Dec 05, 2012 11:29 pm

waidy wrote:
TonyWilliams wrote:
Electric4Me wrote:I bought this meter, with the new OLED display, this past Saturday.
I don't see where the range is displayed. Can you take a pic of that? Looks great, though.

If one of the Gidmeter builders would like to work on the Rav4, I will pay a substantial premium to get one for my car
I want one as well.
Woo Hoo!!!! I'll bet I can round up a few more of the 140 Rav4 owners who want one, too.

Toyota will sell 2600 of these, so there is a market here in California.

User avatar
lemketron
Posts: 242
Joined: Mon Aug 02, 2010 10:46 pm
Delivery Date: 10 May 2011
Leaf Number: 1554
Location: Sunnyvale, CA

Re: WattsLeft™ Monitor (Parallax SX28AC/DP SOC/CAN Project)

Thu Dec 06, 2012 12:01 am

TonyWilliams wrote:
Electric4Me wrote:I bought this meter, with the new OLED display, this past Saturday.
I don't see where the range is displayed. Can you take a pic of that? Looks great, though.
Tony... There are several pictures of the various screens posted earlier in this thread:
http://www.mynissanleaf.com/viewtopic.p ... 23#p230923" onclick="window.open(this.href);return false;
http://www.mynissanleaf.com/viewtopic.p ... 11#p224711" onclick="window.open(this.href);return false;
http://www.mynissanleaf.com/viewtopic.p ... 57#p236357" onclick="window.open(this.href);return false;

Here is what the "turtle" range screen looks like (though not on the new OLED display):
Image
Reserved: 4/20/10, Ordered: 10/27/10, Delivered 5/10/11
Drivin' on sunshine! 5.4 KW Solar PV, PG&E E6 TOU, Blink EVSE (EV Project)
20,000+ miles of zero-emission solar-powered driving at $.01/mile!

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

Re: WattsLeft™ Monitor (Parallax SX28AC/DP SOC/CAN Project)

Sat Dec 08, 2012 12:14 am

Since this sub-forum is "Leaf CANbus",...
I started a new thread in the Accessories and Mods
Forum for investigating the Rav4 CAN bus data.

If there is one nearby we can probably log some data.
See SOC/GID-Meter and CAN-Do Info
2010 Prius, now for sale
2011 LEAF, sold in 2015
2018 Tesla Model 3
2014 Tesla S, Model 3 in 2019
PU: SDG&E
Solar PV: 33 x 225W -> 7 kW max AC
To Sell: X-treme 5000Li EV motorcycle

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: WattsLeft™ Monitor (Parallax SX28AC/DP SOC/CAN Project)

Thu Feb 21, 2013 11:28 pm

I finally completed all the firmware improvements on 1/29/2013 and released the final 1.0 version of the code.

Changes include:
* Filtering so short charges of less than 60 seconds, seen while pre-heating/pre-cooling, do not get saved in the history log.
* Screen 8 which had been the register view screen has been changed to show the current configuration settings (Version number, Starting Distance to Event value and CAN-DO state OFF- Debug-ON). So it looks just like the screen shown after pressing reset but is view only.
* The Configuration screen has changed (accessed by pressing Reset) so it now includes a flashing arrow to indicate which of the two fields will change when the rotary selector is turned.
* History data is now dumped out the Bluetooth link whenever the display is on and the car is not in drive or charge mode. This will allow a future App to collect and log the history data on your Smartphone or tablet.
* Screen 3, the motor Current/RPM screen, how also shows the peak and current regeneration KWs. The peak value automatically resets to 0 at the start of each drive but can also be manually reset while driving by selecting screen 8.
* The selectable Distance to Event starting value has been reduced from 24 values (12 mi/kw and 12 km/kw values) down to 16 (2.0 thru 4.5 mi/kw and 3.0 thru 7.5 km/kw).
* Interrupt handler has been optimized to reduce overhead.

With the completion of the coding I have started to ship outside the Bay Area. Those with units that have not been updated to version 1.0 can contact me to arrange a flash update.

I have also started production of another batch of WattsLeft™ units. The next batch of circuit boards are done and tested. Cables were just finished today. I had a bit of a shock yesterday when my supplier emailed me there would be an 18 week delay in getting more OLED displays. After checking around today I determined the problem was only with the blue color displays so I switched the order to yellow which I should get in a week or two. Additional Bluetooth modules are also in the mail and should be here next week.

Image
Image

Here is what the blue and yellow OLED displays look like.
Image
Image

The pricing is the same: $199 basic with LCD (these can ship now), plus $20 for Bluetooth option (one can ship now) and plus $30 for OLED (again I have one available now in blue (just sold this one), next batch will be yellow). Shipping is by USPS Priority Mail. In the US it is about $10.25 which includes tracking number and insurance and around $24 for international Priority Mail. Ships in a Priority Mail Small Flat Rate Box with cable disconnected to fit in the box.

Here is the current price list (2/23/2013).
Image

If you are interested in getting a WattsLeft™ please email to WattsLeft.meter@gmail.com. I can send you a copy of the Quick Guide to show you what information can be displayed on the 15 selectable screens.

Jim
Last edited by Turbo3 on Sat Feb 23, 2013 7:18 pm, edited 8 times in total.

Return to “LEAF CANBus”