Relay for Intermittent Wiper Function
[Update: major rewrite after additional information.]







simulate this circuit &ndash; Schematic created using CircuitLab

Figure 1. Redraw of wiring based on Toyota wiring mystery.

Figure 1: how it works


In OFF position the RUN switch will keep the motor running at LO speed until it reaches the PARK position.
In the OFF / PARK position the motor is shorted out. This causes dynamic braking of the wiper motor and will stop the motor abruptly preventing run-on into the RUN position.
In LO speed the off contact is open, the LO is closed and the motor runs at low speed.
In HI speed the other two contacts are open and the high-speed winding is energised.
Note that + to GND short-circuits should never occur with this arrangement as the wiper switch contacts will be break before make.


Figure 2: replacing switch with relays

Figure 2 shows the rewiring for intermittent add-on control. I am recommending this approach rather than the single-relay approach of earlier edits as it provides complete isolation between the logic and the power wiring, gives you great flexibility in the logic and is simple to wire and understand.

There is one danger to be avoided in the circuit of Figure 2: when RLY2 is energised and high-speed is selected the LO wire must never connect to the PARK switch as it will toggle between + and GND while the HI winding is energised.







simulate this circuit

Figure 3. (Almost) full circuit.

Figure 3: the full circuit - how it works

The original wiper knob has a few limitations: there are fixed internal links which cannot be broken. Disconnecting all the original wires - except the GND wire - allows us to monitor both LO and HI settings using the logic circuit without interference from the +12 V supply.


R1 and 2 pull up the /LO (not LO) and /HI (not HI) lines when not selected.
Selecting LO or HI will pull the corresponding line low. Both lines high indicates OFF position selected.
The ATiny executes the logic for the relays.
Q1 and 2 are open-collector drivers for RLY1 and RLY2. D1 and D2 provide inductive kick-back protection for Q1 and Q2 when switched off.
As required in the Figure 2 comment above we need to ensure that if RLY2 is energised then RLY1 is too. This should be done in software but D3 ensures that if Q2 (and RLY2) is switched on then RLY1 will be energised regardless of the quality of the software. ;^)


Software

As Dwayne Reid points out in his answer there are some neat tricks you can do with this to use an on-off-on sequence to set and modify the delay time. This was in my mind as I wrote my original because I remember reading an Elektor article (April 1980) on the subject. Simple micros such as the ATiny weren't available then and the design used some tricky logic to make the timer 'memory'. The Elektor design is referenced in US patent 4388574.