Cooling Fan control

Topics concerning the Tesla front and rear drive unit drop-in board
Post Reply
Kitlacey
Posts: 21
Joined: Wed Jul 05, 2023 2:41 pm

Cooling Fan control

Post by Kitlacey »

Hi all,

I’m trying to control a cooling fan with my Tesla SDU system. I’ve set the max temp to 75 but I’d like to turn a fan on over, say, 40 degrees.

I’ve used Zero EV boards in the past, and they had a temp threshold that grounded a pin inside the sdu, which I used to ground a relay and switch on some cooling fans.

I can see on my board that there is an option under “aux pwm” to select tmphs, but it just simply turns the fan on all the time.

Does anyone know how I can program the fan to turn on over a certain temp?
User avatar
johu
Site Admin
Posts: 5792
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 158 times
Been thanked: 1028 times
Contact:

Re: Cooling Fan control

Post by johu »

That was a special option in the Zero EV firmware, where the output that normally controlled the dc switch would instead control a fan. I can port it over and attach it here later.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Kitlacey
Posts: 21
Joined: Wed Jul 05, 2023 2:41 pm

Re: Cooling Fan control

Post by Kitlacey »

Thanks, I appreciate it.
Kitlacey
Posts: 21
Joined: Wed Jul 05, 2023 2:41 pm

Re: Cooling Fan control

Post by Kitlacey »

johu wrote: Wed Jul 05, 2023 4:09 pm That was a special option in the Zero EV firmware, where the output that normally controlled the dc switch would instead control a fan. I can port it over and attach it here later.
Hey,

Any update on when this might be available to try?

Kit
User avatar
johu
Site Admin
Posts: 5792
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 158 times
Been thanked: 1028 times
Contact:

Re: Cooling Fan control

Post by johu »

Carefully try this one

EDIT: you want to read this: viewtopic.php?t=3669 and this: viewtopic.php?p=58496#p58496 as the software is based on it. Changes in cruise control and also canspeed will be off by one which you need to correct.
Attachments
stm32_sine.hex
(144.55 KiB) Downloaded 33 times
stm32_sine.bin
(51.37 KiB) Downloaded 32 times
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Post Reply