Stack Exchange Network

Stack Exchange network consists of 174 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]

A relay is a part that acts like a switch that can be controlled by an Arduino. They usually are powered by sending current through a coil, which moves a piece of metal to touch a contact within it. (Note there are also solid state relays which act more like a transistor.) The moving parts is why ...

0
votes
0answers
49 views

Mini water pump

I've bought an Arduino Nano, a 5V relay module and a mini water pump (3v-5v). It's the first thing I'm gonna do with this, but I can't find any simple diagram that just uses the 5V out of the Arduino ...
2
votes
1answer
46 views

Newbie question - Biltong Box Project [closed]

I am a newbie to electronics, but I do have experience working with electrical wiring in the UK, so I am comfortable working with 240V reasonably safely. I have also built a camper including all the ...
0
votes
0answers
11 views

Relay arcing protection for analog input [migrated]

I need to measure the voltage of a Li-ion battery that is connected through a relay, on the NC pin, to the rest of the circuit (so BAT+ - relay - circuit). The coil of the relay is connected to ...
0
votes
1answer
59 views

Using mills() in place of delay() on relays not getting solid switch over

I know I should post some code that maybe cleaner but really I am just in need of a answer to a problem I seem to run into a lot when using mills() in place of delay(), whilst making a Christmas light ...
0
votes
2answers
53 views

Voltage Regulator getting too hot

I have an Arduino mega that is being used to control relays and ultrasonic sensors. The relays that I am using is a 4 DPDT Signal Relay Module Model: D-256 Series and the other is a 4 channel Single ...
0
votes
1answer
71 views

Arduino UNO + ESP8266 WiFi Relay by LC Technology

I have Arduino Uno, and recently obtained ESP8266 WiFi Relay by LC Technology. I tried to look up some information about that on the net, but all the answers / suggested solution didn't work for me. ...
0
votes
1answer
32 views

esp8266 + octocoupler relay: WDT reset when using AC current

I'm trying to switch on bulb via 4 channel 5V optocoupler relay controller from ESP8266 using WIFI Access point. All my connections looking fine and i can able to connect WIFI SoftAP and send signal ...
0
votes
1answer
42 views

Shift register with relay board behaving erratically

