User avatar
evnow
Moderator
Posts: 11480
Joined: Thu Apr 22, 2010 11:41 am
Delivery Date: 25 Feb 2011
Leaf Number: 303
Location: Seattle, WA

LEAF SOC gauge with Nokia 6610 LCD display

Thu Aug 18, 2011 10:58 pm

Finally I was able to get the LCD to work. Turned out the soldering job was inadequate rather than software problem. But I did have to compile & pickout 3 separate set of drivers to get the large fonts we need.

Image

This is an LCD which is a clone of "Nokia 6610" LCD i.e. the color LCDs Nokia used in 6610 and other mobile phones. You can get them quite cheaply from various sources including SparkFun. I got it from e-bay (search for "Nokia 6100 / 6610 Color LCD (PCF8833) Module"). It lists for $23 shipped now. The one I bought has a breakout board that makes it easier to connect and also handles 5V supply. Don't buy the plain LCD.

Image

My current software shows the SOC% and in brackets actual raw SOC.

Image

It also shows for the current SOC, what the estimated range is - for different speeds - 40, 50, 60 & 70. This is based on the charts Tony has put up (though not the latest changes from today). The algorithm is same as the one I use in my Windows Phone 7 App.

The size of the letters I'm using is 8x18 pixels. It looks similar in size to the smaller letters you see in the center console (say in the energy usage screen). We can show about 8 lines of text - about 15 letters per line.

Except for the LCD the hardware is just like the kit Gary put together (except you don't need the 2 push buttons).

Nokia 6610 clones come in 2 or 3 flavors - mainly Philips or Epson controller based. The one I got was Philips - with some header & intialization changes, the same code will work for Epson.

Image

To connect we need 6 lines. I got some "Single Row Rt Angle Pin Headers" from Frys and soldered them to the LCD.

Image

From LCD to the AVR I just used pre-crimped male-to-male single wires. You can buy them from from various places including e-bay (search for "30 x Arduino 30cm jumper cables for Shield or EQUIV"). Very easy to use and just $5 for 30.

Image

The LCD comes with mounting holes on the board - so it should be easy enough to cut out the needed portion (3.3 x 3.3 cm) and mount the LCD to the project box. I'm yet to do that - as you can see from the photos.

I can send the hex file if some wants to try this out. Once Gary publishes the software, you should be able to make any changes yo want, too.
1st Leaf : 2/28/2011 to 5/6/2013
2nd Leaf : 5/4/2013 to 3/21/2017
Volt : 3/25/2017 to 5/25/2018
Model 3 : 5/10/2018 to ?

TLeaf
Forum Supporter
Posts: 247
Joined: Sat Aug 07, 2010 12:08 am
Delivery Date: 15 Jan 2011
Leaf Number: 000225
Location: Renton, WA

Re: LEAF SOC gauge with Nokia 6610 LCD display

Fri Aug 19, 2011 12:19 am

I bow down in reverence to your collective awesomeness.. :D
I just wrote a "letter to the editor" of a motorcycle magazine stating that there's still plenty of tweaking that can be done with EVs; this little project proves the point!

User avatar
TomT
Posts: 10650
Joined: Sun Aug 08, 2010 12:09 pm
Delivery Date: 01 Mar 2011
Leaf Number: 000360
Location: California, now Georgia
Contact: Website

Re: LEAF SOC gauge with Nokia 6610 LCD display

Fri Aug 19, 2011 5:39 am

Now we are talking! That is the kind of display I would want and it makes the project look MUCH more elegant and sophisticated, as well as greatly increasing the useability. Nice job! Maybe this could be an option for Gary's kit?
evnow wrote:Finally I was able to get the LCD to work. Turned out the soldering job was inadequate rather than software problem. But I did have to compile & pickout 3 separate set of drivers to get the large fonts we need.
Leaf SL 2011 to 2016, Volt Premier 2016 to 2019, and now:
2019 Tesla Model 3; LR, RWD, FSD, 19" Sport Wheels, silver/black; built 3/17/19, delivered 3/29/19.

User avatar
mwalsh
Posts: 9753
Joined: Thu Apr 22, 2010 10:10 am
Delivery Date: 05 Jan 2011
Leaf Number: 0213
Location: Garden Grove, CA

Re: LEAF SOC gauge with Nokia 6610 LCD display

Fri Aug 19, 2011 6:09 am

Woah, nice!
2011 Blue Ocean SL with 86,000 miles
2015 pack on 12/30/15
Tinted windows
Bosch AGM 12v
Ecopia 422+ tires
L1 EVSE upgrade
FIAMM horns
Superbright LED lighting
2013 sun visors
LED shifter
Heated seats
GT-R map lamp lenses
Altima illuminated door switches

User avatar
evnow
Moderator
Posts: 11480
Joined: Thu Apr 22, 2010 11:41 am
Delivery Date: 25 Feb 2011
Leaf Number: 303
Location: Seattle, WA

Re: LEAF SOC gauge with Nokia 6610 LCD display

Fri Aug 19, 2011 8:49 am

mogur wrote:Now we are talking! That is the kind of display I would want and it makes the project look MUCH more elegant and sophisticated, as well as greatly increasing the useability. Nice job! Maybe this could be an option for Gary's kit?
Yes - once a couple of people try this out. We also need to figure out the right housing for this and a way to mount the LCD, so that it looks good.
1st Leaf : 2/28/2011 to 5/6/2013
2nd Leaf : 5/4/2013 to 3/21/2017
Volt : 3/25/2017 to 5/25/2018
Model 3 : 5/10/2018 to ?

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

Re: LEAF SOC gauge with Nokia 6610 LCD display

Fri Aug 19, 2011 9:03 am

Outstanding! The exact information you need, all in one place and elegantly displayed. Sure would like to own one of these.
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

MarcGeller
Posts: 11
Joined: Mon Nov 22, 2010 6:26 pm

Re: LEAF SOC gauge with Nokia 6610 LCD display

Fri Aug 19, 2011 9:55 am

Excellent. I want one!
Are looking to/can you add "power in and out" to the display? I'd like to see a numerical representation of what is done with the dash white balls and the graphic presentation of kWh in and out found on the center console. Have you found that information?

Marc Geller

Red 2011
3000+ miles
I want my SOC!!!

User avatar
rickbecker
Posts: 123
Joined: Sun Apr 24, 2011 3:58 pm
Delivery Date: 20 Apr 2011
Leaf Number: 0984
Location: East San Diego County

Re: LEAF SOC gauge with Nokia 6610 LCD display

Fri Aug 19, 2011 10:12 am

Stoaty wrote:Outstanding! The exact information you need, all in one place and elegantly displayed. Sure would like to own one of these.
+1
2011 Blue Ocean SL-Etec, VIN #984 SOLD 2/1/14
Tesla Model S delivered 12/23/13

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: LEAF SOC gauge with Nokia 6610 LCD display

Fri Aug 19, 2011 10:26 am

Great Progress.

1. Is this the place you got the display, and is this the display that you ordered?
http://www.ebay.com/itm/Nokia-6100-6610 ... 0553758987

2. Is this the same display, or one without the serial interface?
http://www.wide.hk/products.php?product ... -(PCF8833)

3. Do you have it programmed to display along the long axis of the card?
So that it might fit into the Project box?
What are the board's outside dimensions (excludig the rigt-angle 6-pin
header that you added)?

