
A 12V relay functions as a powerful switch, allowing a small electrical signal to manage a larger electrical load. This makes it essential for various applications, including cars, smart homes, and DIY gadgets. By safely controlling high-power circuits with low-power signals, it proves to be both practical and versatile. Learning how to wire a 12V relay is an invaluable skill, enabling you to design and build numerous innovative and functional projects.
Key Takeaways
A 12V relay works like a switch. It lets a small signal control bigger electrical devices safely.
-
-
Learn the relay's pin layout before connecting it. This avoids mistakes and keeps it safe.
-
-
Always use a multimeter to test voltage and resistance. It helps find and fix problems easily.
-
-
Pick the correct wire size for your project. Thicker wires carry more current and prevent overheating.
-
-
Be careful when working with electricity. Turn off power and use tools with insulation to stay safe.
Understanding the Basics of Relay Wiring

What is a 12V relay and its purpose?
A 12V relay is a device that works like a switch. It lets you control a strong electrical circuit with a weak signal. This is helpful when handling large electrical loads directly isn't safe or easy. For instance, in cars, a 12V relay can control things like lights, fans, or fuel pumps. It does this without needing big, heavy switches. Using a relay keeps control circuits safe and ensures high-power devices work well.
Key components of a 12V relay
To know how a 12V relay works, learn its main parts:
-
Coil: This part creates a magnetic field when powered. It uses 12 volts and has resistance between 50 and 200 ohms.
-
-
Contacts: These are the parts that switch the circuit. The two common types are Normally Open (NO) and Normally Closed (NC). NO contacts close the circuit when the relay is on. NC contacts open the circuit when the relay is on.
-
-
Pins: Most relays have four or five pins. These include coil pins (85 and 86) and contact pins (30, 87, and sometimes 87a). Pin 30 is the main terminal, while pins 87 and 87a connect to the device.
-
Here's a simple table showing the usual features of a 12V relay:
|
Specification/Function |
Details |
|---|---|
|
Voltage |
12V |
|
Coil Resistance |
50 - 200 ohms |
|
Input Current |
100 - 150 mA |
|
Contact Arrangement |
Normally Open (NO) and Normally Closed (NC) |
|
Activation |
Signal sent to pin 86 |
|
Common Applications |
Car systems (e.g., wipers, pumps) |
Common applications of 12V relays
12V relays are used in many projects because they are reliable. In cars, they control things like ignition, heaters, and wipers. In smart homes, they manage lights, fans, or alarms. Some benefits of relays are:
-
They don't get very hot
-
-
They save energy
-
-
They are quiet
-
-
They last a long time
-
Relays come in different sizes, like Micro, Mini, and Maxi ISO types. You can pick relays with high current ratings or special features for your project. They can handle currents from 0.1 to 50 amps, making them useful for small or big tasks.
Materials and Tools Needed for Wiring a 12V Relay
Important materials (e.g., 12V relay, wires, power source, load)
To set up a 12V relay, you need these items:
-
12V Relay: Pick a relay that fits your project's needs. For instance, an 8-pin DPDT relay works with 12V DC and handles up to 10A/240V AC or 28V DC.
-
-
Wires: Choose wires with the right thickness for your circuit. For high power, use wires that can carry up to 160 amps safely.
-
-
Power Source: A 12V DC power supply works best for most projects. Make sure the voltage stays between 8-18V for good performance.
-
Load: This is the device you'll control, like a fan, motor, or light.
-
|
Specification |
Value |
|---|---|
|
Coil Voltage |
12V DC |
|
Continuous Current (Amps) |
160 |
|
Voltage Range (V DC) |
8 - 18 |
|
Contact Capacity (Resistive) |
10A/240V AC or 28V DC |
Tools you'll need (e.g., screwdriver, wire stripper, multimeter)
Using the right tools makes wiring easier. Here's what you need:
-
Multimeter: This tool checks voltage, resistance, and current. It helps test circuits and fix problems.
-
-
Wire Stripper: Use this to remove wire insulation without causing damage.
-
-
Insulated Screwdrivers: These keep you safe from shocks when working with screws.
-
Tip: Buy good-quality tools. They last longer and make your work safer and easier.
Safety steps to follow
Safety is very important when working with electricity. Follow these tips to stay safe:
-
Turn off the power before starting any wiring.
-
-
Use tools with insulation to avoid electric shocks.
-
-
Ground your circuit properly to prevent dangerous sparks.
-
-
Pick wires that can handle the current without overheating.
-
|
Safety Measure |
Effectiveness |
|---|---|
|
High Resistance Grounding |
Lowers risk of sparks |
|
Current Limiting Fuses |
Protects against electrical faults |
|
Remote Switching |
Keeps you safe from injuries |
By having the right materials, tools, and following safety tips, you can wire a 12V relay confidently and safely.
How to Wire a 12V Relay: Step-by-Step Guide
Wiring a 12V relay may seem complicated at first, but by following these steps, you'll find it straightforward and manageable. Let's dive into the process.
Step 1: Identify the relay's pin configuration

