Tesla Large Drive Unit Cruise Control
-
- Posts: 31
- Joined: Tue Jun 21, 2022 11:38 pm
- Location: Michigan, USA
- Has thanked: 1 time
- Been thanked: 10 times
- Contact:
Tesla Large Drive Unit Cruise Control
I want to implement cruise Control with my large drive unit. It appears that if I apply voltage to pin 21 it will energize cruise. I assume if I deactivate pin 21 cruise shuts off. Will braking also deactivate and if so which pin? Of course, after the brake is released, I don't want cruise to reactivate. Also, is there a way to implement "resume"?
- johu
- Site Admin
- Posts: 6620
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 344 times
- Been thanked: 1486 times
- Contact:
Re: Tesla Large Drive Unit Cruise Control
There are a number of cruise modes - all modes cancel cruise control when brake pedal is tapped.
- Button - when you pulse cruise_in cruise control engages
- Switch - when switched on engages cruise control, when switched off cancels
- CAN - takes desired cruise RPM via CAN message to "cruisespeed"
Resume and other functions can only be implemented externally via the CAN method. Done so in Touran, see stm32_car project
- Button - when you pulse cruise_in cruise control engages
- Switch - when switched on engages cruise control, when switched off cancels
- CAN - takes desired cruise RPM via CAN message to "cruisespeed"
Resume and other functions can only be implemented externally via the CAN method. Done so in Touran, see stm32_car project
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 1052
- Joined: Tue Sep 17, 2019 8:33 pm
- Location: Raleigh, NC, USA
- Has thanked: 223 times
- Been thanked: 256 times
Re: Tesla Large Drive Unit Cruise Control
Under automation, there is a setting for Cruise Mode. That can be configured so that the Cruise switch is either constant or momentary. Here is the description from the parameter page:
0=button (set when button pressed, reset with brake pedal), 1=switch (set when switched on, reset when switched off or brake pedal)
https://openinverter.org/wiki/Parameters
Brake light input goes to Pin 2 on the LDU.
https://openinverter.org/wiki/File:LDU_ ... iagram.png
One thing I learned the hard way: some wiring harnesses/cars flash the brake lights when you activate the hazard lights. This effectively means you cannot have the hazards on while driving, because the LDU will see a pulsing brake on signal and the software is programmed to cut power when it sees brake signal. I'm sure there is a way to avoid this by wiring the LDU signal direct from the brake pedal in a way that the hazards won't apply power, but if you just tap into the brake light wiring (I just used the 3rd brake light wire since my old car doesn't have one), this is a problem to be aware of.
0=button (set when button pressed, reset with brake pedal), 1=switch (set when switched on, reset when switched off or brake pedal)
https://openinverter.org/wiki/Parameters
Brake light input goes to Pin 2 on the LDU.
https://openinverter.org/wiki/File:LDU_ ... iagram.png
One thing I learned the hard way: some wiring harnesses/cars flash the brake lights when you activate the hazard lights. This effectively means you cannot have the hazards on while driving, because the LDU will see a pulsing brake on signal and the software is programmed to cut power when it sees brake signal. I'm sure there is a way to avoid this by wiring the LDU signal direct from the brake pedal in a way that the hazards won't apply power, but if you just tap into the brake light wiring (I just used the 3rd brake light wire since my old car doesn't have one), this is a problem to be aware of.
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
1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed Hot Rod Drag Week 2023 and 2024
https://www.youtube.com/@MangelsdorfSpeed
-
- Posts: 31
- Joined: Tue Jun 21, 2022 11:38 pm
- Location: Michigan, USA
- Has thanked: 1 time
- Been thanked: 10 times
- Contact:
Re: Tesla Large Drive Unit Cruise Control
Thanks for the quick input. CAN is currently a large unknown for me. So, for now I believe my plan will be cruise button toggle on with break pedal switch for off. I'm very interested is using CAN for cruise, but will put that into next steps. Thanks again!