DarkStar
Posts: 2066
Joined: Sat Jul 17, 2010 10:06 am
Delivery Date: 25 Mar 2011
Leaf Number: 568
Location: Hillsboro, Oregon, USA
Contact: Website

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

Thu Mar 07, 2013 9:17 pm

Got my yellow OLED WattsLeft™ Monitor installed this evening and it looks great! Not too bright and distracting at night but is bright enough during the daylight.

Hopefully, now I can worry more about my driving instead of how many miles the GOM is displaying! :D
Mikiko (2011 Nissan LEAF ETEC) Status:
Reserved: 04/20/10 | Ordered: 10/01/10 | EV Project Blink Installed: 03/22/11 | Delivered: 03/25/11 | VIN: 568

Oregon Electric Vehicle Association | Electric Auto Association

philipscoggins
Posts: 372
Joined: Thu Jul 26, 2012 9:16 pm
Delivery Date: 12 Nov 2012
Leaf Number: 022745
Location: Tullahoma, TN

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

Thu Mar 07, 2013 11:17 pm

I got my WattLeft about a month ago & I love it! I live about 10 miles from the interstate where there is a quick charger & now when its late and I'm coming home I can actually KNOW how many gids I have and whether I need to stop for a couple of minutes or if I can just cruise home. :D

I had the meter start showing funny numbers a couple of days after installing, but Jim walked me through resetting the unit & it's been working perfectly every since.

It's helped me improve my efficiency (didn't think I was using that much energy pulling away from stops) & eliminated a lot of just wanting to know my true state of charge.

Thanks Jim!

Philip
2012 Black SL, 104,100, 4y 3m, 175 gids ~ 33% capacity loss - Lost 1st bar @ 44,800 miles & 20 months of driving - 2nd @ 62,000 miles 2y6m - 3rd @ 80,000 3y6m - 4th @ 104,074 4y3m. Member of the 100 mile & 200km club

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)

Fri Apr 12, 2013 12:52 pm

I have finally had some time to work on the Bluetooth android app. Here is a screen shot of the very first working beta version.

Image

For this test the WattsLeft with Bluetooth option was set to "CAN-DO Dbg" mode and the selector turned fully clockwise to the version number screen to allow broadcasting the EV-CAN data over Bluetooth. Pairing code is "1234" but I will be adding auto pairing code.

Top section will show most of the know data from the EV-CAN bus. It is dynamic and new items will be added as frames show up. These is one line for wheel speed that does not show right now since the car is parked.

The next section is a dump of the history data. The order right now is as it is stored in the WattsLeft memory. The letters indicate order of event with A being the newest and G the oldest. After the order letter is the duration of the event HH:MM:SS, starting gids number, ending gids number, gids difference (plus is charging, negative is driving), starting battery voltage and last ending battery voltage.

The bottom section is a live view of the EV-CAN frames in MsgID order (MsgID, eight bytes of data, count of frames received). The 1xx MsgIDs come in at around 100 per sec. I only update the screen 5 times per second right now but that will be user selectable.

I would like to add logging of history data where the current 7 events are merged into a file saved to the SD card. Maybe add plots of gids, voltage, SOC.

If you have a WattsLeft with the Bluetooth option and would like to beta test this App send me an email at WattsLeft.meter@gmail.com

All the data received from WattsLeft is checked for transmission errors with CRC so you only see good data on the screen even if the connection is poor due to range between you and the car. I can walk around my house and see where the data stops coming in then move closer to the garage and have it start up again. There is a 25-30 sec timeout if the link is down too long. Then you need to move closer and manually reconnect.

Although not the lowest price, Fry's has these Fusion 2 no contract phones on sale for $59.99. You can use them out of the box with the phone part off as an android device with Bluetooth, WiFi and GPS.

Jim

User avatar
garygid
Gold Member
Posts: 12465
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)

Fri Apr 12, 2013 1:36 pm

Cool... I guess I could try the app on my Android Tablet, and see what happens?
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)

Fri Apr 12, 2013 2:09 pm

Gary,
The current version won't get past the "Search for WattsLeft" screen as it will only connect to a device with name "WattsLeft". I am thinking of adding a demo mode where, if it does not find any WattsLeft devices, it starts up with the fixed data I use for testing.

