Skip to the content
2 layers121 × 70 mmAvr door controller, the printed circuit board in 3D

An AVR based door access controller for wiegand readers

Size
121 × 70 mm
Copper layers
2
Thickness
1.6 mm
Parts
80
Nets
80
Pads
246
Tracks, vias
377, 0
Pours
1
Routed
Yes
KiCad
KiCad 4
Created
11 Aug 2017
Updated
20 Mar 2026

Overview

Avr door controller is an open-source printed circuit board by AlbanBedel, from the AlbanBedel/avr-door-controller repository on GitHub. It is a 2-layer board of 121 × 70 mm with 80 parts on 80 nets, routed with 377 tracks and 0 vias.

Its parts include 24 resistors, 12 diodes, 11 transistors, 9 connectors and 7 fuses.

README

README.md

AVR based wiegand door controller

This project is about building an open source physical access control system for small communities and groups.

Electronic

In this directory you will find the hardware design (schematics and PCB) for a two door controller using an Arduino Nano. Its main features are:

  • Can be powered with 12V or 24V.
  • Support various setup for the door lock, the relay can be connected to 12V, 24V or GND as normally open or as normally closed.
  • An USB power supply to power additional devices such as an AP for network connectivity.
  • Use RJ-45 connectors for the doors to allow standardizing the physical installation.

This design intentionally doesn't provide network connectivity for two reasons. First we want to keep the device as cheap and reliable as possible. But most importantly we want a secure system, implementing secure communication (SSL) on a small micro-controller is not really possible. So instead of using dubious Ethernet expansion boards we decided to only provide an USB interface and rely on external devices running a full OS for access over the network.

Pin out

text
Pin | Function | T-568 A      | T-568 B      | Reader
------------------------------------------------------
  1 | Beep     | White Green  | White Orange | Yellow
  2 | LED      | Green        | Orange       | Blue
  3 | Status   | White Orange | White Green  |
  4 | D1       | Blue         | Blue         | White
  5 | D0       | White Blue   | White Blue   | Green
  6 | Relay    | Orange       | Green        |
  7 | 12V      | White Brown  | White Brown  | Red
  8 | GND      | Brown        | Brown        | Black

Firmware

In this directory you will find the firmware for the above hardware, it supports both the Arduino Nano version 2 and version 3. We recommend using version 3 as they have a much large EEPROM which allow for up to 200 access records.

The firmware currently support:

  • 26 bits wiegand RFID readers
  • RFID reader with keypad for PIN
  • Access with PIN only, card only or card + PIN
  • TOTP and HOTP PIN
  • Simple access records management over USB

The following is planned:

  • Support external EEPROM for more access records
  • 34 bits RFID cards

Daemon

In this directory you will find a daemon that allow managing one or more controllers using OpenWrt ubus. As OpenWrt include a JSON-RPC interface to ubus this daemon allow to manage the controllers over the network using a JSON-RPC interface.

Client

In this directory you will find the client software to manage the controllers. First is a tool (and python API) that allow to manage a controller, either over USB or over JSON-RPC. This tool is pretty low level but make it easy to setup a single controller with a couple of users. Then there is database backed tool that allow to easily manage larger deployments with several controllers and many users.

Parts

