OC
OceanRemote
Low-code IoT platform
Back to Troubleshooting Hub

Relay Not Clicking

Your relay makes no sound when you try to turn it ON or OFF. The connected device never receives power. This guide covers control signal problems, power supply issues, wiring errors, logic configuration, and faulty relay modules.

Last updated: April 22, 2026 | 12 min read

Symptoms

  • No audible click when toggling relay in dashboard
  • Relay LED indicator stays OFF or very dim
  • Dashboard shows relay ON but no response from connected device
  • Multimeter shows 0V on load side when relay should be ON
  • Relay module gets warm but no clicking sound
  • Multiple relays on same module all not working
  • Relay worked before but stopped clicking after power cycle

Common Causes

  1. Missing VCC Power Relay module not receiving 5V power; VCC pin disconnected
  2. Wrong Relay Logic Dashboard configured for Positive Logic but module needs Negative Logic
  3. Incorrect GPIO Pin Assignment Dashboard controlling wrong pin number
  4. Faulty Signal Wire Connection Loose or broken jumper wire between ESP and relay module
  5. Damaged GPIO Pin on ESP32/ESP8266 Microcontroller pin burned out
  6. Dead Relay Coil Coil burned open from overvoltage or prolonged activation
  7. Faulty Transistor or Optocoupler Driver circuit on relay module failed
  8. Insufficient Power Supply Current Power supply cannot provide enough current for relay coils

Standard 5V Relay Module Pinout

Pin Function Connect To Voltage
VCC Relay coil power 5V power supply 4.75V - 5.2V
GND / Common ground / ESP32/ESP8266 GND & power supply GND / to power supply GND only if separate; if using same supply, jumper connects VCC to JD-VCC and GND to DC-/JD-GND together. Check your module's jumper configuration. Common: VCC & JD-VCC are the same pin; GND is common. Use external supply for multiple relays. Each relay draws ~70mA. If using many relays , provide separate 5V 2A supply. Connect its GND to ESP32 GND for signal reference. 0V
IN1, IN2, IN3, IN4, IN5 Control signal inputs for each relay channel ESP32/ESP8266 GPIO pins 3.3V logic TTL compatible

Most cheap 5V relay modules require 5V on VCC/JD-VCC and use Negative Logic .

Relay Current Draw by Channel

Number of Relays Active Current Draw Recommended Power Supply
1 relay70-100mAESP32 5V pin
2 relays140-200mAESP32 5V pin
3 relays210-300mAExternal 5V 1A supply recommended
4 relays280-400mAExternal 5V 1A supply required
5 relays 350-500mAExternal 5V 2A supply required

ESP32 5V pin can supply ~500mA total. For multiple relays, use external 5V power supply.

Step-by-Step Fixes

1. Check Relay Power Most Common Fix

Measure voltage at relay VCC pin:

  • Set multimeter to DC voltage
  • Place red probe on relay VCC pin
  • Place black probe on relay GND pin
  • Should read 4.75V - 5.2V
  • If reading is 0V: VCC not connected
  • If reading is 3.3V: Connected to wrong pin
  • Connect relay VCC to ESP32/ESP8266 5V pin
// Correct wiring for relay module:
// ESP32 5V pin  Relay VCC
// ESP32 GND    Relay GND
// ESP32 GPIO2  Relay IN1 

// For multiple relays, use external 5V power supply
// External 5V (+)  Relay VCC
// External 5V (-)  Relay GND
// ESP32 GND  Relay GND 
// ESP32 GPIO  Relay IN1/IN2/etc.

2. Verify Relay Logic Configuration

Most common firmware issue wrong logic setting:

  • Log into OceanRemote dashboard
  • Go to Device Details page
  • Find relay logic setting for each relay
  • Positive Logic: HIGH = Relay ON, LOW = Relay OFF
  • Negative Logic: LOW = Relay ON, HIGH = Relay OFF
  • 90% of cheap 5V relay modules use Negative Logic
  • Change setting and test relay again

