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
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 ...
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): ...
1
vote
1answer
672 views

How can I send the same PWM output to multiple connections?

For a update to a small robot I am doing, I am controlling a robot using the Pi. This works very well but I would like to add more precise control, using PWM on the H bridge that controls the motors, ...
2
votes
1answer
424 views

Understanding how to wire a component to a pi, COM-00097 Switch

I'm new to stackexchange and also to the pi. And i'm trying my first project. I was wondering how to wire three of these COM-00097 Switches to a Raspberry pi to make it output a different message when ...
0
votes
2answers
713 views

Number of maximum inputs i can get on a Raspberry pi

I'm relatively new to the rasperry pi but not so to Python programming. So i'm mostly new to the electronics side of the story. I'm looking to build a bass midi controller. My idea was to have one ...
0
votes
0answers
2k views

Can I use I2C to connect multiple Arduinos with Wireless Connection

I am very new to stackoverflow and new to using raspberry pi and am in the process of learning how to use it properly. I am currently working with a partner on a project that requires a wireless ...
0
votes
2answers
937 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 ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...