Back to Portfolio
Institutional IoT — Deployed
Sole Developer & Hardware Engineer

Campus-Wide UHF RFID
Access & Monitoring Network

An institutional, high-throughput automated attendance & monitoring system managing multiple edge terminals powered by Raspberry Pi hardware — connected over a fiber-optic LAN backbone and centralized by a Laravel / Vue.js management portal with real-time student tracking and automated compliance reporting.

Raspberry Pi • Python / Bash
Laravel • Vue.js
Fiber-Optic LAN Backbone
UHF RFID • Multi-Terminal
View on LinkedIn

Three-Layer Infrastructure Stack

Built ground-up as a vertically integrated system — from raw RF antenna signal all the way to executive compliance reports in a web browser.

UHF
Long-range RFID reader tech — up to 8m tag detection range
Edge
Raspberry Pi nodes running local tag processing and caching
Fiber
Fiber-optic media converters bypassing EMI from high-voltage lines
Live
Laravel + Vue.js portal with real-time student tracking dashboards
L1
RF Antenna & UHF RFID Reader
Raw tag ID stream from campus entry/exit points
L2
Raspberry Pi Edge Node
Anti-collision handling, local SQLite caching, offline resilience
L3
Fiber-Optic LAN Backbone
Media converters insulating data lines from high-voltage EMI
L4
Laravel REST API Backend
Receives sync payloads, resolves students, writes to central DB
L5
Vue.js Admin Portal
Real-time dashboards, compliance reports, terminal management

What the System Delivers

Designed to eliminate manual attendance reconciliation, survive network outages, and give administrators instant visibility across all campus entry points.

EMI-Immune Fiber-Optic Backbone
Purpose-built for an institutional environment where RFID readers and data cables co-exist near high-voltage electrical infrastructure. Fiber-optic media converters completely insulate data lines from electromagnetic interference while extending the LAN well beyond copper cable limits.
Zero Data Loss — Offline Resilience
Each Raspberry Pi edge node runs a local database cache and queuing daemon. When the network goes down, tag reads are stored locally and automatically synced to the central server on reconnection — guaranteeing no attendance record is ever lost.
High-Throughput Anti-Collision Handling
UHF RFID in a crowded hallway means dozens of tags firing simultaneously. Custom local scripts implement anti-collision protocol handling to correctly decode and deduplicate simultaneous multi-tag reads without corrupting records.
Real-Time Student Tracking Dashboard
The Vue.js admin portal surfaces live entry/exit events as they are processed by the backend. Administrators see which students are on campus in real time and can flag anomalies instantly without waiting for end-of-day reports.
Automated Compliance Reporting
The Laravel backend generates attendance compliance reports automatically — per student, per subject, per date range — and exports them in formats ready for institutional submission, eliminating hours of manual encoding.
Multi-Terminal Centralized Management
All edge terminals report to a single centralized server. Administrators enroll students, assign RFID tags, monitor terminal health, and configure reader parameters across the entire campus network from one admin portal — no per-terminal manual configuration needed.

Tools & Technologies

A deliberately pragmatic stack — choosing tools that run reliably on low-power edge hardware as well as a production PHP server.

// Edge Layer
Raspberry Pi
Python
Bash Scripting
SQLite
UHF RFID SDK
Fiber-Optic LAN
// Backend & Frontend
PHP / Laravel
Vue.js
MySQL
REST API
Laravel Auth
Report Engine

Interested in similar infrastructure?

Whether you need an RFID attendance system, edge computing deployment, or a full IoT network build — reach out to discuss your requirements.

Engineering Deep-Dive • Infrastructure Case Study

Edge-to-Cloud IoT Architecture — Full Stack Breakdown

This section documents the engineering decisions, communication protocols, data flow, and software architecture behind the campus RFID network. Every layer was designed, implemented, and deployed by Teejay Tamani.

End-to-End Data Flow

From UHF antenna to admin dashboard — every hop in the data pipeline is fault-tolerant and independently operable.

+-----------------------------------------------------------+
|         UHF RFID Antenna + Reader (per terminal)          |
|   - Long-range tag detection (up to 8m)                   |
|   - Multi-tag simultaneous read (anti-collision)          |
+-------------------------+---------------------------------+
                          |  Serial / USB / SDK Stream
                          v
