Hi,
I want to control an audio system with 2 speakers, with a window sensor, as follows.
Audio system has 2 speakers connected (mono, not stereo, for this matter).
The window sensor (wired) attached to a window (a real physical window at my house)
When window is opened, speaker #1 is connected, and speaker #2 is disconnected to audio system.
When window is closed, speaker #2 is connected, and speaker #1 is disconnected to audio system.
I have no experience with relays, sensors, etc.
I thought about using relay to control this. the window-sensor will give the signal, and re-route which cable of speakers is connected.
So my questions are:
1) Is it possible at all, or that I'm far away ?
2) Do I need to a micro-controller, or use just the sensor and relay ?
3) Do I need 2 relays, because I want to control 2 speakers or that its possible to have a common input,
and direct output to A or B ?
Thanks a lot for any help.
JD
I want to control an audio system with 2 speakers, with a window sensor, as follows.
Audio system has 2 speakers connected (mono, not stereo, for this matter).
The window sensor (wired) attached to a window (a real physical window at my house)
When window is opened, speaker #1 is connected, and speaker #2 is disconnected to audio system.
When window is closed, speaker #2 is connected, and speaker #1 is disconnected to audio system.
I have no experience with relays, sensors, etc.
I thought about using relay to control this. the window-sensor will give the signal, and re-route which cable of speakers is connected.
So my questions are:
1) Is it possible at all, or that I'm far away ?
2) Do I need to a micro-controller, or use just the sensor and relay ?
3) Do I need 2 relays, because I want to control 2 speakers or that its possible to have a common input,
and direct output to A or B ?
Thanks a lot for any help.
JD