4. Yes, please email the source and necessary subroutines/libraries.
I will try to check a conection or "jumper" and possibly have the
firmware support both display modes ... maybe.

5. It is not a touch screen, right?
So, I still need some user input to select different screens.
Thus, I still need the push-buttons?

6. The Physical conection looks easy:
Ground, 5v power, and 4 others.

7. How does it look in daytime conditions, or in the sun?

8. How much 5v power does it need (amps)?

9. Please remember that any low-end mileage estimates might be
good for average LEAFs in average conditions, but it seems that the
car can be in some state where the SOC value SEEMS to indicate
"plenty" of remaining energy, but it is just NOT there to use
.

Again, Great Work.
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
evnow
Moderator
Posts: 11480
Joined: Thu Apr 22, 2010 11:41 am
Delivery Date: 25 Feb 2011
Leaf Number: 303
Location: Seattle, WA

Re: LEAF SOC gauge with Nokia 6610 LCD display

Fri Aug 19, 2011 2:48 pm

garygid wrote:Great Progress.

1. Is this the place you got the display, and is this the display that you ordered?
http://www.ebay.com/itm/Nokia-6100-6610 ... 0553758987
Yes.
2. Is this the same display, or one without the serial interface?
http://www.wide.hk/products.php?product ... -(PCF8833)
Should be - but I'm getting "no info on this product".
3. Do you have it programmed to display along the long axis of the card?
So that it might fit into the Project box?
What are the board's outside dimensions (excludig the rigt-angle 6-pin
header that you added)?
Right - I've set the memory control to get exactly that. Otherwise it won't fit in the box I've now as well.
4. Yes, please email the source and necessary subroutines/libraries.
I will try to check a conection or "jumper" and possibly have the
firmware support both display modes ... maybe.
Will do. The way I've changed your program is to add the necessary routines, files based on a #define. It will support both displays. We do need to cleanup so that it doesn't go thr' the LED stuff if it is not used.
5. It is not a touch screen, right?
So, I still need some user input to select different screens.
Thus, I still need the push-buttons?
Might come in handy at some point - currently ofcourse there is only one screen.
6. The Physical conection looks easy:
Ground, 5v power, and 4 others.
Right. Instead of 3 lines to LED, this is 6 lines.
7. How does it look in daytime conditions, or in the sun?
Will try it out this weekend.

8. How much 5v power does it need (amps)?
It is supposed to consume about 150 mA. How much does the LED consume ?

I'm still looking at one more OLED character display that consumes just 40 mA.
1st Leaf : 2/28/2011 to 5/6/2013
2nd Leaf : 5/4/2013 to 3/21/2017
Volt : 3/25/2017 to 5/25/2018
Model 3 : 5/10/2018 to ?

Return to “LEAF CANBus”