Tesla Charger Support Thread

Topics concerning the Tesla front and rear drive unit drop-in board
User avatar
EV_Builder
Posts: 1199
Joined: Tue Apr 28, 2020 3:50 pm
Location: The Netherlands
Has thanked: 16 times
Been thanked: 33 times
Contact:

Re: Tesla Charger Support Thread

Post by EV_Builder »

m.art.y wrote: Fri Jul 29, 2022 12:35 pm
arber333 wrote: Fri Jul 29, 2022 12:10 pm Could be that your CAN telegram repeat time is too long and charger sees lack of signal and throttles back. When is sees the signal again it quickly revs back up.
Or could be that rev3 needs some fast heartbeat telegram similar to outlander at 30ms interval?

Try to shorten that time between telegrams maybe it will help...
Tesla gen2 and gen3 chargers are essentially the same control wise just that gen3 has more power. So Arber just to confirm your Tesla gen2 charger is not doing this? I wasn't sure if this is normal or not just wanted to ask. Otherwise if that behaviour is not normal your guess about CAN intervals makes sense. My CAN lines has 60 Ohm resistance so should be all good there. Besides I only noticed this when I started using EVSE, before I was just applying AC manually and the charger didn't seem to do this.
Ok then I suggest to make a graph with the web GUI of the amp limit setting (of cp line) maybe it jumbos around a bit..
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
m.art.y
Posts: 550
Joined: Sat Jun 06, 2020 6:54 pm
Location: UK
Has thanked: 24 times
Been thanked: 17 times

Re: Tesla Charger Support Thread

Post by m.art.y »

Jack Bauer wrote: Wed Mar 20, 2019 7:32 am Github resources :
https://github.com/damienmaguire/Tesla-Gen3-Charger
Hi, this repo has SAM3X version of control board for Tesla gen3 charger but there is no arduino software for it. While gen2 arduino code works with gen3 charger it is limited to 16A per phase. I tried increasing what I thought were the limits in the code but it had no effect or stopped working altogether. Would you by any chance have a gen3 arduino code somewhere or would hint what need changing to be able to use full power from gen3 charger? Thanks 😊
User avatar
timbradley
Posts: 17
Joined: Sat Jan 22, 2022 11:49 pm
Location: Castle Pines, CO USA

Re: Tesla Charger Support Thread

Post by timbradley »

params (2).json
(227 Bytes) Downloaded 96 times
charger settings.JPG
charger lights.jpg
Have my new board installed and communicating through WiFi. Settings attached and photo of LEDs attached.

All modules are powering up, based on LEDs on each module.

