Skip to the content
PCBKitNew board
2 layers100.6 × 78.2 mmSecurity System Arduino Shield, the printed circuit board in 3D

Security System Arduino Shield

KhaledGhanem0/PCB-Shield-Security-System1

KiCad PCB shield design for an Arduino Mega-based multi-zone security system. Two-layer, through-hole, hand-solderable board replacing the breadboard prototype.

Size
100.6 × 78.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
33
Nets
97
Pads
176
Tracks, vias
283, 12
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
18 May 2026
Updated
18 May 2026

Overview

Security System Arduino Shield is an open-source printed circuit board by KhaledGhanem0, from the KhaledGhanem0/PCB-Shield-Security-System repository on GitHub, published under the MIT licence. It is a 2-layer board of 100.6 × 78.2 mm with 33 parts on 97 nets, routed with 283 tracks and 12 vias.

Its parts include 21 connectors, 3 diodes and 1 resistor. It belongs with the microcontroller boards boards and the AVR (ATmega, ATtiny) boards of this library.

README

README.md

Custom PCB Shield for Multi-Zone Security System

Tool Layer Count Board Size License

A custom two-layer Arduino Mega shield PCB designed to replace the breadboard prototype of the Multi-Zone Smart Security System. The board consolidates all control and sensing connections into a single, permanent, and reliable hardware platform.

🔗 Firmware Repository: Multi-Zone Smart Security System


Table of Contents


Overview

This project is a direct continuation of the Multi-Zone Smart Security System. The breadboard prototype, while functional, was not a reliable or permanent form factor. This shield was designed in KiCad to produce a clean, manufacturable PCB that sits directly on top of the Arduino Mega 2560 and exposes all the necessary connectors for the system's peripherals.

The design follows standard Arduino shield dimensions, ensuring mechanical compatibility with the Mega footprint. All components are through-hole (THT), making the board straightforward to solder by hand. The schematic was drawn as a single sheet with clear net labeling, and the PCB layout was routed with dedicated power and signal trace widths, a ground copper pour on the back copper layer, and a defined keep-out zone to avoid interference with the Arduino's onboard components.


Schematic

The schematic captures the complete connectivity of all shield components in a single sheet. Each peripheral is connected to the appropriate Arduino Mega pins, with net labels used throughout to keep the diagram readable and avoid long crossing wires.

schemtic_image

Key connections documented in the schematic:

  • RFID Reader (MFRC522) — SPI bus (MOSI, MISO, SCK) with a dedicated chip-select pin
  • ESP8266 Wi-Fi Module — Serial1 hardware UART (TX1 / RX1, pins 18–19)
  • LCD Screen — 4-bit parallel interface
  • 4×4 Keypad — 8 digital I/O pins (4 rows, 4 columns)
  • PIR Sensors & Reed Switches — Digital input pins, one per sensor across all three zones
  • Buzzers — Digital output pins, one per zone
  • Power distribution — 5 V and 3.3 V rails routed from the Arduino's onboard regulators to the appropriate peripherals

PCB Layout

The PCB is sized to match Arduino Mega shield dimensions, with connectors positioned to align with the Mega's header rows. Components are placed on the front side only (all THT). A keep-out zone is defined over the Arduino's onboard USB and power jack area to prevent clearance violations.

PCB Layout

Routing highlights:

  • Signal traces routed at 0.25 mm width
  • Power traces routed at 0.5 mm width
  • 12 vias used to transition signals between layers where needed
  • Ground copper pour applied to the full B.Cu (back copper) layer, connected to the GND net
  • All 5 V connections made through dedicated routed tracks on F.Cu

3D Render

The images below show the KiCad 3D render of the board before fabrication. All component footprints are placed on the front side of the board.

Front 3D Render

Back 3D Render


Design Specifications

Board Stackup

LayerTypeThicknessMaterial
F.SilkscreenTop Silk Screen——
F.PasteTop Solder Paste——
F.MaskTop Solder Mask0.01 mm—
F.CuCopper0.035 mm—
Dielectric 1Core1.51 mmFR4
B.CuCopper0.035 mm—
B.MaskBottom Solder Mask0.01 mm—
B.PasteBottom Solder Paste——
B.SilkscreenBottom Silk Screen——

Total board thickness: 1.6 mm | Solder mask color: Green

Board Dimensions

PropertyValue
Width100.584 mm
Height78.232 mm
Area7,863 mm²

Routing Rules

ParameterValue
Signal trace width0.25 mm
Power trace width0.50 mm
Minimum clearance0.2 mm
Copper to edge clearance0.075 mm
Minimum via diameter0.4 mm
Minimum drill (through hole)0.3 mm
Hole to hole clearance0.25 mm

Board Statistics

ItemCount
THT components27
Through-hole pads170
NPTH (mounting holes)6
Through vias12
Total components33

Bill of Materials

The table below lists the components used on the shield.