+-----------------------------------------------------------+
|           Raspberry Pi Edge Node (per terminal)           |
|   Python Daemon:                                          |
|   - Anti-collision tag deduplication (time-window)        |
|   - Local SQLite queue  (offline resilience)              |
|   - HTTP POST to central API (with retry + backoff)       |
+-------------------------+---------------------------------+
                          |  Fiber-Optic Media Converter
                          |  (EMI isolation, long-distance)
                          v
+-----------------------------------------------------------+
|                  Campus LAN Backbone                      |
|   Fiber-optic trunk — immune to high-voltage EMI          |
|   Copper patch only at terminal endpoint (last meter)     |
+-------------------------+---------------------------------+
                          |  HTTP REST (JSON payloads)
                          v
+-----------------------------------------------------------+
|                Laravel REST API Backend                   |
|   - Tag ID to Student resolution (indexed, cached)        |
|   - Attendance record write (timestamp + terminal ID)     |
|   - Bulk offline sync endpoint (outage recovery)          |
+-------------------------+---------------------------------+
                          |  Eloquent ORM / MySQL
                          v
+-----------------------------------------------------------+
|               Vue.js Admin Management Portal              |
|   - Real-time attendance feed (polling / WebSocket)       |
|   - Student + tag enrollment management                   |
|   - Automated compliance report generation + export       |
+-----------------------------------------------------------+

Raspberry Pi Edge Node Implementation

The edge node must handle hardware I/O, data integrity, and network resilience simultaneously without supervision.

Anti-Collision Tag Stream Processing
UHF readers in dense environments generate rapid bursts of duplicate tag reads. The edge daemon implements a sliding time-window deduplication buffer — only forwarding unique tag events within a configurable debounce interval.
  • Configurable debounce window per reader type
  • In-memory tag event ring buffer
  • Handles simultaneous multi-tag collision packets
Local SQLite Cache & Sync Queue
Every validated tag event is written to local SQLite before attempting network delivery. A background sync worker processes the queue with exponential backoff. On reconnection, the entire backlog is flushed in a bulk sync payload.
  • Write-ahead local persistence before network POST
  • Exponential backoff retry on API failure
  • Bulk sync endpoint for outage recovery
  • Queue cleanup after confirmed server acknowledgment
RFID Tag & Student Enrollment
The admin portal manages the complete tag-to-student binding lifecycle. Administrators enroll new students, assign RFID tag IDs, update records, and deactivate tags — all propagated to the edge nodes automatically on the next sync cycle.
  • Tag-to-student binding management via admin portal
  • Bulk student import and tag batch assignment
  • Tag deactivation with immediate effect on all terminals

Fiber-Optic Backbone Design

Institutional buildings present a unique network challenge: long cable runs, high-voltage electrical infrastructure, and multi-floor interference.

// The Problem
Standard CAT cable runs limited to ~100m per segment
High-voltage electrical panels generating strong EMI fields
Copper ethernet susceptible to induced noise and packet loss
Multi-building deployment across campus grounds
// The Solution
Fiber-optic media converters on trunk lines — light-based, inherently EMI-immune
Single-mode fiber run for long inter-building distances
Copper patch only at the terminal endpoint — last meter to the RPi
Zero packet loss incidents from electrical interference post-deployment

Laravel API & Vue.js Portal

The server-side stack handles hundreds of tag events per minute across multiple terminals while keeping read queries fast enough for real-time dashboards.

Optimized Data Indexing & Tag Resolution
Tag IDs must be resolved to student records instantly on every scan. The Laravel backend maintains a heavily indexed tag-to-student lookup table with query caching, ensuring sub-10ms resolution even under concurrent multi-terminal load.
  • Composite index on tag_id + terminal_id
  • Query result caching for high-frequency lookups
  • Bulk insert endpoint for offline sync payloads
Automated Compliance Report Engine
Scheduled Laravel commands generate attendance summaries per student, subject, and date range as queue-backed background jobs — exported as PDF or Excel for institutional submission.
  • Queue-backed background report generation
  • Per-student, per-subject, per-period filters
  • PDF and Excel export formats
  • Configurable attendance threshold flag alerts
Vue.js Real-Time Admin Dashboard
A component-driven Vue.js portal surfaces live entry/exit events as they arrive. Administrators manage student enrollment, tag assignments, and terminal health without leaving the browser.
  • Live attendance feed with student photo lookup
  • Terminal health monitoring panel
  • Tag enrollment & student record management
  • Terminal status & reader health monitoring