Skip to the content
PCBKitNew board
2 layers96.5 × 68.6 mmSconswitch, the printed circuit board in 3D

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

Size
96.5 × 68.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
27
Nets
99
Pads
223
Tracks, vias
391, 5
Routed
Yes
KiCad
KiCad 4
Created
20 Mar 2016
Updated
20 Mar 2016

Overview

Sconswitch is an open-source printed circuit board by omdvd, from the omdvd/sconswitch repository on GitHub. It is a 2-layer board of 96.5 × 68.6 mm with 27 parts on 99 nets, routed with 391 tracks and 5 vias.

It is built around the MAX232N, ULN2803ADW and LM7805CT. Its parts include 12 capacitors, 7 ICs, 3 connectors and 1 crystal.

Main components

3

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

27
QtyValueFootprintReferences
80u1Capacitors_SMD:C_0603C3, C4, C6, C7, C8, C9, C11, C12
4ULN2803ADWHousings_SOIC:SOIC-18_7.5x11.6mm_Pitch1.27mmIC2, IC3, IC4, IC5
222pCapacitors_SMD:C_0603C1, C2
110u6VCapacitors_ThroughHole:C_Radial_D5_L6_P2.5C5
111059,2kHzCrystals:Crystal_HC49-U_Horizontal_Typ1Y1
122u63VCapacitors_ThroughHole:C_Radial_D10_L13_P5C10
1CONN_01X06Pin_Headers:Pin_Header_Straight_1x06P1
1CONN_02X20Pin_Headers:Pin_Header_Straight_2x20P2
1DB9Connect:DB9FCJ1
1LM7805CTLM78XX_THT:TO-220_Horizontal_LargePadsU2
1MAX232SMD_Packages:SO-16-NU1
1MEGA8515-AHousings_QFP:TQFP-44_10x10mm_Pitch0.8mmIC1

The 23 most common of 27 parts.

Questions

How big is the Sconswitch PCB?

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

What parts does the Sconswitch use?

27 parts, built around the MAX232N, ULN2803ADW and LM7805CT. 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 KiCad files?

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

Can I use the Sconswitch design in my own project?

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

More from omdvd/sconswitch

1
  • 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

    66 parts

Similar boards

  • 4 layers252 × 92 mmCooksense, the printed circuit board in 3D

    Cooksense

    misko/prompt2device

    The separate vNext PCB skill and orchestrator package is available alongside the reference workflow below; existing projects keep their accepted toolchain until an explicit migration.

    195 parts3MIT
  • 2 layers100 × 80 mmOutput board, the printed circuit board in 3D

    Output board

    WestianPKl/pcb-docs

    A collection of custom PCB designs created in KiCAD, centered around the Raspberry Pi Pico (RP2040) platform. Each board is a standalone module that connects to the Main Board and extends its functionality via I2C, SPI…

    76 parts
  • 2 layers67 × 74 mmOneChipTerminal, the printed circuit board in 3D

    OneChipTerminal

    profdc9/OneChipTerminal

    A single chip VT100 terminal based on the STM32F103C8T6/CS32F103C8T6

    33 parts10
  • 2 layers173 × 85 mmAudio board, the printed circuit board in 3D

    Audio board

    EleonoreMizo/pedalevite

    Pédale Vite — DIY multi-FX pedalboard for guitar/bass/etc.

    268 parts101WTFPL
  • 2 layers169.3 × 128 mmPSU PCB, the printed circuit board in 3D

    PSU PCB

    ThomasVDD/SmartSupply

    SmartSupply is a digital battery powered lab powersupply. It is Arduino compatible and can be controlled via PC over USB.

    134 parts96
  • 2 layersT41-Main+RF board V012, the printed circuit board in 3D

    T41-Main+RF board V012

    DRWJSCHMIDT/T41

    This is the repository for the officially released V10, V11, and V12 versions of the T41 Software Defined Transceiver hardware and kits.

    255 parts66
  • 4 layers97.6 × 145.1 mmAnalog and ad9958, the printed circuit board in 3D

    Analog and ad9958

    balmerdx/BalmerDX_VNA

    Vector Network Analyzer 10 KHz - 180 MHz

    226 parts26BSD-2-Clause