# Final Project Problem

Discussion in 'The Projects Forum' started by Euclidjay, Jan 31, 2014.

1. ### Euclidjay Thread Starter New Member

Oct 11, 2013
24
0
The concept is like a 3-way switch, 2 Switch connected to each other but only 1 output but the difference is

I'm Using 1 Wall Switch, 1 Relay connected to a arduino, 1 output "Bulb", and 1 Voltage Source..

My Problem is How will I connect all component but have the same result with the 3-way Switch.

and also what kind of Switch I will use?

Last edited: Jan 31, 2014
2. ### ericgibbs AAC Fanatic!

Jan 29, 2010
3,235
565
hi,
Do you have a simple logic wiring diagram that you could post?

Your description is a little confusing.
E

3. ### Euclidjay Thread Starter New Member

Oct 11, 2013
24
0
wait. I will post a circuit diagram for 3-way switch I can't make a simple diagram for my concept I'm confuse where to put the components and the relay connected to the arduino makes me confuse..

File size:
48.9 KB
Views:
50
4. ### atferrari AAC Fanatic!

Jan 6, 2004
2,828
928
Two switches in series (AND function in other words)?

Last edited: Jan 31, 2014
5. ### MrChips Moderator

Oct 2, 2009
14,291
4,197
I cannot see how this is a Final Project Problem.
I give this to students as a problem on the first day of class on Introduction to Digital Logic.

atferrari, wayneh and DerStrom8 like this.
6. ### inwo Well-Known Member

Nov 7, 2013
2,441
315
And there are at least to other ways.
Including this one.

File size:
12.8 KB
Views:
13
7. ### inwo Well-Known Member

Nov 7, 2013
2,441
315
Or a exnor......................

File size:
1.9 KB
Views:
9
8. ### crutschow Expert

Mar 14, 2008
16,215
4,335
The AND function of two switches in series would not give independent control of the lamp. The simplest independent control of the lamp relay from two standard 1-way wall toggle switches is to run the switch outputs to a 2-input exclusive-NOR or exclusive-OR circuit that drives the relay (as inwo mentioned). This can be extended to an arbitrary number of switches using an additional XOR/XNOR gate for each switch. You, of course, can also generate the XOR or XNOR function with the Arduino but that's overkill.

9. ### inwo Well-Known Member

Nov 7, 2013
2,441
315
Use diagram in #3.
Sub a spdt relay for one of the switches. Relay controlled by arduino?