Board LEDs are as shown, with upper LED (of two stacked amber LEDs) flashing (might appear solid in photo - it's not).

I can read battery voltage at DC connections on charger, but it is not outputting DC voltage (in other words, contactors are open but battery is not being charged).

Any suggestions?
1969 Beetle w/ Hyper-9
1988 Pontiac Fiero w/ Tesla SDU(OI), 16 18650, Orion BMS2
1968 VW Transporter 2 w/ Hyper-9
User avatar
johu
Site Admin
Posts: 5684
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Tesla Charger Support Thread

Post by johu »

Please post the output of http://192.168.4.1/cmd?cmd=json
Very likely the CAN termination solder jumper below the wifi module isn't closed
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
timbradley
Posts: 17
Joined: Sat Jan 22, 2022 11:49 pm
Location: Castle Pines, CO USA

Re: Tesla Charger Support Thread

Post by timbradley »

"idclim": {"unit":"A","value":45.00,"isparam":true,"minimum":0.00,"maximum":45.00,"default":45.00,"category":"Charger","i":0},
"iaclim": {"unit":"A","value":45.00,"isparam":true,"minimum":0.00,"maximum":72.00,"default":16.00,"category":"Charger","i":1},
"idcspnt": {"unit":"A","value":30.00,"isparam":true,"minimum":0.00,"maximum":45.00,"default":45.00,"category":"Charger","i":2},
"chargerena": {"unit":"1=Charger1, 2=Charger2, 4=Charger3","value":7.00,"isparam":true,"minimum":1.00,"maximum":7.00,"default":7.00,"category":"Charger","i":3},
"udcspnt": {"unit":"mV","value":398000.00,"isparam":true,"minimum":50000.00,"maximum":420000.00,"default":403000.00,"category":"Charger","i":4},
"udclim": {"unit":"V","value":400.00,"isparam":true,"minimum":50.00,"maximum":420.00,"default":398.00,"category":"Charger","i":5},
"timelim": {"unit":"minutes","value":240.00,"isparam":true,"minimum":-1.00,"maximum":10000.00,"default":-1.00,"category":"Charger","i":6},
"inputype": {"unit":"0=Type2, 1=Type2-3P, 2=Type1, 3=Manual, 4=Manual-3P","value":2.00,"isparam":true,"minimum":0.00,"maximum":4.00,"default":1.00,"category":"Charger","i":7},
"cancontrol": {"unit":"0=Off, 1=On","value":0.00,"isparam":true,"minimum":0.00,"maximum":1.00,"default":0.00,"category":"Charger","i":8},
"enablepol": {"unit":"0=ActiveHigh, 1=ActiveLow","value":0.00,"isparam":true,"minimum":0.00,"maximum":1.00,"default":0.00,"category":"Charger","i":9},
"idckp": {"unit":"","value":1000.00,"isparam":true,"minimum":0.00,"maximum":10000.00,"default":1000.00,"category":"Charger","i":10},
"idcki": {"unit":"","value":10000.00,"isparam":true,"minimum":0.00,"maximum":10000.00,"default":10000.00,"category":"Charger","i":11},
"pin": {"unit":"","value":0.00,"isparam":true,"minimum":0.00,"maximum":67108863.00,"default":0.00,"category":"Charger","i":12},
"opmode": {"unit":"0=Off, 1=Run","value":1.00,"isparam":false},
"state": {"unit":"0=Off, 1=Enable, 2=Activate, 3=EVSEActivate, 4=Stop","value":3.00,"isparam":false},
"uptime": {"unit":"s","value":770.00,"isparam":false},
"version": {"unit":"4=1.07.R","value":4.00,"isparam":false},
"lasterr": {"unit":"0=NONE, 1=CHARGERCAN, 2=CHARGERFAULT, 3=EXTCAN,","value":0.00,"isparam":false},
"uaux": {"unit":"V","value":13.18,"isparam":false},
"aclim": {"unit":"A","value":0.00,"isparam":false},
"hwaclim": {"unit":"A","value":0.00,"isparam":false},
"modaclim": {"unit":"dig","value":0.00,"isparam":false},
"modcmd": {"unit":"dig","value":254.00,"isparam":false},
"cablelim": {"unit":"A","value":40.00,"isparam":false},
"evselim": {"unit":"A","value":15.53,"isparam":false},
"idc": {"unit":"A","value":0.00,"isparam":false},
"udc": {"unit":"V","value":0.00,"isparam":false},
"soc": {"unit":"%","value":0.00,"isparam":false},
"proximity": {"unit":"0=Off, 1=On","value":1.00,"isparam":false},
"enable": {"unit":"0=Off, 1=On","value":1.00,"isparam":false},
"canenable": {"unit":"0=Off, 1=On","value":0.00,"isparam":false},
"cpuload": {"unit":"%","value":0.00,"isparam":false},
"c1stt": {"unit":"","value":0.00,"isparam":false},
"c1flag": {"unit":"0=None, 1=Enabled, 2=Fault, 4=CheckAlive","value":4.00,"isparam":false},
"c1tmp1": {"unit":"°C","value":0.00,"isparam":false},
"c1tmp2": {"unit":"°C","value":0.00,"isparam":false},
"c1tmpin": {"unit":"°C","value":0.00,"isparam":false},
"c1uac": {"unit":"V","value":0.00,"isparam":false},
"c1iac": {"unit":"A","value":0.00,"isparam":false},
"c1udc": {"unit":"V","value":0.00,"isparam":false},
"c1idc": {"unit":"A","value":0.00,"isparam":false},
"c2stt": {"unit":"","value":0.00,"isparam":false},
"c2flag": {"unit":"0=None, 1=Enabled, 2=Fault, 4=CheckAlive","value":4.00,"isparam":false},
"c2tmp1": {"unit":"°C","value":0.00,"isparam":false},
"c2tmp2": {"unit":"°C","value":0.00,"isparam":false},
"c2tmpin": {"unit":"°C","value":0.00,"isparam":false},
"c2uac": {"unit":"V","value":0.00,"isparam":false},
"c2iac": {"unit":"A","value":0.00,"isparam":false},
"c2udc": {"unit":"V","value":0.00,"isparam":false},
"c2idc": {"unit":"A","value":0.00,"isparam":false},
"c3stt": {"unit":"","value":0.00,"isparam":false},
"c3flag": {"unit":"0=None, 1=Enabled, 2=Fault, 4=CheckAlive","value":4.00,"isparam":false},
"c3tmp1": {"unit":"°C","value":0.00,"isparam":false},
"c3tmp2": {"unit":"°C","value":0.00,"isparam":false},
"c3tmpin": {"unit":"°C","value":0.00,"isparam":false},
"c3uac": {"unit":"V","value":0.00,"isparam":false},
"c3iac": {"unit":"A","value":0.00,"isparam":false},
"c3udc": {"unit":"V","value":0.00,"isparam":false},
"c3idc": {"unit":"A","value":0.00,"isparam":false},
"serial": {"unit":"","value":"87184258:49548566:670FF54","isparam":false}
}
1969 Beetle w/ Hyper-9
1988 Pontiac Fiero w/ Tesla SDU(OI), 16 18650, Orion BMS2
1968 VW Transporter 2 w/ Hyper-9
User avatar
timbradley
Posts: 17
Joined: Sat Jan 22, 2022 11:49 pm
Location: Castle Pines, CO USA

