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
vote
1answer
44 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 ...
0
votes
0answers
30 views

GPIO.OUT() Not working for 16 channel relay

So I am using a 16 channel relay that is connected to my Pi (https://www.amazon.com/dp/B0057OC66U/). I made a small program to turn all the relay LEDs on and then turn them off one by one with a 1 ...
1
vote
2answers
52 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
37 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 ...
0
votes
1answer
65 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%...
0
votes
2answers
161 views

How to wire a Raspberry Pi to a 16 channel relay module? It won't work

A am using 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
2answers
186 views

Using Pi to control a button on a 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
55 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
71 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
60 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
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
56 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
103 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
46 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
382 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
91 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
524 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
103 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
57 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
45 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
37 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
68 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
61 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
59 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
241 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
148 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
76 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
426 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
27 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
92 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
269 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
109 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
135 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
265 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
101 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
71 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??
3
votes
2answers
250 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
588 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
99 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
59 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
219 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
58 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
349 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
310 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
574 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
625 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
895 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
650 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
420 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 ...