Nissan Leaf ZE1 AC compressor LIN

Nissan Leaf/e-NV200 drive stack topics
User avatar
tom91
Posts: 2753
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 264 times
Been thanked: 717 times

Re: Nissan Leaf ZE1 AC compressor LIN

Post by tom91 »

aot93 wrote: Wed Oct 30, 2024 1:59 pm or try to log / playback to the compressor not attached to the car.
You got a LIN setup with an arduino might be worth trying.

Playing back is not possible with the USB Analyser.
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
User avatar
aot93
Posts: 212
Joined: Mon Feb 15, 2021 5:45 pm
Location: UK, West Sussex
Has thanked: 8 times
Been thanked: 49 times

Re: Nissan Leaf ZE1 AC compressor LIN

Post by aot93 »

I don't,
But I should have the bits to make a LIN setup, just a level shifter required by the looks of it?
Marat
Posts: 29
Joined: Wed Nov 16, 2022 6:24 pm
Has thanked: 2 times
Been thanked: 12 times

Re: Nissan Leaf ZE1 AC compressor LIN

Post by Marat »

Check CRC? ID47
Attachments
LIN_CRC.png
User avatar
tom91
Posts: 2753
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 264 times
Been thanked: 717 times

Re: Nissan Leaf ZE1 AC compressor LIN

Post by tom91 »

Marat wrote: Sat Nov 02, 2024 8:56 pmCheck CRC? ID47
The CRC is calculated as the Avanched LIN 2.0 CRC and it checks out as correct according to my Lin capture device. But can mess around a bit with this.
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Marat
Posts: 29
Joined: Wed Nov 16, 2022 6:24 pm
Has thanked: 2 times
Been thanked: 12 times

Re: Nissan Leaf ZE1 AC compressor LIN

Post by Marat »

lin.png
User avatar
dimonlipko
Posts: 47
Joined: Thu Apr 02, 2020 9:28 pm
Location: Ukraine, Kiev
Has thanked: 7 times
Been thanked: 11 times
Contact:

Re: Nissan Leaf ZE1 AC compressor LIN

Post by dimonlipko »

I work with LIN, and have the same problem. I think your problem was wrong ID, because in LIN can be protected ID, and check CRC. I try any Arduino Lin library and some have problem with it.
User avatar
tom91
Posts: 2753
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 264 times
Been thanked: 717 times

Re: Nissan Leaf ZE1 AC compressor LIN

Post by tom91 »

Okay so you would not believe the issue. Message timing.

I reviewed logs and my code and noticed even though it is supposed to run even 100ms the loop was not being ran that fast. So adding it to a mytimer call back it now send the the LIN frames at 10Hz as per log. I believe you could theoretically run it at a slower speed, seems to try and go at 3Hz but need more testing.
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
User avatar
tom91
Posts: 2753
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 264 times
Been thanked: 717 times

Re: Nissan Leaf ZE1 AC compressor LIN

Post by tom91 »

Marat wrote: Sat Nov 02, 2024 8:56 pmCheck CRC? ID47
Should have realised from your post too, each frame ever 100ms. (10hz)
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
User avatar
tom91
Posts: 2753
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 264 times
Been thanked: 717 times

Re: Nissan Leaf ZE1 AC compressor LIN

Post by tom91 »

Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
abetanco
Posts: 30
Joined: Mon Oct 23, 2023 10:06 am
Has thanked: 25 times
Been thanked: 12 times

Re: Nissan Leaf ZE1 AC compressor LIN

Post by abetanco »

aot93 wrote: Wed Oct 30, 2024 2:06 pm I don't,
But I should have the bits to make a LIN setup, just a level shifter required by the looks of it?
Hello, this post may help you if you need to send LIN with an Arduino:
viewtopic.php?t=2136
clawham
Posts: 3
Joined: Thu Aug 07, 2025 8:56 am
Been thanked: 1 time

Re: Nissan Leaf ZE1 AC compressor LIN

Post by clawham »

HELLO ALLS! Cath protocol to ZE1 nissan leaf compressor DENSO ESB27C WITH HEAT PUMP!
All it needs - read his status at MSG 0x49 with long 0 every 10ms - he answers like 00 00 B3 00 00 00 07 5E when stopped where B3 Vdc
When adding send every 100 ms message id 47 8 length with content like this - DC 05 FD FF FF FF FF FF - it starts where 05 ВС is speed(reversed byte iorde ! 02 ANY is stop and maximum i see is 0D AC! And it works!
When it turning - it sends to 49 like this AC 0D B3 2C 20 00 07 63 where B3 is dc voltage, 0D AC like current and 63 corresponding to temperature

Starting from 140 Vdc! Eats on start up to 0/9 amps and он minimal speed around 0.1 amp!

in our trace at time 33,3017192 i turn AC on and at time 40,8859636 i turn it off. at time 42,7048596 - i turn on with 31.5 С climate and it turns very slow and after i lover setted temperature and at 47,5001220 i turn off climate.
Attachments
ze1 HP AC on trace.rar
(84.39 KiB) Downloaded 13 times
Post Reply