Skip to the content
2 layers43.2 × 68.6 mmSconswitch testbench, the printed circuit board in 3D

Sconswitch testbench

omdvd/sconswitch

AVR-based RS-232 controlled 32-outputs port switch

Size
43.2 × 68.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
66
Nets
68
Pads
170
Tracks, vias
142, 0
Routed
Yes
KiCad
KiCad 4
Created
20 Mar 2016
Updated
20 Mar 2016

Overview

Sconswitch testbench is an open-source printed circuit board by omdvd, from the omdvd/sconswitch repository on GitHub. It is a 2-layer board of 43.2 × 68.6 mm with 66 parts on 68 nets, routed with 142 tracks and 0 vias.

Its parts include 32 resistors, 32 diodes and 2 connectors.

README

README.md

Serial Controlled Switch

Device description

Device have 32 high voltage open collector outputs, controlled by commands via RS-232 port. Outputs can be in active or passive state and can drive relays, solenoids, LEDs, opto triacs etc. Active state - output transistor open, passive state - output transistor closed.

Device can be used in power control, lighting or any other suitable applications.

Device connects to controlled system via 40-wire ribbon cable and to controlling host via DE9 connector.

Device IS NOT realtime and may not used in time-sensitive applications, e.g. CNC.

Device built on microcontroller ATmega8515-16 in TQFP44 package and drivers ULN2803A in SOIC-18 package.

In firmware part used [KonstantinChizhov/Mcucpp library] (https://github.com/KonstantinChizhov/Mcucpp) and [Peter Fleury UART library] (http://homepage.hispeed.ch/peterfleury/avr-software.html). Firmware compiled by avr-gcc-4.8, pcb designed in KiCAD-4.0.1.

Supported commands

a N|a - Active output number N (or all) p N|a - Passive output number N (or all) t N D - Toggle output N for D (1-255) seconds, press s for stop during countdown n NAME - Output name, set to NAME or unset if empty given s - Show output status h or ? - Show this help

Output status saved automatically to EEPROM with Active or Passive commands and restored when power-up. Commands are not case sensitive. Command line are not editable.

Outputs have numbers from 0 to 31. Toggle means temporary inversion of output state.

Demo video

Electrical characteristics

Supply voltage: 9-15V Supply current: 25mA at 10V Max voltage on closed output: 50V Max current via one open output: 500mA Max total current via all open outputs: 4A (125mA per output and 2x2A per two ground wires in ribbon cable)

Characteristics depend on applied components.

RS-232 mode

9600 8N1

Design Recommendations

  • Use short as possible ribbon cable.
  • Use only 40-wire ribbon cable, not 80-wire UDMA cable.
  • ULN2803 have built-in surge protection diodes for inductive load, but better use discrete diodes, placed as close as possible to coil.

Parts

66
QtyValueFootprintReferences
322k2Resistors_SMD:R_0805R1, R2, R10, R11, R12, R13, R14, R15, R16, R17, R18, R19, R20, R21, R22, R23 +16
32LEDLEDs:LED_0805D1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +16
1CONN_01X02Terminal_Blocks:TerminalBlock_Pheonix_MKDS1.5-2polP1
1CONN_02X20Pin_Headers:Pin_Header_Straight_2x20P2

More from omdvd/sconswitch

1
  • 2 layers96.5 × 68.6 mmSconswitch, the printed circuit board in 3D

    Sconswitch

    omdvd/sconswitch

    AVR-based RS-232 controlled 32-outputs port switch

    27 parts

Similar boards

  • 2 layers126.5 × 83 mmPcb pro controller, the printed circuit board in 3D

    Pcb pro controller

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    66 parts915
  • 2 layers94.6 × 46.1 mmHeaterMeterPI, the printed circuit board in 3D

    HeaterMeterPI

    CapnBry/HeaterMeter

    HeaterMeter and LinkMeter Arduino BBQ Controller

    66 parts557MIT
  • 2 layers56.9 × 35.2 mmAmoeba tp, the printed circuit board in 3D

    Amoeba tp

    mtl/keyboard-pcbs

    Keyboard PCBs

    66 parts485
  • 2 layers82 × 120 mmSample Numeric Keyboard, the printed circuit board in 3D

    Sample Numeric Keyboard

    famichu/MagLev_Switch_MX

    The 3D printable magnetic levitation contactless switch with the linear output hall effect sensor.

    66 parts467
  • 2 layers136.8 × 98.6 mmHillside, the printed circuit board in 3D

    Hillside

    mmccoyd/hillside

    Family of split ergonomic keyboards with three rows of six or five keys and a generous thumb arc

    66 parts448MIT
  • 2 layers115.7 × 95.7 mmFifi split keeb, the printed circuit board in 3D

    Fifi split keeb

    raychengy/fifi_split_keeb

    Fifi Keyboard 🐶 ⌨️

    66 parts334
  • 2 layers95.2 × 57.2 mmDomesdayDuplicator, the printed circuit board in 3D

    DomesdayDuplicator

    Domesday86/DomesdayDuplicator

    High-speed LaserDisc RF sampler

    66 parts325GPL-3.0
  • 2 layers96.5 × 66 mmBumperDuino, the printed circuit board in 3D

    BumperDuino

    Ardumower/ardumower

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

    66 parts282

Questions

How big is the Sconswitch testbench PCB?

It measures 43.2 × 68.6 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Sconswitch testbench use?

66 parts. 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 Sconswitch testbench KiCad files?

From the omdvd/sconswitch repository on GitHub, at the commit this page was made from: the board is pcb/sconswitch-testbench.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Sconswitch testbench design in my own project?

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