Questions tagged [relay]

Electrical device which, when energised by a small electrical current (low-power, control circuit), safely switches a larger electrical current (controlled circuit).

Filter by
Sorted by
Tagged with
0
votes
1answer
400 views

Issues with Shift Registers and 8-Channel Relay on the Pi

Ok, been puzzled about this problem I have. So I've hooked up my 8-channel relay on the shift register (SN74HC595N) and I'm trying to simulate a simple on-off sequence for testing (using pi4j). So ...
0
votes
0answers
108 views

How can I get a Raspberry Pi to monitor a large number of Switches and Relays?

I have a raspberry pi, and I a significant number of relays in my house that I want to monitor. How can I use the Raspberry pi to monitor these relays, I do know a bit of electronic knowledge and good ...
4
votes
1answer
1k views

One channel relay control

I'm trying to connect a small one line relay to my Raspberry Pi but the relay doesn't react. The red light on the relay is on the whole time. #!/usr/bin/python import RPi.GPIO as GPIO import time ...
2
votes
2answers
1k views

How can I replace “Wireless Remote Control Switch” with Raspberry Pi?

I am looking for a solution where I can control a "8 Channel Relay" (Link: http://www.amazon.in/channel-control-optocoupler-ARDUINO-Raspberry/dp/B00YY0SYFU?tag=googinhydr18418-21) wirelessly by using ...
13
votes
2answers
29k views

Properly wiring a solid-state relay to the GPIO pins?

tl;dr — I'd like to connect this relay to the GPIO pins on my Raspberry Pi B+. I'm looking into purchasing a solid-state relay for my Raspberry Pi. After a great deal of searching, I came ...
1
vote
2answers
379 views

Is it normal when a pin goes low it triggers a interrupt on an another one?

I have the following : Output Pin 17 (wiringPi pin number 0) to a relay module -> a LOW means the relay will let current pass. 5V pin to power the relay module Input Pin 22 (wiringPi pin number 3) ...
0
votes
1answer
172 views

Momentary Switch Auto Activating Pull Up Resisitor

My setup is like so: A Raspberry Pi B+ acting as an airplay audio receiver using shairport. The Pi connects to a 100V line Amp which feeds the audio out to several installed ceiling speakers around ...
0
votes
0answers
580 views

Raspberry Pi B+ relay state reading via GPIO pin

I have working system with Raspberry Pi B+ and 7 relays (via ULN2003A to provide 12V to relay coil) connected to it via GPIO pins. That is all ok (working perfectly), but now I would like to read ...
0
votes
2answers
977 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
226 views

What things I can use for turning on a relay?

I want to connect a relay to the GPIOs, what are the things a can use to do that? I read it could be transistors or diodes. Can I use resistors too?
0
votes
1answer
214 views

Control a small motor

Is it possible to control a small motor without using any relay, and just resistors. The motor is super small maybe 1cm in width and 2cmd in height and is from an old RC plane. I tried using a relay ...
0
votes
1answer
1k views

making GPIO 5V tolerant

Okay so I just accidentally bought a MCP23017 instead of MCP23018(this one is 5V tolerant) I don't have time to buy this one, because shipping to my country is painfully slow. Will be simple voltage ...
1
vote
1answer
104 views

Web relay switching keyboard shortcut [closed]

If I have a relay board controlled from a web interface thru the ethernet port, how can I create a keyboard shortcut to activate the relay without the browser being open?
1
vote
0answers
186 views

raspberry pi relay switch to ouput bulbs/other devices diagram

I'm new to raspberry pi, need some advise on the raspberry pi 2 to relay switch diagram which output to bulbs/other devices. The attach screenshot only connects from the pi to relay switch, but stuck ...
5
votes
2answers
15k views

Controlling a fan on a relay with python

I have a Raspberry pi Model B revision 2 and I've set up a mini 5v fan on a relay switch which i want to control with python now. I will be running a crontab every hour to check the temperature of the ...
1
vote
1answer
218 views

Power over USB vs from Raspberry

If I connect a relay to Raspberry PI (Ground to Ground, VCC to 5v, and switch pin to one GPIO), when I write 1 on that pin, the relay switches on and off. But, if I connect the relay Ground and VCC ...
1
vote
1answer
4k views

Need help finding problem with webiopi GPIO header [closed]

I'm a total noob when it comes to programming. This is my first time experiencing a raspberry pi and my first project is to be able to control my garage door from anywhere with an internet connection ...
1
vote
2answers
339 views

Is it bad for the PowerSwitch Tail 2 to turn on and off frequently?

I am using my Raspberry Pi with a PowerSwitch Tail 2 to control the temperature of homebrewed beer. Whenever the temperature goes above a certain range, the PST2 shuts off, and turns on when the ...
22
votes
2answers
33k views

Power a 5V relay from GPIO pins

I have a bank of relays (5) that I'm looking to run from my Pi. I'm using 5V TE Connectivity relays, powered by Sparkfun's high power relay kits, which use a NPN transistor to trigger the relay. So ...
0
votes
1answer
2k views

Dual Channel Relay Python Script

I am a Python noob, and recently purchased a 2 channel relay module from sunfounder. I wired it up to my Pi, and the relay turned on and stays on. I am wondering if any one can provide my with the ...
1
vote
2answers
859 views

Pi B+ as a 24v motor controller, code written in C#(Mono). Power concerns

Background Information My college has entered an annual racing competition called Greenpower, and it's been agreed to use a Raspberry Pi as the car motor controller. Since I am the only knowledgeable ...
1
vote
1answer
917 views

gpio pins stop working after connecting to a relay

I'm completely new to raspberry pi so I'm sorry if this is a stupid question. I have a raspberry pi and I connected two relays to it. One of the relays works fine, the other doesn't, and it even looks ...
1
vote
0answers
1k views

rPi model B + MCP23017 + relay board. GPA0 pin low output not close enough to 0v to trigger relay

I've setup a MCP23017 16-bit I/O expander with a rPi model B via i2c, and I am able to control components like LEDs on the channels GPA0-GPA7 using code like this; # set GPA pins to output i2cset -y ...
3
votes
4answers
12k views

Driving 12V relays from Raspberry Pi

I want to use a Raspberry Pi to drive this relay. It is solid state, SP/ST, needs 12V for the coil and can switch up to 16A at 250V AC. Now, I know that The RPi cannot switch natively anything above ...
5
votes
2answers
2k views

Simple Relay Control

I've got a single relay connected to my RPi but I can't seem to control it. As you can see from the image above: RPi -> Relay 5V -> VCC Ground -> GND GPIO4 -> IN1 Measuring voltage I can ...
1
vote
3answers
3k views

16 channel relay for RPi

I'm still kind of new to the raspberry pi, but familiar with turning an LED on/off using the command line or a python webserver. I have a Model B Revision 2. I've been asked to do a project that ...
2
votes
5answers
748 views

Can I Use this Relay Board with pi?

Can I use this Relay Board with the Pi ? Because This board doesn't have Opto-Coupler..can i drive it from 3.3v...will It Cause any Issue for Pi
1
vote
2answers
378 views

Can I use GPIO to close a circuit on a RC sender PCB?

I've got an RPi running my OpenRemote2 Controller and want to add some more devices to my arsenal of remote control. These devices are a set of 3 mains switches (for lamps) and a projector screen ...
8
votes
3answers
9k views

Powering a 3-12V water pump on raspberry pi

I've got a 3-12V water pump, a raspberry pi, a relay (5V 10A/120VAC, and a breadboard power supply supply 3V-5V. The questions are : Is it possible, to rspi to breadboard power supply usb, and a ...
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
4answers
325 views

Plant watering installation

I'm building a device, which can water my plant after certain input. The whole problem I've got is connecting a water pump to RSPI - I more or less understand that I need a relay, but is it possible ...
0
votes
1answer
2k views

GPIO switch relay 12V AC

Here is my problem I've built my own home automation by using some relays, driven by 12V AC (read Alternating Current) to switch them. Now i want to use my raspberry's GPIO pins to switch these ...
5
votes
1answer
12k views

How to add isolation between raspberry pi and relay board?

I want to use my Raspberry Pi to control mains(fans,lamp on 240v). Its very difficult to procure a good and reliable relay board for me in India. After bit of searching, I have decided to go with ...
2
votes
1answer
123 views

Is it okay to operate relay boards with less than voltage specified?

I was watching this video where the user explains that he is using Raspberry Pi to trigger the relay board, which requires 5v. But he says it's okay do it with the 3.2V that's from GPIO. Does doing ...
0
votes
2answers
270 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 ...

1 2 3 4