Tesla Model 3 Rear Drive Unit Hacking

Topics concerning the Tesla front and rear drive unit drop-in board
ScythianNite
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 Rear Drive Unit Hacking

Post by ScythianNite »

so this setup requires an originally-paired inverter and VCSEC and canspoofing for the rest of the messages? (not to be reductive, just trying to parse through the posts so far)
P.S.Mangelsdorf
Posts: 1049
Joined: Tue Sep 17, 2019 8:33 pm
Location: Raleigh, NC, USA
Has thanked: 221 times
Been thanked: 257 times

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by P.S.Mangelsdorf »

Dude that is awesome! Great work!
If at first you don't succeed, buy a bigger hammer.

1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed Hot Rod Drag Week 2023 and 2024

https://www.youtube.com/@MangelsdorfSpeed
User avatar
Bratitude
Posts: 965
Joined: Thu Jan 02, 2020 7:35 pm
Location: Canada
Has thanked: 154 times
Been thanked: 334 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Bratitude »

AMP3R wrote: Tue Apr 01, 2025 9:57 pm
great work AMP3R, just to recap:

-stock M3/MY drive unit
-matching VCSEC (from the same vehicle)
-stock pedal
-vehicle CAN
-HVIL terminated


key card is not required? or key card is required to enable keyless driving?
https://bratindustries.net/ leaf motor couplers, adapter plates, custom drive train components
AMP3R
Posts: 108
Joined: Sun Oct 09, 2022 8:32 pm
Has thanked: 5 times
Been thanked: 51 times

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by AMP3R »

ScythianNite wrote: Tue Apr 01, 2025 11:36 pm so this setup requires an originally-paired inverter and VCSEC and canspoofing for the rest of the messages? (not to be reductive, just trying to parse through the posts so far)
Yes
AMP3R
Posts: 108
Joined: Sun Oct 09, 2022 8:32 pm
Has thanked: 5 times
Been thanked: 51 times

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by AMP3R »

Bratitude wrote: Wed Apr 02, 2025 5:42 am great work AMP3R, just to recap:

-stock M3/MY drive unit
-matching VCSEC (from the same vehicle)
-stock pedal
-vehicle CAN
-HVIL terminated


key card is not required? or key card is required to enable keyless driving?
Key card is not required. You can enable keyless driving via can and that's it.
User avatar
dimonlipko
Posts: 45
Joined: Thu Apr 02, 2020 9:28 pm
Location: Ukraine, Kiev
Has thanked: 5 times
Been thanked: 9 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by dimonlipko »

Great work AMP3R! I long time dont read this thread, you progress is cool!

I very slowly but work on this way to run M3 inverter. I make some research on MY and change rear drive inverter from 990 to 980 version. I make new IMMO pair with VCSEC and DIR with Tesla Toolbox. But then I change back stock inverter, VCSEC forgot it, so VCSEC can make pair only with one inverter.

I buy MCU with old software , display, motor, VCSEC, pedal and wiring for bench test. MCU help me rewrite software in inverter for more old version, when I start redeploy. And MCU help me make IMMO pair.

Next step emulate CAN frame to make motor spin)))
Attachments
PXL_20250218_110448298.jpg
PXL_20250227_090615537.jpg
PXL_20250303_183207538.jpg
User avatar
Jack Bauer
Posts: 3638
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 9 times
Been thanked: 272 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

Almost ready for first real prototype from JLC :)
Attachments
Screenshot from 2025-04-13 12-12-02.png
I'm going to need a hacksaw
Davidk
Posts: 11
Joined: Sat Feb 12, 2022 9:50 pm
Has thanked: 18 times
Been thanked: 10 times

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Davidk »

Jack Bauer wrote: Sun Apr 13, 2025 11:13 am Almost ready for first real prototype from JLC :)
Dont you miss holes for white plastic stands next to ST1/2/3?
Not sure what is under as i did not desolder my board yet.
IMG_0360.jpeg
User avatar
Jack Bauer
Posts: 3638
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 9 times
Been thanked: 272 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