Before you start wiring, you need to understand the pin configuration of your relay. Most 12V relays have either a 4-pin or 5-pin setup. Here's how they typically work:
-
4-Pin Relays: These include two coil pins (85 and 86) and two contact pins (30 and 87). The coil pins activate the relay, while the contact pins connect the load.
-
-
5-Pin Relays: These have an additional pin (87a), which allows switching between Normally Open (NO) and Normally Closed (NC) configurations.
-
Here are some common relay models and their configurations:
|
Relay Model |
Pin Configuration |
Nominal Voltage |
Max Voltage |
Switching Current |
|---|---|---|---|---|
|
4-Pin |
12V |
15.6V |
120A / 200A |
|
|
4-Pin |
12V |
N/A |
30A |
|
|
5-Pin |
12V |
N/A |
30/40A |
Tip: Check the relay's datasheet or look for markings on the relay itself to confirm the pin configuration. This ensures you connect the wires correctly.
Step 2: Connect the power source to the relay's coil pins
Once you've identified the pins, the next step is to connect the power source to the coil pins (85 and 86). The coil is what activates the relay by creating a magnetic field. Here's how to do it:
-
Use a 12V DC power source. Most 12V relays operate within a voltage range of 9V to 12V, but some can work with as low as 8.4V or as high as 24.3V.
-
-
Connect the positive terminal of the power source to pin 86.
-
-
Connect the negative terminal of the power source to pin 85.
-
Note: A relay with an 80-ohm coil at 12V will draw approximately 150mA of current. Ensure your power source can handle this load.
Step 3: Connect the control signal to the relay
The control signal is what tells the relay to switch on or off. This signal is usually a low-power input from a microcontroller, switch, or sensor. Follow these steps:
-
Identify the device or circuit providing the control signal.
-
-
Connect the control signal wire to pin 86 (the same pin connected to the positive terminal of the power source).
-
-
Ensure the ground of the control circuit is connected to the ground of the relay's power source. This creates a common reference point for the circuit.
-
Tip: If you're using a microcontroller, check its output voltage and current to ensure compatibility with the relay. Most microcontrollers can directly drive a 12V relay, but you may need a transistor or driver circuit for higher current requirements.
By completing these steps, you've successfully set up the basic connections for your 12V relay. In the next steps, you'll wire the load and test the circuit to ensure everything works as expected.
Step 4: Wire the load to the relay's output pins (COM, NO, NC)
Now that you've connected the power source and control signal, it's time to wire the load to the relay's output pins. These pins-COM (Common), NO (Normally Open), and NC (Normally Closed)-determine how the relay controls the load.
Steps to Wire the Load:
-
Identify the Output Pins:
-
-
Locate the COM, NO, and NC pins on your relay. These are usually labeled on the relay itself or in its datasheet. -
-
COM is the main terminal that connects to the load. NO and NC determine how the load operates when the relay is activated or deactivated.
-
-
-
Connect the Load to the COM Pin:
-
-
Take one wire from your load (e.g., a light bulb or motor) and connect it to the COM pin. This is the starting point for the load's circuit. -
-
-
Choose Between NO and NC:
-
-
If you want the load to turn on only when the relay is activated, connect the other wire from the load to the NO pin. -
-
If you want the load to stay on by default and turn off when the relay is activated, connect the wire to the NC pin.
-
-
-
Complete the Circuit:
-
-
-
Connect the remaining wire from the load to the power source's positive terminal.
-
-
Ensure the negative terminal of the power source is connected to the relay's ground pin (85).
-
-
Example Wiring Configuration:
|
Pin Label |
Connection Description |
|---|---|
|
COM |
Connects to one side of the load |
|
NO |
Connects to the load for activation on |
|
NC |
Connects to the load for activation off |
Tip: Double-check all connections before proceeding. Incorrect wiring can damage the relay or the load.
Step 5: Test the circuit for proper functionality
After completing the relay wiring, you need to test the circuit to ensure everything works as expected. Follow these steps to safely test your setup:
Steps to Test the Circuit:
-
Inspect the Wiring:
-
-
Verify all connections are secure and match the relay's pin configuration. -
-
Ensure there are no loose wires or exposed connections that could cause a short circuit.
-
-
-
Power On the Circuit:
-
-
Turn on the power source and observe the relay. You should hear a clicking sound when the relay activates. This indicates the internal switch is working. -
-
-
Activate the Control Signal:
-
-
Trigger the control signal (e.g., press a button or send a signal from a microcontroller). Check if the relay switches and the load operates as intended. -
-
-
Test Both NO and NC Configurations:
-
-
If you wired the load to the NO pin, the load should turn on when the relay is activated. -
-
-
If you used the NC pin, the load should turn off when the relay is activated.
-
-
Use a Multimeter for Troubleshooting:
-
-
If the relay doesn't work, use a multimeter to check the voltage at the coil pins (85 and 86). Ensure the relay is receiving the correct voltage. -
-
Test the continuity between COM and NO or COM and NC to confirm the relay's internal switch is functioning.
-
-
Note: If the relay or load doesn't work, disconnect the power and recheck your wiring. Look for any mistakes or damaged components.
Example Testing Checklist:
|
Test Step |
Expected Result |
|---|---|
|
Power On |
Relay clicks when activated |
|
NO Configuration |
Load turns on when relay activates |
|
NC Configuration |
Load turns off when relay activates |
|
Multimeter Voltage Check |
Correct voltage at coil pins |
By following these steps, you can ensure your relay wiring is correct and your circuit functions as intended. Testing is a crucial step to avoid potential issues in your project.
Troubleshooting Common Relay Wiring Issues
Relay not switching: possible causes and solutions
If your relay isn't working, there could be several reasons. First, check the power going to the coil pins (85 and 86). A 12V relay needs a voltage between 9V and 12V to work. Use a multimeter to see if the voltage matches the relay's needs. If the voltage is too high or low, the relay won't switch.
Another problem might be a broken coil. Use a multimeter to measure the coil's resistance. A good coil usually has resistance between 50 and 200 ohms. If the resistance is too high or shows no reading, the coil is likely damaged and should be replaced.
Incorrect or loose wiring can also stop the relay from switching. Check all connections carefully. Make sure the control signal is connected to pin 86 and the ground is attached to pin 85.
Tip: Relays wear out over time. For example, 16% of 3-pole relays fail after 20 years. If your relay is old, replace it.
Load not receiving power: how to check connections
If the relay switches but the load doesn't get power, check the output connections. Look at the wiring between the relay's output pins (COM, NO, and NC) and the load. Make sure the load is connected to the right pin (NO or NC) based on how you want it to work.
Ensure the COM pin is connected to the load. If the load is on the NO pin, it will only get power when the relay is on. If it's on the NC pin, it will get power when the relay is off.
Also, check the power source for the load. Make sure the voltage and current match what the load needs. Use a multimeter to test the voltage at the load's terminals. If there's no voltage, the problem might be with the power source or the relay's internal parts.
Note: Always use wires that are thick enough for the current. Thin wires can overheat and fail.
Using a multimeter to test the relay
A multimeter is a helpful tool for fixing relay problems. Follow these steps to test your relay:
-
Check Coil Resistance: Set the multimeter to measure resistance (ohms). Place the probes on pins 85 and 86. A reading between 50 and 200 ohms means the coil is good.
-
-
Find the Terminals: Use the multimeter to figure out the COM, NO, and NC pins.
-
-
Test Normally Open (NO) Contacts: With the relay off, place the probes on COM and NO. There should be no connection. Turn the relay on and check again. If there's a connection, the NO contacts are working.
-
-
Test Normally Closed (NC) Contacts: Place the probes on COM and NC. There should be a connection when the relay is off. Turn the relay on, and the connection should stop.
-
-
Check All Terminals: Test every terminal to make sure the relay works properly.
-
|
Description |
|
|---|---|
|
Coil resistance check |
Measures the relay coil's resistance. |
|
Terminal identification |
Finds the relay's different terminals. |
|
Normally open contact test |
Checks if the NO contacts work. |
|
Normally closed contact test |
Verifies the NC contacts' function. |
|
General terminal test |
Tests the relay's overall performance. |
Tip: Match the multimeter's voltage settings to the relay's rating. For relays under 15kV, use low voltage settings to avoid damage.
Stopping Overheating and Picking the Right Wire Size
Overheating can harm your relay and other parts. To stop this, use the right wire size and follow these simple tips for a safe setup.
1. Learn About Wire Size and Current Limits
Wire size means how thick the wire is. Thicker wires (smaller numbers) carry more current safely. For example:
|
Wire Size (AWG) |
Max Current (Amps) |
Common Uses |
|---|---|---|
|
18 AWG |
Up to 10 Amps |
Small items like LED lights |
|
14 AWG |
Up to 20 Amps |
Medium items like fans |
|
10 AWG |
Up to 30 Amps |
Big items like motors |
Tip: Check your load's current needs. Pick a wire size that handles more than that amount.
2. Don't Overload the Relay
Relays have a limit on how much current they can handle. Going over this limit makes too much heat and can break the relay. Look at the relay's datasheet to find its current limit. Make sure your load stays below this number.
3. Make Strong Connections
Loose wires cause resistance, which creates heat. Use crimp connectors or solder wires for strong connections. Check that all terminals are tight and clean.
4. Watch for Heat
After wiring, test the circuit while it's running. Carefully touch the relay and wires to see if they feel hot. If they do, turn off the power and check the wires and connections.
Note: If overheating happens often, use a relay with a higher current limit or thicker wires.
By following these tips, you can avoid overheating and keep your relay working well. Choosing the right wires and making good connections are important for a safe circuit.
Wiring a 12V relay is easy if you follow steps closely. First, find the relay's pins. Next, connect the power source and control signal. After that, link the load to the output pins. Finally, test the circuit to ensure it works. Each step helps you learn and gain confidence.
Tip: Keep practicing! Mistakes help you improve, so don't give up.
Try using relays in your projects. They let you control devices and create cool ideas. You can do it! 🚀
FAQ
What happens if I wire the relay pins wrong?
If the pins are wired wrong, the relay won't work or might break. Check the relay's pin layout or datasheet before wiring. Always use a multimeter to test and avoid problems.
Can I connect a 12V relay to a 24V power source?
No, you can't use a 12V relay with 24V power. Too much voltage can harm the relay's coil. Always match the relay's voltage to the power source for safe use.
How can I tell if my relay works?
Listen for a click when the relay turns on. Use a multimeter to check if COM connects to NO or NC. This shows if the relay is switching properly.
Why does my relay feel hot?
Relays overheat if they handle too much current. Check the load's current and compare it to the relay's limit. Use thicker wires and tight connections to stop overheating.
Can one relay control more than one device?
Yes, one relay can control many devices if their total current is within the relay's limit. Connect the devices in parallel to the relay's output pins. Make sure the combined load doesn't exceed the relay's capacity.
