![]() |
| How to Choose the Right Relay – MY CREATIVE ENGINEERING (myce.com.my) |
Relays are everywhere: in Arduino and ESP32 projects, car accessories, control panels and home appliances. They let a small control signal (5V, 12V or 24V) safely switch a much bigger load. But choosing the wrong relay is one of the most common reasons a circuit chatters, overheats or fails early.
Before you order your next relay, check these 5 things.
1. Coil Voltage
The coil voltage must match your control signal. A 12V DC relay will not switch reliably from a 5V Arduino pin, and a 5V coil will burn out on 12V. Common options are 5V DC, 12V DC, 24V DC and 230V AC. Microcontroller projects usually use a 5V relay module with a built-in transistor driver.
2. Contact Rating (Load Current)
Work out how much current your load draws using I = P ÷ V. For example, a 1000W heater on 230V draws about 1000 ÷ 230 ≈ 4.3A, so a 10A relay gives a healthy safety margin. Always choose a contact rating above your load current, never right at the limit.
3. AC or DC Load
Read the datasheet carefully: a relay marked 10A 250VAC is often only rated 10A 30VDC. DC arcs are harder to break than AC arcs, so running a 48V DC motor through a 30VDC-rated relay can burn or weld the contacts. Match the rating to the type of load you are switching.
4. Contact Type
- NO (Normally Open): closes when the relay is ON.
- NC (Normally Closed): opens when the relay is ON.
- Changeover (SPDT / DPDT): has both NO and NC contacts with a common (COM) terminal.
Pick the configuration your circuit actually needs.
5. Mounting & Pins
Relays come in PCB-mount, plug-in socket and DIN-rail styles. Check the pin layout and footprint before ordering so it fits your board or panel.
Example: Controlling a 230V Lamp from an Arduino
- Coil voltage: 5V DC (relay module)
- Load: 230V AC lamp, 100W
- Load current: 100 ÷ 230 ≈ 0.43A
- Relay rating: 10A 250VAC ✔
Note: motors, pumps and compressors draw a high start-up current. Choose a higher rating or use a contactor.
Quick Reference
| Application | Typical choice |
|---|---|
| Arduino / ESP32 | 5V relay module |
| Car accessories | 12V automotive relay |
| Control panel | 24V DIN-rail relay |
| Lights & sockets (230V) | ≥10A 250VAC relay |
| Motors & pumps | Contactor |
| Silent, fast switching | Solid state relay (SSR) |
Safety First
- Switch off and isolate power before wiring.
- Add a flyback diode across a DC relay coil.
- Never exceed the relay's contact ratings.
- Keep mains wiring inside a proper enclosure.
- Use the correct wire size and tight terminals.
- For mains wiring, use a qualified electrician.
Remember: choose a relay for the load it switches, not just the coil voltage, and always check the datasheet before you buy.
🛒 Shop relays and switching components at myce.com.my, or find us on Shopee, Lazada, TikTok Shop and PG Mall. Follow @MyCreativ3 for more practical electronics tips!