Thanks but turns out Artur designed in a different sensor from mouser that doesnt need those holes so saves having to harvest them from the oem board. Have sent the step file for print.
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3638
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 9 times
Been thanked: 272 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

She's done:)
Attachments
PXL_20250416_092837570.jpg
I'm going to need a hacksaw
Davidk
Posts: 11
Joined: Sat Feb 12, 2022 9:50 pm
Has thanked: 18 times
Been thanked: 10 times

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Davidk »

Because I desoldered my board i will post few notes for future adventurers:
IMG_0361.jpg
1. To remove board you need to desolder all joints marked in green, total of 51 solder joints. I used just solder iron and solder wick.
2. You need to desolder High Voltage interlock loop marked in orange, only top and bottom solder joints are actually connected. Be kind to white plastic, it burns very easily.
3. You need to remove clamp over 30 pin connector, just take long flat screwdriver and move latches inward from plug side
4. Remove 11 T20 bolts (they are all same length). Yellow circles.

Now you can remove board, with connector, temp sensors and current sensors. For me this was easy and i did not had issue, i just wiggled it a bit.

Now you can continue with 30 pin connector in purple colour, this is bit painful part:
1. leads and whole surrounding area is covered by solder mask, i used Dremel with small tip to clean as much as i could.
2. Even when i tried a lot i was not able to wick solder from joins and free connector.
3. I ended with propane torch and connector just slid our, by this i obviously damaged board beyond repair/reuse.
4. To do this without damage to board you will need to use hot air soldering station.

Current sensor. Area around is again covered by solder mask a lot, i used Dremel again to clean area around. Housing is hold by 3 T10 bolts, coloured with blue dots. When trying to desolder sensors they slid out from black plastic housing, not sure if this is suppose to happen or not. I definitely used force to press housing away from board. Now i have plastic housing and two sensors which i desoldered later.

Tools used:
Solder iron, Solder wick, Bit of solder and flux, Torx T20 and T10, Dremel with small tip, propane torch.

Totally i spend 6-8 hours, i did not used solder iron for last 15 years and first two joints took me 30-40 minutes...
Davidk
Posts: 11
Joined: Sat Feb 12, 2022 9:50 pm
Has thanked: 18 times
Been thanked: 10 times

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Davidk »

If someone wants to reference internals of 3D6 inverter with other versions.
Attachments
IMG_0365.jpeg
User avatar
Jack Bauer
Posts: 3638
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 9 times
Been thanked: 272 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

Thats great info thanks:) Can someone please add this to the wiki.

Edit : Wiki page is here : https://openinverter.org/wiki/Tesla_Mod ... Drive_Unit
I'm going to need a hacksaw
ScythianNite
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 Rear Drive Unit Hacking

Post by ScythianNite »

Davidk wrote: Sat Apr 19, 2025 4:54 pm Now you can continue with 30 pin connector in purple colour, this is bit painful part:
1. leads and whole surrounding area is covered by solder mask, i used Dremel with small tip to clean as much as i could.
2. Even when i tried a lot i was not able to wick solder from joins and free connector.
3. I ended with propane torch and connector just slid our, by this i obviously damaged board beyond repair/reuse.
4. To do this without damage to board you will need to use hot air soldering station.

Current sensor. Area around is again covered by solder mask a lot, i used Dremel again to clean area around. Housing is hold by 3 T10 bolts, coloured with blue dots. When trying to desolder sensors they slid out from black plastic housing, not sure if this is suppose to happen or not. I definitely used force to press housing away from board. Now i have plastic housing and two sensors which i desoldered later.
I want to preface by saying this is an outstanding post and I will do my best to add to it based on my abilities. to prevent damage, it is best to use a stripping agent to remove the conformal coating on the affected areas. I suspected the conformal coating (referred to in your post as "solder mask") might be polyurethane based, and so found a stripping agent capable of softening said coating for mechanical removal. I did a small experiment on the main TI chip surface to verify function and will post an updated later during the week with detailed images and timings to help anyone using the chemical method in the future.

