Introduction: All You Need to Know About a Relays
What is a Relay?
A relay is an electrically operated switch. Many relays use an electromagnet to mechanically operate a switch, but other operating principles are also used, such as solid-state relays. Relays are used where it is necessary to control a circuit by a low-power signal (with complete electrical isolation between control and controlled circuits), or where several circuits must be controlled by one signal.
- Relay Module - AliExpress
Step 1: Parts & Design of a Relay
IMAGE:
- Relay inside its Plastic Case.
- Relay separated from its case using a screwdriver.
- Parts of the Relay.
- Relay Leads which can be soldered to a PCB
- Parts of the Relay
Start by removing the Plastic or PVC case of the relay by using a screwdriver. You can see the design and various parts of the relay. The main parts of the relay are: Armature, Spring, Yoke, Contacts & Coil.
A simple electromagnetic relay consists of a coil of wire wrapped around a soft iron core, an iron yoke which provides a low reluctance path for magnetic flux, a movable iron armature, and one or more sets of contacts (there are two in the relay pictured). The armature is hinged to the yoke and mechanically linked to one or more sets of moving contacts. It is held in place by a spring so that when the relay is de-energized there is an air gap in the magnetic circuit. In this condition, one of the two sets of contacts in the relay pictured is closed, and the other set is open. Other relays may have more or fewer sets of contacts depending on their function. The relay in the picture also has a wire connecting the armature to the yoke. This ensures continuity of the circuit between the moving contacts on the armature, and the circuit track on the printed circuit board (PCB) via the yoke, which is soldered to the PCB.
Step 2: Working of a Relay
IMAGE:
- Armature & Insulated Coil of Relay.
- Relay without Insulated Coil.
- Contacts Of the Relay when No current is Applied across the terminals of the relay.
- Contacts Of the Relay when Current is Applied across the terminals of the relay.
- Spring of the Relay.
A simple electromagnetic relay consists of a coil of wire wrapped around a soft iron core, an iron yoke which provides a low reluctance path for magnetic flux, a movable iron armature, and one or more sets of contacts (there are two in the relay pictured). The armature is hinged to the yoke and mechanically linked to one or more sets of moving contacts. It is held in place by a spring so that when the relay is de-energized there is an air gap in the magnetic circuit. In this condition, one of the two sets of contacts in the relay pictured is closed, and the other set is open. Other relays may have more or fewer sets of contacts depending on their function. The relay in the picture also has a wire connecting the armature to the yoke. This ensures continuity of the circuit between the moving contacts on the armature, and the circuit track on the printed circuit board (PCB) via the yoke, which is soldered to the PCB.
When an electric current is passed through the coil it generates a magnetic field that activates the armature, and the consequent movement of the movable contact(s) either makes or breaks (depending upon construction) a connection with a fixed contact. If the set of contacts was closed when the relay was de-energized, then the movement opens the contacts and breaks the connection, and vice versa if the contacts were open. When the current to the coil is switched off, the armature is returned by a force, approximately half as strong as the magnetic force, to its relaxed position. Usually this force is provided by a spring, but gravity is also used commonly in industrial motor starters. Most relays are manufactured to operate quickly. In a low-voltage application this reduces noise; in a high voltage or current application it reduces arcing. When the coil is energized with direct current, a diode is often placed across the coil to dissipate the energy from the collapsing magnetic field at deactivation, which would otherwise generate a voltage spike dangerous to semiconductor circuit components. Some automotive relays include a diode inside the relay case. For instance when a relay switches in your car the voltage spike can cause interference on the radio, and if you have a faulty battery or are silly enough to disconnect it with the engine running it can damage the ECU etc.
Step 3: Pole & Throw of a Relay
IMAGE: 1. Circuit symbols of relays. (C denotes the common terminal in SPDT and DPDT types.)
Since relays are switches, the terminology applied to switches is also applied to relays; a relay switches one or more poles, each of whose contacts can bethrown by energizing the coil in one of three ways:
Normally-open (NO) contacts connect the circuit when the relay is activated; the circuit is disconnected when the relay is inactive. It is also called Form A contact or "make" contact. NO contacts may also be distinguished as "early-make" or NOEM, which means that the contacts close before the button or switch is fully engaged.
Normally-closed (NC) contacts disconnect the circuit when the relay is activated; the circuit is connected when the relay is inactive. It is also called Form B contact or "break" contact. NC contacts may also be distinguished as "late-break" or NCLB, which means that the contacts stay closed until the button or switch is fully disengaged.
Change-over (CO), or double-throw (DT), contacts control two circuits: one normally-open contact and one normally-closed contact with a common terminal. It is also called a Form C contact or "transfer" contact ("break before make"). If this type of contact utilizes a "make before break" functionality, then it is called a Form D contact.
The following designations are commonly encountered:
SPST – Single Pole Single Throw. These have two terminals which can be connected or disconnected. Including two for the coil, such a relay has four terminals in total. It is ambiguous whether the pole is normally open or normally closed. The terminology "SPNO" and "SPNC" is sometimes used to resolve the ambiguity.
SPDT – Single Pole Double Throw. A common terminal connects to either of two others. Including two for the coil, such a relay has five terminals in total.
DPST – Double Pole Single Throw. These have two pairs of terminals. Equivalent to two SPST switches or relays actuated by a single coil. Including two for the coil, such a relay has six terminals in total. The poles may be Form A or Form B (or one of each).
DPDT – Double Pole Double Throw. These have two rows of change-over terminals. Equivalent to two SPDT switches or relays actuated by a single coil. Such a relay has eight terminals, including the coil.
Step 4: Change-over (CO) or Double-throw (DT) Relay
A Change Over type relay is much like a Single Pole Double Throw( SPDT) relay.
Inorder to explain the working of a Change Over Relay, I have compared it to a SPDT relay.
A SPDT relay configuration switches one common pole to two other poles, flipping between them. Consider a SPDT relay with a common pole 'C' and let the other two poles be 'A' and 'B' respectively. When the coil is not powered(inactive), the common pole' C' is connected to the pole 'A'(NC) and is in resting position. But when the relay is powered(active) the common pole 'C' is connected to pole 'B'(NO) and isn't in resting position. Hence only one position is resting position while the other position needs the coil to be powered.
Step 5: Voltage & Current Parameters of a Relay
IMAGE: 1. Voltage & Current Parameters of the relay in-scripted on the Case of the relay.
2. Voltage & Current Parameters of the relay in-scripted on the Case of the relay.
Most relays are available in different operating voltages like 5V, 6V, 12V, 24V, etc. If the required operating voltage is supplied to the relay, the relay is activated. The operating voltage of a relay is generally in DC.Small signal relays and low voltage power relays are usually in DC, but mains control relays and contactors quite frequently have AC coils.The rest of the terminals of a relay are used to connect either a AC(generally 50/60Hz) or DC circuit. The switching and contact pins of the relay have their respective Maximum voltage and current ratings/Parameters. These Parameters are generally in-scripted on the plastic or PVC case of the relay.On the contact ratings, they will frequently have something like 5A@250VAC / 10A@12VDC. These are the figures you have to be within. Having said that you can run a higher current than stamped on it if your voltage is lower, they aren't directionally proportional though and the datasheet for the relay should be consulted. If a relay is overloaded, it can burn out and damage the circuit or appliances connected to it. Be sure to choose a relay that can handle your voltage and current requirements to ensure the relay coil doesn't burn out and your circuit doesn't get damaged.
Step 6: RECYCLE AND REUSE OLD RELAYS
- Relays Can be desoldered from any old or exisiting circuit and can be re-soldered/ Soldered back on any new circuit or project since relays do not get burnt by excessive soldering.
2. The Windings of the coil can be reused as Jumper wire in Various Circuits.
3. The contacts and Screws, Nuts, Bolts, Washers of the relay can also be reused.
If you like this instructable feel free to vote for it. Follow me on instructables so you can get updates to any of my other instructables. Post queries and questions in the comments section below and I will certainly answer all of them. Thanks for reading.

