Go Back   DIY Chatroom Home Improvement Forum > Home Improvement > Electrical

CLICK HERE AND JOIN OUR COMMUNITY TODAY...IT'S FREE!

Reply
 
Thread Tools Search this Thread Display Modes
Old 04-28-2011, 07:14 AM   #16
Member
 
Join Date: Feb 2010
Location: Oklahoma
Posts: 978
Share |
Default

"AND" Logic Light Switch to "OR" Logic


Quote:
Originally Posted by thadsaab

I think your "logic" is better than the OP's. It sounds like the OP wants a standard 3-way switching arrangment, which isn't "OR" it's "XOR".
The correct logic is "IF-THEN".

jlmran is offline   Reply With Quote
Old 04-28-2011, 11:38 AM   #17
Newbie
 
Join Date: Apr 2011
Posts: 7
Default

"AND" Logic Light Switch to "OR" Logic


Wow, I didn't expect a logic lesson here, but I appreciate it. Yes, either switch on = on is kind of silly. All I want is the light to change status when I flick a switch, regardless of switch position.

I'll check all the colors tonight and get back on here if I have any issues. I appreciate the help.
wcpatton is offline   Reply With Quote
Old 04-28-2011, 11:43 AM   #18
Wire Chewer
 
Red Squirrel's Avatar
 
Join Date: Jun 2009
Location: Ontario, Canada
Posts: 3,211
Default

"AND" Logic Light Switch to "OR" Logic


My bad, I'm used to coding, so when I seen OR I figured two switches in parallel. haha. Yeah 3 way is what you want. They can be a bit tricky. First thing is to know what screw on the switch is what, sometimes it's not labeled right and the side does not always matter. Play around with the switches using crocodile clips, a bulb or other load and low voltage source so you can better know how to connect it. Then find out where each wire in the box goes. Then you can figure out from there.
Red Squirrel is offline   Reply With Quote
Old 04-28-2011, 12:03 PM   #19
nap
You talking to me?
 
nap's Avatar
 
Join Date: Dec 2007
Location: sw mi
Posts: 5,407
Default

"AND" Logic Light Switch to "OR" Logic


Quote:
Originally Posted by Red Squirrel View Post
My bad, I'm used to coding, so when I seen OR I figured two switches in parallel. haha. Yeah 3 way is what you want. They can be a bit tricky. First thing is to know what screw on the switch is what, sometimes it's not labeled right and the side does not always matter. Play around with the switches using crocodile clips, a bulb or other load and low voltage source so you can better know how to connect it. Then find out where each wire in the box goes. Then you can figure out from there.
logic gates.

actually an XOR is the proper gate to provide the actions of a 3 way switch setup. While thadsaab properly identified it, jlmran spoke to the function of a logic gate.

the truth table for an XOR gate is


a b c

0 0 0
1 0 1
0 1 1
1 1 0

with a and be being inputs (analogous to switches) and c being output.
nap is offline   Reply With Quote
Old 04-28-2011, 12:05 PM   #20
nap
You talking to me?
 
nap's Avatar
 
Join Date: Dec 2007
Location: sw mi
Posts: 5,407
Default

"AND" Logic Light Switch to "OR" Logic


Quote:
Originally Posted by Red Squirrel View Post
My bad, I'm used to coding, .
coding? is that what you do?

familiar with C++?

arduino controllers?

nap is offline   Reply With Quote
Reply

Tags
light switch logic


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wiring in a 4-way Switch RickSene Electrical 5 04-09-2013 07:25 PM
HELP.. trouble adding light to single pole switch RickDel Electrical 13 09-09-2009 10:18 PM
Motion Light tripping GFCI? Jonobp Electrical 5 09-07-2009 07:52 PM
Confused by switch w/indicator light install... WaldenL Electrical 7 08-29-2009 09:02 AM
no power going to the light switch baseballfan Electrical 18 09-08-2008 05:35 PM




Top of Page | View New Posts

Copyright © 2003-2014 Escalate Media. All Rights Reserved.