I have a nodemcu connected to a shift register(https://www.amazon.de/gp/product/B07CHBYR7Z) to control an 8 channel relay board (https://www.amazon.de/Elegoo-Relaismodul-Optokoppler-Arduino-Raspberry/...
0
votes
2answers
63 views

8relay module asks more than specs

I have a 8 relay module that should use not more than 20 mA per relay. Altough when measuring it asks around 70. If I use 6 relays, that would be more than an Arduino Mega can give. (I already lost 1 ...
0
votes
1answer
79 views

Frequent ON OFF in SSR

I am working on a project on Arduino OLED MAX6675 thermocouple and SSR for my oven. My problem is when my SSR goes in LOW or HIGH state it turn ON and OFF several times before going to permanent HIGH ...
0
votes
1answer
64 views

Are these relays connected correctly?

I currently have limited electronics experience. I am planning to use mains power through relays for climate control, so considering the risk, I would like to check to see if these relays are ...
1
vote
1answer
47 views

How to detect when intercom is ringing?

For my apartment, I need to check when intercom is ringing and call an API in that case. I was thinking about using an AC input / DC output relay, since the buzzer signal is an AC signal. Is there an ...
0
votes
2answers
102 views

shift register 74HC595 enable specific pin

Its driving me crazy for some couple of days now and i don't get the answer. I'm busy to setup a irrigation system with a shift register 74HC595 and a 8 channel relay board. I see a lot of sketches ...
2
votes
0answers
45 views

Project: Relay is ticking, but not actually switching [closed]

I'm trying to make an automatic planter for herbs etc. I finally got everything 3D printed and wired together. But for some reason, the relay I'm using refuses to switch or enable certain connections. ...
1
vote
0answers
45 views

Correct wiring?

I'm doing some Home automation and am currently trying to automate my intercom system. My overall aim is to be able to detect when someone has pressed the buzzer and then to be able to open the door ...
-1
votes
3answers
64 views

Monitoring the state of AC relay, design considerations

I want to use a sensor and relay as a safety device to allow/deny power to an AC mains-powered electrical unit. If the wall power is disconnected I loose the state of the relay which is stored in a ...
-1
votes
1answer
73 views

Relay Module for water pump [closed]

I want to switch on/off my water pump by using arduino nano, I have 2 channel relay module. Is this module safe for controlling pump? Specifications pump: power = 746 watt (1HP) single phase, voltage =...
1
vote
3answers
175 views

Push button control of multiple relays

I'm new to arduinos and have not been able to find/create a working bit of code for my project. I'd like to control several different relays (standard 5v optical relays) with push buttons. I want one ...
0
votes
1answer
223 views

Problems with NodeMCU and Relay

I've connected the MCU to a cheap chinese 24/12v to 5v car phone charger and hooked some wires to a relay.When I try to program doesn't matter if the pin is set to high or low , as soon as I touch the ...
0
votes
3answers
116 views

Can multiple Arduinos be connected to a single relay?

I have a 16 channel relay that will basically manage 16 different contacts. However, each channel in the relay needs to be controlled by an individual Arduino. So in total I would have 16 different ...
1
vote
1answer
45 views

Safely powering a relay from same source as attiny/arduino?

My project involves using ATTINY to control a 5v relay (specifically JZC-11F and will be ground triggered) in an automotive setting. I keep seeing the warnings of powering a relay from the same ...
0
votes
2answers
16 views

Relay does not trigger

Its my first attempt to work with relay I tried to test my relay with this simple code int Relay = 2; void setup() { // put your setup code here, to run once: Serial.begin(115200); pinMode(...
0
votes
2answers
228 views

5v relay module

I'm using NodeMCU with 5v relay module. my problem is that when the output of NodeMCU is high the relay is off. Which means that the relay module work in an inverted way so how can I treat this issue ...
1
vote
3answers
60 views

Touch Sensor - Determining Pressing/Hold Length and Modifying Program Flow Accordingly

The code below is used for controlling a relay with an Arduino. Pressing the touch sensor connects and disconnects the relay. If the user presses/touches/holds their finger on the touch sensor for ...
0
votes
1answer
220 views

Arduino Uno Motor control using 2 Relays, 2 Limit switches and Bluetooth. Forward Reverse Stop

Modified existing project from this link: Problem : Trigger limit switch to stop DC motor I modified this code to control two relays which are wired to motor poles for Forward or Reverse movements ...
0
votes
1answer
31 views

“Active LOW” relay board Pin configuration [duplicate]

I bought a 5 V Relay Board: LINK (Aliexpress) and just realised it's "Active LOW". I want to control a water pump via a Arduino Micro. I tested it and as far as i understand the workings of this ...
-2
votes
1answer
143 views

Controlling two-pole contactor using Arduino [duplicate]

I am working with Packard C230C contactor to develop own EVSE. For a simple start i just want to toggle contactor using Arduino. OpenEVSE is already doing it. Just want to know how do they do it and ...
-1
votes
2answers
142 views

Understanding how to power objects with a relay (featherwing, feather huzzah)

I am trying to learn how to control a relay to power various household objects. I bought a power relay shield for an adafruit feather huzzah, and I have just set up the arduino blink sketch to provide ...
0
votes
0answers
28 views

Arduino 24v I/O Shield

I'm searching an arduino uno shield that will allow to communicate with industrial grade PLC and sensors (24v). Something like https://github.com/TheDIYGuy999/Mega_PLC/tree/master/Digital_Input_Board ...
0
votes
1answer
54 views

Combining two different coding program into one sketch [closed]

Im working on project that uses a relay module,arduino atmega328 and a 2 motor 12vdc. based on coding i give, the first code is the motor 1 will run based on the input switch. and the second code the ...
1
vote
1answer
58 views

Relay Board making Output Signal Weak

I am using an Arduino Uno and Relay Shield (http://www.seeedstudio.com/blog/2013/02/28/shield-evolution-flexible-add-ons-for-arduino/relay-shield/), and using a code similar to the Teapot Demo, in ...
0
votes
1answer
72 views

Arduino Wall Wart and Relay Board Power Supply

I am relatively new to Arduino, and have been doing a project to trigger an LED/alarm when movement is detected to be over a certain threshold value. I am using an Arduino Uno, an LED/buzzer (https://...
0
votes
1answer
17 views

Using a channel relay

im using 4 channel relay to switch the motor pump. but when the arduino output is high and i check first with led. the led behavior were high too but when i attached to the relay input IN1, the ...
0
votes
2answers
57 views

Relay with mechanical fallback

In my circuit I have a relay that will turn on some light bulbs this is my circuit: The switch over the 5V is in fact my Arduino. A HIGH will turn on the relay and a LOW will turn it off. This is ...
0
votes
1answer
283 views

Wemos D1 doesnt drive Relay [closed]

I recently bought a Wemos D1 board and tried to connect a relay and test its connection. I got an example server from here and executed. I connected D5 to a Relay's data and 5v and GND from Wemos ...
0
votes
1answer
51 views

Optimal and Save Water Pump Control

I'm using an Arduino Micro, a 12 V water pump and a print relay to water a plant. A water level switch monitors the the water tank to make sure the water pump does not run dry. I tried different ...
0
votes
0answers
225 views

Trying to use NodeMCU ESP-12e, a 5v relay AND a solenoid lock on same 12v power wall-wart

Noob here, so be gentle. Using a 12v-5/3.3v power board, NodeMCU powers relay fine, 100% of the time. Add in the solenoid by soldering a line from the wall wart into the COM spot on the relay, and ...
0
votes
0answers
47 views

ESP8266 WiFi Module disconnects from WiFi itself

#define id "qwerty" #define password"123456789" int relayPin= 4; void setup() { Serial.begin(115200); Serial.println("AT"); pinMode(13, OUTPUT); pinMode(relayPin, OUTPUT); delay(3000); ...
0
votes
3answers
1k views

Right PIN to activate a wireless relay with ESP8266 ESP-01

I'm trying to program an ESP8266 ESP-01 module to let it connect to my personal wifi network and activate a wireless relay that I've bought. No problems with Wifi connection so I've omitted the code ...
0
votes
0answers
18 views

Relay modules expansion [duplicate]

I successfully setup my Arduino to control a linear actuator using an 8 channel relay module. the next step of my project requires that I will operate and control 36 linear actuators in parallel. I'm ...
0
votes
2answers
53 views

Two power source for Arduino and a relay

In my work, I have an ESP-8266, Arduino-Uno and a Relay. ESP 8266 and Uno is connected. Relay's data signal is take from arduino's 12th pin. ESP is powered from Uno. If I use two different power ...
0
votes
1answer
314 views

Powering 8-channel relay correctly

Replication Steps: 595N shift register powered by arduino Each output on register connected to 1 of 8 relays in relay board Arduino programmed to loop over each 8, triggering 1 relay at a time ...
0
votes
1answer
53 views

Can someone help me with my arduino and relay and switch?

This is my code. What i want to do is activate the relay when switchInNcPin is activate. I am using a switch (micro switch). It has COM NC and NO pins. Can you tell me what is wrong with my code? ...
1
vote
1answer
1k views

Wemos: relay shield doesn't work on top of the stack

I connected a SHT30 shield to a Wemos D1 mini (one on top of the other) to measure temperatures. Wemos D1 mini (2.3.0): SHT30 shield: It works great but when I added a relay on the top of the ...
-2
votes
2answers
65 views

How to make an I2C device undetectable

Please bear with me as I am a bit new to electronics and arduino. I am trying to have multiple sensors connected to an Arduino Mega through I2C Bus. That is working but I would like to have the ...
-2
votes
2answers
111 views

How do I get status of contactors using Arduino (more than 50 contactors)

I am new to Arduino. Sorry if my question sounds wrong. Interest areas: Multiple devices inter-connected on the cloud. Single GSM for equipment in a typical panel connectivity for non-electrical ...
2
votes
1answer
353 views

How to control an 12V 2A Car lamp using relay or MOSFET in Arduino [closed]

I am working with the project controlling an 25W 12V Car lamp. I have a 12V car battery. I want to control it with the Arduino using a relay or MOSFET. Any suggestion for my project would be ...
0
votes
1answer
178 views

Preventing relay switch-off crashing Ethernet controller

I have an Arduino Uno with Ethernet Shield controlling some relays. Initially everything works fine but then when switching the relay off, the Ethernet controller frequently 'crashes'. Ethernet stops ...
0
votes
1answer
66 views

LED staying on after first relay trigger [closed]

I seem to have a strange issue with a simple circuit involving a relay. The problem is that the relay appears to work absolutely fine (judging from the onboard led) but the the led stays on after ...
1
vote
1answer
59 views

Arduino controlled relay for certain duration of time

I am using a relay on my Arduino Uno and i want it to be on LOW for a calculated interval of time, let's say ftime=7 seconds, and after that i need it to be set as HIGH (no power through relay). My ...