Participated in the
Sensors Contest

Participated in the
Gadget Hacking and Accessories Contest

Participated in the
Green Design Contest

Participated in the
Green Electronics Challenge
69 Comments
Question 3 months ago
I want my 12 volt relay to be controlled by a 12 volt (nominal) solar panel in order to trigger a solar pump on while its solar batteries are being charged (during day) and off when too dark for charging it's batteries.
The controlling (relay) solar panel can output up to 17 volts so I keep it shaded so voltage goes up to approx 14 volts only. At what voltage should the relay break contact when getting dark?
9 months ago
Hi all. Completely new to this world on this end. But I am curious. Is there a way to set up relays to only open if the following conditions are met, (1. the relay before it is open. 2. the relay has been given a signal to open)
Question 1 year ago on Step 6
Hi
I need. A circuit perhaps using a DPDT relay which will allow a mains powered 12v transform feed to a 12v air pump to switch to a 12v battery feed to the air pump in the event of mains power loss
Question 2 years ago on Step 6
I want to install a remote control fog-lights to my car. The wattage of each halogen foglight is 55 watts. My question is, can I use the wireless controller shown below with a relay to power 2 fog-lights under 12 volts power source.
2 years ago
Hello. I hope someone is still looking at this Instructable
Good article as it helped me understand relays a lot better than I did before.
I am confused about relays wrt AC vs DC loads. Is it possible to use a generic solid-state relay to drive a DC load? Specifically I want to drive a DC motor that is rated at 6VDC (some rudimentary tests show it can be driven at 5VDC but not at 3.3VDC).
A related question has to do with the power supplied to each side of the relay. I can hook up a 5VDC supply to the control side of the relay, and a separate 6VDC supply to the load side. But is it possible to find a power supply that provides multiple outputs - 3.3, 5, 6, 9, 12 VDC? That would simplify life quite a bit.
Thanks!
Reply 2 years ago
Given that the rudimentary tests allow you to use the motor at 5V ... You could probably power the relay and the motor via the same 5V supply.
Question 2 years ago
Hi.
I've installed tracker and relay in electric moped in order to block it while it is parked. It kind of works and not. It turns off when you turn the key to ignition (off course with batteries inside the bike), but for half a minute or even more it is just switching on and off constantly, so if you hit the start button when relay is on, bike starts, which is not good. I'd like bike to stay blocked immediately when key is turned to ignite and bike shouldn't be able to turn on at all. I don't know which type of relay I am using but will check later and put it down.
Any Idea how to sort this out? Thanks in advance.
Question 2 years ago on Step 5
Are these two relays compatible and do the same job?
They go to a main PCB on a Samsung fridge which Powers an inverter board for approximately a second or two and then shuts off not allowing the compressor to attempt or even start running.
Which relays on this board typically go bad or should be replaced in order for the board to work properly again ?
Answer 2 years ago
relay was working fine, have your refrigerator checked by a qualified service technician. there are many factors why it shuts down.,
Question 3 years ago
I'm having a hard time trying to find a compatible replacement relay. It relays to a .25 HP motor that opens and closes a roof panel. The existing one is about 20 years old and it's a MATSUSHITA ELECTRIC VC20-3A-AC24V-K with a serial number BW5750185K. Attached is an image. Any direction as to where I can find a compatible more recently manufactured relay would be greatly appreciated! Thanks
Question 3 years ago
Hello,
I'm going to add some accessories to my Honda Goldwing, and I want to install a accessory fuse block, I need a five pronged 12 volt DC, 30/40 Amp relay that will be off when the ignition switch is off, when the ignition key is turned on and the motorcycle is running the relay will make the accessory fuse block hot so I can turn on my accessories, when I turn the ignition switch off, the relay will kill power to the accessory fuse block, so if I forget to turn off an accessory, my battery won't be drained. I'm not really savvy when it comes to this electrical stuff. Can you please tell me what brand is good and what type I need? I don't know what DP.DT , SPDT, or any other abbreviations mean. Please help me.
thank you
Frank
Question 4 years ago
Hello Sir,
I am an Amateur Radio Operator and would like to use 2 10 Amp @12vdc relays to control Horizontal or Vertical transmission of my Cubical Quad antenna Transmitting element,the 10 Amp Relays are well suited for this application,my only Question is,"with the coil energised how long can it stay energised before overheating or would it even overheat"If there is a way to cool the relay coil I could do that if need be.
Thank You
Bob
Answer 3 years ago
The spec sheet for a suitable Relay lists coil draw at 30mA @ 12V , that's so little I doubt it would ever heat up let alone over heat.
http://www.circuitbasics.com/wp-content/uploads/2015/11/SRD-05VDC-SL-C-Datasheet.pdf
Question 4 years ago
hi
I have a need for a 120v 30a RELAY, a SPDT, at least I believe that's what it should be:
...
120v single wire power from TWO different possible sources(Inverter, Generator)
at 30amp maximum pass thru
...
I want the RELAY to 'rest' on the Inverter, position B(NC) - it will always be providing power
...
but
...
I want the RELAY to 'switch' to the Generator, position C(NO) when it STARTS providing 120v power
...
...
is the SPDT Relay the correct device?
...
thanks : )
4 years ago
hi
I have a need for a 120v 30a RELAY, a SPDT, at least I believe that's what it should be:
120v single wire power from TWO different possible sources(Inverter, Generator)
at 30amp maximum pass thru
I want the RELAY to 'rest' on the Inverter, position B(NC) - it will always be providing power
but
I want the RELAY to 'switch' to the Generator, position C(NO) when it STARTS providing 120v power
is the SPDT Relay the correct device?
4 years ago on Introduction
Are questions allowed here? If so, how long can the coil on a dpdt relay be energized? I am asking because I want to use 120vac to power the coil and upon power loss want the dpdt contact to close contacts to allow a 12 vdc system to kick in. I’ve been looking around. I know the design will work but not sure how long the coil will last, being energized 24/7. Thank you
Reply 4 years ago
As long as you do not exceed the Maximum/Absolute Ratings of the relay, you should be fine.
Question 5 years ago on Step 1
If there is no voltage at the terminals of a relay coil
Answer 4 years ago
What are the connections to the relay?
The relay coil may be burnt if its Absolute Ratings are exceeded
5 years ago
Can someone please explain me
why do we need full relay module with lots of other elements, because what i read makes me think a relay is complete in itself and has seperate connection for 5v DC and 220v AC.
we use aurdino or rpi to supply it 5v power and to activate or deactivate it due to 5v current provided to them, then why do we have all other components on relay module