Skip to the content
2 layers85 × 40 mmRfid door controller, the printed circuit board in 3D

Rfid door controller

Aryalleh/Attendance-device

A 2-layer, 85 × 40 mm, all through-hole carrier for the RFID attendance device: the Wemos D1 mini plugs into two 1×8 female headers, the RC522 into a 1×8 socket on the left edge, and the board adds the two status LEDs…

Size
85 × 40 mm
Copper layers
2
Thickness
1.6 mm
Parts
18
Nets
22
Pads
55
Tracks, vias
46, 17
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
2 Nov 2026
Updated
7 Nov 2026

Overview

Rfid door controller is an open-source printed circuit board by Aryalleh, from the Aryalleh/Attendance-device repository on GitHub. It is a 2-layer board of 85 × 40 mm with 18 parts on 22 nets, routed with 46 tracks and 17 vias.

It is built around the BC337 and BC547. Its parts include 4 resistors, 2 capacitors, 2 diodes, 2 transistors and 2 connectors. It belongs with the radio and wireless boards of this library.

Main components

2

README

hardware/README.md

Carrier board (KiCad 10)

A 2-layer, 85 × 40 mm, all through-hole carrier for the RFID attendance device: the Wemos D1 mini plugs into two 1×8 female headers, the RC522 into a 1×8 socket on the left edge, and the board adds the two status LEDs, the buzzer driver and a header for an optional relay module.

top

routing

schematic

RefPartNotes
A1Wemos D1 miniTwo 1×8 female headers. Antenna at the top edge, USB at the bottom edge
J11×8 female socket, RC522SDA SCK MOSI MISO IRQ GND RST 3.3V, pin 1 at the bottom
C1100 nFRC522 3.3 V decoupling
C247 µF 10 V5 V bulk for the buzzer and relay module
R1, D1220 Ω, green 5 mm LEDD1 pin, active HIGH
R2, D2220 Ω, red 5 mm LEDD2 pin, active HIGH
R3, Q1, R4, Q247 k, BC547, 10 k, BC337Inverting buzzer driver: silent at boot
BZ15 V active buzzer, 7.6 mm pitch+ to +5V
J21×3 pin header, optional1 +5V, 2 GND, 3 IN (D4) for an active-LOW relay module

Power comes only from the D1 mini's micro-USB socket (5 V, ≥ 500 mA). The D1 mini's own regulator feeds the RC522 with 3.3 V. Give a door lock its own supply; never run it from the USB 5 V.

Firmware (firmware/src/config.h) for this board:

c
#define LED_ACTIVE_LOW     false
#define BUZZER_ACTIVE_LOW  true    // inverting driver: D3 LOW = beep, D3 HIGH at boot = silent
#define RELAY_ACTIVE_LOW   true    // active-LOW relay module on J2

Files

FileWhat it is
generate_schematic.pyWrites rfid-door-controller.kicad_sch and proves it against the netlist spec in the script
place_board.pyCreates and places rfid-door-controller.kicad_pcb from a coordinate table
route_board.pyRoutes every net, adds GND stitching and pours, runs DRC
schlib.py, pcblib.py, routelib.pyThe builder libraries the three scripts use
rfid-door-controller-schematic.pdfThe schematic, printed
fab/Gerbers + drill (fab/rfid-door-controller-gerbers.zip) and bom.csv
render/3D renders, top and bottom

The .kicad_sch and .kicad_pcb are generated: change the scripts, not the files, or your edits are lost on the next run. (The scripts refuse to overwrite a file that was edited in KiCad since they wrote it, and back it up first.)

Regenerating

Needs KiCad 10: kicad-cli on the PATH for the schematic and KiCad's own Python (pcbnew) for the board.

bash
python3 generate_schematic.py            # schematic + netlist/ERC check
python3 generate_schematic.py --force    # after porting hand edits into the script
"$KPY" place_board.py --force            # resets every footprint to the table
"$KPY" route_board.py                    # tracks, vias, pours, DRC

