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
2
votes
4answers
77 views

Using single 5V relay module (jqc-3ff-s-z) - Asking for help

I have a developer background missing the electronics background. I read some threads with great interest: Using single 5V relay (jqc-3ff-s-z) - safety advice required and 5V relay (jqc-3ff-s-z) I ...
0
votes
0answers
20 views

Protecting Raspberry Pi from EMI generated from VFD

I built a PCB to control a couple of Industrial contactors and an VFD. The GPIO are categorized, inputs and outputs. The output gpio are connected to the relay system.
0
votes
0answers
33 views

Raspberry PI and 8 module relay board

I have a raspberry pi 2 and an 8 module relay board (http://nettop.gr/index.php/en/hlektronika/relay/8-channel-5v-relay-module-with-light-coupling-5v.html). Between the relay board and the raspberry I ...
0
votes
1answer
30 views

DockerPi relay is wired backwards from others?

First off, apologies if I should have posted this elsewhere (such as under general electronics, etc.) I have two relays (JBTek, DockerPi relay hat) I have been experimenting with to control input ...
0
votes
1answer
60 views

Can you use a 5V Relay Module with the Pi?

Can you use a 5V Relay Module or similar with the Pi?
2
votes
0answers
57 views

Wiring 12V 5 pin relay (without a module/board) for usage with Raspberry Pi

I'm trying to setup an automated garden as a quarantine project for my mother and I can't really figure out how to properly wire a 12V 5-pin relay module as every tutorial online only shows the ones ...
1
vote
0answers
73 views

relay switch switches ON but never switches OFF [closed]

I connected my FL-3FF-S-Z two channel relay board to my Raspberry Pi 3, with gpio 0 and gpio 1 (numbers are from to $ gpio readall). Following some guide, as GPIO generates only 3.3v I have removed ...
0
votes
1answer
88 views

Relay Active HIGH

I am building an irrigation system, and to make it short, I need to decouple the electric-valve to the Raspberry. I am so using the following relay. It works fine, but it is active LOW, for my use ...
0
votes
1answer
58 views

5V Relay module working but LED not turning on - How to wire? [closed]

I'm trying to control a relay from Raspberry Pi that will switch an LED on/off. The relay is working (lightning up and clicking), but the LED doesn't turn on. Here is how I wired everything: VCC - 5V ...
0
votes
1answer
33 views

Raspberry Pi - Activate relay by phone [closed]

I'd like to set up a system to control a relay via land line. My goal is to somehow run a landline to the Raspberry Pi unit and have it trip a relay when the number is called and a DTMF sequence is ...
1
vote
1answer
24 views

using 2 pins to power the same relay

I have relay that requires 20mA to operate, which is a bit more than the pi can give from one pin. I as wondering if t was safe to connect 2 GPIO pins together to power the relay. I would use a diode ...
0
votes
2answers
97 views

How I can control an AC 220v with a relay and a Raspberry Pi 3B [closed]

I'm a newbie in this topics. I love electronics and I love the power of the boards like Raspberry Pi and I want to learn to use it by myself learning in internet, but I have a lot of lacks of ...
-1
votes
2answers
63 views

Problems with the rpi zero and relay [closed]

I Have a problem... (above the relay-coil Datasheet) I want to control a single relay with my pi zero, but it seems that it doesn't have enough power. the 3.3V pin of the rpi (measured to 3.19V) works ...
1
vote
2answers
222 views

How to turn off relay when RPi shuts down

I have connected a relay to BCM 14 and by setting its output to HIGH I can turn it on, making a 220V bulb to turn on. I use for that the following python instructions: GPIO.setmode(GPIO.BCM) GPIO....
0
votes
3answers
162 views

How can Rpi python control a 5V relay module, opto-isolated, with a JDVcc jumper? [closed]

Just starting to explore python, Raspberry and a relay. I want to control my 2-channel relay with a button. This is my test code: import RPi.GPIO as GPIO import time import requests from datetime ...
0
votes
0answers
33 views

Relay is behaving differently from tutorial

Given: Raspberry Pi3 Sunfounder 2 channel relay plugged into 3.3v plugged into ground plugged into pin 18 import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setup(18, GPIO.OUT) GPIO....
0
votes
0answers
72 views

GPIO Power off on shutdown with retropie

i asked this question before but i have added a diagram to explain it more clearly. I am building a retropie arcade machine with a raspberry pi. I have added a shutdown / startup button to shutdown ...
0
votes
0answers
72 views

How to cut power to gpio pins on shutdown

I am working on a project where i am using a pi running retropie to make a homemade arcade machine. i have wired and coded a startup/shutdown button. i would like to set up the pi n such a way i can ...
1
vote
1answer
78 views

Running pump & servo - Relay needed?

simulate this circuit – Schematic created using CircuitLab So I am working on a project that will require both a servo motor plus a small water pump. Both run on 3.7 -6v and I am going to use ...
0
votes
1answer
42 views

no output from 8 channel relay when i run the python script below

# import GPIO and datetime import RPi.GPIO as GPIO import datetime # set GPIO numbering mode and define output pins GPIO.setmode(GPIO.BOARD) GPIO.setwarnings(False) GPIO.setup(37,GPIO.OUT) #Relay 1 ...
1
vote
0answers
168 views

RPi.GPIO + single channel relay + solenoid lock

I'm working on my first python/hardware project and I want to create a simple (or at least I thought it was simple) cabinet lock, which will lock/unlock when certain RFID tags are approached to the ...
2
votes
4answers
83 views

Why is my relay switching on automatically when I start my program?

I'm building a little automated hydroponics system using a raspberry pi zero, a 5 volt relay, a pump and a soil moisture sensor from adafruit. So far everything is working, I can pull the pin to high ...
1
vote
1answer
96 views

Process to select and stack a relay HAT and a touch-display HAT

The goal is to design thermostat system via stacking Raspberry pi HATs: Raspberry pi (3B+ or 4) 4-channel relay TFT Touch Display It would be preferable that community experience point out any ...
2
votes
1answer
159 views

Relay does not turn off

I am trying to control a 4-Relay module with my Raspberry Pi 4. I tried to do that by writing this script: import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BOARD) relais_1 = 8 relais_2 = 10 ...
1
vote
2answers
123 views

