Communica

How to Use a Relay Board in Electronic Circuits: Practical Guide for Makers and Engineers

Step-by-step guide to using a relay board in electronic circuits: relay types, wiring diagrams, drive circuits, calculations, and South Africa sourcing notes.

electronic component fuses
January 11, 2026
5 min read

Match Coil & Driver

Ensure coil voltage/current matches your controller with a proper transistor or opto driver.

Pick Correct Contact Rating

Size contacts above steady and inrush currents, especially for motors and mains loads.

Protect and Isolate

Use flyback diodes for DC coils and enclose live mains wiring for safety.

Overview: What a Relay Board Does

A relay board is a set of electromagnetic or solid-state switches that let low-voltage control signals operate higher-voltage or higher-current circuits. Relay boards are widely used in automation, robotics, home projects, and test setups to isolate logic-level controllers (microcontrollers, PLCs) from mains or motor loads. This guide explains how to use a relay board in electronic circuits, including wiring, drive requirements, and common pitfalls for South African makers, students, technicians, and procurement teams.

Common relay board components

  • Relays (electromechanical or solid-state), usually arranged in channels (1, 2, 4, 8, 16).
  • Coil driver transistors or optocouplers to interface logic pins safely.
  • Flyback diodes for DC coil protection (mechanical relays).
  • Indicator LEDs, screw terminals or headers, and sometimes jumper-configurable trigger logic (active-high/low).

Relay types at a glance

Type Best for Pros Cons
Electromechanical relay (EMR) AC mains switching, inductive loads High-voltage isolation, visible contacts Mechanical wear, slower (<10 ms)
Solid-state relay (SSR) Silent switching, fast cycles Long life, fast Leakage current, heat dissipation
Reed relay Low-power signal switching Small, fast Lower voltage/current rating

South Africa sourcing and stock notes

Communica stocks a variety of relay boards and individual relays from global and maker-friendly brands. When planning a build, check branch stock (Samrand, Pretoria, Cape Town) for immediate pickup or plan for lead times if specialised 5V relay boards for power and battery applications or high-current contactors are required. For institutional procurement, request VAT-compliant invoices and quotations through your account to match your project budgeting requirements (prices shown in ZAR on product pages; note that quoted lead times are estimates and can change).

Quick takeaway

Match relay coil voltage and drive current to your controller, select contact ratings above your load, and include protection (flyback diodes, snubbers) for reliable circuits.

Related Circuit Protection & Passive Components Products

Discover quality circuit protection & passive components products related to How to Use a Relay Board in Electronic Circuits: Practical Guide for Makers and Engineers

12v 1 Channel High/low Level Trigger Relay Module

12v 1 Channel High/low Level Trigger Relay Module

CommunicaRelay Boards
ZAR29.00

12v 1 Channel High/low Level Trigger Relay Module

4 Channel 5v Solid State Relay Board

4 Channel 5v Solid State Relay Board

CommunicaRelay Boards
ZAR140.00

4 Channel 5v Solid State Relay Board

Industrial 5v Relay Module Board For Arduino Avr Pic Arm

Industrial 5v Relay Module Board For Arduino Avr Pic Arm

CommunicaRelay Boards
ZAR100.00

Industrial 5v Relay Module Board For Arduino Avr Pic Arm

Relay Board 2 Channel 12v 5ma Trigger

Relay Board 2 Channel 12v 5ma Trigger

CommunicaRelay Boards
ZAR45.00

Relay Board 2 Channel 12v 5ma Trigger

Trigger Delay Timer 0.1s-999m, High-quality Mos Tube Control Module

Trigger Delay Timer 0.1s-999m, High-quality Mos Tube Control Module

CommunicaRelay Boards
ZAR44.00

Trigger Delay Timer 0.1s-999m, High-quality Mos Tube Control Module

Dc 12v Bluetooth Relay Board, Single Channel 12v/10a Relay Module And Spp-c Bluetooth Serial Port Slave Module

Dc 12v Bluetooth Relay Board, Single Channel 12v/10a Relay Module And Spp-c Bluetooth Serial Port Slave Module

CommunicaRelay Boards
ZAR149.01

Dc 12v Bluetooth Relay Board, Single Channel 12v/10a Relay Module And Spp-c Bluetooth Serial Port Slave Module

5v 30a Relay Module With High Current Output Terminals. Compatible With Arduino

5v 30a Relay Module With High Current Output Terminals. Compatible With Arduino

CommunicaRelay Boards
ZAR65.00

5v 30a Relay Module With High Current Output Terminals. Compatible With Arduino

8 Channel 12v Relay Module With Computer Usb Control Switch

8 Channel 12v Relay Module With Computer Usb Control Switch

CommunicaRelay Boards
ZAR325.00

8 Channel 12v Relay Module With Computer Usb Control Switch

3,3v 2 Channel High/low Level Trigger Relay Module With Optopcoupler

3,3v 2 Channel High/low Level Trigger Relay Module With Optopcoupler

