I've built a circuit that uses a 24 hour rotary plug in timer. [24 hour timer][1]
I cannibalised it to be part of a circuit I don't want turning on while I'm asleep. I have a sump pump under my house and the lowest part of the house is directly under my bedroom.
I've set the pins on the timer so it won't come on after 10PM and before 7AM. The output of this timer is 230 v AC. I'm using the output to drive a 230 v AC relay, and the relay switches 9 v DC to complete a circuit to operate a sump pump. The circuit times how long the sump pump is on for, and the pump can be triggered by a push button in the house.
So as a block it works as such: 24 hour timer -> relay -> timing circuit -> sump pump.
What would be a better solution than using a 230 volt relay to simply act as a switch to operate 9 volts DC?
I've already purchased the relay and used it. They now cost $47.90 at my local electronics retailer. So it's a pretty expensive way to switch 9 volts DC.