3. Test Relay with Direct Signal

Bypass ESP to test if relay module works:

// Manual relay test 
// For Negative Logic :
// 1. Connect relay VCC to 5V
// 2. Connect relay GND to GND
// 3. Touch IN wire to GND  Relay should click ON
// 4. Remove IN wire from GND  Relay should click OFF

// For Positive Logic :
// 1. Connect relay VCC to 5V
// 2. Connect relay GND to GND
// 3. Touch IN wire to 5V  Relay should click ON
// 4. Remove IN wire from 5V  Relay should click OFF

// If relay clicks, module is good 
// If relay doesn't click, module is faulty 

4. Check GPIO Pin with LED Test

Verify ESP pin is outputting correct signal:

// Add this test code to verify GPIO output
const int relayPin = 2;  // Change to your relay pin

void setup() {
  Serial.begin;
  pinMode;
  Serial.println;
}

void loop() {
  digitalWrite;
  Serial.println;
  delay;
  
  digitalWrite;
  Serial.println;
  delay;
}

// Connect LED with 220 resistor between GPIO pin and GND
// If LED blinks, GPIO pin is working correctly

5. Inspect and Replace Jumper Wires

Faulty jumper wires are extremely common:

  • Test each jumper wire with multimeter
  • Place probes on both ends of same wire
  • Should read <1
  • If no beep or high resistance, wire is broken internally
  • Replace with known good wire
  • Use different colored wires for VCC , GND (black), signals

6. Check Power Supply Capacity

Insufficient current prevents relay activation:

  • Measure voltage at relay VCC while trying to activate
  • If voltage drops below 4.5V, power supply is too weak
  • Use external 5V power supply for multiple relays
  • Recommended: 5V 2A USB charger for 4-5 relays
  • For 1-2 relays, ESP32 5V pin is sufficient

7. Replace Faulty Relay Module

If all tests pass but relay still not clicking:

  • Measure coil resistance between VCC and IN pin
  • Good coil: 50-150
  • Open circuit () or short = dead coil
  • Check for burnt components on PCB
  • Purchase replacement 5V relay module
  • Test new module before connecting load

How to Identify Your Relay Logic Type

Observation Logic Type Dashboard Setting
IN pin connected to GND Relay clicksNegative LogicSet to "Negative"
IN pin connected to 5V Relay clicksPositive LogicSet to "Positive"
Relay LED ON when IN is LOWNegative LogicSet to "Negative"
Relay LED ON when IN is HIGHPositive LogicSet to "Positive"

Most cheap 5V relay modules use Negative Logic.

Prevention Tips

  • Always use external 5V power supply for 3 or more relays
  • Document your relay logic type for each device
  • Use quality jumper wires
  • Add 100F capacitor across relay VCC and GND to smooth voltage spikes
  • Test each relay channel individually before connecting AC loads
  • Keep relay module away from heat sources
  • Use optocoupler-isolated relay modules for better protection

Related Issues

Frequently Asked Questions

Q: Can I use 3.3V to power a 5V relay module?

A: No. 5V relay modules require 5V for the coil. 3.3V is insufficient the relay may click weakly or not at all. Some modules work at 3.7-4.5V, but 5V is required for reliable operation. Use ESP32's 5V pin or external 5V supply.

Q: My relay clicks once then stops. What's wrong?

A: This usually indicates a power supply issue. The relay draws high current when activating, causing voltage drop. The ESP32 may brownout and reset. Add a 470-1000F capacitor across 5V and GND, or use external 5V power supply.

Q: Can I hear the relay click but the load doesn't turn on?

A: This is a different issue. The click means the relay coil is working. The problem is on the load side: wrong wiring , insufficient load current, or welded contacts. See Relay Clicking But No Power for solutions.

Still having issues? Contact Support or return to the Troubleshooting Hub.