CommunicaRelay Boards
ZAR59.00

3,3v 2 Channel High/low Level Trigger Relay Module With Optopcoupler

2 Channel 5v Relay Board 2ch 5v - Compatible With Arduino

2 Channel 5v Relay Board 2ch 5v - Compatible With Arduino

CommunicaRelay Boards
ZAR33.01

2 Channel 5v Relay Board 2ch 5v - Compatible With Arduino

Communica Cmu Solid State Relay Brd 2ch 5v Relay Boards

Communica Cmu Solid State Relay Brd 2ch 5v Relay Boards

CommunicaRelay Boards
ZAR150.31

Communica Cmu Solid State Relay Brd 2ch 5v Relay Boards

Selection Criteria: Matching a Relay Board to Your Circuit

Key parameters when choosing how to use a relay board in electronic circuits: coil voltage, coil current, contact voltage/current rating, contact configuration (SPST, SPDT), switching speed, and isolation. For mains AC loads in South Africa (230 V~ nominal), ensure contact ratings comfortably exceed your operating voltage and current, and consider inrush (motors, compressors) which can be several times steady current.

Basic calculations

Use Ohm's law and power equations to size drivers and estimate heat.

  • Coil current (for DC coils): I = Vcoil / Rcoil. Example: a 5 V coil with 70 ohms draws I = 5 / 70 = 0.071 A (71 mA).
  • Coil power: P = Vcoil * I. Continuing example: P = 5 * 0.071 = 0.355 W (estimate).
  • Contact power dissipation: P = Iload * Vdrop. Verify relay datasheet for Vdrop at rated current.

Drive circuits and isolation

Microcontroller GPIO pins cannot directly drive most relay coils. Use transistor drivers (NPN or N-channel MOSFET), optocouplers, or relay driver ICs. For mechanical relays on DC coils, include a flyback diode across the coil (cathode to V+, anode to transistor collector/drain) to suppress voltage spikes. For SSRs driving AC loads, check control polarity and minimum load requirements.

Sample wiring diagrams

Below are simple ASCII diagrams for common use cases. Replace labels with the appropriate terminals on your relay board.

Microcontroller -> NPN -> Relay Coil -> +Vcoil
(Controller pin)  (Base resistor)  (Collector)   (V+)

-- GPIO ---[1k]--|B  NPN  C|----+----+Vcoil
                  |E       |       |
                  GND      |      [Coil]
                           |
                          GND

AC mains switching with a mechanical relay (use appropriate safety practices when working with 230 V~):

Mains L ----[Common (COM)] Relay Contact [Normally Open (NO)] ---- Load ---- Neutral (N)

Practical examples and calculations (SA scenarios)

Example 1 - Switching a mains lamp: Lamp steady current 2.0 A at 230 V~. Choose a relay contact rated for at least 3-5 A AC to account for inrush and margin. If using an EMR with a 12 V coil rated 40 mA, ensure your driver can supply 40 mA per coil or use a relay board array for multiple channels.

Example 2 - Controlling a 12 V DC motor: Stall current 6 A, running 2 A. Use a relay or contactor with DC rating exceeding stall current (DC ratings are lower than AC for same contact size). Consider using SSR or a MOSFET-based switch for PWM speed control; relays are best for on/off control.

Troubleshooting and common mistakes

  • Not providing a flyback diode on DC coils - results in MCU resets or driver damage.
  • Using a relay with insufficient contact rating - leads to welding or early failure with inductive loads.
  • Driving too many relay coils from one regulator without checking total coil power - can brown out the controller supply.

Local procurement and assembly notes

When sourcing relay boards in South Africa, check stock availability at Communica branches and confirm coil voltages match your controller (3.3 V relay modules are available but often use onboard drive electronics; 5 V boards are common for Arduino projects). For education and labs, consider purchasing spare relay modules and flyback diodes; budget examples: small relay modules and components typically range from modest single-digit to low double-digit ZAR per item depending on brand and quantity (prices on the product pages are estimates and subject to change).

Safety and installation tips

  • When switching mains, enclose live terminals, use insulated connectors, and follow local electrical safety practices.
  • Label relay channels and wires for maintenance and testing in institutional or classroom settings.
  • Allow cooling and derate SSRs for continuous high-current AC switching; include heatsinks where recommended.

Sources

Communica Samrand — Electronic Component Experts

Communica supplies semiconductors and electronic components to industries such as automotive, electrical, automation, mining, and education.

Last updated: January 11, 2026

Disclaimer: This content is for educational purposes only. Product availability, pricing, and specifications are subject to change. Always verify current details on the retailer's website before making a purchase. We may earn affiliate commissions from qualifying purchases.

Frequently Asked Questions

Get answers to common questions about Circuit Protection And Passive Components

Why Choose Communica?

*Free Shipping

Free shipping for orders over ZAR 1,000.00.

7-Day Returns

Get a full refund if you had the product for less than 7 days.

Quick Delivery

Nationwide delivery within 2 - 4 working days.