Questions tagged [switches]

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.

Filter by
Sorted by
Tagged with
9
votes
6answers
18k views

Reed switch wiring

Working my way through a garage door project. I purchased a few of these but I'll be danged if I can find a consistent answer on how they're wired to a Rpi. My thought was just start hooking it up ...
0
votes
2answers
942 views

Control physical switch with raspberry pi and read the state of the switch

Hello i have a lamp thats opens and closes from a switch. I want to add the functionality to open and close it from both raspberry pi and switch. I read in some posts to add a relay with multiway ...
0
votes
1answer
1k views

Multiple wireless magnetic reed switches [closed]

I am trying to use my Pi to monitor a flat (temperature, humidity, door bell, windows and doors, camera, ...). What matters most to me at the beginning is to check whether doors or windows are opened ...
1
vote
0answers
379 views

Light an LED in parallel with trigger switch

I have an old vintage camera that I gutted and put a raspberry pi into, similar to this project. I want to light an LED housed in the old flash housing when I hold down the button, as well as running ...
3
votes
1answer
509 views

Get Raspberry Pi to automatically recognize USB peripherals

I have a switch to transfer 2 USB inputs between four computers (piB, pi2, pc, and mac). I have only one input connected: an apple USB keyboard with a mouse and a windows keyboard connected into it's ...
2
votes
1answer
1k views

Raspberry Pi & HDMI Switches

I've got a HDMI switch with 3 devices plugged into it - an Apple TV, a PS4 and my Raspberry Pi 2. The aTV & PS4 both handle themselves quite well & will take control of the signal at the ...
2
votes
2answers
3k views

Unwanted multiple presses when using GPIO button press detection

I use this to detect momentary button (connected to GPIO) press : import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) GPIO.setup(18, GPIO.IN, pull_up_down=GPIO.PUD_UP) def my_callback(channel): ...
0
votes
1answer
269 views

having problem with GPIO switch

I have been working on a project that will allow me to take picture using a switch. So for that purpose i setup the GPIO and all necesseary tools for that code, Python-dev and etc. When i run the ...
3
votes
3answers
3k views

External shutdown (properly) button?

I have a Raspberry Pi that I want to mount in an enclosure. The enclosure already has a couple external buttons on it. I'm trying to find some sort of circuit that I could by that I could wire the ...
5
votes
4answers
3k views

How can I combine many inputs on one pin?

Forgive my naivety but I seem to lack a vocabulary for the whole electronics domain... I'm interested in building something to measure wind direction. Inspired by this design I would like to build a ...
2
votes
3answers
231 views

Starting raspberry pi from button

I want to have a raspberry pi inside a hollowed out book with a contact switch that detects the book cover lifting, which will then send a signal to the pi to turn itself on/wake from a low power ...
0
votes
1answer
205 views

Need advise for Web Control REST LED Switch

I would like to seek for advise and help on REST API - Web Control Interface LED Switch. I been searching over the net and seems kinda lost, so I hope you guys could help me out with it as soon as ...
0
votes
1answer
367 views

Need help in my LED Switch REST API [closed]

I would like to seek help on my LED Switch REST API. I have created my own REST API and able to light up my LED when I type in the URL for example: localhost:3030/7/1 to light on and localhost:3030/7/...
2
votes
4answers
6k views

Home Automation, Mechanical Relays and Physical Switches

I am currently building and installing a home automation system. I have currently configured centralized audio system with ceiling mounted speakers in each room with a raspberry pi in each room. I ...
0
votes
1answer
1k views

Using a switch, not push button, to play mp3s

I'm trying to setup a switch on a breakout board which, upon flicking the switch, will allow me to play a short mp3, then loop a second mp3 until I switch it off. When I do so, I want it to play a ...
1
vote
1answer
79 views

Connect R-Pi to different networks with different protocols

I am quite new to the world of pi and would like to know if the following is possible. I have a r-pi which runs a php based web interface for monitoring machines on the network. Network 1: Linux ...
0
votes
2answers
260 views

Relays are isolated or can they cause any harm to my Pi or connected electronic device?

I live in India and its very difficult to procure original electronic stuff here. Mostly I get some chinese made, not sure about quality. So, I wanted to start a rPi project, to control my table ...