

Sconswitch
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
3MAX232N
PDIP-160℃~+70℃ 120Kbps 2 2 4.5V~5.5V Transceiver PDIP-16 RS232 ICs ROHSTexas InstrumentsRS232 ICsULN2803ADW
SOIC-18-40℃~+85℃@(Ta) 0.93mA 1.6V 1.7V 15pF 30V 500mA 50V 50uA 50uA 65uA 8 BJT SOIC-18 Darlington Transistor Arrays ROHSTexas InstrumentsDarlington Transistor ArraysLM7805CT
TO-2200℃~+70℃@(Ta) 1 1A 20V 2V@(1A) 40uV 5V 62dB@(120Hz) 8mA Fixed Over Current Protection、Short Circuit Protection、Thermal shutdown Positive TO-220 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSTexas InstrumentsVoltage Regulators - Linear, Low Drop Out (LDO) Regulators
README
README.mdSerial 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 helpOutput 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.
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| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | 0u1 | Capacitors_SMD:C_0603 | C3, C4, C6, C7, C8, C9, C11, C12 |
| 4 | ULN2803ADW | Housings_SOIC:SOIC-18_7.5x11.6mm_Pitch1.27mm | IC2, IC3, IC4, IC5 |
| 2 | 22p | Capacitors_SMD:C_0603 | C1, C2 |
| 1 | 10u6V | Capacitors_ThroughHole:C_Radial_D5_L6_P2.5 | C5 |
| 1 | 11059,2kHz | Crystals:Crystal_HC49-U_Horizontal_Typ1 | Y1 |
| 1 | 22u63V | Capacitors_ThroughHole:C_Radial_D10_L13_P5 | C10 |
| 1 | CONN_01X06 | Pin_Headers:Pin_Header_Straight_1x06 | P1 |
| 1 | CONN_02X20 | Pin_Headers:Pin_Header_Straight_2x20 | P2 |
| 1 | DB9 | Connect:DB9FC | J1 |
| 1 | LM7805CT | LM78XX_THT:TO-220_Horizontal_LargePads | U2 |
| 1 | MAX232 | SMD_Packages:SO-16-N | U1 |
| 1 | MEGA8515-A | Housings_QFP:TQFP-44_10x10mm_Pitch0.8mm | IC1 |
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 mm

Similar boards
- 4 layers252 × 92 mm

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 mm

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 mm

OneChipTerminal
profdc9/OneChipTerminal
A single chip VT100 terminal based on the STM32F103C8T6/CS32F103C8T6
33 parts10 - 2 layers173 × 85 mm

Audio board
EleonoreMizo/pedalevite
Pédale Vite — DIY multi-FX pedalboard for guitar/bass/etc.
268 parts101WTFPL - 2 layers169.3 × 128 mm

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 layers

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 mm

Analog and ad9958
balmerdx/BalmerDX_VNA
Vector Network Analyzer 10 KHz - 180 MHz
226 parts26BSD-2-Clause - 4 layers100 × 100 mm
