Tesla Model 3 Charger
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
- tom91
- Posts: 2296
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 199 times
- Been thanked: 524 times
Re: Tesla Model 3 Charger
Some very good progress Damien, hats off.
Very janky setup as usual, might want to make a bit more permanent rectification setup.
You tried changing some values in 0x22A to see if you can request less current?
Very janky setup as usual, might want to make a bit more permanent rectification setup.
You tried changing some values in 0x22A to see if you can request less current?
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
Re: Tesla Model 3 Charger
Thanks Tom. Lots more testing to do. Regards ipc can here is a copy of a comment on the above video that seems to shed some light :
Inter Process Communication (IPC) can use the CAN protocol over a half duplex single ended bus, without the usual Transceivers (that are used to convert to a differential bus topology for noise immunity and low EMI), by simply hardware OR'ing the TX lines onto a single data line. Used over short distances with system of a common ground it allows all the usual CAN goodness (built in checksums, automatic bus arbitration and multi-drop architecture) without the additional parts count for the full CAN physical layer. As Automotive spec micro-processors now pretty much all include multiple CAN nodes in hardware, it makes sense to use that rather than alternative IPC options (classic UART, SPI, I2C etc)
See here: https://www.mikrocontroller.net/attachm ... AP2921.pdf
Inter Process Communication (IPC) can use the CAN protocol over a half duplex single ended bus, without the usual Transceivers (that are used to convert to a differential bus topology for noise immunity and low EMI), by simply hardware OR'ing the TX lines onto a single data line. Used over short distances with system of a common ground it allows all the usual CAN goodness (built in checksums, automatic bus arbitration and multi-drop architecture) without the additional parts count for the full CAN physical layer. As Automotive spec micro-processors now pretty much all include multiple CAN nodes in hardware, it makes sense to use that rather than alternative IPC options (classic UART, SPI, I2C etc)
See here: https://www.mikrocontroller.net/attachm ... AP2921.pdf
I'm going to need a hacksaw
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
Re: Tesla Model 3 Charger
Message 0x22a on ipc can at 10ms intervals. Byte 1 , bit 2 is dcdc enable. set it to one and the dcdc wakes up. set it to 0 and it shutsdown. Released a first cut at a pcs controller on github. Just a modification to the existing gen3 charger controller.
https://github.com/damienmaguire/Tesla-Model-3-Charger
https://github.com/damienmaguire/Tesla-Model-3-Charger
I'm going to need a hacksaw
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
Re: Tesla Model 3 Charger
Just ordered some prototype boards from these guys : https://jlcpcb.com/
We'll see what they turn out like. If any one on here has a PCS and wants to play along let me know and I'll ship you a controller for free.
We'll see what they turn out like. If any one on here has a PCS and wants to play along let me know and I'll ship you a controller for free.
I'm going to need a hacksaw
- Teknomadix
- Posts: 27
- Joined: Sun Jul 14, 2019 7:37 am
- Location: Cascadia
- Contact:
Re: Tesla Model 3 Charger
Yes! Have a 3 PCS, Would love to play along! Don't mind paying shipping either.Jack Bauer wrote: ↑Wed Jul 24, 2019 9:53 am If any one on here has a PCS and wants to play along let me know and I'll ship you a controller for free.
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
Re: Tesla Model 3 Charger
I'll ping you once I get the controllers built. Will be nice to have someone else helping out.
I'm going to need a hacksaw
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
Re: Tesla Model 3 Charger
Need a little help on some can decoding. I had been looking for a message from the pcs with the 12v system voltage. None seemed to show itself. Then I observed message 0x424 pop up when the dcdc enable bit in 0x22a is sent. Here are a few samples of 0x424 with various 12v voltages applied. Anyone want to guess how the 12v is encoded here?
12v applied : 2b 80 2d 0d 01 00 00 a0
13v applied : 2b 80 4a 35 01 bc 0b a0
14v applies : 2b 80 65 5d 01 bc 0b a0
15v applied : 2b 80 7f 7d 01 bc 0b a0
12v applied : 2b 80 2d 0d 01 00 00 a0
13v applied : 2b 80 4a 35 01 bc 0b a0
14v applies : 2b 80 65 5d 01 bc 0b a0
15v applied : 2b 80 7f 7d 01 bc 0b a0
I'm going to need a hacksaw
- celeron55
- Posts: 803
- Joined: Thu Jul 04, 2019 3:04 pm
- Location: Finland
- Has thanked: 38 times
- Been thanked: 135 times
- Contact:
Re: Tesla Model 3 Charger
It might simply be a 10 to 20 V range mapped into 0...0xffff just to squeeze more resolution out of two bytes, as anything below 10V is a dead battery anyways.
- tom91
- Posts: 2296
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 199 times
- Been thanked: 524 times
Re: Tesla Model 3 Charger
Byte 2 LSB Byte 3 MSB scaling 0.0001 offset 11.613
Just from the rought data you shared. Quite a nice linear line in excel when plotted.
Just from the rought data you shared. Quite a nice linear line in excel when plotted.
Re: Tesla Model 3 Charger
I think doing byte 4 MSB, byte 3 LSB, with a similar 0.0001 scaling might be a little closer. I would guess that its then either:
1) a roughly 11.7V offset (11.66?) or
2) a 12V offset and then maybe some flag (byte 6 or 7? both?) about whether or not its added or subtracted
1) a roughly 11.7V offset (11.66?) or
2) a 12V offset and then maybe some flag (byte 6 or 7? both?) about whether or not its added or subtracted
I may have access to a PCS in the coming weeks, I'd love to help if I do end up getting my hands on it.Jack Bauer wrote: ↑Wed Jul 24, 2019 9:53 am If any one on here has a PCS and wants to play along let me know and I'll ship you a controller for free.
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
Re: Tesla Model 3 Charger
Thanks guys:) As 0x424 only appears when the dcdc is starting or started I can't get many samples as I'm not properly starting the dcdc as yet due to not having a bench battery pack yet.
Here are 3 dcdc startup attempts with a fixed 12v : https://github.com/damienmaguire/Tesla- ... tempts.csv
and 3 with varying voltage : https://github.com/damienmaguire/Tesla- ... von_dc.csv
Here are 3 dcdc startup attempts with a fixed 12v : https://github.com/damienmaguire/Tesla- ... tempts.csv
and 3 with varying voltage : https://github.com/damienmaguire/Tesla- ... von_dc.csv
I'm going to need a hacksaw
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
Re: Tesla Model 3 Charger
Blank pcbs have arrived for the pcs controller:)
I'm going to need a hacksaw
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
Re: Tesla Model 3 Charger
PCS Controller working perfectly:) Also my first oven reflow pcb so double happy. Now for some software....
I'm going to need a hacksaw
Re: Tesla Model 3 Charger
What are the physical dimensions of this unit? The Tesla unit, not the controller. 

