Tesla Model S Throttle Pedal to 23-pin

Topics concerning the Tesla front and rear drive unit drop-in board
Post Reply
rjmcdermott81
Posts: 107
Joined: Thu Dec 03, 2020 5:03 pm

Tesla Model S Throttle Pedal to 23-pin

Post by rjmcdermott81 »

I found this info on the forum but it took a bit of digging so I thought I would create a post dedicated to the topic for others in the future.

Here is the Tesla throttle pinout:
TeslaThrottlePinout.png
TeslaThrottlePinout.png (36.88 KiB) Viewed 1825 times
Here is how those pins map to the 23-pin on the drive unit (image courtesy of EV Controls manual):
Alignment of pins.png
I had to search this out because the colors of my wires on the Tesla pedal didn't match the colors in the EV Controls manual. Lining this up with the wiring diagrams for the Openinverter it looks like we only use pins 1-3 just like the BMW pedal.
User avatar
Anderson4wd
Posts: 6
Joined: Wed Nov 25, 2020 10:01 am

Re: Tesla Model S Throttle Pedal to 23-pin

Post by Anderson4wd »

I'm trying to get my head around it, my LDU came without the connector from tesla + it came with a Prius Throttle pedal, have they working together before by any chance?
amzoo
Posts: 28
Joined: Tue Jan 19, 2021 8:04 pm
Location: Northern CA, USA
Been thanked: 2 times

Re: Tesla Model S Throttle Pedal to 23-pin

Post by amzoo »

Most automotive pedals use a dual hall effect sensor design. Use whatever pedal you want as long as it returns a proportional signal. People are using pedals out of Honda/Toyota/Telsa/BMW. I use a Subaru STI pedal to avoid paying the insane price increases on used Tesla parts.

The pinout is not standard, but there is always two sets of 3 lines.

power (usually 5V)
sig (connect to openinverter throttle input)
gnd

While manufacturers use both for redundancy, openinverter only uses one. In my build, I'm reading both signals and using a comparator to make sure the pedal isn't bad, and then feeding into openinverter board.


Helpful links:
openinverter throttle pedal thread
Small Drive Unit Wiring Diagram
Large Drive Unit Pedal Wiring Diagram
User avatar
johu
Site Admin
Posts: 5778
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1018 times
Contact:

Re: Tesla Model S Throttle Pedal to 23-pin

Post by johu »

amzoo wrote: Thu Feb 11, 2021 4:26 am While manufacturers use both for redundancy, openinverter only uses one. In my build, I'm reading both signals and using a comparator to make sure the pedal isn't bad, and then feeding into openinverter board.
Small correction here: the secondary throttle input can also be used for redundancy.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
amzoo
Posts: 28
Joined: Tue Jan 19, 2021 8:04 pm
Location: Northern CA, USA
Been thanked: 2 times

Re: Tesla Model S Throttle Pedal to 23-pin

Post by amzoo »

johu wrote: Thu Feb 11, 2021 12:35 pm
amzoo wrote: Thu Feb 11, 2021 4:26 am While manufacturers use both for redundancy, openinverter only uses one. In my build, I'm reading both signals and using a comparator to make sure the pedal isn't bad, and then feeding into openinverter board.
Small correction here: the secondary throttle input can also be used for redundancy.
I'm not seeing the second input in the SDU pinout. Am I missing something obvious?
User avatar
johu
Site Admin
Posts: 5778
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1018 times
Contact:

Re: Tesla Model S Throttle Pedal to 23-pin

Post by johu »

It is called "BRAKE_TRANS" on pin 10. Obviously you loose the ability to do analog control of regen with the brake pedal.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
amzoo
Posts: 28
Joined: Tue Jan 19, 2021 8:04 pm
Location: Northern CA, USA
Been thanked: 2 times

Re: Tesla Model S Throttle Pedal to 23-pin

Post by amzoo »

Ah, that's why. I use a secondary MCU to process error handling for both brake and throttle inputs and then feed into the board since I use analog control for both. Appreciate the alternate use case.
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 Model S Throttle Pedal to 23-pin

Post by EV_Builder »

johu wrote: Thu Feb 11, 2021 7:41 pm It is called "BRAKE_TRANS" on pin 10. Obviously you loose the ability to do analog control of regen with the brake pedal.
Which can be fed to the controller by CAN.. so pedal is secure and Regen still proportional.. :)
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
Post Reply