Pure Electronics

Relating to Relays

by Professor Petabyte

 

Relays are often an essential component in systems controlled by microcontrollers. Typically microcontrollers operate on low voltages, either 3.3 or 5 volts around 1 amp, but they may need to operate devices that use far more power, e.g.240 volts, 13 amp. Relays enable microcontrollers such as Picos, to control power hungry devices such as motords.

Typically a relay uses a low power signal to operate a switch that turns on or off another device. e.g. A micocontroller with a temperature sensor attached, might signal a switch to turn on or off a fan. A microcontroller might also via relays operate motor(s) to raise or lower blinds depending on light conditions and/or time of day. A microcontroller with a relay could even open blinds at run-rise and close them at sunset.

Anatomy of a Relay

Zoomable Image
Mouseover to Zoom

Often, relays have 5 or 6 pins on the base. Some have indications stamped on them or embossed into the casing showing what each pin is, but if this is not the case, refer to the manufacturers datasheet.

Either way, there is likely to be

Relays are not well suited to be incorporate on development breadboards of the type shown elsewhere on this website. Neither are relay modules which you can see in the following section, however in practice this does not tend to be a problem, as is shown later,

Zoomable Image
Mouseover to Zoom

The top of the relay normally shows the relay's specifications. Relay specifications typically describe the electrical and mechanical characteristics that define how the relay operates, what it can safely switch, and how to use it properly. Here's a breakdown of the common specifications seen on a relay and what they mean:-

Coil Specifications

These define what the relay requires to activate (energize the coil): Contact Ratings These define what the relay can switch on the output side: Contact Voltage Rating (e.g., 250V AC / 30V DC) Maximum voltage the contacts can safely handle. Contact Current Rating (e.g., 10A) Maximum current the relay contacts can switch without damage. Contact Form (e.g., SPST, SPDT, DPDT) Describes the switch configuration: SPST: Single Pole Single Throw (one switch, on/off) SPDT: Single Pole Double Throw (one input, two outputs) DPDT: Double Pole Double Throw (two inputs, each with two outputs) Switching Capacity (e.g., 10A @ 250V AC) Specifies both voltage and current — what the relay can handle under load. Contact Material (e.g., AgNi, AgSnO₂) Affects contact durability, especially with high-current or inductive loads.

Anatomy of a Relay Module




© 2025 Professor Petabyte