Re: Tesla Charger Support Thread

Post by timbradley »

Solder looks good. I heated it up and added solder to both sides again, just in case.

Thanks for your help here!
1969 Beetle w/ Hyper-9
1988 Pontiac Fiero w/ Tesla SDU(OI), 16 18650, Orion BMS2
1968 VW Transporter 2 w/ Hyper-9
m.art.y
Posts: 550
Joined: Sat Jun 06, 2020 6:54 pm
Location: UK
Has thanked: 24 times
Been thanked: 17 times

Re: Tesla Charger Support Thread

Post by m.art.y »

arber333 wrote: Fri Jul 29, 2022 1:01 pm Ah ok, i have to get home to install my gen2 first. When i tested it dry it didnt mind steadily letting out 9kW. I will manage in the next few days i hope then ill report...
Hi, did you manage to test the Tesla charger? Is the current ramping up and down all the time too? 😊
arber333
Posts: 3241
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 74 times
Been thanked: 223 times
Contact:

Re: Tesla Charger Support Thread

Post by arber333 »

m.art.y wrote: Mon Aug 08, 2022 9:13 am
arber333 wrote: Fri Jul 29, 2022 1:01 pm Ah ok, i have to get home to install my gen2 first. When i tested it dry it didnt mind steadily letting out 9kW. I will manage in the next few days i hope then ill report...
Hi, did you manage to test the Tesla charger? Is the current ramping up and down all the time too? 😊
True, you asked me... It is switching around some, but not too much.
See evidence below.
https://openinverter.org/forum/viewtopi ... 640#p43640
User avatar
johu
Site Admin
Posts: 5684
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Tesla Charger Support Thread

Post by johu »

timbradley wrote: Mon Aug 08, 2022 2:53 am Solder looks good. I heated it up and added solder to both sides again, just in case.

Thanks for your help here!
So state=EVSEActivate which means it should be charging but at the same time there is absolutely no comms from the chargers. The mapping bug didn't exist in v1.07.R so it must be something with the physical bus. Maybe bus shorted when soldering in the connector?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
timbradley
Posts: 17
Joined: Sat Jan 22, 2022 11:49 pm
Location: Castle Pines, CO USA

Re: Tesla Charger Support Thread

Post by timbradley »

Thanks Johu!

I had the soldering done by a local PCB manufacturer. He's pretty darn talented. The only solder I did myself was the termination jumper.

I can inspect the board under magnification, any other suggestions to search out the issue?
1969 Beetle w/ Hyper-9
1988 Pontiac Fiero w/ Tesla SDU(OI), 16 18650, Orion BMS2
1968 VW Transporter 2 w/ Hyper-9
bmwx5projet
Posts: 30
Joined: Tue Aug 09, 2022 12:54 pm

Re: Tesla Charger Support Thread

Post by bmwx5projet »

greetings, to see who can guide me since I am starting a project with my bmw x5. to use a Tesla gen2 charger I bought the card but when comparing it with others I see that it is missing a piece that goes in point 1C4 and I would like to know if it is necessary for me to have this and if it is necessary what should I do because I don't know what it is. Thank you
User avatar
EV_Builder
Posts: 1199
Joined: Tue Apr 28, 2020 3:50 pm
Location: The Netherlands
Has thanked: 16 times
Been thanked: 33 times
Contact:

Re: Tesla Charger Support Thread

Post by EV_Builder »

