Author Topic: Override Switch for Relay Circuit  (Read 653 times)

0 Members and 1 Guest are viewing this topic.

Offline vidarrTopic starter

  • Frequent Contributor
  • **
  • Posts: 368
  • Country: br
Override Switch for Relay Circuit
« on: May 05, 2024, 06:48:05 pm »
I want to have an override switch for a relay circuit that switches whatever state the circuit is in, to the opposite. So, if the relay is "on" and a pump is running, you can flip the toggle switch and the pump will turn off. If the relay/pump is off, you can flip the toggle switch and it turns the pump on.

Basically, it is just a fast, very easy way to control a single device that is connected to a larger system with multiple appliances without affecting the rest of them, or having to plug/unplug anything. 

Can someone please look at my schematic and see if I got it correct?

Thanks!

 
 

Online themadhippy

  • Super Contributor
  • ***
  • Posts: 4231
  • Country: gb
Re: Override Switch for Relay Circuit
« Reply #1 on: May 05, 2024, 07:19:05 pm »
looks wrong,get rid of the wire from com to the switch center pin ,also remove the 2 wires you've shown from the switch to pump,the pump connects to the switch center (assuming its the common) pin
 
The following users thanked this post: vidarr

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 13862
Re: Override Switch for Relay Circuit
« Reply #2 on: May 05, 2024, 07:26:53 pm »
The concept is probably fatally flawed! Do you really want the Arduino to think its turned the pump off, but instead its really on?

How about an alternative:  Take a small SPDT center off switch,   Wire its moving contact to Arduino Ground, and its fixed contacts to the relay driver transistor base, and collector.  When the switch is cantered (off), the Arduino has normal control of the pump.  Flick it one way to ground the base and the pump is forced off.  Flick it the  other way to bypass the transitor, and the pump is forced on.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf