Tesla Model 3 Rear Drive Unit Hacking
- 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 Rear Drive Unit Hacking
elon busted my chops on this one but we have control of the mosfets:)
I'm going to need a hacksaw
Re: Tesla Model 3 Rear Drive Unit Hacking
Great job Damien!Jack Bauer wrote: ↑Sun Mar 22, 2020 1:23 pm elon busted my chops on this one but we have control of the mosfets:)
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 280 times
- Contact:
- 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 Rear Drive Unit Hacking
First spin of a motor using the rear drive unit inverter. Switching at 17.6khz.
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:
- 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 Rear Drive Unit Hacking
Current sensors seem to be easy. J2 header just below the phase terminals gives access.
Analog output of 2.5v at 0A. Measured the following :
Sensor B : 2.500V at 0A going to 2.487V at 1A and 2.4845V at 10A
Sensor A : 2.4980V at 0A going to 2.4964V at 1A and 2.4823V at 10A
Analog output of 2.5v at 0A. Measured the following :
Sensor B : 2.500V at 0A going to 2.487V at 1A and 2.4845V at 10A
Sensor A : 2.4980V at 0A going to 2.4964V at 1A and 2.4823V at 10A
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 Rear Drive Unit Hacking
And with Elon awake we get a 10khz sine wave as our resolver exciter that goes away when he sleeps .....hmmmm
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:
- 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 Rear Drive Unit Hacking
Decided to take the plunge and give Kicad a go for the model 3 modchip. Intermediate schematic attached. Still need to add a few things like changing Uart2 to LIN for oil pump control etc.
- Attachments
-
M3_RDU_V1.pdf
- (151.39 KiB) Downloaded 622 times
I'm going to need a hacksaw
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 8 times
Re: Tesla Model 3 Rear Drive Unit Hacking
Munro: Electric Motor Comparison MY-M3
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.
- 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 Rear Drive Unit Hacking
Drive unit made it home. Next up is working out the LIN for oil pump control then its closed loop running time. Boards should be done and in manufacture at JLC after that.
I'm going to need a hacksaw
- Thatguyoverthere
- Posts: 34
- Joined: Fri Jun 28, 2019 5:04 am
- Location: California, USA
- Been thanked: 1 time
Re: Tesla Model 3 Rear Drive Unit Hacking
Good to see you're using KiCAD, it definitely was not intuitive for me (Eagle -> KiCAD), but you can always do more with OSS as far as board size, layers, etc., without hitting a paywall. If you have any questions or requests about the program, feel free to ask.
https://github.com/kaelinwilson
Leaf Motor/Gen1 Camry Inverter
Leaf Motor/Gen1 Camry Inverter
- 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 Rear Drive Unit Hacking
All components placed. Board size 60mm x 40mm 4 layer. All 0603 passives.
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:
-
- Posts: 14
- Joined: Sun Mar 01, 2020 12:01 pm
- Location: Germany
Re: Tesla Model 3 Rear Drive Unit Hacking
Until we have received a 3D Scan crowdfunding, I will politely asked again,JeanVapeur wrote: ↑Sun Mar 01, 2020 7:00 pm Hi Damien,
can you do me a favour and make a raw drawing/video (L x W x H x D) of the dimensions of the 2 Model 3 DriveUnits.
Ony for a rough placement check.
Thank You very much!
Peter
if somebody can tell me the dimension in the picture?
Thank you and happy Easter!

- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 8 times
Re: Tesla Model 3 Rear Drive Unit Hacking
Why not ask Sandy Munro? He's desperate for cash and will answer a question for $50

https://munrolive.com/access-%2F-shop/o ... take-aways
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.
-
- Posts: 395
- Joined: Sun Aug 25, 2019 12:39 pm
- Location: Finland
- Has thanked: 55 times
- Been thanked: 14 times
Re: Tesla Model 3 Rear Drive Unit Hacking


Great to input some humor while your at it..

So a mod circuit is still the way forward, do you/someone think later on a CAN-based system could come available.? Not that you/someone need to do it, I just ask is it reasonably possible to achieve such a function without the car itself. Big congratulations on spinning the other motor on the video!
Any opinions are my own, unless stated otherwise. I take no responsibility if you follow my way of doing things and it doesn't work. Please double check with someone who knows what they are doing.
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 8 times
Re: Tesla Model 3 Rear Drive Unit Hacking
For now... many options including replacing the controller PCB are being considered but we're a long way from a 'production' decision

Possibly... the issue is circumventing the Tesla encryption and VCU dependence while avoiding a knock on the door from Tesla's attorneys

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.
-
- Posts: 395
- Joined: Sun Aug 25, 2019 12:39 pm
- Location: Finland
- Has thanked: 55 times
- Been thanked: 14 times
Re: Tesla Model 3 Rear Drive Unit Hacking
Great answers. Keep up the good work.Kevin Sharpe wrote: ↑Mon Apr 13, 2020 3:25 pmFor now... many options including replacing the controller PCB are being considered but we're a long way from a 'production' decision![]()
Possibly... the issue is circumventing the Tesla encryption and VCU dependence while avoiding a knock on the door from Tesla's attorneys![]()

Any opinions are my own, unless stated otherwise. I take no responsibility if you follow my way of doing things and it doesn't work. Please double check with someone who knows what they are doing.
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 8 times
Re: Tesla Model 3 Rear Drive Unit Hacking
Damien's doing all the work, I'm just reporting what I know from my conversations with him

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.
- amberwolf
- Posts: 4
- Joined: Wed Apr 15, 2020 6:23 am
- Location: Phoenix, AZ, USA, Earth, Sol, Local Bubble, Orion Arm, Milky Way, Local Group
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
*Deleted on request of the author*
"if it ain't broke, improve it till it is"----Dog-Hauler Cargo eTrike SB Cruiser----Cargo eBike CrazyBike2
- 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 Rear Drive Unit Hacking
This thread pertains to the development of the Model 3 rear drive unit controller. Please keep it on topic.
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 Rear Drive Unit Hacking
I was unhappy with the way the board layout was going particularly around connecting to the existing drive unit logic board so I went away for a while. New attempt is looking much healthier. One 34 way IDC connector and ribbon cable handles all connections from logic board to drive unit board. Using multi colour ribbon will enable easy signal id and provide a stranded wire for each connection.
There will be two versions of this board. One for the model 3 drive units will utilise a smd idc header as we don't want a through hole connector with pins sticking downwards when mounting onto an existing board. A second version will use a standard 2.54mm pitch 34 way header enabling its use as a micro inverter logic board for other projects by use of a male header mounted on the rear of the pcb. Current board dimensions are 80mm x 45mm using 0603 passives.
There will be two versions of this board. One for the model 3 drive units will utilise a smd idc header as we don't want a through hole connector with pins sticking downwards when mounting onto an existing board. A second version will use a standard 2.54mm pitch 34 way header enabling its use as a micro inverter logic board for other projects by use of a male header mounted on the rear of the pcb. Current board dimensions are 80mm x 45mm using 0603 passives.
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 Rear Drive Unit Hacking
Probably the smallest openinverter board yet. 65mm x 45mm.
I'm going to need a hacksaw