Picture?
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
User avatar
chrskly
Posts: 145
Joined: Fri Feb 21, 2020 5:04 pm
Location: Dublin, Ireland
Has thanked: 39 times
Been thanked: 28 times
Contact:

Re: Tesla Charger Support Thread

Post by chrskly »

bmwx5projet wrote: Tue Aug 09, 2022 3:48 pm greetings, to see who can guide me since I am starting a project with my bmw x5. to use a Tesla gen2 charger I bought the card but when comparing it with others I see that it is missing a piece that goes in point 1C4 and I would like to know if it is necessary for me to have this and if it is necessary what should I do because I don't know what it is. Thank you
Assuming you're using a Gen2 charger, and a v5 board, you can actually view the schematic for yourself here :

Looks like this is the FTDI chip (USB to serial). This is, I believe, used to configure the charger settings. I have one, but have not set it up yet.

I see the v5 board also has a separate serial header (conn9). So, I guess you could make do without IC4 if you had as separate FTDI board/adapter and connected it to conn9. FTDI boards are cheap and easy to get.
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Charger Support Thread

Post by Jack Bauer »

All settings are configured via wifi. Hence the missing chip!
https://openinverter.org/wiki/Tesla_Mod ... age_manual
I'm going to need a hacksaw
User avatar
chrskly
Posts: 145
Joined: Fri Feb 21, 2020 5:04 pm
Location: Dublin, Ireland
Has thanked: 39 times
Been thanked: 28 times
Contact:

Re: Tesla Charger Support Thread

Post by chrskly »

Jack Bauer wrote: Wed Aug 10, 2022 1:40 pm All settings are configured via wifi. Hence the missing chip!
https://openinverter.org/wiki/Tesla_Mod ... age_manual
Ah, apologies, I thought it was only via serial/usb port.
arber333
Posts: 3241
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 74 times
Been thanked: 223 times
Contact:

Re: Tesla Charger Support Thread

Post by arber333 »

Ok i have an issue.
Not with the charger... it runs just fine.
Not with the board... it also does its job.
Maybe the formware? Or my settings?

I replaced 3x of my 3kW eltek chargers which were charging ar 9kW but would not abide by EVSE Cp signal.
I put in Tesla gen2 charger and used open source firmware with serial setup.
I did setup in evse mode with 20A phase limit.

Charger only goes up to 8.5kW! Why would that be? And i tested at various voltages as to eliminate constant power tapering. Also i tested on various L2 EVSE in Slovenia. See the photos.
Did anyone come across similar behaviour?
Attachments
20220808_003044.jpg
20220808_170258.jpg
20220809_204228.jpg
m.art.y
Posts: 550
Joined: Sat Jun 06, 2020 6:54 pm
Location: UK
Has thanked: 24 times
Been thanked: 17 times

Re: Tesla Charger Support Thread

Post by m.art.y »

arber333 wrote: Wed Aug 10, 2022 4:05 pm I put in Tesla gen2 charger and used open source firmware with serial setup.
I did setup in evse mode with 20A phase limit.
Hi, are you using the arduino code with SAM3X version of the board? In that case you can plug in USB cable and open serial terminal in arduino. It reports very clearly what each charger is doing and what amperage it is charging at. Can you take a look if each charger is charging at 16A AC? It also shows there what cable limit it is receiving from EVSE. Or can you take a screenshot?
arber333
Posts: 3241
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 74 times
Been thanked: 223 times
Contact:

Re: Tesla Charger Support Thread

Post by arber333 »

m.art.y wrote: Wed Aug 10, 2022 4:30 pm Hi, are you using the arduino code with SAM3X version of the board? In that case you can plug in USB cable and open serial terminal in arduino. It reports very clearly what each charger is doing and what amperage it is charging at. Can you take a look if each charger is charging at 16A AC? It also shows there what cable limit it is receiving from EVSE. Or can you take a screenshot?
I am using Tomdbs arduino code compiled evidently for stm32 chip on my v5b3 board. Did you notice similar behaviour with your version?
m.art.y
Posts: 550
Joined: Sat Jun 06, 2020 6:54 pm
Location: UK
Has thanked: 24 times
Been thanked: 17 times

Re: Tesla Charger Support Thread

Post by m.art.y »

arber333 wrote: Wed Aug 10, 2022 5:57 pm I am using Tomdbs arduino code compiled evidently for stm32 chip on my v5b3 board. Did you notice similar behaviour with your version?
Didn't know this version of firmware existed where did you find it? I'm using Tom's firmware on SAM3X board. So can you access serial debug info at all? Mine works and AC current ramps up to 16A max but then it drops to ~2A and ramps up again, does this every 10 seconds or so..
arber333
Posts: 3241
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 74 times
Been thanked: 223 times
Contact:

