Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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).

0
votes
2answers
28 views

Is 5V out on the Pi Zero W unregulated?

I want to power a 5V relay breakout board from a Pi Zero W. I believe the 5V pads are "raw" and a "pass through" voltage? Is this correct?
2
votes
4answers
1k views

Wiring a 4 channel relay - is this possible?

After watching many videos and reading, I think I now know how to wire a 4 channel relay to control 4 12V DC Solenoids with my PI. The Solenoids are wired in parallel. Please see picture 1. However,...
1
vote
1answer
29 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
3answers
87 views

Can a relay be on for 16 hours continuously?

A part of my engineering project involves a L.E.D tubelight staying on for 16 hours continuously. I am connecting the light to a relay module. Is it ok, if the relay stays on for so long? I mean, is ...
2
votes
0answers
29 views

Issues with Sequent Microsystems 8 relay board

I'm using the Raspberry Pi 3 Model B V1.2, and the Sequent Microsystems 8 Relay Board 2.0. The manual tells you to install this software from github. I installed this and was able to control the ...
1
vote
2answers
183 views

Relay status led's are blinking but the relay coil is not activating

Devices I am using are: 1) Songle 2 channel relay module - https://www.electronicscomp.com/2-channel-5v-relay-module-with-optocoupler?gclid=...
1
vote
1answer
63 views

Rasberry pi 4 channel relay switch off after 10 seconds

import RPi.GPIO as GPIO import time def mist(): GPIO.setmode(GPIO.BCM) # setup and switing on relay GPIO.setup(4, GPIO.OUT, initial=GPIO.LOW) # sleep for 30 second ...
6
votes
1answer
500 views

How can I wire a Raspberry Pi to an 8-relay board in a tidy professional manner?

I want to connect a Raspberry Pi to an 8-relay board, such as this one. Together with ground and power this amounts to ten wires. One option to connect the two is by using female to female jumper ...
0
votes
3answers
81 views

How does the relay work?

I have a SRD-05VDC-SL-C relay (that is, a 5V controlled relay). Inputs, on relay, are VCC,IN and GND. Now, I wanted to try if it is working. So I plugged RPi's 5V to VCC, and GND to GND. Relay's ...
0
votes
1answer
42 views

How to toggle a 1 Channel Relay 5V

So. I have a 1 Channel 5V relay from a starter kit and I cant turn it on or off. I saw a bunch of tutorials but in every one the labels on the relay are such as VCC, GND and so on. My relay its ...
0
votes
1answer
44 views

What is the highest amount of relays Pi 3 can handle?

I'm looking to do something interesting with 16-20 laptop and computer fans. I was wondering if this was possible to just connect them to a large battery and then use a trigger to control some power ...
0
votes
0answers
26 views

Connecting a PIR and Relay Module to a Raspberry Pi causing 2 Minute False Alarms

I am building a small home automation system, and one node has a PIR to detect motion, and a Relay Module to control a 240v light with a Raspberry PI 3. The PIR is connected to 5v, and has a ...
1
vote
1answer
55 views

Wiring that won't damage my pi [closed]

A while ago, I decided to wire up a Raspberry Pi (Zero W) to a few peripherals, but it stopped working shortly afterward (not entirely, but I think it was undervolting the power rails). I had ...
0
votes
0answers
43 views

Raspberry Pi's Ethernet cable port suddenly stopped working after connecting 4-channel Relay board

I am having trouble with my Raspberry Pi's Ethernet and USB ports. I was using Ethernet port usually for my experiments with pi. But I tried to connect 4-channel relay board to my pi. According to my ...
0
votes
1answer
40 views

Help needed with GPIO and a remote controlled gate relay switch

I am very confused and hoping someone can point me in the right direction. What I would like to achieve is converting an external relay switch (from a normal everyday gate receiver) into a signal ...
0
votes
1answer
170 views

External 12v power supply to relay

I have a 12v 8 channel relay https://www.modmypi.com/raspberry-pi/relays-and-home-automation-1032/relay-boards-1033/8-channel-12v-relay-module which I want to connect to my RPi3 so I need an external ...
0
votes
0answers
78 views

Relay Bluetooth keyboard out as a USB keyboard

