Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options answers only user 34260

Use this in reference to hardware devices which are used to connect networked devices together. Switches are distinct from hubs because they direct traffic only to the intended port instead of just replicating all traffic on all ports. They are used to reduce network contention.

3
votes
Exactly, Just use it as a switch. I assume when the door is open or closed the Pi wants to know about it via one of it's input pins. Is the pi looking for a low? Then wire the switch from the input …
answered Sep 2 '15 by Bob Fk
0
votes
series from the 3.3v power rail to each of the switches for protecting the power-supply in case one of the switches is accidentally shorted to ground. What size resistor? Try a 10k, if it works, that is you have about >3v on the GPIO pin, great, if not try a 4.7k or a 2.2k or even a 1k …
answered Sep 18 '15 by Bob Fk
1
vote
Your diagram left and middle is no good at all GPIO is shorted to ground and can do nothing. Right hand diagram is correct if your GPIO pin 18 program is looking for an input to go high to take the …
answered Sep 6 '15 by Bob Fk