Skip to the content
PCBKitNew board
2 layers120 × 99.5 mmUSB relay switch, the printed circuit board in 3D

USB relay switch

calcite/ResetBuddy

Simple programmable HW interface for restarting evaluation boards and other electronic devices during automated testing.

Size
120 × 99.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
93
Nets
110
Pads
273
Tracks, vias
786, 70
Pours
2
Routed
Yes
KiCad
KiCad 4
Created
16 Jan 2017
Updated
17 Jan 2017

Overview

USB relay switch is an open-source printed circuit board by calcite, from the calcite/ResetBuddy repository on GitHub, published under the MIT licence. It is a 2-layer board of 120 × 99.5 mm with 93 parts on 110 nets, routed with 786 tracks and 70 vias.

It is built around the MCP2210-I/MQ, IM03DGR and NTR4003N. Its parts include 34 resistors, 18 diodes, 16 connectors, 9 transistors and 3 capacitors. It belongs with the home automation and IoT boards of this library.

Main components

3

README

README.md

RESET BUDDY

This device provides 9 relay outputs with a current rating up to 5A each. It can be fully powered and controlled by standard USB bus. Green LED mounted right next to corresponding relay indicates its state.

connector: USB mini type B Pluggable screw terminal AWG 16 - 26

Board designed with KiCad 4.0.2

Box designed with freecad, based on HAMMOND 1455L1202

Controlling MCP2210:

Installation of lib_usb which in needed for running MCP2210

text
$apt-get update
$apt-get upgrade
$apt-get install python3-dev
$apt-get install cython3
$apt-get install libusb-1.0.0 libusb-1.0.0-dev libudev-dev
$pip3 install hidapi

Testing can be made with microchip utility: http://ww1.microchip.com/downloads/en/DeviceDoc/MCP2210Utility_v1.2.2.zip Full control can be reached with utility attached to this project (RB utility).

RB utility control: run python script with paramethers. Syntax is: python RB_utility.py [time] parameter time is not obligatory

supported operations:

  • set = s – sets or clears pin (puts the pin into state 0 or 1)
  • get = g – reads state of pin
  • reset = r – sets pin for time (in seconds), then clears it
  • rev_reset = rev – opposite of reset
  • clearall = c - clears all pins
  • test = t - visual test
  • crazy! - even better test

For some operations there is no need for all other parameters but you always have to put them in (poor programming skills).

allowed pin inputs: 1,2,3,4,5,6,7,8,9,all,a,x (a = all, x for operations without pin input)

allowed state iputs: 0,1,x (x for operations without state input)

time parameter only for reset operation. You must put –t ahead of the parameter itself

examples:

text
python RB_utility.py set 1 1	//sets pin 1 into logic 1
python RB_utility.py r 9 x –t 1	//sets pin 9 for 1 second, then clears it 
python RB_utility.py crazy! x x 	//just try it ;) 

love is all around us

Parts

93
QtyValueFootprintReferences
9150Resistors_SMD:R_0805_HandSolderingR2, R7, R10, R13, R16, R19, R21, R25, R27
9560Resistors_SMD:R_0805_HandSolderingR4, R8, R11, R14, R17, R22, R23, R28, R29
956kResistors_SMD:R_0805_HandSolderingR1, R6, R9, R12, R15, R18, R20, R24, R26
9CONN_01X02USBswitchFootprints:CTB932HD2P1, P2, P3, P4, P5, P6, P7, P8, P9
9IM03DGRUSBswitchFootprints:IM03DGRREL1, REL2, REL3, REL4, REL5, REL6, REL7, REL8, REL9
9LEDLEDs:LED-3MMD1, D2, D3, D4, D5, D6, D7, D8, D9
9NTR4003NTO_SOT_Packages_SMD:SOT-23Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8, Q9
9S1FLDUSBswitchFootprints:DO-219AB_SMFD11, D12, D13, D14, D15, D16, D17, D18, D19
50RResistors_SMD:R_0805_HandSolderingR30, R31, R32, R33, R34
2FERResistors_SMD:R_0603_HandSolderingL1, L2
10.1uFCapacitors_SMD:C_0805_HandSolderingC2
11MResistors_SMD:R_0805_HandSolderingR3
11uFCapacitors_SMD:C_0805_HandSolderingC3
1390Resistors_SMD:R_0805_HandSolderingR5
14.7nFCapacitors_SMD:C_0805_HandSolderingC1
1CONN_01X03Pin_Headers:Pin_Header_Straight_1x03P10
1GP4USBswitchFootprints:Pin_Header_Straight_1x01P12
1GP5USBswitchFootprints:Pin_Header_Straight_1x01P13
1GP6USBswitchFootprints:Pin_Header_Straight_1x01P14
1GP7USBswitchFootprints:Pin_Header_Straight_1x01P15
1GP8USBswitchFootprints:Pin_Header_Straight_1x01P16
1MCP2210Housings_SOIC:SOIC-20_7.5x12.8mm_Pitch1.27mmIC1
1Resonator_12MHzUSBswitchFootprints:rezonator_murrataU1
1USB_miniUSBswitchFootprints:USB_Mini-BP11

Questions

How big is the USB relay switch PCB?

It measures 120 × 99.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the USB relay switch use?

93 parts, built around the MCP2210-I/MQ, IM03DGR and NTR4003N. 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 USB relay switch KiCad files?

From the calcite/ResetBuddy repository on GitHub, at the commit this page was made from: the board is RESET_BUDDY_v1.0.1/USB relay switch.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the USB relay switch design in my own project?

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

Similar boards

  • 2 layers72.4 × 78.7 mmAudioInterface, the printed circuit board in 3D

    AudioInterface

    Diabltica/AudioInterface

    An hardware audio interface featuring an ouput selector and an amplifier powered by usb C

    91 parts
  • 4 layers30 × 30 mmLmp91000-pcb, the printed circuit board in 3D

    Lmp91000-pcb

    sigmondkukla/lmp91000

    This repository contains the C++ firmware for the custom potentiostat platform (featuring an LMP91000 analog front end, EFR32BG24 MCU, and an LSM6DSV IMU) alongside a Python-based real-time wireless BLE debugging client.

    54 parts1
  • 4 layers65 × 69.5 mmWireless charger, the printed circuit board in 3D

    Wireless charger

    ocean-discovery-league/maka-niu-design-files

    All files needed to build a Maka Niu

    117 parts
  • 4 layers40 × 50 mmCamboard, the printed circuit board in 3D

    Camboard

    daveshah1/openMixR

    4k Mixed Reality headset

    19 parts40MIT
  • 2 layers40 × 16 mmUsb evp lora, the printed circuit board in 3D

    Usb evp lora

    cbalint13/usb-evp

    USB Event Packet (LoRA) Stick

    20 parts2GPL-3.0
  • 2 layers152 × 38.6 mmRozhrani semestralka, the printed circuit board in 3D

    Rozhrani semestralka

    misisnik/ExternalInterface

    Bacheor these - An external user interface with USB

    73 parts1MIT
  • 2 layers89.5 × 66 mmTracer, the printed circuit board in 3D

    Tracer

    adrians/tracer

    Caracterograf pt. laboratoarele de electronica - UNSTABLE

    26 partsApache-2.0