I have a bluetooth keyboard that's originally connected to my desktop PC. The problem is that I can't use it in BIOS or to select different boot options at grub because the bluetooth drivers aren't ...
0
votes
2answers
50 views

4 relay board weird behavior

i'm new to this platform, I hope I'm doing everything right. I bought a 4 relay board some time ago to use it with my pi. When I tested it with the pi, it worked well. After a while I decided to use ...
0
votes
1answer
167 views

5v relay led comes on and off but relay doesn't switch (no clicking)

channel SunFounder 5V 8 Channel Relay, which stopped working and I'm not sure if because something I did: The first time I connected to my pi everything worked, I powered the board from 5v pin of the ...
0
votes
1answer
23 views

Will connecting a photoresistor module affect a mains relay in anyway?

I have a raspberry pi connected to a mains relay, which is connected to an ac lamp and outlet onto a breadboard. I want to add a photoresistor module to the raspberry pi/breadboard but I'm afraid it ...
0
votes
2answers
74 views

Small pulses - DHT11 relay triger

I'd like to trigger my relay to turn on my lamp when the humidity level measured is greater than 85. Here's the code I've been using. import Adafruit_DHT import RPi.GPIO as GPIO import time sensor = ...
1
vote
2answers
196 views

Relay stays on when toggling GPIO pin between LOW / HIGH

I've got a small 5v relay board ("Ontengfei" JQC-3FF-S-Z) connected to my Raspberry Pi 3 B+. When I set the GPIO pin mode to OUTPUT, the relay turns on. When I toggle the GPIO pin between HIGH / LOW, ...
0
votes
1answer
82 views

Pi 3 and SainSmart 8 channel SSR - Not able to turn on all 8 relays

Pi 3 and SainSmart 8 channel SSR - Not able to turn on all 8 relays Environment: Raspberry Pi 3 OS: Raspian Language: Python3 and Java/Pi4J Control: SainSmart 8 channel Solid State Relay Issue: ...
0
votes
1answer
101 views

Node-Red does not turn off the relay

In Node-Red, whenever I put a single status type for reading the GPIO status or GPIO in/out in the flow, it turns on the relay. I cannot turn of it by injecting 0 value as string. When I delete all ...
0
votes
1answer
137 views

Trying to make a timer script with Python but I can't seem to get it working

So I'm trying to make a timer script that will run one relay (on/off) at a given time everyday, then the other seven to perform a function over time or (once started) to be interrupted by a switch ...
0
votes
2answers
83 views

Detecting electricity via a relay board

First of all: I'm still learning about electronics, so please be patient with me and help me when I use wrong vocabulary. I am sure this question has already been asked but I cannot quite find what I ...
-2
votes
1answer
59 views

Sending RPi data over network [duplicate]

I have 3 Pi's on a network that need to scan one GPIO on each, and if that GPIO changes, broadcast to the other two so they can trigger another GPIO as an output to trip a local relay. HELP??
2
votes
2answers
123 views

why GPIO.LOW is used to turn the switch on?

I am learning raspberry pi and somewhere i found the tutorial of turning the bulb on when clap is heard and off the bulb when clapped again. The following code was written for this to work #!/usr/bin/...
2
votes
3answers
448 views

Raspberry Pi Relay Protection [closed]

