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