ReferenceValue / DescriptionFootprintQty
DS1WC1602A (LCD Screen)IDC Header 2×8, 2.54 mm1
J1Power HeaderPin Header 1×8, 2.54 mm1
J2PWM HeaderPin Header 1×10, 2.54 mm1
J3, J5Analog HeadersPin Header 1×8, 2.54 mm2
J4PWM HeaderPin Header 1×8, 2.54 mm1
J6Communication HeaderPin Header 1×8, 2.54 mm1
J7Digital HeaderPin Header 2×18, 2.54 mm1
J8ESP-01 (ESP8266 Wi-Fi Module)ESP-01 Module Footprint1
J9, J10Connectors 1×8Pin Header 1×8, 2.54 mm2
J11, J13, J14Screw Terminal 3-pin (PIR Sensors)Phoenix PT 1×3, 5.0 mm3
J12, J15, J16, J17, J18, J19Screw Terminal 2-pin (Reed Switches)Phoenix PT 1×2, 5.0 mm6
J20, J21Socket Connectors 1×6Pin Socket 1×6, 2.54 mm2
D1, D2, D3LED 5 mm (Zone Alarms)LED THT, D5.0 mm3
R1Resistor 220 ΩAxial DIN0207, 7.62 mm pitch1
RV1Potentiometer (LCD Contrast)Bourns 3386P Vertical1

File Structure

text
├── kicad/
│   ├── Security System Arduino Shield.kicad_pro   # KiCad project file
│   ├── Security System Arduino Shield.kicad_sch   # Schematic
│   ├── Security System Arduino Shield.kicad_pcb   # PCB layout
│   └── fp-lib-table                               # Footprint library references
├── images/
│   ├── schematic.pdf                              # Schematic PDF
│   ├── pcb_layout.png                             # PCB layout screenshot
│   ├── 3d_front.png                               # 3D render, front side
│   └── 3d_back.png                                # 3D render, back side
├── LICENSE
└── README.md

License

This project is licensed under the MIT License.

Parts

33
QtyValueFootprintReferences
6MountingHole_3.2mmArduino_MountingHole:MountingHole_3.2mmMH1, MH2, MH3, MH4, MH5, MH6
6Screw_Terminal_01x02TerminalBlock_Phoenix:TerminalBlock_Phoenix_PT-1,5-2-5.0-H_1x02_P5.00mm_HorizontalJ12, J15, J16, J17, J18, J19
3LEDLED_THT:LED_D5.0mmD1, D2, D3
3Screw_Terminal_01x03TerminalBlock_Phoenix:TerminalBlock_Phoenix_PT-1,5-3-5.0-H_1x03_P5.00mm_HorizontalJ11, J13, J14
2AnalogConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalJ3, J5
2Conn_01x06_SocketConnector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_VerticalJ20, J21
2Conn_01x08Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalJ9, J10
1220Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1
1CommunicationConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalJ6
1Conn_02x04_Odd_EvenRF_Module:ESP-01J8
1DigitalConnector_PinHeader_2.54mm:PinHeader_2x18_P2.54mm_VerticalJ7
1PWMConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalJ4
1PWMConnector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_VerticalJ2
1PowerConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalJ1
1R_PotentiometerPotentiometer_THT:Potentiometer_Bourns_3386P_VerticalRV1
1WC1602AConnector_IDC:IDC-Header_2x08_P2.54mm_VerticalDS1

Questions

How big is the Security System Arduino Shield PCB?

It measures 100.6 × 78.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Security System Arduino Shield use?

33 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 Security System Arduino Shield KiCad files?

From the KhaledGhanem0/PCB-Shield-Security-System repository on GitHub, at the commit this page was made from: the board is kicad/Security System Arduino Shield.kicad_pcb and its schematic kicad/Security System Arduino Shield.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Security System Arduino Shield 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 layers65 × 30 mmRgb to hdmi, the printed circuit board in 3D

    Rgb to hdmi

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    33 parts1kGPL-3.0
  • 2 layers127 × 96 mmAmiga gfxcard, the printed circuit board in 3D

    Amiga gfxcard

    mntmn/amiga2000-gfxcard

    MNT VA2000, an Open Source Amiga 2/3/4000 Graphics Card (Zorro II/III), written in Verilog

    33 parts1k
  • 2 layers92.7 × 58.4 mmHacky holidays, the printed circuit board in 3D

    Hacky holidays

    hackclub/OnBoard

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

    33 parts915
  • 2 layers240 × 120 mmQuiver PDB 01, the printed circuit board in 3D

    Quiver PDB 01

    Arrow-air/project-quiver

    Project Quiver documentation, designs, and project artifacts.

    33 parts617CERN-OHL-S-2.0
  • 2 layers75 × 26 mmDIY detector, the printed circuit board in 3D

    DIY detector

    ozel/DIY_particle_detector

    A mobile low-cost spectrometer for measuring radioactivity and the energy of ionising radiation like alpha particles and electrons

    33 parts558BSD-2-Clause
  • 2 layers100 × 50 mmPixelix, the printed circuit board in 3D

    Pixelix

    BlueAndi/Pixelix

    Full RGB LED matrix, based on an ESP32 and WS2812B LEDs or emulated LEDs on TFT.

    33 parts447MIT
  • 2 layers65 × 30 mmCanHat, the printed circuit board in 3D

    CanHat

    bondus/KlipperToolboard

    A 3D printer tool head controller board

    33 parts373GPL-3.0