I took a picture of my mock setup to give a better idea of what I'm working with. Basically, I'm will be using relays connected to my Raspberry Pi that I intend to use to control a series of lights (...
0
votes
1answer
82 views

Protecting Raspberry Pi from Relays

I took a picture of my mock setup to give a better idea of what I'm working with. Basically, I'm will be using relays connected to my Raspberry Pi that I intend to use to control a series of lights (...
1
vote
0answers
55 views

Relay for controlling backlight of touchscreen not reacting after a while

I connected my rpi3 to a 10" touchscreen. I connected the backlight of the touchscreen to a relay which I'm controlling via the GPIO pins. This is working fine for the first couple of minutes. But ...
0
votes
1answer
170 views

Raspberry Pi Zero W - freezes after switching a relay connected to an AC motor [closed]

I'm working on a home IOT using Rpi to run script that controls opening/ closing window's shade ( switching its electric motor up or down ). 1) Code is very simple and working fine - switching gpio "...
0
votes
0answers
51 views

Sync 5 Raspberry Pi3 B+

Hi I'm new to programming and Raspberry Pi. What I am looking for is what platform I need to play in sync a unique video-loop for each RPi (off a USB). I have installed Raspian. Each is connected to ...
0
votes
1answer
269 views

Using a Relay to command solenoids

Power to solenoids through relay Hi, I'm newbie and I'm trying to drive solenoids through Pi. I'm not sure about the connection between Pi and Relay and also from Power source to relay and solenoids. ...
0
votes
1answer
240 views

Triggering Peristaltic Pump with GPIO

This seems really basic but I've tried googling many different ways and can't seem to find the right answer, so I'm sorry for what may be a tired question, but: How can I mimic a footswitch press ...
0
votes
3answers
1k views

Powering RPI 3 and using relay from same source

I want to build something of a smart home device such as a smart switch /outlet for example that controls something like a light. However, I don't know what the wiring should be Like, if it's possible....
0
votes
3answers
442 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 ...
1
vote
2answers
458 views

Check relay module state

I found a few good answers and guides about how to control a relay module from the pi, however, I want to find a way to check its state/status from the pi, is there a way to determine if the relay is ...
0
votes
2answers
616 views

Open/Close Sliding Gate Using Raspberry Pi and Python

This is my first Raspberry Pi project. I’m a bit of a noob at the Pi, Python and other types of programming languages, as well as circuits and such. I’m trying to open my sliding gate to the entrance ...
2
votes
3answers
577 views

GPIO relay signal cross turns to all relays staying on after Darlington added

I have 4 Sunfounder 2 channel relays 7 of which that I'm using to control some things on my aquarium. I suspect that I may have wired them up wrong somehow though. The behavior I'm seeing is as ...
2
votes
3answers
345 views

Monitor problem when turning on relays

i'm new to this part of the forum and the raspberry. Hope my way of questioning is appropiate and that you can get a picture of what i'm talking about. Otherwise please be merciful. I have a little ...
0
votes
2answers
204 views

Failed to initialize PiFace Relay+

When trying to initialize the Piface Relay+ with: pfr = pifacerelayplus.PiFaceRelayPlus(pifacerelayplus.RELAY) I get these errors: Traceback (most recent call last): File "/home/pi/Documents/...
0
votes
2answers
146 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 ...
0
votes
2answers
324 views

Raspberry pi 12v relay

I have bought this relay: https://rover.ebay.com/rover/0/0/0?mpre=https%3A%2F%2Fwww.ebay.co.uk%2Fulk%2Fitm%2F262722739443 In the '1 channel 12v relay' variety I am going to be using it to power ...
-1
votes
2answers
1k views

GPIO pin LOW not LOW enough (aka how to ZERO the tension on a low pin?)

This question was asked before here, but there was no answer 1 year ago. I'm facing the same issue: I'm switching the same 5V relay (SONGLE SRD-05VDC-SL-C) using a GPIO on HIGH and this works, but ...
0
votes
1answer
614 views

No audible click from 5V relay when using Raspberry Pi Zero W [closed]

I am trying to use a 5v relay (SunFounder Relay Module for Arduino and Raspberry Pi 5V DC Trigger by HIGHLO (HIGH Trigger) to be exact) and I am running into some issues. I have a python script ...
0
votes
0answers
302 views

How can a simple NPN step up from 3.3 to 5, without 5V in picture?

I've come across this circuit to common pi problem of stepping up 3.3 GPIO to 5V, so it could drive a relay module (Link here). I've one doubt, most circuits online also have a 5V input in the circuit,...
0
votes
1answer
369 views

Controlling High voltage devices with Raspberry Pi

Can I control high voltage (here 5V) to power a led lamp and a fan(both operating at 5v) from Raspberry Pi GPIO only using a transistor . Or should I isolate both the circuits using a relay or octo-...
0
votes
1answer
1k views

Sending RF codes to 433 learning relay

I have this RF learning relay https://www.youtube.com/watch?v=QuFzDcIiDxQ this is how relay learns codes. However I don't have remote and want to control it using Pi. I've tried sending various ...
2
votes
1answer
385 views

Relay switches but no power

I am trying to connect my Raspberry Pi 3 to a relay and power a small pump with that. The relay I use: 8-Relay. I can use the water pump with 3V to 12V and I want to connect a 5V external power ...