The data stream it accepts is your CAN-DO 11 byte stream (Sync, MM,NH,8 bytes data) with the two additional CRC bytes I get from the Leaf or create myself for the history data for a total of 13 bytes per frame.

DarkStar
Posts: 2066
Joined: Sat Jul 17, 2010 10:06 am
Delivery Date: 25 Mar 2011
Leaf Number: 568
Location: Hillsboro, Oregon, USA
Contact: Website

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

Fri Apr 12, 2013 2:17 pm

Email sent! This meter is hot, especially with the OLED display.

Best thing about the meter: Now knowing how pessimistic Nissan is with the last 25% SOC.
Worst thing about the meter: Now knowing how pessimistic Nissan is with the last 25% SOC.
:D

I also love driving downhill while watching the SOC increase!
Mikiko (2011 Nissan LEAF ETEC) Status:
Reserved: 04/20/10 | Ordered: 10/01/10 | EV Project Blink Installed: 03/22/11 | Delivered: 03/25/11 | VIN: 568

Oregon Electric Vehicle Association | Electric Auto Association

User avatar
garygid
Gold Member
Posts: 12465
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)

Fri Apr 12, 2013 2:35 pm

With a bluetooth USB dongle on a PC, doesn't CAN-Do send
a message data stream of selected MsgIDs in that format?

But, maybe it needs to be paired with that name?
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)

Fri Apr 12, 2013 2:55 pm

garygid wrote:With a bluetooth USB dongle on a PC, doesn't CAN-Do send
a message data stream of selected MsgIDs in that format?

But, maybe it needs to be paired with that name?
Gary, Are you saying that CAN-DO can send a recorded stream out a Bluetooth dongle to make it look like the stream is coming from a WattsLeft? The stream would need to have the extra two CRC bytes and be valid for my app to accept them. My app will only connect to a device with the name "WattsLeft".

But perhaps I am not understand what you are trying to do with my app. Where is the stream coming from that you want to feed my app?

User avatar
garygid
Gold Member
Posts: 12465
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)

Fri Apr 12, 2013 4:57 pm

I just want to try the app, and getting a suitable stream of data from
a Log file might be relatively easy.

I think we modofied CAN-Do to accept your WattsLeft message format,
with the CRCs, and check them or ignore them, as an incoming message stream.

The bluetooth output options presently just emulate the ONDLink message
format, and one can select the MsgIDs that are included in the Playback
of any logged data.

But, I could easily add the CRC generation as an option to that data stream.

Since one has to pair the bluetooth with the PC first, I do not know how it could
appear to be a WattsLeft, do you?

Also, I think that I have one of your WattsLeft Bluetooth dongles, or ...
maybe it was from some other person, I have yet to try it.

I have just been too sick to play as much as I would like, and am way behind.
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

KillaWhat
Posts: 866
Joined: Thu Feb 23, 2012 5:15 pm
Delivery Date: 15 Mar 2012
Location: Southeast Pennsylvania

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

Thu Apr 18, 2013 6:08 pm

Well I did something new tonight.
With my new Wattsleft meter installed, I headed out for a 20 mile trip with 3 battery bars showing.
Normally I'm pretty range paranoid, and with 3 bars, I wouldn't drive to the end of the driveway for the mail.
But the Meter said I had 112GID, which sounded like I had plenty of E-fuel.
I was correct.
No problem.
Arrived home with NO bars left, but the meter showed 19% and 56GID still showing.

Which leads me to a couple questions for the group.
At what point (GID's) does the car stop rolling?
Stop performing in a normal manner?
(maybe should have asked that first?)

And.... is the battery indicator just full of it?
0 bars and 19% left?


Image
Black SL Delivered 3/14/2012
7.2Kw Charging w/Brusa
Leather Interior
Rosewood Dash
JUKE 17" Wheel Upgrade w/225-45-17 Michelin MXM4 Tires
Horn Upgrade
Infinity 63.9i Speaker Upgrade
WattsLeft Meter System
LED High Beams
Carkit NAV Override

Return to “LEAF CANBus”