$KPY is KiCad's Python: /usr/bin/python3 on a distro KiCad, or "C:\Program Files\KiCad\10.0\bin\python.exe" on Windows.

Fab outputs:

bash
kicad-cli sch export pdf -o rfid-door-controller-schematic.pdf rfid-door-controller.kicad_sch
kicad-cli pcb export gerbers -o fab/gerbers/ rfid-door-controller.kicad_pcb
kicad-cli pcb export drill   -o fab/gerbers/ rfid-door-controller.kicad_pcb

Checks

  • Schematic: KiCad's netlist matches the spec in generate_schematic.py exactly; ERC has 0 errors.
  • Board: DRC has 0 errors, 0 unconnected and 0 schematic-parity items. Any lib_footprint_issues mean that KiCad cannot find its stock footprint libraries (for example, a portable install with no library tables). They are not board faults.
  • Both GND pours are each one piece, tied together by 17 stitching vias.

Assembly notes

  • Solder the low parts first: resistors, C1, the transistors (flat face as on the silkscreen), then the LEDs (long leg toward the resistor), C2 (the + mark), the buzzer (+ to the right), the headers, and the sockets last.
  • Plug the D1 mini in with its USB socket toward the bottom edge. The antenna end sits over the copper-free area at the top edge.
  • The RC522 plugs into J1 component side out, or connects through a cable no longer than 15 cm.

Parts

18
QtyValueFootprintReferences
4MountingHole_3.2mmH1, H2, H3, H4
2220Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1, R2
1100nFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC1
110kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR4
147kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR3
147uF 10VCapacitor_THT:CP_Radial_D5.0mm_P2.00mmC2
15V activeBuzzer_Beeper:Buzzer_12x9.5RM7.6BZ1
1BC337Package_TO_SOT_THT:TO-92_InlineQ2
1BC547Package_TO_SOT_THT:TO-92_InlineQ1
1GREENLED_THT:LED_D5.0mmD1
1RC522Connector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalJ1
1REDLED_THT:LED_D5.0mmD2
1RELAY (opt.)Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ2
1WeMos D1 miniRF_Module:WEMOS_D1_mini_lightA1

Similar boards

  • 2 layers100 × 50 mmC6021light, the printed circuit board in 3D

    C6021light

    deltaphi/c6021light

    Feature-compact DIY version of the c6021

    79 parts5GPL-3.0
  • 2 layers304.6 × 105.7 mmMPPT Booster 4kW Hardware, the printed circuit board in 3D

    MPPT Booster 4kW Hardware

    HNadeemTahir/AI_Inverter_Project

    NgSpice Digital Twin of a complete off-grid solar power system: H-Bridge inverter (220V/50Hz, PI control, electro-thermal IGBT modeling) and 4kW MPPT boost converter (UC3843 analog control, KCL summing node, gate drive…

    115 parts5
  • 2 layers206.2 × 138.1 mmOric, the printed circuit board in 3D

    Oric

    Board-Folk/Oric-Remix

    Oric Remix

    133 parts4
  • 2 layers50 × 65 mmIBIS, the printed circuit board in 3D

    IBIS

    xtomasnemec/IBIS2USB

    Adapter from IBIS to USB

    25 parts3
  • 2 layers191.2 × 93.2 mmLadybirdRadioUpdated, the printed circuit board in 3D

    LadybirdRadioUpdated

    Acramonics/LadybirdRadioUpdated

    The G.C. Dobbs Ladybird book 'Making a Transistor Radio' as updated by Doz Television Workshop (@AndyDoz https://www.youtube.com/watch?v=Zk2TwEWvFMoz on YouTube) comes to PCB

    44 parts

Questions

How big is the Rfid door controller PCB?

It measures 85 × 40 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Rfid door controller use?

18 parts, built around the BC337 and BC547. 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 Rfid door controller KiCad files?

From the Aryalleh/Attendance-device repository on GitHub, at the commit this page was made from: the board is hardware/rfid-door-controller.kicad_pcb and its schematic hardware/rfid-door-controller.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Rfid door controller design in my own project?

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