Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
-1
votes
2answers
48 views

DC12V, 3W Pump's Connecting Wire Melting Down Problem (External PSU 12V, 8.5A) [closed]

So my wire started burning while activating peristaltic pump with relay and external power supply (output=12V). Why did it happen? Is it possible that diode is not well connected or that relay has too ...
0
votes
1answer
270 views

Xiaomi MiKey in 3.5mm port

I have bought a Xiaomi MiKey which enables me to trigger events with my mobile phone. It is a 3.5mm jack with a button, you can configure the button to do whatever you want with an app or you can ...
0
votes
1answer
593 views

Raspberry Pi - Press for on / Press for off switch

I've begun tinkering with using electronics and am also new to using Python. I was wondering if someone could help me please? What I'm trying to achieve is to use an on/off switch to run a motor - ...
0
votes
1answer
55 views

what switches am I describing here? [closed]

background: putting a rPi in my vintage car, and wanting appropriate looking switches for my vintage. I have the matching key cap / knob caps for my dashboard, but now need to source the right ...
1
vote
0answers
52 views

I have a float switch, can I read GPIO and see if it's opened or closed?

It's something like this. It gives either High or Low when only when it is closing the circuit. Reading already closed circuit does not seem to work. If I connect to ground it always give LOW no ...
1
vote
2answers
243 views

Using Pi to control a button on a HDMI switcher

I've been reading about how to use the GPIO to toggle a button on a thing I've taken apart. It's like this: Amazon I watched a video of a guy using an opto-coupler, what are the basics here? I'm ...
2
votes
2answers
50 views

Managing home lights - Controlling smart lights

My first project with my raspberry is how to control the home lights, all of them. What I want is to have the ability to turn on and off each individual light. I know using manual switches won't work, ...
0
votes
1answer
409 views

Toggle Switch Help

I'm trying to connect this Toggle Switch to my Pi But I can't seem to get any input off it, It's connected to a GPIO pin and ground like I've done with Push Buttons in the past but it just doesn't ...
1
vote
1answer
68 views

Is a RC snubber required when using the pi with a relay?

I am hoping to use raspberry pi to switch on and off a heating lamp and an aquarium pump via a relay switch. Both devices are plugged into 120V AC normally. The relay tutorials online seem to be ...
1
vote
1answer
78 views

Connecting several (roughly 100) Buttons to the PI (USB?)

I havent found anything, but iam sure there is already info on the topic. So even just a link would be helpful for me. I want to build a Jukebox. So pretty simple. Around 30 Buttons, if Button is ...
0
votes
0answers
106 views

Control 12V motor from 3.3V GPIO with external 12V Power Supply

I have a 12V motor, which I need to control from my Raspberry Pi (through the RaspiRobot Board). However, the RaspiRobot Board gives me only 3.3V for the motor. At the same time, I have a 12V adapter ...
0
votes
0answers
88 views

L298N not working anymore

