Tesla Model 3 Rear Drive Unit Hacking

Topics concerning the Tesla front and rear drive unit drop-in board
royhen99
Posts: 260
Joined: Sun Feb 20, 2022 4:23 am
Location: N. Wiltshire. UK
Has thanked: 21 times
Been thanked: 129 times

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by royhen99 »

WSB BSS138BK, WVS BSS84AK
User avatar
Jack Bauer
Posts: 3626
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 3 times
Been thanked: 201 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

That's great thanks so much:)
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3626
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 3 times
Been thanked: 201 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

Working through the BOM ....
Attachments
Screenshot from 2025-01-11 18-44-16.png
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3626
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 3 times
Been thanked: 201 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

Latest schematic and PCB layout now on the githyb repo:
https://github.com/damienmaguire/Tesla- ... ter/Design
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3626
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 3 times
Been thanked: 201 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

Needless to say if anyone has any info on the circuit or feedback etc would be much appreciated:)
I'm going to need a hacksaw
nkiernan
Posts: 551
Joined: Mon Feb 24, 2020 8:59 pm
Location: Ireland
Has thanked: 354 times
Been thanked: 75 times

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by nkiernan »

Seriously impressive work, move your Salvador D, I'd hang this one the wall :D
User avatar
Jack Bauer
Posts: 3626
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 3 times
Been thanked: 201 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

I'm going to need a hacksaw
davefiddes
Posts: 271
Joined: Mon Jan 18, 2021 12:39 pm
Location: Edinburgh, Scotland, UK
Has thanked: 54 times
Been thanked: 82 times

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by davefiddes »

Couple of comments on the video:

Seems like the STGAP1BS could be pre-supplied to JLCPCB like the QCA7000 on the Foccci for production runs of your board. Sure it adds cost but reflect that in what you charge for the board. No such thing as a free lunch.

I can recommend the "Fabrication Toolkit" from the KiCAD plugin repository. This creates the gerbers, BOM and position files in a form that JLC are happy with (and they recommend it). More details: https://github.com/bennymeg/Fabrication-Toolkit

If you want to make measurements on the Tesla gate driver behaviour with or without HV enabled this is entirely possible provided you are happy with fixed phase PWM values. I don't have a functioning inverter but the gate driver and PWM generation works fine. Shoot me an email if you want assistance.
jrbe
Posts: 514
Joined: Mon Jul 03, 2023 3:17 pm
Location: CT, central shoreline, USA
Has thanked: 175 times
Been thanked: 153 times

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by jrbe »

I second the JLC fabrication toolkit.
Check out the interactive html bom plugin as well, it's fantastic.
User avatar
Jack Bauer
Posts: 3626
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 3 times
Been thanked: 201 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

Appreciate that guys thanks. I have had some good feedback on the general pcb layout which I intend to address and had a few kind donations so was able to order from Mouser the bits JLC dont have as of now including the 1BS version of the driver chip.

On a related topic I got a tip on this and was very excited until I saw the price tag :
https://leandesign.com/pdf/Munro-Invert ... -Sales.pdf

If I hate one thing in this game its the duplication of effort.

Gonna guess no one will share any details on the design or schematic. Sigh....
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3626
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 3 times
Been thanked: 201 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

Thanks to a good friend in Germany with a Prusa XL, we have a 3d printed prototype board for fit tests. Good news is it is a VERY good fit. Bad news is genius here totally forgot about the hole and pads for the HV connection hvil :) Would have been quite an expensive mistake even with bare boards.
Attachments
P0_0.jpg
20250128_130510.jpg
I'm going to need a hacksaw
AMP3R
Posts: 91
Joined: Sun Oct 09, 2022 8:32 pm
Has thanked: 13 times
Been thanked: 23 times

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by AMP3R »

A few days ago I had an idea to take another close look what the inverter sends to the vehicle CAN. And after poking around found something interesting. It turns out that there are many more ids with alerts and errors than I thought. By simple calculations edited the dbc file and when turned on the drive unit I was stunned.

Of course, nothing will work, because the DI_a174_notOkToStartDrive alert is active. The logic lacks 12 volts, which I supply from a regular ATX power supply. If this turns out to be the cause, it will be very funny. But it is too early to rejoice.
Screenshot from 2025-02-02 21-54-41.png
Post Reply