

Avr door controller
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.mdAVR 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
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 | BlackFirmware
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| Qty | Value | Footprint | References |
|---|---|---|---|
| 11 | 15K | Resistors_ThroughHole:Resistor_Horizontal_RM10mm | R8, R9, R14, R15, R18, R19, R20, R21, R22, R23, R24 |
| 10 | Q_NPN_EBC | TO_SOT_Packages_THT:TO-92_Inline_Narrow_Oval | Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8, Q10, Q11 |
| 9 | 5.1V | Diodes_ThroughHole:Diode_DO-35_SOD27_Horizontal_RM10 | D2, D3, D6, D7, D8, D9, D12, D13, D14 |
| 8 | 1K | Resistors_ThroughHole:Resistor_Horizontal_RM10mm | R1, R4, R5, R6, R7, R10, R11, R12 |
| 4 | 0.5A | PPTC:Bourns_PPTC_Style_1 | F2, F3, F6, F7 |
| 4 | 68 | Resistors_ThroughHole:Resistor_Horizontal_RM7mm | R2, R3, R16, R17 |
| 3 | 12V|24V | Connect:PINHEAD1-3 | JP1, JP6, JP7 |
| 2 | 1N4148 | Diodes_ThroughHole:Diode_DO-35_SOD27_Horizontal_RM10 | D4, D5 |
| 2 | NC | NO | Connect:PINHEAD1-3 | JP3, JP4 |
| 2 | RELAY | Modules:JRC-21F | K1, K2 |
| 2 | VCC|GND | Connect:PINHEAD1-3 | JP2, JP5 |
| 1 | 0.09A | PPTC:Bourns_PPTC_Style_1 | F4 |
| 1 | 1.6A | PPTC:Bourns_PPTC_Style_1 | F5 |
| 1 | 12V | Modules:XM1584 | U1 |
| 1 | 150 | Resistors_ThroughHole:Resistor_Horizontal_RM7mm | R13 |
| 1 | 24V | Modules:MT3608 | U3 |
| 1 | 24V | Connect:BARREL_JACK | CON1 |
| 1 | 3A | PPTC:Bourns_PPTC_Style_2 | F1 |
| 1 | 5V | Modules:XM1584 | U2 |
| 1 | Analog | Socket_Arduino_Nano:Socket_Strip_Arduino_1x15 | P2 |
| 1 | CLOCK | Connect:PINHEAD1-6 | P7 |
| 1 | DOOR1 | Connect:RJ45_8 | J1 |
| 1 | DOOR1 BTN | Connect:bornier2 | P3 |
| 1 | DOOR2 | Connect:RJ45_8 | J2 |
| 1 | DOOR2 BTN | Connect:bornier2 | P10 |
| 1 | Digital | Socket_Arduino_Nano:Socket_Strip_Arduino_1x15 | P1 |
| 1 | Q_NMOS_GDS | TO_SOT_Packages_THT:TO-251AA | Q9 |
| 1 | TVS | Diodes_ThroughHole:Diode_DO-41_SOD81_Vertical_AnodeUp | D1 |
| 1 | USB_A | Connect:USB_A | P6 |
The 75 most common of 80 parts.
Similar boards
- 2 layers54.6 × 89.5 mm

- 2 layers130.4 × 76.6 mm

Gb stream cart
Staacks/gbinterceptor
Capture or stream Game Boy gameplay footage via USB without modifying the Game Boy.
80 parts542 - 2 layers100 × 100 mm

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 mm

Kivu12
ohmtech-rdi/eurorack-blocks
Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust
80 parts410 - 2 layers137.9 × 92.7 mm

ErgoTravel
jpconstantineau/ErgoTravel
A Portable Ergonomic Split Keyboard inspired from the ErgoDox, Let's Split and Minidox
80 parts284MIT - 2 layers219.1 × 66.7 mm

Stonehenge30
marksard/Keyboards
This repository is warehouse of my keyboard architecture.
80 parts193MIT - 2 layers99.1 × 99.7 mm

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 mm

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.