Formerly 92 E30 BMW Cabrio with Tesla power
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
Re: Tesla Model 3 Charger
Not sure. Will measure it and report back. Not much larger than a Gen 2 charger.
I'm going to need a hacksaw
- muehlpower
- Posts: 680
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 14 times
- Been thanked: 133 times
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
Re: Tesla Model 3 Charger
Currently being installed in the BMW E46 Touring project by our vehicle integration team 

I'm going to need a hacksaw
-
- Posts: 31
- Joined: Mon Feb 03, 2020 3:36 pm
- Location: Pennsylvania, USA
- Has thanked: 50 times
- Been thanked: 9 times
Re: Tesla Model 3 Charger
weird question, but does the Tesla 3 charger seem to have the BMS for the model 3 batteries integrated? or is that another system in the 3?
- muehlpower
- Posts: 680
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 14 times
- Been thanked: 133 times
Re: Tesla Model 3 Charger
Does anyone have any idea where to get the right connectors? I made a drawing with tape measure accuracy. If anyone is interested!
- Attachments
-
- 191003MB-002.jpg (39.06 KiB) Viewed 8603 times
-
191003MB-002.pdf
- (1.45 MiB) Downloaded 558 times
- arturk
- Posts: 148
- Joined: Wed Oct 02, 2019 3:58 am
- Location: United States, MD
- Has thanked: 5 times
- Been thanked: 4 times
Re: Tesla Model 3 Charger
Damien, Are you planning to share controller's software the on GitHub?
I have one of those chargers and would love to play with it.
I have one of those chargers and would love to play with it.
1998 Jaguar XJR, GS450h drivetrain, 48kWh/96s BMW battery
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 8 times
Re: Tesla Model 3 Charger
no, he's planning on retiring to Lanzarote on the proceeds from his closed source Tesla parts empire

Watch the Tesla Battery hacking project which includes all components in the penthouse;
viewtopic.php?f=10&t=577
This is a personal post and I disclaim all responsibility for any loss or damage which any person may suffer from reliance on the information and material in this post or any opinion, conclusion or recommendation in the information and material.
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 8 times
Re: Tesla Model 3 Charger
NoScythianNite wrote: ↑Mon Feb 03, 2020 3:37 pm weird question, but does the Tesla 3 charger seem to have the BMS for the model 3 batteries integrated?
This is a personal post and I disclaim all responsibility for any loss or damage which any person may suffer from reliance on the information and material in this post or any opinion, conclusion or recommendation in the information and material.
- arturk
- Posts: 148
- Joined: Wed Oct 02, 2019 3:58 am
- Location: United States, MD
- Has thanked: 5 times
- Been thanked: 4 times
Re: Tesla Model 3 Charger
FunnyKevin Sharpe wrote: ↑Tue Mar 03, 2020 10:58 pm no, he's planning on retiring to Lanzarote on the proceeds from his closed source Tesla parts empire![]()

This one is very interesting but seems to be focusing on BMS currently.Kevin Sharpe wrote: ↑Tue Mar 03, 2020 10:58 pm Watch the Tesla Battery hacking project which includes all components in the penthouse;
viewtopic.php?f=10&t=577
I was referring to "Tesla-Model-3-Charger" project on GitHub
https://github.com/damienmaguire/Tesla-Model-3-Charger
since Damien reported recently it was being installed in " BMW E46 Touring"
I have this Model 3 PCS and would love to use it on my project but did not find software on GitHubJack Bauer wrote: ↑Fri Jan 31, 2020 7:44 am Currently being installed in the BMW E46 Touring project by our vehicle integration team![]()

Is this on hold? Not ready?
1998 Jaguar XJR, GS450h drivetrain, 48kWh/96s BMW battery
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
Re: Tesla Model 3 Charger
The reason for no software on github is I have not written any as yet. Reason for that is in order to do further testing I need HVDC,AC, cooling and 12v applied and the easiest way to do that is install it in a car which is still a work in progress. Last bench testing saw the dcdc waking up. It's not forgotten but I'm just one guy:)
I'm going to need a hacksaw