Re: Tesla Charger Support Thread

Post by arber333 »

m.art.y wrote: Wed Aug 10, 2022 7:56 pm
arber333 wrote: Wed Aug 10, 2022 5:57 pm I am using Tomdbs arduino code compiled evidently for stm32 chip on my v5b3 board. Did you notice similar behaviour with your version?
Didn't know this version of firmware existed where did you find it? I'm using Tom's firmware on SAM3X board. So can you access serial debug info at all? Mine works and AC current ramps up to 16A max but then it drops to ~2A and ramps up again, does this every 10 seconds or so..
In the binary folder of Damiens repo. He seems to have it ported to STM32
https://github.com/damienmaguire/Tesla- ... are/Binary

That is exactly what i am seeing. Goes up to 8.5kW and dances about 500W. Could that mean each of the modules sees something faulty in its CAN command and starts to reduce but is then overcome by correct telegram? Or is it that Cp sensing is not very precise. I count some 2m of unshielded wire from socket to charger.

Yeah... about debug... the way i installed the charger i have to gat it down and take the lid off. My plan is to put a small cable through the lid and use it to connect to FTDI to have serial connection. Then i will be able to see debug...any day now. :roll:
m.art.y
Posts: 550
Joined: Sat Jun 06, 2020 6:54 pm
Location: UK
Has thanked: 24 times
Been thanked: 17 times

Re: Tesla Charger Support Thread

Post by m.art.y »

arber333 wrote: Wed Aug 10, 2022 8:04 pm Yeah... about debug... the way i installed the charger i have to gat it down and take the lid off. My plan is to put a small cable through the lid and use it to connect to FTDI to have serial connection. Then i will be able to see debug...any day now. :roll:
What about wifi? Can't you connect to serial debug info over wifi?
User avatar
EV_Builder
Posts: 1199
Joined: Tue Apr 28, 2020 3:50 pm
Location: The Netherlands
Has thanked: 16 times
Been thanked: 33 times
Contact:

Re: Tesla Charger Support Thread

Post by EV_Builder »

Post a canbus log of it and I will take a look at it. From turning charger on couple of those cycles and turning off.
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
arber333
Posts: 3241
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 74 times
Been thanked: 223 times
Contact:

Re: Tesla Charger Support Thread

Post by arber333 »

EV_Builder wrote: Wed Aug 10, 2022 8:45 pm Post a canbus log of it and I will take a look at it. From turning charger on couple of those cycles and turning off.
I wasnt able to connect to CAN even with the alternative firmware.
I will setup a twisted pair as well then...
bmwx5projet
Posts: 30
Joined: Tue Aug 09, 2022 12:54 pm

Re: Tesla Charger Support Thread

Post by bmwx5projet »

chrskly wrote: Wed Aug 10, 2022 12:01 pm Assuming you're using a Gen2 charger, and a v5 board, you can actually view the schematic for yourself here :

Looks like this is the FTDI chip (USB to serial). This is, I believe, used to configure the charger settings. I have one, but have not set it up yet.

I see the v5 board also has a separate serial header (conn9). So, I guess you could make do without IC4 if you had as separate FTDI board/adapter and connected it to conn9. FTDI boards are cheap and easy to get.
Hello, thank you very much for responding to my concern, the card is a V5aB3, would it be mandatory to put the chip in it for it to work and if so, how do I program it?
User avatar
chrskly
Posts: 145
Joined: Fri Feb 21, 2020 5:04 pm
Location: Dublin, Ireland
Has thanked: 39 times
Been thanked: 28 times
Contact:

Re: Tesla Charger Support Thread

Post by chrskly »

bmwx5projet wrote: Thu Aug 11, 2022 1:40 am Hello, thank you very much for responding to my concern, the card is a V5aB3, would it be mandatory to put the chip in it for it to work and if so, how do I program it?
Sorry, I'm causing issues here by trying to chip in to answer questions, but only getting it about half right ;)

You can use the board, as-is, without having to add anything. The board has a WiFi interface and can be configured/managed completely from there (of course!).

See previous comment from Damien on this ...
Jack Bauer wrote: Wed Aug 10, 2022 1:40 pm All settings are configured via wifi. Hence the missing chip!
https://openinverter.org/wiki/Tesla_Mod ... age_manual
Locked