Component guide · Intermediate · 3 min read
30A Power Relay and 30A Relay Module

Pinout, Wiring and Code
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
30 A power relays switch heavy loads such as water pumps, heaters, car lights, inverters and motors. The 30A relay module puts an SLA-style relay, transistor driver and optocoupler on a board with screw terminals, ready for an Arduino or ESP32. Bare automotive relays (pins 30, 85, 86, 87, 87a) and PCB power relays need a transistor and a flyback diode to drive their coil, which draws 100 to 200 mA.
Key specs at a glance
- Contacts
- 30 A at 14 V DC; 30 A at 250 V AC on SLA PCB types (derate for motors)
- Coil
- 5 V or 12 V; about 70 mA (5 V SLA) to 150 mA (12 V automotive)
- Pins (automotive)
- 85 and 86 coil, 30 common, 87 normally open, 87a normally closed
- Module input
- Opto-isolated, high or low trigger jumper on most boards
- Contact form
- SPDT (some automotive relays are SPST without 87a)
This part is often wired to 230 V mains. Do all wiring with the plug pulled out, keep mains wires inside a closed box with strain relief, add a fuse, and never touch the board while it is plugged in. If you are new to mains wiring, have an electrician check it before you switch on.
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 130A High-Current Relay Module₹109
Option 230A Power Relay (Automotive / PCB)₹67
Option 3Power Relay (Automotive and PCB)₹79
What the 30A power relay is
Use these when a standard 10 A relay module is not enough. The contacts are rated 30 A, but the screw terminals, PCB traces and wiring often are not, so a 30A module is best used up to about 15 to 20 A continuous with thick wire.
Automotive relays are made for 12 V vehicle systems; PCB power relays such as the SLA series have both AC and DC ratings printed on the case.
30A power relay pinout
The pins on the 30A power relay and what each one does.
| Pin | Function |
|---|---|
| Module DC+ / DC- | Coil supply (5 V or 12 V module) |
| Module IN | Control input |
| COM / NO / NC | Load contacts on the module |
| 85 / 86 | Coil (automotive relay) |
| 30 | Common (to the supply) |
| 87 | Normally open (to the load) |
| 87a | Normally closed |
- Module DC+ / DC-
- Coil supply (5 V or 12 V module)
- Module IN
- Control input
- COM / NO / NC
- Load contacts on the module
- 85 / 86
- Coil (automotive relay)
- 30
- Common (to the supply)
- 87
- Normally open (to the load)
- 87a
- Normally closed
Wiring the 30A power relay
For a bare relay, drive the coil with an NPN transistor or logic MOSFET from a GPIO pin and fit a 1N4007 across the coil (stripe to +). Use 4 to 6 mm2 wire and ring terminals for 30 A, and fuse the supply close to the battery.
| 30A power relay pin | 30A module + Arduino Uno | 30A module + ESP32 |
|---|---|---|
| DC+ / DC- | 5V / GND (5 V module) | 5V (VIN) / GND |
| IN | D7 | GPIO 26 |
| COM | Battery + through a fuse | Supply live through a fuse |
| NO | Load + | Load |
- DC+ / DC-
- 30A module + Arduino Uno:
- 5V / GND (5 V module)
- 30A module + ESP32:
- 5V (VIN) / GND
- IN
- 30A module + Arduino Uno:
- D7
- 30A module + ESP32:
- GPIO 26
- COM
- 30A module + Arduino Uno:
- Battery + through a fuse
- 30A module + ESP32:
- Supply live through a fuse
- NO
- 30A module + Arduino Uno:
- Load +
- 30A module + ESP32:
- Load
Example code
Check the trigger jumper: in low-trigger mode swap HIGH and LOW. Never switch a motor on and off rapidly with a relay; use a motor driver for speed control.
const int RELAY = 7, BUTTON = 2;
void setup() {
digitalWrite(RELAY, LOW); // high-trigger module: LOW = off
pinMode(RELAY, OUTPUT);
pinMode(BUTTON, INPUT_PULLUP);
}
void loop() {
if (digitalRead(BUTTON) == LOW) {
digitalWrite(RELAY, HIGH); // pump on
delay(30000); // 30 s
digitalWrite(RELAY, LOW);
}
}Setup and tuning
use about half the rating for motors and compressors, which draw 5 to 8 times their running current at start.
crimp proper ring or spade terminals; loose screw terminals at 20 A get hot.
switching high DC current wears contacts quickly; add a snubber or use a DC contactor above 24 V.
for AC loads, use an enclosure, earth, fuse and correctly rated cable.
What you need
Shop this list6 of 9 found in our store · ₹826
30A High-Current Relay Module: the part this guide covers30A High-Current Relay Module₹109
30A Power Relay (Automotive / PCB): another version this guide covers30A Power Relay (Automotive / PCB)₹67
Power Relay (Automotive and PCB): another version this guide coversPower Relay (Automotive and PCB)₹79- Uno R3 development board: the controller used in the wiring tableFind this part
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389- 1N4007 diode: flyback diode across a bare relay coilFind this part
Automotive blade fuse: to fuse the load wireAutomotive Blade Fuse₹5- Fuse holder: to fuse the switched loadFind this part
Digital multimeter: to check supply and signal voltagesDigital Multimeter₹177
Alternatives and when to choose them
- 5V relay module: standard 10 A relay boards.
- Solid state relay: silent switching for AC heaters.
- Relay modules: choosing the right relay board.
Common mistakes to avoid
- Driving a bare relay coil straight from a GPIO pin.
- Leaving out the flyback diode on a bare coil.
- Running 30 A through thin wire and screw terminals.
- Using the 30 A rating for a motor's starting current.
Frequently asked questions
What do pins 30, 85, 86 and 87 mean?
85 and 86 are the coil, 30 is common, 87 is normally open and 87a is normally closed.
Can an Arduino drive a 12 V automotive relay?
Yes, through an NPN transistor or MOSFET with a flyback diode, and a 12 V supply for the coil.
Can it switch a 1 HP motor?
Only with derating and a suitable starter; a contactor is the better choice for mains motors.
Is the module 3.3 V compatible?
Most 5 V modules switch from 3.3 V on the opto input; check the trigger with your board.
Why do the contacts weld?
High inrush or DC arcing. Use a bigger relay, a contactor or an inrush limiter.
Parts for this guide
Projects that use it
Put this into practice: 1 step-by-step build in our project library uses parts from this guide.
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.



