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?

    please help me here.
     
    Last edited: Jan 31, 2014
  2. ericgibbs

    AAC Fanatic!

    Jan 29, 2010
    2,500
    380
    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..
     
  4. atferrari

    AAC Fanatic!

    Jan 6, 2004
    2,645
    759
    Two switches in series (AND function in other words)?
     
    Last edited: Jan 31, 2014
  5. MrChips

    Moderator

    Oct 2, 2009
    12,421
    3,357
    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,433
    315
    And there are at least to other ways.
    Including this one.
     
  7. inwo

    Well-Known Member

    Nov 7, 2013
    2,433
    315
    Or a exnor......................
     
  8. crutschow

    Expert

    Mar 14, 2008
    12,991
    3,227
    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,433
    315
    Use diagram in #3.
    Sub a spdt relay for one of the switches. Relay controlled by arduino?
     
Loading...