This is an image of how I had it routed up, it was working just fine until I attempted to add a rocker switch. I used the 2 pin on/off rocker switch that came with my smart car kit (https://www.ebay....
0
votes
0answers
120 views

I have been working with a pi 3 b+ and a PWR.A53.B power and driver board

I have been working with a pi 3 b+ and a PWR.A53.B power and driver board . Sadly the switch on the power board was damaged and fell of . I couldn’t put the switch together as I lost the small pieces ....
3
votes
2answers
1k views

POE Switch to Power the PI?

Sorry if this a repeated, I couldnt find anything similar. Most threads seems to be modifying the PI or splitting Ethernet. Will this setup work for powering the PI? 1) Juniper EC-2200 POE Switch (...
5
votes
2answers
2k views

Raspberry Pi DHCP Server: clients not getting IP addresses

I am relatively new to networking, so please bear with me. For a purely educational project, I've set up a network where the Raspberry Pi 3 running Raspbian Stretch is to function both as a router and ...
3
votes
1answer
1k views

Using a relay to bypass a button

I'm using a relay to bypass a button thats connected to a Raspberry Pi. Code works fine, relay switches fine, and if I connect the 2 wires that bypass the remote it works fine too. I cannot figure ...
0
votes
3answers
93 views

Raspberry Pi 3 breadboard momentary switch not being recognized (using breakout T Cobbler)

Here is an image of what I've been trying to achieve, which is that when the momentary switch is being pressed, it'll print out "Button Pressed" in Python using a little script. The problem is that ...
0
votes
0answers
28 views

raspberry multiple magnetix switches

I have a Pi 2 and I would like to monitor the state of 3 magnetic switches. All of them are in close distance, no more than 3m of cabling for each one of them. How can I connect them to monitor their ...
1
vote
4answers
2k views

How do pull-down resistors work?

I am using the BCM-notation for the nodes of the GPIO. Consider the following situation. node 1 (3,3V) is connected to a switch-key the switch-key is connected to node 25 via 1 kOhm node 25 works as ...
0
votes
3answers
618 views

Turn on and off 5V to 12V Relay

I want to use my Raspberry Pi to turn on and off a 12V current for a certain amount of time. I've read a lot on this forum and I've understood that the 5V GPIO Pin is... Not GPIO, meaning that I ...
0
votes
2answers
118 views

Is there a way to control the power output from raspberry pi3?

I'm new to electronics and I'm thinking of building a small racing car. I have this toy car that has a DC motor and a servo motor to control the direction of the car. My plan is to write some software ...
0
votes
2answers
161 views

Raspberry PI Relay power motor [closed]

Does anyone happen to have a similar example for a python code when pressing a button a relay is turned on which is powering a motor to open a gate for 5 seconds and then closes by giving a signal to ...
2
votes
1answer
207 views

Compatible POE switches for PXE?

It seems that my Raspberry PI 3B is very picky about which switches it works with when booting using PXE. When I connect the PI to my regular non-POE switch, PXE boot works fine. When I connect it to ...
-2
votes
1answer
33 views

Can I use bell switch with Raspberry Pi?

I'm building a thing and I wanna use some nice looking buttons in it. I found some bell switches like this that look pretty nice. The question is, do these work like normal switches with my Raspberry ...
0
votes
1answer
201 views

GPIO switch interrupts work just once?

i have this strange problem with interrupts. I use GPIO switches to change a variable that defines what my code is doing. As soon as one of those interrupts worked once, none of them workes anymore. ...
1
vote
1answer
172 views

Wiring a SNES Controller to pi3 gpio or tactile switches

I'm looking to build a super pi boy, in the original they use tactile switches. However, I'm not sure how to wire the tactile switches and make them work as a x b y up down left right etc. I'm also ...
0
votes
1answer
126 views

Physical Computing - making a switch

I am following the physical computing with python tutorial from here: https://projects.raspberrypi.org/en/projects/physical-computing I have created a python file that contains the following: from ...
3
votes
5answers
8k views

Controlling Switches from both Raspberry Pi relay & Manual [Home Automation]

I am currently working on Home Automation Project with Raspberry Pi, I am using 8 channel relay board for this, I can control switches over relay easily. But I want to operate them with pre-existing ...
0
votes
2answers
52 views

Validate your circuit [closed]

I'm a newbie to raspberry pi build a small circuit using a switch and capturing the input of the switch if I press it. After the circuit been designed I dont't its working as expected. Is there a way ...
8
votes
6answers
17k 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 ...
1
vote
3answers
759 views

1-Wire Button or switch?

For an application I am currently developing, I need to be able to get the status of a button (pressed or not pressed) or a switch (which can be considered a button in some way). While I could ...
0
votes
1answer
1k views

Switch on an ATX power supply with Raspberry Pi 3B (ATX no for Raspberry Pi power supply)

My advice request is regarding an arcade machine. Now I have it running with a Dell desktop. However I want to switch to Raspberry Pi as I'm tired of managing all the emulators and realized that using ...
0
votes
1answer
197 views

Turning on-off-on-off switches to normal switches and integrating with GPIO [closed]

I have the following on-off-on-off button that I purchased from Adafruit for use with my Raspberry Pi 1 Model A. I'm trying to "bypass" the "on-off-on-off" functionality, and just make it so that its ...
1
vote
1answer
884 views

Ip switch by Raspberry Pi

I have an interesting question for you. I search several stack forum to find an answer but I could not able to find anything completely related. I have a rpi and I am using this device as sensor data ...
0
votes
0answers
17 views

How to monitor the available bandwith without impacting an already running stream?

I have a RTP stream called 'X1' running from a Pi to a Linux PC. At the same time I want to create more streams, for example X2, X3 e.t.c... Depending on the available bandwidth, I would like to ...
0
votes
1answer
398 views

Reed switch 3m away using a telephone cable (AWG 28) [closed]

I am a software engineer so my electrical engineering skills are very lacking. I have 6 questions total in this jumble of text that I am trying to solve. If there are general concepts of EE that I ...
0
votes
1answer
812 views

Help with a python script using pull up resistors and long presses of momentary switches

What I'm trying to achieve is to use GPIO pin 5 (BCM) on my raspberry pi b+ to receive input from a momentary switch and in response take specified actions. The actions will differ based on how long ...
-1
votes
2answers
154 views

Traditional Light Switch Triggered by RPi?

Does anyone know of a light switch which can be controlled using the RPi and also manually. Assuming that the RPi sends a signal thru a relay which connects to the light switch. The switch will turn ...
0
votes
2answers
415 views

How to Know a light turned ON by physical switches or through raspberry pi

I'm Working for Home Automation system through raspberry pi, I'm turn on/off lights and A/C through Raspberry pi(build application of web, to control lights/AC) either case AC switched on with ...
-2
votes
1answer
606 views

GPIO pins available for switches

Among all the 40 GPIO pins, how many of them are available to connect a switch for on-off information? I counted more than 24 GPIO_* connections here, but are they all available via Python? import ...
2
votes
1answer
1k views

Multiplexing 20 buttons into the RPi GPIO

I have 20 microswitches like this: How would you wire them to the RaspberryPi's GPIO, using multiplexing techniques? PS: here is a related discussion about multiplexing but it's theoritic and doesn'...
0
votes
1answer
155 views

Aten US424 USB switch and Raspberry Pi 3

I bought a USB switch, an Aten US424. It works perfectly on every computer but not on my Raspberry Pi 3 with Retropie. How can I solve or at least troubleshoot the issue?
2
votes
2answers
896 views

Air pressure switch for balloon

For a demo that I want to prepare I need a pressure switch (pressure sensor) that regulate the pressure inside the balloon. The schema is the following: balloon inflated by an air compressor, ...
1
vote
1answer
5k views

Wiring a 3 pin toggle switch to Raspberry Pi 3

I have this small 3 pin toggle switch - just toggles left and right - it has its three pins aligned left, center and right. No datasheet for it - not sure where it came from - most likely a starter ...
0
votes
2answers
975 views

Toggle Switch for Flight Simulator

I want to built a custom 5 toggle switch controller for my flight simulator that is running on my Windows 7 pc. I have some programming experience but I am not sure where to start. Basically I would ...
-1
votes
1answer
643 views

Physical on off switch to digital

I have a raspberry pi 2 model b and I am trying to build a digital on of switch, which means that I would like to get rid of this physical one ( Currently it controls a police type flashing light) ...
4
votes
3answers
2k views

How can I add an On-Off switch to my Raspberry Pi 2

I want to add a on/off switch to my pi 2 to correctly shut the pi down This is the switch I want to add: Edit: moved from a link to be included below: This guy in a Raspberry Pi kik group made this ...
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 ...
4
votes
2answers
12k views

How To Switch On/Off A Circuit using GPIO

I have a simple circuit that runs on 5 volts. Let's just say for simplicity that it is a circuit with an LED that lights up when a push button is pressed. The problem is that it has a push button ...
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 ...