additional tools needed aside from those listed in this post:
Mg chemicals 8310/8310A as available in your locality or equivalent mg chemicals 8310A

UV/blacklight (I have party store blacklights at home and they work as shown) as conformal coating is uv reactive

Various stiffness brushes

Nitrile gloves, eyepro and respirator with volatile chemical filtering or some kind of active ventilation (or both for maximum safety)

Xacto blade or sharp flat screwdriver (again, peel not scrape, don't want to damage things)

Fine picks and tweezers to aid in coating removal of challenging areas and around leads. I have attached photos from my experiment

before
conformal coat before.jpg
after
conformal coat after.jpg
Davidk
Posts: 11
Joined: Sat Feb 12, 2022 9:50 pm
Has thanked: 18 times
Been thanked: 10 times

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Davidk »

Jack Bauer wrote: Sun Apr 20, 2025 8:29 am Thats great info thanks:) Can someone please add this to the wiki.
I will copy it to Wiki once commented by others, I will also add notes around whole motor, how i disassembled it.
ScythianNite wrote: Tue Apr 22, 2025 3:12 am conformal coating
Ahh this is naming i was looking for! I also agree with you that chemicals should be used if some are effective. When asking friends about this i was always get answer "if it is automotive you need to use mechanical means, chemical should not work", because of this i used Dremel to clean it. Also damaging board is not a issue from my point of view as it is useless because of Tesla pairing to the car. In case i would like to put it on the wall i would obviously use less destructive means (especially not propane torch ;) )
davefiddes
Posts: 277
Joined: Mon Jan 18, 2021 12:39 pm
Location: Edinburgh, Scotland, UK
Has thanked: 61 times
Been thanked: 88 times

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by davefiddes »

Interesting experiments with conformal coating. I saw a video about someone repairing a potted hybrid module in an old computer the other week using regular paint stripper (with dimethoxymethane) and wondered if this approach might work on Telsa board but didn't want to experiment as I'd really quite like to keep my board operational...

MG Chemicals 8310A is readily available in the UK from Farnell and RS Components so I might give this a try. I still don't understand how the Tesla standby PSU works and this is obviously not something Damien is interested in.

As an aside if anyone in the UK manages to remove the inverter board to install one of Damien's I'd be interested in getting hold of the board for further reverse engineering and to be a dev. board for my firmware project. Doesn't have to be perfect as long as components can be reattached or bridged out. Not worth shipping from further afield.
User avatar
Jack Bauer
Posts: 3638
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 9 times
Been thanked: 272 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

I ordered the 8310A from RS today. Also spent a few hours cleaning up the JLC bom and cpl so they dont generate weird errors. Good thing I did as JLC now have the STM32F103VCT6 as preorder only so I "reserved" 10. In any event, am ready to push the button finally to order 2 real prototypes as soon as confirm the fit of the 3d printed version.
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3638
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 9 times
Been thanked: 272 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

Real prototypes ordered. Wish me luck:)
Attachments
Screenshot from 2025-04-25 08-00-21.png
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3638
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 9 times
Been thanked: 272 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

In production at JLC. BOM and footprints all match.
Attachments
updated_placement.png
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3638
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 9 times
Been thanked: 272 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

They have arrived :)
Attachments
boards_box.jpg
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3638
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 9 times
Been thanked: 272 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

So far so good. Boards power up , 5v and 3v3 work and I can talk to the STM32.

Getting interesting:)
Attachments
board_jlc1.jpg
board_jlc_inverter.jpg
board_jlc_powerup.jpg
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3638
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 9 times
Been thanked: 272 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

Sadly missed one locating peg for the current sensor block. No big deal. I can just snip it on this one.
Attachments
Isense_hole1.jpg
Isense_hole2.jpg
I'm going to need a hacksaw
Post Reply