Open source CCS using AR7420

Development and discussion of fast charging systems eg Chademo , CCS etc
User avatar
CCSknowitall
Posts: 106
Joined: Fri Jun 04, 2021 1:47 pm
Has thanked: 1 time
Been thanked: 29 times

Re: Open source CCS using AR7420

Post by CCSknowitall »

I believe your Tesla is switching to single wire CAN mode as it is not receiving your SLAC request. Tesla's are "impatient" in that they will try (and give up) within only a few hundred milliseconds of seeing 5% PWM. If you're not ready, do a steady 9V (state B1), and only turn on your 5% oscillator once you for sure know your modem is ready.
PLSee
Posts: 4
Joined: Sun Mar 23, 2025 4:36 pm
Been thanked: 1 time

Re: Open source CCS using AR7420

Post by PLSee »

Here is the pcap file. I don't know how to generate the .log files.
How do I know the modem is ready? I'm waiting until pyplc is in the "modem isrestarting" phase and see the "nPacketsReceived" counter increase.
Then I plug the connector into the car.
Attachments
run.zip
(5.12 KiB) Downloaded 380 times
User avatar
uhi22
Posts: 1091
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 195 times
Been thanked: 607 times

Re: Open source CCS using AR7420

Post by uhi22 »

The pcap looks good. PyPLC sets the key, and the modem gives positive response. The next step should be, that the car sends a slac_param request. But this is not visible in the log.
I assume the car is not happy with the voltage on the CP, or the PP resistance. I'd propose to modify the test setup that it provides static 12V on CP, so the car can pull this to static 9V, and to turn on the 5% PWM as soon as the EVSE sees the 9V.
navyareddy1234567
Posts: 6
Joined: Fri May 09, 2025 5:06 am

Re: Open source CCS using AR7420

Post by navyareddy1234567 »

catphish wrote: Mon Feb 21, 2022 7:43 pm I've tested using two of these boards - one simulating the EVSE and one simulating the EV. The AR7420 does not appear to be capable of signal attenuation measurement, so I've had to fake the signal levels on the EVSE side, but this isn't a problem for this project. SLAC negotiation completes successfully and a network is formed. Definitely need to try this against a real EVSE before diving into the higher layer protocols.

PXL_20220221_143416054.jpg
how to fake signal levels?
User avatar
uhi22
Posts: 1091
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 195 times
Been thanked: 607 times

Re: Open source CCS using AR7420

Post by uhi22 »

navyareddy1234567
Posts: 6
Joined: Fri May 09, 2025 5:06 am

Re: Open source CCS using AR7420

Post by navyareddy1234567 »

@uhi22
with an TPLink/AR7420 on the other side as EVSE. This means, I see good chances that your adapter should work.
tplink version 6.0 is working or not and TPlink version 6.0 is AR7420 ?
User avatar
uhi22
Posts: 1091
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 195 times
Been thanked: 607 times

Re: Open source CCS using AR7420

Post by uhi22 »

All we know about V6 is here: https://github.com/uhi22/pyPLC/blob/mas ... a4010p-v60
This means: No, this version does not work. But we will be sure only if you one on the desk to check it. Maybe there are more different versions.
navyareddy1234567
Posts: 6
Joined: Fri May 09, 2025 5:06 am

Re: Open source CCS using AR7420

Post by navyareddy1234567 »

@uhi22
without NID NMK how to communicate?
User avatar
uhi22
Posts: 1091
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 195 times
Been thanked: 607 times

Re: Open source CCS using AR7420

Post by uhi22 »

https://github.com/uhi22/pyPLC/tree/mas ... ample-flow
NMK and NID in Checkpoints 1, 155, 160, 170.
navyareddy1234567
Posts: 6
Joined: Fri May 09, 2025 5:06 am

Re: Open source CCS using AR7420

Post by navyareddy1234567 »

@uhi22
Actually what iam asking means without NID,NMK, SLAC and SDP how to communicate request and response in pyplc code.
User avatar
uhi22
Posts: 1091
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 195 times
Been thanked: 607 times

Re: Open source CCS using AR7420

Post by uhi22 »

The SLAC is necessary to pair the modems of the charging station and the car. Without SLAC, no high-level communication is possible.
Maybe you want to describe your use case, this could shorten the guessing game.
navyareddy1234567
Posts: 6
Joined: Fri May 09, 2025 5:06 am

Re: Open source CCS using AR7420

Post by navyareddy1234567 »

@uhi22
In pyplchomeplug.py file this topics are there like NID,NMK,SLAC,SDP after completion of this process it was going to protocols like supported applicationprotocol and sessionsetup like that so now what iam asking means i want to skip that NID,NMK,SLAC,SDP process. I want to add one log file you can see and tell that how to do.
Attachments
evse_maxcurrent.txt
(1.31 MiB) Downloaded 18 times
User avatar
uhi22
Posts: 1091
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 195 times
Been thanked: 607 times

Re: Open source CCS using AR7420

Post by uhi22 »

Describe your setup.
Explain why you want to remove SLAC, NMK, NID, SDP.
How do you want to pair the modems without SLAC?
How shall the IP addresses be known without SDP?
Do you also want to remove TCP?
navyareddy1234567
Posts: 6
Joined: Fri May 09, 2025 5:06 am

Re: Open source CCS using AR7420

Post by navyareddy1234567 »

@uhi22
I want to skip that SLAC process how to skip i don't know please check the code and help me it's an emergency skipping of SLAC process.
Post Reply