PadisController: access control on embedded boards
PadisController is the access control product of PADIS. It runs on a small board next to the doors, decides each access and opens the door. I am its main developer (1,000+ commits).
2024 – 2026 · Project at PADIS
1 / 6
At a glance
| Product | PadisController, the access control product of PADIS |
|---|---|
| My role | Main developer (1,000+ commits) |
| Boards | Raspberry Pi, Orange Pi, Rockchip (Debian or Buildroot) |
| I/O board | Six relays, four Wiegand ports, RS485, OSDP, CAN, LAN and USB |
| Cards | RFID and Wiegand readers at the entry and the exit |
| Access rules | Access groups, anti-passback, interlock, multi-person verification, time and passage limits |
| Calendars | Shamsi, Gregorian and Qamari |
| Server | Real-time events over gRPC streaming; a queue when the network is down |
| Panel | English and Persian web panel; REST API |
| License | Hardware-bound Ed25519 license |
What it does
PadisController runs on a Raspberry Pi, Orange Pi or Rockchip board (Debian or Buildroot). It talks to an I/O board over a serial protocol with CRC16 and acknowledgements. It reads RFID and Wiegand cards at the entry and the exit, decides if the person can pass, and drives the door relays. It sends each event to a central server in real time.
Access rules
- Access groups
- Shamsi, Gregorian and Qamari calendars
- Anti-passback: a card cannot enter two times without an exit
- Interlock: a door opens only when the other door is closed
- Multi-person verification
- Time and passage limits
Sensors, scenarios and emergencies
It reads door contacts, exit buttons and fire and smoke sensors. A scenario engine reacts to these inputs. Emergency modes have a priority order: fire, smoke, lockdown.
Panel, server and license
- A bilingual English and Persian web panel, and a REST API for remote configuration.
- Real-time event sync to the central server over gRPC streaming. If the network is down, the events wait in a queue.
- An audit log of all events.
- A hardware-bound Ed25519 license.
Engineering
Built with Clean Architecture and tested with pytest.