Page 4 of 5

Re: Electric fan control on Sd4x

Posted: 2023 Jan 13, 07:18
by PaulC-turbo5.0
Im sure this will be a more expensive route then what you're looking at but this is a top notch stand alone controller. after many setups with cheap controllers and relays I went to one of these and have been very happy. The PMW control and soft start features are super nice. I went with one of his sensors that goes inline with the lower radiator hose but you could possibly save money there and use the ecu temp sensor instead?
https://www.autocoolguy.com/home

Re: Electric fan control on Sd4x

Posted: 2023 Jan 13, 09:11
by decipha
Yeah I wouldnt recommend using that. Far better off just using the factory ford fan controller.

Re: Electric fan control on Sd4x

Posted: 2023 Jan 13, 10:55
by wwhite
efloth wrote: 2023 Jan 12, 20:25 I'm pretty sure I exhausted all the possibilities. The 4x4 is using what normally would be extra outputs.

I could wire these up in parallel.

https://www.sainsmart.com/products/4-ch ... lay-module
Run the CPU LSO line directly to this device under the hood outside of the ECU.
Since this device states: "Standard interface that can be controlled directly by microcontroller ... TTL logic active low)"
You wont need any other components. The 8061 LSO drives TTL devices directly.

Re: Electric fan control on Sd4x

Posted: 2023 Jan 13, 18:35
by decipha
Thats not ideal. You want that signal as short as possible to reduce interference and also to prevent any voltage drop. Having it run through the engine bay also increases the change of a short that could damage stuff.

The MIL would be most ideal. You could even leave it wired to the lamp so you know when the fan is on if you wanted. Or toss it on a toggle switch so you can still count codes.

Re: Electric fan control on Sd4x

Posted: 2023 Jan 19, 10:22
by efloth
wwhite wrote: 2023 Jan 11, 03:31 Low Speed Output 1 and 3 are available, on/off.

Code: Select all

sym 46 "AM1" : B 0
sym 46 "B1_??_R46" : B1 // No connection
sym 46 "EVR" : B2
sym 46 "B3_??_R46" : B3  // No connection
sym 46 "FLG_SS_1" : B4
sym 46 "FLG_SS_2" : B5
sym 46 "WOT_AC" : B 6
sym 46 "PUMP" : B 7
Doing some initial testing with the LSOs. I'm planning on doing a dual protection circuit so I'll have an optocoupler internally as well as on the relay board. This will allow me to safely install The fan relay board under the hood without risking any wiring issues blowing up the CPU.

Are these directives for A1C? I'm not able to get the relays (connected to lso pins 1&3) to turn off and I've tried setting all bits of register 46 high and low with no effect. Maybe a different register? Or are the outputs' "floating" state undetectable by the relay board.

Re: Electric fan control on Sd4x

Posted: 2023 Jan 19, 22:24
by wwhite
Not same bin, newer, almost identical.
The A1C 'stock' bin shows the following:

Code: Select all

2b55: a0,46,54            ldw   R54,R46          R54 = R46;
2b58: 85,00,00,54         xrw   R54,0            R54 = R54;
2b5c: b0,54,02            ldb   R2,R54           LSO_Port = R54;
Yes, R46 is memory location where bits are set in code, then it is written to R2 LSO, as far as I understand.

If you have test code, write directly to R2.

Re: Electric fan control on Sd4x

Posted: 2023 Jan 20, 19:17
by efloth
Thanks for clarifying that. I am using A1C to test but I am unable to observe any changes to the output pins whether they are set to 1 or 0. I have tried setting all of the bits in R46 (and R2) using this code:

Code: Select all

3905: 91,01,46            orb   R46,1            B0_R46 = 1;
3908: 91,02,46            orb   R46,2            B1_R46 = 1;
390b: 91,04,46            orb   R46,4            B2_R46 = 1;
390e: 91,08,46            orb   R46,8            B3_R46 = 1;
3911: 91,10,46            orb   R46,10           B4_R46 = 1;
3914: 91,20,46            orb   R46,20           B5_R46 = 1;
3917: 91,40,46            orb   R46,40           B6_R46 = 1;
391a: 91,80,46            orb   R46,80           B7_R46 = 1;

Code: Select all

38ff: 71,fe,46            an2b  R46,fe           B0_R46 = 0;
3902: 71,fd,46            an2b  R46,fd           B1_R46 = 0;
3905: 71,fb,46            an2b  R46,fb           B2_R46 = 0;
3908: 71,f7,46            an2b  R46,f7           B3_R46 = 0;
390b: 71,ef,46            an2b  R46,ef           B4_R46 = 0;
390e: 71,df,46            an2b  R46,df           B5_R46 = 0;
3911: 71,bf,46            an2b  R46,bf           B6_R46 = 0;
3914: 71,7f,46            an2b  R46,7f           B7_R46 = 0;
Either way I have a connection to ground on CPU pins 21 and 23 which activates the relay. If I leave the power to the ecu off for several hours eventually they will shut off.

Re: Electric fan control on Sd4x

Posted: 2023 Jan 20, 21:52
by wwhite
Either way I have a connection to ground on CPU pins 21 and 23 which activates the relay. If I leave the power to the ecu off for several hours eventually they will shut off.
??
Connection to ground on pins21 and 23?
??
A schematic would help visualize what you have going on.

Re: Electric fan control on Sd4x

Posted: 2023 Jan 20, 22:38
by efloth
Pins 21 and 23 are LSO 1&3. Both have little to no resistance between the pin and ground. All of my attempts to disable the outputs' have failed. They remain grounded which leaves the relay activated.

Is this statement accurate?
Output Configuration
When the pin is configured as an output, then it acts as an “open drain”. By applying logic 0 to a port bit, the appropriate pin will be connected to ground (0V), and applying logic 1, the external output will keep on “floating”.

In order to apply logic 1 (5V) on this output pin, it is necessary to build an external pullup resistor.

Re: Electric fan control on Sd4x

Posted: 2023 Jan 21, 13:59
by wwhite
I'd say it is correct, but could be misinterpreted.
open drain means no connection, the circuit is open, this is the 'pin configuration'.
Without a pull up resistor, the output will float.
Must put a pull up resistor to 'latch' 5v.

Schematic?

simplistic example:
LSO#1 output pin||||-------- can output 0.0v to 0.8v, or 5.0v. --------TTL logic-------Pullup Resistor------ driven device input (+).

You do not connect the devices ground pin to the output LSO pin.