80
QtyValueFootprintReferences
1115KResistors_ThroughHole:Resistor_Horizontal_RM10mmR8, R9, R14, R15, R18, R19, R20, R21, R22, R23, R24
10Q_NPN_EBCTO_SOT_Packages_THT:TO-92_Inline_Narrow_OvalQ1, Q2, Q3, Q4, Q5, Q6, Q7, Q8, Q10, Q11
95.1VDiodes_ThroughHole:Diode_DO-35_SOD27_Horizontal_RM10D2, D3, D6, D7, D8, D9, D12, D13, D14
81KResistors_ThroughHole:Resistor_Horizontal_RM10mmR1, R4, R5, R6, R7, R10, R11, R12
40.5APPTC:Bourns_PPTC_Style_1F2, F3, F6, F7
468Resistors_ThroughHole:Resistor_Horizontal_RM7mmR2, R3, R16, R17
312V|24VConnect:PINHEAD1-3JP1, JP6, JP7
21N4148Diodes_ThroughHole:Diode_DO-35_SOD27_Horizontal_RM10D4, D5
2NC | NOConnect:PINHEAD1-3JP3, JP4
2RELAYModules:JRC-21FK1, K2
2VCC|GNDConnect:PINHEAD1-3JP2, JP5
10.09APPTC:Bourns_PPTC_Style_1F4
11.6APPTC:Bourns_PPTC_Style_1F5
112VModules:XM1584U1
1150Resistors_ThroughHole:Resistor_Horizontal_RM7mmR13
124VModules:MT3608U3
124VConnect:BARREL_JACKCON1
13APPTC:Bourns_PPTC_Style_2F1
15VModules:XM1584U2
1AnalogSocket_Arduino_Nano:Socket_Strip_Arduino_1x15P2
1CLOCKConnect:PINHEAD1-6P7
1DOOR1Connect:RJ45_8J1
1DOOR1 BTNConnect:bornier2P3
1DOOR2Connect:RJ45_8J2
1DOOR2 BTNConnect:bornier2P10
1DigitalSocket_Arduino_Nano:Socket_Strip_Arduino_1x15P1
1Q_NMOS_GDSTO_SOT_Packages_THT:TO-251AAQ9
1TVSDiodes_ThroughHole:Diode_DO-41_SOD81_Vertical_AnodeUpD1
1USB_AConnect:USB_AP6

The 75 most common of 80 parts.

Similar boards

  • 2 layers54.6 × 89.5 mmPicoRX, the printed circuit board in 3D

    PicoRX

    dawsonjon/PicoRX

    Build a SDR SW/MW/LW Receiver with a Raspberry Pi Pico

    80 parts556
  • 2 layers130.4 × 76.6 mmGb stream cart, the printed circuit board in 3D

    Gb stream cart

    Staacks/gbinterceptor

    Capture or stream Game Boy gameplay footage via USB without modifying the Game Boy.

    80 parts542
  • 2 layers100 × 100 mmEleLab v2 Bus100, the printed circuit board in 3D

    EleLab v2 Bus100

    Chrismettal/EleLab_v2

    Cheap DIY lab system for hobbyists and the tinkering folk

    80 parts531GPL-3.0
  • 2 layers59.6 × 109.5 mmKivu12, the printed circuit board in 3D

    Kivu12

    ohmtech-rdi/eurorack-blocks

    Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust

    80 parts410
  • 2 layers137.9 × 92.7 mmErgoTravel, the printed circuit board in 3D

    ErgoTravel

    jpconstantineau/ErgoTravel

    A Portable Ergonomic Split Keyboard inspired from the ErgoDox, Let's Split and Minidox

    80 parts284MIT
  • 2 layers219.1 × 66.7 mmStonehenge30, the printed circuit board in 3D

    Stonehenge30

    marksard/Keyboards

    This repository is warehouse of my keyboard architecture.

    80 parts193MIT
  • 2 layers99.1 × 99.7 mmRC6502 General Video Adapter, the printed circuit board in 3D

    RC6502 General Video Adapter

    tebl/RC6502-Apple-1-Replica

    An expandable SBC-version of the Apple 1 computer, easy to get started with and lot of cool stuff that can be added to it!

    80 parts193GPL-3.0
  • 2 layers226.9 × 108.5 mmMikecinq, the printed circuit board in 3D

    Mikecinq

    mikeholscher/zmk-config-mikecinq

    ZMK Config + Files

    80 parts126

Questions

How big is the Avr door controller PCB?

It measures 121 × 70 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Avr door controller use?

80 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 Avr door controller KiCad files?

From the AlbanBedel/avr-door-controller repository on GitHub, at the commit this page was made from: the board is electronic/avr-door-controller.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

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

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