User avatar
TickTock
Posts: 1701
Joined: Sat Jun 04, 2011 10:30 pm
Delivery Date: 31 May 2011
Leaf Number: 3626
Location: Queen Creek, Arizona
Contact: Website

Re: The CANary project

Mon Mar 31, 2014 10:51 am

robot256 wrote:If I hold the button for 5 seconds, the window will go all the way up, auto-up or not :lol:
Hold for 5 seconds *after it reaches the top*. I guess I should have been more specific. Besides, in the winter 5 seconds may not be enough for it to reach the top :-)

robot256
Posts: 21
Joined: Wed Nov 13, 2013 2:47 pm
Delivery Date: 02 Mar 2013

Re: The CANary project

Mon Mar 31, 2014 10:58 am

TickTock wrote:
robot256 wrote:If I hold the button for 5 seconds, the window will go all the way up, auto-up or not :lol:
Hold for 5 seconds *after it reaches the top*. I guess I should have been more specific. Besides, in the winter 5 seconds may not be enough for it to reach the top :-)
OOOHHHH.... I had no idea that the feature could enabled/disabled by the user. Guess I should have read my manual more thoroughly :shock: :D

QueenBee
Posts: 1564
Joined: Sun Aug 08, 2010 5:14 pm
Delivery Date: 20 Jun 2011
Leaf Number: 2062
Location: Portland

Re: The CANary project

Mon Mar 31, 2014 9:18 pm

robot256 wrote:
TickTock wrote:
robot256 wrote:If I hold the button for 5 seconds, the window will go all the way up, auto-up or not :lol:
Hold for 5 seconds *after it reaches the top*. I guess I should have been more specific. Besides, in the winter 5 seconds may not be enough for it to reach the top :-)
OOOHHHH.... I had no idea that the feature could enabled/disabled by the user. Guess I should have read my manual more thoroughly :shock: :D
It's not that it can be disabled it's that it loses it's calibration and needs to be recalibrated, for example when the battery gets disconnected. I think disconnecting the battery is part of the software update procedure so they recalibrate your window for you thus why it worked after taking it to the dealer.

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: The CANary project

Tue Apr 08, 2014 8:53 am

Yes, you are correct, disconnecting the 12v battery causes the loss of
calibration for the auto-up window feature.
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
thew
Posts: 233
Joined: Sat Apr 30, 2011 9:56 pm
Delivery Date: 14 Jun 2011
Leaf Number: 4514
Location: Gold Beach OR
Contact: Website

Re: The CANary project

Wed Apr 23, 2014 8:39 pm

SO after all 68 pages I cant tell if One can buy this yet?
2011 Nissan LEAF Silver SL w/ QC port.
Reserved 5/5/11
RAQ 5/6/11 Accepted, Confirmed
5/5/11 AeroVironment Charge Dock ordered "Cash and Carry"
5/10/11 AV EVSE Installed
Delivery 6/15/11
http://www.DepotEco.com" onclick="window.open(this.href);return false;

User avatar
TickTock
Posts: 1701
Joined: Sat Jun 04, 2011 10:30 pm
Delivery Date: 31 May 2011
Leaf Number: 3626
Location: Queen Creek, Arizona
Contact: Website

Re: The CANary project

Wed Apr 23, 2014 9:05 pm

This is a DIY project. If you want something pre-assembled then there are quite a few other alternatives that give more than enough data for your typical driver.

User avatar
TickTock
Posts: 1701
Joined: Sat Jun 04, 2011 10:30 pm
Delivery Date: 31 May 2011
Leaf Number: 3626
Location: Queen Creek, Arizona
Contact: Website

Re: The CANary project

Mon May 19, 2014 7:24 am

I have recently been made aware that the LCD displays currently being shipped are a new revision which uses a completely different display controller. Not only does it require a new library, but the wiring is different. Same part number, etc, but completely different behavior. I guess this is the sort of thing you can expect when you buy parts from 2nd rate companies. :x
I have updated the instructions (http://mbed.org/users/TickTock/code/CANary/) to include instructions for both. Also, anyone using the Rev2.00 version of the display will also have to edit the precompile.h file in the TOUCH_TFTx2_w9341 library and set USE_ILI9341 to 1 prior to compiling.

User avatar
TickTock
Posts: 1701
Joined: Sat Jun 04, 2011 10:30 pm
Delivery Date: 31 May 2011
Leaf Number: 3626
Location: Queen Creek, Arizona
Contact: Website

Re: The CANary project

Wed Aug 20, 2014 10:12 am

I just published a new rev. The primary change is the addition of the ability to edit the user watchpoints "in device." Previously, you had to edit the config file to program what msgId and byte you wanted to monitor for each of the eight watchpoint slots. Now, you can just long-press any of the watchpoints and a hexpad will come up on the opposite screen allowing entry of a new 4-character hex value indicating the msgId and byte (mmmb). Performing a "Save Config" will then allow the new value to be restored if power is cycled.

(Don't forget to edit the precompile.h file in the TOUCH_TFTx2_w9341 library and set USE_ILI9341 to 1 prior to compiling if you are using the new displays.)

User avatar
TickTock
Posts: 1701
Joined: Sat Jun 04, 2011 10:30 pm
Delivery Date: 31 May 2011
Leaf Number: 3626
Location: Queen Creek, Arizona
Contact: Website

Re: The CANary project

Fri Jan 23, 2015 8:17 am

New rev (rev201) uploaded. Chages:
1) Fixed a bug in the long-touch code that was causing a lag
2) Fixed a bug in the config file save/restore (had the flags for brake monitor and regen monitor flipped causing these settings to load improperly whenever the device was reset)
3) Improved the efficiency computation to stop updating when the car is at a standstill. Before this fix, the DTE gauge would slowly drift to 0 if you were at a stop for a long period of time (~10 minutes). Corrected as soon as you started moving again but I decided it wasn't particularly useful to the driver to be told that they will get 0mpkWh while the car is at a standstill and would rather know what they get once they start moving again based on activity while actually travelling.

Return to “LEAF CANBus”