Linked Questions

0 votes
0 answers
38 views

Voltage troubles with Pins (Relais stays on) [duplicate]

I am having troubles setting a simple Relais to On and Off. My code is quite simple: GPIO.setup(RELAIS_PIN, GPIO.OUT) GPIO.output(RELAIS_PIN, GPIO.HIGH) time.sleep(2) GPIO.output(RELAIS_PIN, GPIO.LOW)...
clamp's user avatar
  • 829
4 votes
4 answers
621 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 ...
Jessica 6's user avatar
  • 303
1 vote
2 answers
3k 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=...
Aditya Raghu's user avatar
1 vote
3 answers
2k views

Raspberry Pi power on - enable relay

There are loads of Youtube videos on how to control a relay, but I simply want to be able to power up my Pi and let it activate a relay. Then, when I power it down, it should turn the relay off. No ...
Brenton Meigh's user avatar
0 votes
3 answers
1k 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 ...
gerzan's user avatar
  • 9
1 vote
2 answers
407 views

Reliable 5v relay

I have been using raspberry pi for my home automation project. To control 12v power, I use 5v relay low triggering to turn on or off the power. My coding and connection work fine. Problem is ...
Chuljung Kwak's user avatar
1 vote
0 answers
1k 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 ...
jnko's user avatar
  • 11
1 vote
1 answer
508 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 ...
famedoro's user avatar
  • 119
1 vote
1 answer
499 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%...
Sajid Khan's user avatar
1 vote
0 answers
598 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 ...
Prashant's user avatar
1 vote
0 answers
550 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 ...
ben's user avatar
  • 41
3 votes
2 answers
145 views

Should I tear apart USB PSU or get a dedicated switching PSU?

I'm going to be using an Pi-3B+ to switch an AC and a DC device using one of the popular relay modules. This whole project is going to go in a custom screw-together project box that will have AC input ...
kbyrd's user avatar
  • 145
0 votes
1 answer
253 views

How to connect Relay module to Raspberry Pi

I have a relay module exactly like the one on the next page : https://microcontrollershop.com/product_info.php?products_id=5919 I wanted to consult you about the correct way to use it. I connected ...
Seba San Blas's user avatar
1 vote
1 answer
250 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 ...
gatorback's user avatar
  • 637
1 vote
2 answers
168 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 ...
kbyrd's user avatar
  • 145

15 30 50 per page