Page 1 of 1

Tesla Model S Throttle Pedal to 23-pin

Posted: Tue Dec 15, 2020 4:14 pm
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 3184 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.

Re: Tesla Model S Throttle Pedal to 23-pin

Posted: Tue Feb 02, 2021 11:30 pm
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?

Re: Tesla Model S Throttle Pedal to 23-pin

Posted: Thu Feb 11, 2021 4:26 am
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

Re: Tesla Model S Throttle Pedal to 23-pin

Posted: Thu Feb 11, 2021 12:35 pm
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.

Re: Tesla Model S Throttle Pedal to 23-pin

Posted: Thu Feb 11, 2021 5:44 pm
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?

Re: Tesla Model S Throttle Pedal to 23-pin

Posted: Thu Feb 11, 2021 7:41 pm
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.

Re: Tesla Model S Throttle Pedal to 23-pin

Posted: Thu Feb 11, 2021 7:43 pm
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.

Re: Tesla Model S Throttle Pedal to 23-pin

Posted: Sun Jun 13, 2021 7:19 pm
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.. :)