Skip to the content
2 layers102 × 84 mmRelayCard, the printed circuit board in 3D

Design of schematic and PCB for Relay Card control over USB and CAN based on STM32

Size
102 × 84 mm
Copper layers
2
Thickness
1.6 mm
Parts
81
Nets
87
Pads
311
Tracks, vias
805, 80
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
14 Feb 2019
Updated
18 Feb 2019

Overview

RelayCard is an open-source printed circuit board by chapppy, from the chapppy/Board-for-Relay-Card repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 102 × 84 mm with 81 parts on 87 nets, routed with 805 tracks and 80 vias.

It is built around the STM32F072C8T6, SN65HVD233D and ULN2003A, with the USBLC6-2SC6, IRLML6402TRPBF and STPS1L30A among its other parts. Its parts include 17 diodes, 14 capacitors, 14 resistors, 7 switches and 6 ICs. It belongs with the home automation and IoT boards and the STM32 boards of this library.

Main components

6

README

README.md

Board-for-Relay-Card

This repository contains design of schematic and PCB for Relay Card. This board support:

  • up to 7 relays (with SPDT contacts)
  • additional 7 relays on extra board
  • control of relay over USB
  • control of relay over CAN
  • single power supply from USB
  • possibility of external power supply (for board control over CAN)

This is based on STM32 microcontroller F0 family (STM32F072C8T6). This microcontroller supports USB and in advance it support crystal-less USB. The CAN driver is also available.

The goal is use as less parts as possible with consideration of hand soldering. All the part should be simple to get or replace with another compatible. The design is simple two layer board with most of the parts (and all necessary) on top layer. The design fits to box for DIN lath.

This is related to these repositories: Firmware-for-Relay-Card Sample-GUI-for-Relay-Card Board-for-Relay-Card

schematic

full schematic

In case of control only over USB and 4 relays, there is reduced schematic: reduced schematic

PCB design

PCB-top PCB-bottom

data for manufacturing

manufacturing data

Parts

81
QtyValueFootprintReferences
8570RResistors_SMD:R_0805_HandSolderingR6, R7, R8, R9, R10, R11, R12, R13
8LEDDiodes_SMD:D_0805D3, D4, D5, D6, D7, D8, D9, D10
7Conn_01x03Connectors_Terminal_Blocks:TerminalBlock_bornier-3_P5.08mmREL_1, REL_2, REL_3, REL_4, REL_5, REL_6, REL_7
7G5SB-5VRelays_THT:Relay_SPDT_OMRON-G5QK1, K2, K3, K4, K5, K6, K7
6100nCapacitors_SMD:C_0805_HandSolderingC2, C6, C7, C9, C10, C14
6DDiodes_SMD:D_SOD-123D12, D13, D14, D15, D16, D17
2 100nCapacitors_SMD:C_0805_HandSolderingC4, C5
210uF/16VCapacitors_Tantalum_SMD:CP_Tantalum_Case-B_EIA-3528-21_HandC11, C12
222pCapacitors_SMD:C_0805_HandSolderingC13, C15
233kResistors_SMD:R_0805_HandSolderingR3, R14
2IRLML6402TRPBFTO_SOT_Packages_SMD:SOT-23Q1, Q2
2SD110-16Resistors_SMD:R_1812_HandSolderingF1, F2
2ULN2003AHousings_SOIC:SOIC-16_3.9x9.9mm_Pitch1.27mmU5, U6
1100KResistors_SMD:R_0805_HandSolderingR1
1100kResistors_SMD:R_0805_HandSolderingR15
110kResistors_SMD:R_0805_HandSolderingR4
1120RResistors_SMD:R_0805_HandSolderingR5
12.2uF/6.3VCapacitors_Tantalum_SMD:CP_Tantalum_Case-A_EIA-3216-18_HandC8
147uF/16VCapacitors_Tantalum_SMD:CP_Tantalum_Case-C_EIA-6032-28_HandC1
15v1Diodes_SMD:D_SOD-323D2
18MHzCrystals:Crystal_HC49-4H_VerticalY1
1AZ1117-3.3TO_SOT_Packages_SMD:SOT-223U3
1Conn_01x02Connectors_Terminal_Blocks:TerminalBlock_bornier-2_P5.08mmJ13
1Conn_01x05Pin_Headers:Pin_Header_Straight_1x05_Pitch2.54mmJ3
1Conn_01x09_MaleConnectors_DSub:DSUB-9_Female_Horizontal_Pitch2.77x2.84mm_EdgePinOffset7.70mm_Housed_MountingHolesOffset9.12mmJ4
1Conn_02x11_Odd_EvenPin_Headers:Pin_Header_Straight_2x11_Pitch2.54mmJ1
1DDiodes_SMD:D_SOD-323D11
1JumperPin_Headers:Pin_Header_Straight_1x02_Pitch2.54mmJP1
1Jumper_NC_DualPin_Headers:Pin_Header_Straight_1x03_Pitch2.54mmJP2
1STM32F072C8T6Housings_QFP:LQFP-48_7x7mm_Pitch0.5mmU2
1STPS1L30ADiodes_SMD:D_SMAD1
1USBLC6-2SC6TO_SOT_Packages_SMD:SOT-23-6U1
1USB_BConnectors:USB_BJ2
1sn65hvd233Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mmU4

The 77 most common of 81 parts.

Similar boards

  • 2 layers59 × 22 mmCANberry, the printed circuit board in 3D

    CANberry

    joshajohnson/car-hacking

    A repo for assorted tools, projects, and documentation.

    86 parts2
  • 4 layers50 × 20 mmGCode Buttons MCU, the printed circuit board in 3D

    GCode Buttons MCU

    meteyou/klipper-gcode-buttons

    The Klipper Gcode-Buttons offer a unique control and status display solution in 3D printers and automated systems.

    57 parts2GPL-3.0
  • 2 layers66.7 × 81 mmMacropad v1.0, the printed circuit board in 3D

    Macropad v1.0

    benpegg23/ParPad

    3x3 macropad with 2 rotary encoders using STM32

    52 parts
  • 2 layers389.5 × 155.3 mmPENIS, the printed circuit board in 3D

    PENIS

    JakeLikesCake/pcb_epic_new_inovation_system_aka_penis

    395 parts
  • 2 layers80 × 50 mmChao Recruit, the printed circuit board in 3D

    Chao Recruit

    scottcjx/Chao-Recruit

    137 partsGPL-3.0
  • 2 layers55.9 × 49.5 mmTyphoonMotherboard rev1 KiCad, the printed circuit board in 3D

    TyphoonMotherboard rev1 KiCad

    hpvdt/typhoon_motherboard

    Folder for each of the boards designed for a given project, even if there is only one board for a given project.

    75 parts1
  • 6 layers34 × 34 mmPAC5527Driver, the printed circuit board in 3D

    PAC5527Driver

    sfunderbots/Electrical

    PCB etc.

    92 parts
  • 4 layers100 × 100 mmFeederController, the printed circuit board in 3D

    FeederController

    atanisoft/Esp32FeederController

    ESP32 based OpenPnP feeder controller

    103 parts10

Questions

How big is the RelayCard PCB?

It measures 102 × 84 mm and has 2 copper layers, 1.6 mm thick.

What parts does the RelayCard use?

81 parts, built around the STM32F072C8T6, SN65HVD233D, ULN2003A and USBLC6-2SC6. 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 RelayCard KiCad files?

From the chapppy/Board-for-Relay-Card repository on GitHub, at the commit this page was made from: the board is relayCard.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the RelayCard design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).