Skip to the content
2 layers74.5 × 63 mmRelay board v2, the printed circuit board in 3D

Relay board v2

slimmsehli/RelayBoard

Relay Board for 250VAC/10VDC controlled by 5v

Size
74.5 × 63 mm
Copper layers
2
Thickness
1.6 mm
Parts
33
Nets
38
Pads
98
Tracks, vias
146, 0
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
9 May 2025
Updated
29 May 2025

Overview

Relay board v2 is an open-source printed circuit board by slimmsehli, from the slimmsehli/RelayBoard repository on GitHub. It is a 2-layer board of 74.5 × 63 mm with 33 parts on 38 nets, routed with 146 tracks and 0 vias.

It is built around the BC817. Its parts include 8 resistors, 8 diodes, 5 connectors, 4 ICs and 4 transistors. It belongs with the home automation and IoT boards of this library.

Main components

1

README

README

🟢 4-Channel Relay Board with Opto-Isolation for Arduino/Raspberry Pi

This project is a modular, 4-channel relay control board designed for microcontrollers like **Arduino, Raspberry Pi, ESP32, etc. The board features opto-isolation for electrical protection and safety, and is ideal for home automation, IoT, or industrial control applications.


📦 Features

  • ✅ 4 independent relays (SPDT type) – control AC/DC loads up to 250V AC / 30V DC
  • ✅ 4 opto-isolated inputs – control each relay with 3.3V or 5V logic
  • ✅ Load-side isolation – added safety through PCB cutouts (drilled part under relay contacts)
  • ✅ Status indicator LEDs – per-relay operation feedback
  • ✅ Designed for Arduino, Raspberry Pi, ESP8266, ESP32, etc.
  • ✅ Screw terminals for easy wiring of relays and power

⚙️ Technical Specs

FeatureDescription
Relay type5V SPDT
Input voltage5V logic compatible
IsolationOptical + PCB drilled spacing
Max switching10A 250V AC / 10A 30V DC
Board size65mmx70mm
Control headers4-pin input control (IN1–IN4)
Load terminalsNO, COM, NC per relay

📌 Pinout

PinDescription
IN1Control for Relay 1
IN2Control for Relay 2
IN3Control for Relay 3
IN4Control for Relay 4
VCCInput side power (5V)
GNDGround

Each control input drives one relay via an optocoupler for full isolation.


Schematic circuit PCB 3D view

Parts

33
QtyValueFootprintReferences
41KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1, R3, R5, R7
41N4007Diode_THT:D_DO-41_SOD81_P10.16mm_HorizontalD1, D4, D6, D8
4510RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR2, R4, R6, R8
4BC817Package_TO_SOT_SMD:SOT-23Q1, Q2, Q3, Q4
4Conn_01x03_PinTerminalBlock:TerminalBlock_bornier-3_P5.08mmJ1, J2, J3, J4
4LEDLED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolderD2, D3, D5, D7
4PC817Package_DIP:DIP-4_W7.62mmU1, U2, U3, U4
4SANYOU_SRD_Form_CRelay_THT:Relay_SPDT_SANYOU_SRD_Series_Form_CK1, K2, K3, K4
1Conn_01x06_PinConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ5

More from slimmsehli/RelayBoard

1
  • 2 layers63 × 75 mmRelay board v0, the printed circuit board in 3D

    Relay board v0

    slimmsehli/RelayBoard

    Relay Board for 250VAC/10VDC controlled by 5v

    33 parts

Similar boards

  • 2 layers72 × 42 mmNRF24 jammer, the printed circuit board in 3D

    NRF24 jammer

    W0rthlessS0ul/nRF24_jammer

    The nRF24 jammer is a powerful tool that requires an ESP32 and configurable numbers of NRF24 modules to assemble.

    51 parts1kMIT
  • 2 layers271.8 × 114.3 mmArdumower mega shield svn, the printed circuit board in 3D

    Ardumower mega shield svn

    Ardumower/ardumower

    Develop an open source robotic lawn mower (HW+SW reference platform)

    426 parts282
  • 2 layers65 × 56.5 mmRPiG3iMac, the printed circuit board in 3D

    RPiG3iMac

    qbancoffee/imac_g3_ivad_board_init

    iMac G3 IVAD board initialization with an arduino

    44 parts240LGPL-3.0
  • 6 layers83.5 × 56 mmEspiff v3 1, the printed circuit board in 3D

    Espiff v3 1

    MDCservice/EsPiFF

    An ESP32 in the Raspberry Pi form factor

    172 parts223GPL-3.0
  • 2 layers87.9 × 98.7 mmBitdoglab smd, the printed circuit board in 3D

    Bitdoglab smd

    BitDogLab/BitDogLab

    Open-source educational hardware for embedded systems, programming, electronics, and physical computing.

    138 parts203
  • 2 layers77 × 100 mmBeamer1, the printed circuit board in 3D

    Beamer1

    shufps/diy-projector-clock

    DIY Projector Clock

    283 parts172
  • 2 layers84.2 × 52 mmPicoPico, the printed circuit board in 3D

    PicoPico

    DavidVentura/PicoPico

    Pico-8 Player

    57 parts141
  • 4 layers129 × 104.6 mmPC-1100X, the printed circuit board in 3D

    PC-1100X

    zscircuits/zs1100a

    All files hardware and software related to the zs1100a

    528 parts76

Questions

How big is the Relay board v2 PCB?

It measures 74.5 × 63 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Relay board v2 use?

33 parts, built around the BC817. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Relay board v2 KiCad files?

From the slimmsehli/RelayBoard repository on GitHub, at the commit this page was made from: the board is Relay_board_kiCad_v2/Relay_board_v2.kicad_pcb and its schematic Relay_board/Relay_board/Relay_board.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Relay board v2 design in my own project?

Its repository states no licence, so its author keeps all rights: ask slimmsehli before reusing the design.