Use HC-SR04 Distance Sensor and Relay to trigger the Water Pump - Need help with triggering the pump

I am trying to trigger/stop a water pump with the use of a 4-channel relay and a UC-SR04 distance sensor. I tried with some codes but I think I am missing something because although there was no error ...
1
vote
2answers
190 views

Multi-threading python function using list and dictionary of GPIO pins cannot activate a relay problem

At the first part of the code(Initializing relays) the GPIO output works as expected, but at the second part it doesn't works, I have break my head for the last four hours trying to find out what is ...
1
vote
1answer
102 views

How to make a system that uses a mobile sim and that acts on a relay by ringing the sim

I want to create a system that has an internet connection via a mobile sim and allows owners of enabled telephone numbers to switch a relay by ringing the device sim. The system must be able to ...
0
votes
0answers
91 views

My Pi is annoying my security alarm system

I'm a bit of a Pi addict - we've got six Pis around our house doing various things. My latest project was to add a little bit of smart control to our dumb MHRV (Heat Recovery) system. I've got a Pi ...
0
votes
0answers
268 views

Rpi3 Home Assistant To Read Signals at GPIO Pins Problem

I'm really new to Raspberry Pi, so please forgive me if this is a noobish question. I have a very simple setup: Raspberry Pi 3 running Home Assistant with a switch connected to GPIO12 and 3.3v. The ...
4
votes
4answers
186 views

gpio turning on/off relay, seems backwards

I have a Raspberry Pi 3b and wired to a 4 port relay I got from Amazon: https://www.amazon.com/JBtek-Channel-Module-Arduino-Raspberry/dp/B00KTEN3TM/ Everything is working, but it seems backwards to ...
0
votes
0answers
25 views

Powering solenoid from batterypack

Im trying to power my 6V solenoid that is connected to my 8 channel 5V relay using my 8 x AA batterypack. The pi is being powered through an adapter and the relay from the VCC to 5V pi. When the LED ...
2
votes
2answers
563 views

how do I automatically power off the raspberry pi and cut power every night and then power it back on each day?

Background I'm a student working on research project to develop a remote wireless sensor network of data loggers. Each data logger (aka node) is going to be retrofitted to a bird feeder that reads ...
0
votes
0answers
93 views

using Pi Zero W GPIO relay control

I am trying to control my relay with Raspberry GPIO. Using the terminal to write to gpio5 (Physical 18, BCM 24) works: gpio mode 5 out gpio write 5 1 Trying to do the same in my c++ code doesn't ...
2
votes
1answer
132 views

12V Solenoid with Relay doesnt trigger

So I am using 8 AA 1.5V batteries that is wired to my 12V 16 channel relay which is wired to my Rpi. I want to be able to control 16 solenoids and use the relay as a switch for the solenoids. As far ...
1
vote
2answers
70 views

Relay modules: Can I switch AC in one and DC in another?

I would like to control both 120VAC and 24VDC from my RPi 3B+. To make this easy, I'm looking at one of the various 3ch or 4ch relay modules for an RPi 3B+, like this or this. I'm familiar with using ...
1
vote
0answers
172 views

External power supply to a relay controlled by a Raspberry Pi

I am a beginner to relays and Raspberry Pi so please pardon me if my question sounds naive. I am trying to control 4 DC motors using relays and raspberry pi. I have decided to use an external supply ...
1
vote
1answer
147 views

I think I fried my Raspberry Pi, but I'm not sure

I was making connections from my Raspberry Pi to a relay module. While I was running some sample code, I noticed that after I had terminated the program I was still getting a high CPU usage (around 60%...
3
votes
2answers
2k views

Rpi GPIO Controlling 5V Relay Problem

I am working on a project that requires a camera analyzing some images and activating the appropriate GPIOs to control a relay board. I currently have a touchscreen display, a Raspberry Pi Cam ...
1
vote
3answers
970 views

How can Rpi UART control an IR Remote 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 ...
1
vote
3answers
71 views

Voltage dropped significantly on GPIO 4 with a relay coil

I have a Raspberry PI 3 B+, and when I activate the GPIO 4 as output and checking agains a multimeter I get its 3.3V as expected. If I connect the GPIO4 to one end of a coil (http://www....
1
vote
2answers
982 views

Driving 12V/24v Relay from raspberry pi

I am trying to drive the 12V/24V relay using Rasberry pi 3. I have got schematic from one of the forum.I have question related to below schmatic. 1) The ckt build to drive 5V relay . How can use ...
0
votes
2answers
138 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?
3
votes
4answers
2k 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
276 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
154 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
125 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
2k views

Rpi cannot activate 5V Relay with optical isolator and JD-Vcc jumper

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
203 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 ...
7
votes
1answer
617 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
144 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 ...

1
2 3 4 5