Page 2 of 2
Re: Nissan Leaf ZE1 AC compressor LIN
Posted: Wed Oct 30, 2024 2:01 pm
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.
Re: Nissan Leaf ZE1 AC compressor LIN
Posted: Wed Oct 30, 2024 2:06 pm
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?
Re: Nissan Leaf ZE1 AC compressor LIN
Posted: Sat Nov 02, 2024 8:56 pm
by Marat
Check CRC? ID47
Re: Nissan Leaf ZE1 AC compressor LIN
Posted: Sat Nov 02, 2024 10:30 pm
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.
Re: Nissan Leaf ZE1 AC compressor LIN
Posted: Sun Nov 03, 2024 8:34 am
by Marat
Re: Nissan Leaf ZE1 AC compressor LIN
Posted: Sat Nov 16, 2024 8:23 pm
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.
Re: Nissan Leaf ZE1 AC compressor LIN
Posted: Wed Dec 11, 2024 4:33 pm
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.
Re: Nissan Leaf ZE1 AC compressor LIN
Posted: Wed Dec 11, 2024 4:36 pm
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)
Re: Nissan Leaf ZE1 AC compressor LIN
Posted: Wed Dec 11, 2024 4:48 pm
by tom91
Re: Nissan Leaf ZE1 AC compressor LIN
Posted: Sat Jan 25, 2025 1:53 am
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
Re: Nissan Leaf ZE1 AC compressor LIN
Posted: Wed Sep 03, 2025 11:27 am
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.