I'm trying to create a simple circuit that activates a button on a spare X10 remote, starts a three minute timer and depending on the status of a float switch, either sends the X10 an OFF command or resets the timer. Eventually the float switch will open, and the OFF command will be sent.
I'm using this circuit to fill a water feature on my pool, once triggered, the pump will operate for approximately 3 minutes. I'm incorporating the timer because I don't want the pump to deactivate the moment the float switch is open. The pump is operated via an X10 appliance module.
Float switch activated (closed) --- simple float switch
X10 ON command sent --- via wires tapped into spare remote, if I touch remote wires with a 1uF charged capacitor, the ON command is sent. A transistor might also work.
Start timer (3 minutes adjustable) --- 555 timer circuit?
Timer elapses
Is float switch still closed?
If Yes then
reset timer
If not then
X10 OFF command sent --- this is done via the same 1uF capacitor, with polarity reversed an OFF command is sent.
Float switch deactivated (open)
I've read the "True X10 Compatible Toggle Switch," which gave me the idea of the capacitor simulating a button push on the X10 remote. I've tested this functionality with a 1uF capacitor (provides a one second pulse). The nice thing about using the capacitor is that when the ON command is sent, the capacitor is set up for the OFF command if the polarity of the capacitor is reversed. To clarify further, I discharge the capacitor with the POSITIVE side of the capacitor wired to the ON command, and the NEGATIVE to COMMON - X10 on command is sent. I then take the same capacitor and attach the NEGATIVE side to the OFF command and the POSITIVE to common, and presto, the X10 Off command is sent. And this is where I am racking my brain. I don't have the mind for such puzzles and was hoping someone could assist with the circuit. I think this would be helpful to many as the circuit has a lot of applications.
Any help would be appreciated!