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
-1
votes
2answers
172 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
0answers
188 views

Unable to set GPIO.HIGH. GPIO.LOW

I am trying to control a relay with Pi3B. Whenever I run GPIO.setup(port, GPIO.OUT) my relay starts working, then any other command I try, eg. GPIO.output(port, GPIO.HIGH) or GPIO.output(port, GPIO....
1
vote
1answer
1k views

16 channel relay module does not respond to write 0/1 (GPIO.HIGH/LOW) commands

I have received a 16 channel relay module and I'm trying to drive it through my Raspberry Pi. I have connected a 12V power supply to the DC+/- of the board as well as the 2x +5V and 2x GND on the ...
2
votes
1answer
69 views

Raspberry Pi - GPIO setup - States Switched

I am currently using Raspberry PI to to control a 2 switch relay. I am testing it with the most basic code just switching one of them on and off. Before I connect it to something live I want to make ...
2
votes
1answer
6k views

How to set a GPIO pin to default HIGH before setting it to output?

I have a raspberry pi connected to a Sainsmart 4-channel relay, where each relay is activated by a LOW signal. When I set a GPIO pin to output, it defaults to LOW, which of course activates the ...
1
vote
1answer
123 views

How to let my pi know when an outlet controlled by a light switch is active?

I want my Raspberry Pi to know when I've turned on my light switch. My rpi is always running anyway for another purpose, and in the same room I've got wifi-controlled smart bulbs and a light switch ...
1
vote
1answer
2k views

Relay board and solenoid power source [closed]

I am having a bit of an issue with the current setup. Im trying to run multiple solenoid valves of a 16 channel relay optocoupler (http://www.ebay.com.au/itm/16-Channel-12V-Relay-Shield-Module-wiht-...
0
votes
0answers
309 views

(PI3) GPIO pin stay high, even after set to low

I'm trying to turn on and off relay using raspberry pi 3. But after successfully turn on, it will stay on even after I set GPIO pin to low. I use pi4j example and python example, both of them give me ...
0
votes
2answers
2k views

12v relay not turning off with usual gpio off comands but turning off with gpio.cleanup

I have SRD-12VDC-SL-C relay module which I want to control using raspberry pi but unfortunately, none of the gpio off commands are working. However GPIO.cleanup and turning pin to input is working to ...
0
votes
2answers
453 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 ...
0
votes
3answers
348 views

Relay boards that can handle 20V 20A DC

I'm looking for relay boards that can handle 20V/20A DC easily and can be switched with the raspberry pi. I have been googling for days but haven't found anything ready made for DC, only for AC. I ...
-1
votes
1answer
162 views

Simple RPI3 / Garage Door help?

I have a very simple RPI3 / SainSmart 8 channel SSR setup. I have GPIO18 set as out and wired to the relay board. I can turn on the relay (at least its LED lights appropriately). My issue is that it ...
5
votes
3answers
9k views

5v Relay will not close (unless using GPIO cleanup)

This seems like it should be really simple, so maybe I am missing something. I am just trying to open and close my relay but all it does it open's and doesnt close. I can use GPIO.cleanup() to make it ...
4
votes
3answers
1k views

Home automating lighting, while preserving light switches

I'm doing a feasibility study for automating the lighting in our house (eg. with Home Kit), while keeping the existing light switches fully functional. With regular switches, that would be tough, ...
6
votes
3answers
795 views

Is this behaviour of GPIO pins normal?

I am using this tutorial: https://www.youtube.com/watch?v=b6ZagKRnRdM to connect that relay board to my PI, everything works fine, but I have noticed that till the GPIOs are set to out the 2 smd leds ...
1
vote
3answers
6k views

Raspberry pi control on/off switch with Relay

I would like to control on/off switches with relays for lights in my room. I found this relays http://www.ebay.com/itm/SSR-40DA-3-32V-24-80V-40A-Solid-State-Relay-Module-for-Arduino-Fast-Switching-/...
0
votes
1answer
402 views

Connecting relay switch to GPIO

I am a complete noob in this field but am trying to embark on this project to modify an old automatic pet feeder to have better control by using Raspberry Pi. Below is a picture of what is under the ...
1
vote
1answer
69 views

Could this relay be controlled directly with GPIO pin?

Can be this relay and more precisely SIL03-1A72-71D variant controlled directly from RPi? The data sheet specifies coil resistance of 500 Ohm which at 3.3 V voltage gives 6.6 mA control current, ...
1
vote
0answers
643 views

Controlling power to a raspberry pi with relay or MOSFETs

So I have a 12V battery connected to a (5v/6v optional) UBEC powering the pi through the GPIO pins. Using a separate circuit, probably with a micro-controller, I want to be able to toggle power to ...
0
votes
2answers
531 views

Making a battery pack UPS with GPIO signal

I'd loke to build a UPS for in-car use. I am powering my pi with a 12v to 5v DC-DC converter. I'd like to use a phone battery pack as the ones sold at dollar stores with a relay/transistor that sends ...
0
votes
1answer
339 views

How to combine Piface Relays + and Motor Control

I have a Raspberry, a relay plus and a motor control. In python, I'm not able to address the both instructions at the same time. I use : pfr ton initialize : #Now initialise your Relay+. pfr = ...
0
votes
1answer
510 views

Gpio pins are triggered even without input

Basically it hooks up to a 12v relay: https://drive.google.com/drive/u/0/folders/0BxdLxDCD6HidZDFfWHhjWEZHYVU If button is pressed, it should send high to the relay. The problem I encounter is ...
0
votes
1answer
991 views

Get export state of GPIO pin (pi-gpio)

I'd like to get the current export state (output / input) of a GPIO pin on a RaspberryPi using JavaScript. Due to the fact that I've a low-active relay, which is activated in the second I export out ...
0
votes
1answer
2k views

How do I send data to an 8-channel USB Relay device from a Raspberry Pi

Part of a project I'm working on requires sending bytes to an 8-channel relay board. I've identified the board as /dev/ttyUSB0. I've found some tutorials on the internet, but they're either out of ...
9
votes
3answers
3k views

GPIO pin voltage is too low to energize relay

I am trying to toggle a small relay on and off. I have connected a GPIO pin and GND directly to the relay. I can hear the relay clicking, when I set the GPIO pin to HIGH. However, the relay only ...
2
votes
2answers
7k views

Can I boost up the GPIO 5V output to 12V

So, I have a thesis to do where I need to use a Raspberry Pi 3 model B. In the Raspberry Pi, I will need to run a Matlab/Simulink simulation that will give me some results as output. Then I need to ...
0
votes
1answer
336 views

Why is my GPIO not switching my attached relay?

I have a relay attached to a Raspberry Pi B+ GPIO via two wires, one wire is attached to physical pin 6, a ground pin, the other is attached to physical pin 15 (GPIO. 3, BCM 22, wPi 3). I have a 2 ...
0
votes
1answer
94 views

Piface Digital Master and PiFace Relay Plus Slave

I wish to control four state reconfigurable antennas in a propagation measurements using RPis at both ends of the propagation channel. The headless master RPi has a PiFace digital to control the start ...
1
vote
1answer
1k views

Even setting a pin to output activates the relay

I'm trying to control this relay with my rpi2 b+. The problem is, when I do GPIO.setup(myPinNum, GPIO.OUT) this activates the relay. When I then do GPIO.output(myPinNum, True) or GPIO.output(myPinNum, ...
0
votes
2answers
175 views

Sensor to activate remote lights on Wi-Fi

I share a backup generator with several houses on a campus. I would like to install an indicator light in each home to indicate when we are on backup power. My thought is to install a RasPi at the ...
0
votes
1answer
75 views

Is a 500 watt floodlight compatable with Raspberry Pi Relay Board v1.0?

A have Raspberry Pi Relay Board v1.0 — http://wiki.seeedstudio.com/wiki/Raspberry_Pi_Relay_Board_v1.0 And I also have a 500 watt floodlight (here is the picture of the box — https://upload.bessarabov....
1
vote
2answers
372 views

Suggestions to monitor mains voltage from a heating stat

Does anyone have a good idea for monitoring if a wire is live 240v or not. I'm wiring a PI relay in parallel with the room stats (8 stats in total) so that either the room stat or the relevant pi ...
0
votes
1answer
280 views

Flashing Red LED on RPi2 when relay is switched on

I have a RPi2 to which is connected a 4 channel relay board and a LDR sensor module. The connections are as follows: Relay Board VCC => Pin #2 (5V) Relay Board Ground => Pin #6 (Ground) Relay Board ...
3
votes
2answers
1k views

Wiring a Fan via SSR to a Raspberry Pi3 GPIO

I've reviewed many questions on the list, but still having difficulty driving my Fotek SSR-25 DA Solid State Relay (Spec Sheet - http://www.fotek.com.hk/solid/SSR-1.htm) from my Raspberry Pi. Here'...
1
vote
0answers
113 views

5V relay with Raspberry pi 3 Model B [duplicate]

I am working on home Automation Project (Voice Recognition to light On/Off) and yes i'm new to raspberry pi I have: [ http://www.amazon.in/Raspberry-Pi-64-bit-quad-core-Cortex/dp/B01CCOXV34?ie=...
2
votes
2answers
752 views

Control USB fan via relay

I've just bought a usb fan to cool down my router during the summer as it gets very hot. However, since i don't need to keep it on continuously, i was thinking about a solution to automate its usage ...
2
votes
2answers
9k views

GPIO control relay with button

I'm wondering if it's possible to have my momentary button control a relay in Python whilst I'm holding the button down? Currently, I'm able to control the relay with a small python script, switching ...
1
vote
1answer
368 views

Monitoring a Generator, Send email per relay state

I need to monitor the state of a generator. When the generator turns on ( testing or power failure) there is a relay that goes high/low. I can read from either state. I need for the pi to send email ...
1
vote
4answers
4k views

How to connect Solid State Relay

I have had a new SSR delivered today. I've been using a mechanical one just fine but it if in the lounge so wanting something quieter. I am not so sure how to correctly wire it up as one side of ...
3
votes
5answers
2k views

GPIO to hifi amplifier's trigger input (remote power on). Protection? Circuit?

I use my raspberry 1 B+ with a DAC board (like hifiberry) and volumio/moode audio distribution. The board is working as a pre-amp and it's connected to my hifi amplifier RCAs input, sending analog ...
1
vote
1answer
993 views

Connecting a 16-channel relay to my Pi

I have a B+ Pi that was purchased for use as a Christmas light controller. I wired the GPIO pins from the pin to the 16 channel Sainsmart relay successfully, and was able activate the switches. ...
0
votes
1answer
212 views

Issues with Sunfounder relay board

I recently purchased a Sunfounder single relay board (https://www.amazon.ca/gp/product/B013GAGFOU) and am attempting to use it with my Pi. I have connected the board's GND, VCC, and SIG wires to Pi ...
0
votes
1answer
130 views

how to control 12v 600ma motor using raspberry pi [duplicate]

I have a 12v 600ma motor. I want to control it with the raspberry pi gpio pins. How to draw that much of current from raspberry pi gpio pins to drive that motor. Please suggest me any cicuit ...
2
votes
3answers
672 views

Connecting relays to a Raspberry Pi via radio

For example, I have a relay that turns lights on/off in my room, and a Raspberry Pi in another room. Is there any way to send commands to relay wirelessly? I googled and found NRF24L01 transmitters ...
3
votes
1answer
2k 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 ...
2
votes
0answers
330 views

Issue with lighting 15w bulb using raspberry pi & 8-pin relay

Being naive to hardware & electronics, I might missing something silly here. Here is my setup to able turn on/off bulb using iOS app and node.js as backend - Successfully setup raspberry pi 2 ...
1
vote
0answers
36 views

IOT hacking electricity safety [duplicate]

Please, excuse me if this question is ill-suited here. I am new and in need of guidance. I am studying Internet-of-things and I'm keen on starting a first project. The tutorial I'm planning to ...
0
votes
2answers
5k views

RF or WiFi for remote lighting?

I don't know much about electronics. I'm a developer/Linux admin. I have a Raspberry Pi2 that I may run on Raspbian or Ubuntu Core. I'd like to control my lights via the Pi. My questions is: is RF or ...
1
vote
1answer
3k views

Detect if device is connected to GPIO

I would like to know if there is a way of knowing if a relay is connected/disconnected. If I try: GPIO.output( self.PIN , 1 ) if( GPIO.input( self.PIN ) == 0 ) self....
7
votes
2answers
7k views

Jumper function on relay modules

I purchased some very inexpensive one, two and four relay modules on AliExpress that I believe are commonly used with Arduinos. I noticed that the two relay modules have a three pin jumper block (JD) ...