

Switch
Beverage antenna switch for 6 antenna's
- Size
- 130 × 100 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 64
- Nets
- 80
- Pads
- 269
- Tracks, vias
- 645, 85
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 14 Sep 2026
- Updated
- 16 Sep 2026
Overview
Switch is an open-source printed circuit board by PA1ASB, from the PA1ASB/BAS6 repository on GitHub. It is a 2-layer board of 130 × 100 mm with 64 parts on 80 nets, routed with 645 tracks and 85 vias.
It is built around the TLP291-4, ULN2003A and 1N4148W, with the EE2-5TNU-L and SMAJ18CA-TR among its other parts. Its parts include 18 diodes, 16 resistors, 7 ICs, 6 capacitors and 6 switches. It belongs with the radio and wireless boards and the PIC boards of this library.
Main components
5TLP291-4
SOIC16Quad Channel Optocoupler, Phototransistor OutputToshibaUncategorisedULN2003A
SOP-16-40℃~+85℃ 0.93mA 100uA 15pF 20uA 30V 50V Seven channels SOP-16 Darlington Transistor Arrays ROHSUMWDarlington Transistor Arrays1N4148W
SOD-123150mA 1A 1V@50mA 1uA@75V 400mW 4ns 75V Independent SOD-123 Switching Diodes ROHSSTMicroelectronicsSwitching DiodesEE2-5TNU-L
SMD,7.5x15mmSMD,7.5x15mm Signal Relays ROHSKEMETSignal RelaysSMAJ18CA-TR
SMA(DO-214AC)-55℃~+150℃ 18V 200nA 20V 39.3V 400W 59A@8/20us Bidirectional IEC 61000-4-2、IEC 61000-4-5 TVS SMA(DO-214AC) ESD and Surge Protection (TVS/ESD) ROHSSTMicroelectronicsESD And Surge Protection (TVS/ESD)
README
README.mdBAS6 - Remote controlled receive antenna switch for 6 beverage antennas
This project describes a 6-way receive antenna switch I built for a fellow radio amateur that allows to select one of six beverage wire antennas remotely and producing as little as possible noise around the connection to his receive amplifier. Using bi-stable relays makes it possible to completely disconnect power to the relays once an antenna has been selected. Switching is controlled by a small circuit, built in a tiny aluminium extrusion desktop enclosure, using two UP/DOWN tactile switches. Bi-colour LED’s on the from panel indicate the currently connected antenna and, when using the selection buttons, the next antenna to be switched on. Connection between the control station in the shack and the actual relay box requires 4 wires; using cheap UTP/FTP is therefore possible. The circuit should work over distances in excess of 200 meters as communication between the stations is done through two current loops (receive and transmit).

Control unit and relay box communicate “digitally” by sending some pulses to and fro, the number of which determine what the relaybox should actually do. After executing a command, the circuit measures which relay is actually switched on / off and reports this back to the control unit again as a series of pulses. If for whatever reason the reported switch state differs from what has been commanded, an error is indicated so that the user knows there’s something wrong. This will prevent unnecessary walks from the shack to the antenna connections: what is indicated on the control unit is the actual state.

The antennas are connected to the switch on the PVC junction box. I have made quite some effort in making the box and connections that are located outside of the box as watertight as possible but I guess that it is still advisable to make some additional protection to prevent direct exposure to the environment.


You can find the schematics of both units both as PDF and KiCAD v10 files as well as the C sources. I have also included BOM files for the PCB’s. There’s some additional hardware required such as stainless steel hardware for the antenna connections and switches to control the relays; these are not mentioned in these files. I have built the software in MPLAB IDE with the XC8 1.33 compiler. The C source should also compile in the newer MPLAB X IDE with the newer compiler versions but I believe that there are some minor syntax changes between the old and new versions which obviously need to be resolved. Google will be your friend for that, I guess.

Parts
64| Qty | Value | Footprint | References |
|---|---|---|---|
| 13 | 1N4148W | Diode_SMD:D_SOD-123 | D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, D16, D17, D18 |
| 9 | 4k7 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R2, R7, R8, R9, R10, R11, R12, R13, R14 |
| 8 | MountingHole_Pad | MountingHole:MountingHole_4.3mm_M4_Pad_TopBottom | ANT1, ANT2, ANT3, ANT4, ANT5, ANT6, PREAMP_GND1, PREAMP_HOT1 |
| 6 | EE2-5TNU-L | Relay_SMD:Relay_DPDT_Kemet_EE2_NU_DoubleCoil | K1, K2, K3, K4, K5, K6 |
| 4 | 100n | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C1, C3, C4, C5 |
| 3 | 10R/1W | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R1, R4, R5 |
| 3 | SMAJ18CA-TR | Diode_SMD:D_SMA | D1, D2, D3 |
| 2 | TLP291 | Package_SO:SOIC-4_4.55x2.6mm_P1.27mm | U1, U2 |
| 2 | ULN2003A | Package_SO:SOIC-16_3.9x9.9mm_P1.27mm | U6, U7 |
| 1 | 100u/25V | Capacitor_SMD:CP_Elec_10x10 | C6 |
| 1 | 10k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R26 |
| 1 | 10n | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C2 |
| 1 | 1N4007 | Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal | D5 |
| 1 | 1k2 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R6 |
| 1 | 330R | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R15 |
| 1 | 4x 10R/1W | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R3 |
| 1 | 4x SMAJ18CA-TR | Diode_SMD:D_SMA | D4 |
| 1 | AZ1117-5.0 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U5 |
| 1 | MCP23017x-x-SO | Package_SO:SOIC-28W_7.5x17.9mm_P1.27mm | U4 |
| 1 | MountingHole_Pad | MountingHole:MountingHole_5.3mm_M5_DIN965_Pad_TopBottom | GROUND1 |
| 1 | PIC16F1829-IP | Package_SO:SOIC-20W_7.5x12.8mm_P1.27mm | U3 |
| 1 | PROG | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J4 |
| 1 | Screw_Terminal_01x04 | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-4-2.54_1x04_P2.54mm_Horizontal | J1 |
Questions
How big is the Switch PCB?
It measures 130 × 100 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Switch use?
64 parts, built around the TLP291-4, ULN2003A, 1N4148W and EE2-5TNU-L. 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 Switch KiCad files?
From the PA1ASB/BAS6 repository on GitHub, at the commit this page was made from: the board is hardware/switch/switch.kicad_pcb and its schematic hardware/controller/controller.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Switch design in my own project?
Its repository states no licence, so its author keeps all rights: ask PA1ASB before reusing the design.
More from PA1ASB/BAS6
1- 2 layers104 × 99 mm

Similar boards
- 2 layers60 × 70 mm

- 2 layers112.7 × 110.8 mm

- 2 layers100.3 × 60.3 mm

- 2 layers64.3 × 34.3 mm

12V relay-5v drive
LuCy4n3/SmartPotProject
This are all the apps required, except Programmer I didn't code that, for the SmartPot PCB too work with the app GreenGrowApp.
4 parts - 2 layers89.5 × 62.2 mm

Module do
andreili/STM32-PLC
The project is open source and open hardware, the purpose of which is to create a PLC based on STM32 MCU's.
139 parts69GPL-3.0 - 2 layers67.5 × 21.5 mm

- 2 layers

- 2 layers
