Hey guys, wondering if you might be able to help me out. I mainly use microcontrollers, but I'm wanting to do something with basic electronic components if possible.
I have a saltwater fish tank and you have to replace evaporated water. I use a float switch(reed switch) to activate a relay to turn on the water topoff pump.
Right now the float switch is activated when the water level drops, this applies 9v to the relay switching the water pump on. The problem is that I get a lot of relay chattering due to the switch floating on water and bouncing.
What I am hoping to do would be to switch the relay on once the switch is activated and turn the relay off after 10-20 seconds. The circuit would have to account for, or not be affected by the "pulsing" 9v signal from the float switch. The pulsing stops after the pump has been on for a couple seconds though.
Any ideas what the best way to go about this would be? It has to be fairly fool proof as the pump getting stuck on would be disastrous. I do have a second switch that is wired in series with the first, wired as normally closed. This way if the first switch gets stuck, the water level rising would eventually trigger the second switch breaking the 9v circuit. I suppose the second switch could still be used as a failsafe to break the 9v circuit directly at the relay control pin.
Currently using:
9v DC Power Supply
Float (Reed) Switch
120v AC Water Pump.
Sorry if this is really simple, I'm just a little lost on how to do this without a microcontroller, especially with the chattering/pulsing switch. Thanks!
I have a saltwater fish tank and you have to replace evaporated water. I use a float switch(reed switch) to activate a relay to turn on the water topoff pump.
Right now the float switch is activated when the water level drops, this applies 9v to the relay switching the water pump on. The problem is that I get a lot of relay chattering due to the switch floating on water and bouncing.
What I am hoping to do would be to switch the relay on once the switch is activated and turn the relay off after 10-20 seconds. The circuit would have to account for, or not be affected by the "pulsing" 9v signal from the float switch. The pulsing stops after the pump has been on for a couple seconds though.
Any ideas what the best way to go about this would be? It has to be fairly fool proof as the pump getting stuck on would be disastrous. I do have a second switch that is wired in series with the first, wired as normally closed. This way if the first switch gets stuck, the water level rising would eventually trigger the second switch breaking the 9v circuit. I suppose the second switch could still be used as a failsafe to break the 9v circuit directly at the relay control pin.
Currently using:
9v DC Power Supply
Float (Reed) Switch
120v AC Water Pump.
Sorry if this is really simple, I'm just a little lost on how to do this without a microcontroller, especially with the chattering/pulsing switch. Thanks!