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 some devices make a "clicking" noise when they turn on/off a light or another device attached to it.
309 questions
0
votes
1
answer
75
views
MKR1010 Interference when relay motor engages?
I am a complete beginner. Are Arduino products really flaky?
I've thrown together the circuit in the diagram - an MKR1010 in a relay shield. I've wired up 2 sets of sensors, an LCD screen and a motor. ...
-1
votes
1
answer
79
views
Pop-Up Headlight Management
I have a 90s car with pop-up headlights but I don't have the original headlight module. So I am trying to make one myself.
The idea is simple
1- I have a Master switch that keeps headlights UP ...
0
votes
1
answer
57
views
Problems sending data to my Arduino from Python using pySerial
I'm trying to send a '1' or a '0' to my Arduino in Python using pySerial so that from my Arduino I can read whatever the Python program sends and then turn a relay on and off depending on what it ...
2
votes
1
answer
212
views
Communication between 3.3 V and 5 V system
I am using an ESP8266-01S that only works with 3.3 V power. I want to control a 5 V relay.
I gave each component its own power source and got an NPN transistor and wired it like in the diagram, but ...
1
vote
1
answer
153
views
NodeMCU 1.0 - Port D3, relay and pump does not boot
I'm trying to create a watering system using a NodeMCU 1.0, a relay and some pumps.
Currently I've port D0, D1, D2, D5, D6, D7, D8 already in use.
I'm trying to use the port D3 (GPIO0) as follows, but ...
2
votes
2
answers
128
views
Grove relay stuttering
I have bought this Grove relay: Grove - Relais | Kiwi Electronics.
I use it to drive a low-power water pump with a 9v battery. So the pump circuit is isolated from the Arduino circuit.
When the ...
0
votes
1
answer
130
views
Can Vin of ESP handle many voltage sensors and relays?
My project is Charging Battery via Solar and Piezoelectric sensor while also getting the Realtime Voltage of the Battery, Capacitor, and Solar.
I want to use Vin as the source to get 5V because ...
1
vote
1
answer
172
views
Water pump relay switching too fast
I'm using a water level sensor with two outputs, a 5V fan and a water pump. Here's the wiring .
What I want to do with this project is:
When the water reaches 2 cm, then the water pump is on while ...
0
votes
1
answer
143
views
How can I switch the power on/off to cut BIG currents (200A)? [closed]
Context: I have an off-grid cabin with PV powered 12V DC. I want to cut power to an inverter (12V DC ->220V AC) when I leave by pressing a button as it draws too much in standby.
Most relays I have ...
0
votes
2
answers
1k
views
ESP32 struggling to trigger relay module consistently
I'm working with a 4-channel, 5 V relay module and an ESP32 which operates on 3.3 V.
The setup seemed to work well initially but I have started experiencing some inconsistencies. One of the four ...
2
votes
1
answer
178
views
Arduino code intermittent
I have an alarm for "tea time", "lunch time" and "tea time". It works well at times but occasionally it gets stuck on the alarm not resetting, other times it does not ...
2
votes
0
answers
93
views
Pump running even if relay says "off"
I have a relay that should be switched off when the analog value is too high by the Arduino code:
int digitalPin = 4; // for the relay
int analogPin = A0; // for the soil moisture sensor
int ...
1
vote
0
answers
93
views
Selecting the Right GPIOs
I've bought this 4 relay ESP8266 board to active lights and window shades.
In an odd way - its relays are not pre-connected to a certain IO's but let you choose which IOs will operate relays (by ...
2
votes
2
answers
76
views
change sketch from controlling 8 stepper motors to 8 solenoids
I am looking to see if I can change the attached sketch which controls 8 stepper motors to just switching 8 relays for a weaving loom which we have, unfortunately making this change is well above my ...
1
vote
1
answer
319
views
esp based smart light system over alexa malfunctioning
i made a home automation system using esp 32 and 8 channel relay but within 2 or 3 months my relay automatically turns off after sending the signal to it through esp32 but if i connect directly ...