PCB-Shield-Security-System

Public

@khaledghanem0

Download board files

Files for version 1. Pick what you came for.

Share PCB-Shield-Security-System

Check access before sharing the link.

Who can open this board

Anyone can open this board. No sign-in is required.

This link opens the latest version. Copying it does not grant additional access.

Loading…

README

Custom PCB Shield for Multi-Zone Security System

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.

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.

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

Back


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

├── 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.

Comments

No comments yet. Be the first to ask about this board.

Ask about this board

Sign in to BoardRepo

New here? Signing in creates your account; there is no separate sign-up.