svg
Back to Projects
Fabricated & Enclosed V2.0
PROJECT // HW-02 BIOMETRIC EMBEDDED SYSTEM ESP32 + CLOUDFLARE EDGE

API-Based Fingerprint Attendance System

From Hand-Soldered Dot PCB to Custom KiCad Fabrication & Cloud Edge Deployment

// HARDWARE ITERATION The Prototyping Journey: From V1 to V2
Version 1.0 Proof of Concept

Dot-Matrix Perfboard Prototyping

Version 1.0 Dot Matrix Perfboard Prototype

Hand-soldered point-to-point jumper wiring to validate the electrical pinouts, UART timing with the optical fingerprint scanner, I2C OLED communications, and Wi-Fi cloud connectivity.

Verified logic, button debouncing, and API handshakes
Version 2.0 Fabricated & Enclosed

Custom KiCad Routed Board & Enclosure

Version 2.0 Fabricated and Enclosed Prototype

Designed custom schematics in KiCad 9.0.0, routed high-speed traces with solid ground return planes, added filtering capacitors, and manufactured a clean industrial-grade board.

Clean assembly, zero noise, enclosed with buttons & OLED
// HARDWARE & SCHEMATIC VIEWER 5 High-Resolution Assets

Final Hardware Complete Assembled Product Prototype

Fully integrated attendance station featuring ESP32 core, optical fingerprint scanner, 0.96" OLED display, 3 tactile menu buttons, and status indicators.

Final Hardware Complete Assembled Product Prototype

Final Hardware Complete Assembled Product Prototype

Fully integrated attendance station featuring ESP32 core, optical fingerprint scanner, 0.96" OLED display, 3 tactile menu buttons, and status indicators.

1 / 5
Click to enlarge
// SCHEMATIC ARCHITECTURE finger-print.kicad_sch

The custom hardware is built around the ESP32-DEVKITC-32E, combining high-speed 240MHz dual-core processing with integrated Wi-Fi and Bluetooth connectivity.

Biometric Sensor

UART Communication

Connected via Hardware Serial (IO16/IO17) with dedicated Touch/Wake interrupt pin.

0.96" OLED Display

I2C Protocol

SDA on IO21, SCL on IO22 with onboard 4.7kΩ pull-up resistors for glitch-free frame rendering.

Feedback & Alert

Active Buzzer + 3 LEDs

Audible confirmation on IO27, with discrete status LEDs (D1, D2, D3) on IO13, IO12, and IO14.

Dual Power Subsystem

DC Jack + USB Type-C

CON-SOCJ-2155 barrel jack and Type-C connector with reverse-polarity protection and clean 3.3V LDO step-down.

// LIVE STATE MACHINE Interactive Attendance Device Simulator
ESP32 FIRMWARE ONLINE

Embedded Device & Cloud Relay Simulation

Test how the embedded firmware handles optical fingerprint scanning, user verification, OLED frame rendering, and Cloudflare D1 edge database sync:

D1 (Power) ON
D2 (Match) OFF
D3 (WiFi/Cloud) ONLINE
BUZZER: OFF
0.96" I2C OLED (SSD1306 128x64) IO21(SDA) / IO22(SCL)
AHOPEZ ATTENDANCE v2.0 10:22:11 pm

PLACE FINGER

Waiting for optical sensor...

MODE: ATTENDANCE WIFI: CONNECTED
Touch / Wake Pin: ACTIVE Baud: 57600
// HARDWARE TACTILE BUTTONS:

Simulate mechanical switches for local firmware navigation:

Biometric Sensor Trigger:
// EDGE API REQUEST LOG Cloudflare Workers Endpoint
POST /api/v1/attendance - 200 OK (Device Ready)
// SYSTEM SPECIFICATIONS Hardware, Firmware & Edge Cloud Stack
Full Spec Sheet
Microcontroller FreeRTOS Multi-Tasking

ESP32 Dual Core 240MHz

High-speed processing handling concurrent UART biometric acquisition, Wi-Fi networking, and OLED rendering.

Production Hardware Verified
Biometric Sensor 57600 Baud Rate

UART Optical Fingerprint Scanner

Hardware serial on IO16/IO17 with onboard DSP matching and dedicated capacitive wake interrupt.

Production Hardware Verified
Display Interface DM-OLED096-636

0.96" I2C OLED Display

Glitch-free I2C frame buffer running on IO21 (SDA) and IO22 (SCL) with onboard 4.7kΩ pull-up resistors.

Production Hardware Verified
PCB Design Tool Custom Footprints & DRC

KiCad E.D.A. 9.0.0

Full schematic hierarchy, customized component library, differential trace routing, and certified Gerber packages.

Production Hardware Verified
PCB Technology 1.6mm Solid Plane

2-Layer FR-4 with Ground Pour

Continuous bottom ground return plane minimizing high-frequency Wi-Fi RF noise and switching ripple.

Production Hardware Verified
Audio / Visual IO27 + IO13/12/14

Active Buzzer + 3 Status LEDs

Discrete audible tones on IO27 and visual indicators: D1 (Power), D2 (Biometric Match), and D3 (Cloud Sync).

Production Hardware Verified
User Input SW1, SW2, SW3

3x Tactile Push Buttons

Tactile switches for intuitive local user navigation: Menu navigation, Item increment/Up, and Enter/Confirm.

Production Hardware Verified
Power Subsystem 5V In / 3.3V LDO Rail

Dual Power: DC Jack + Type-C

CON-SOCJ-2155 barrel jack and modern USB Type-C connector with reverse-polarity protection and decoupled rails.

Production Hardware Verified
Cloud Architecture Global Low Latency

Cloudflare Workers (Edge APIs)

Serverless REST microservices deployed across 300+ edge locations for sub-50ms attendance logging.

Production Hardware Verified
Edge Database ACID Compliant SQLite

Cloudflare D1 (Serverless SQL)

Zero-cold-start serverless database providing real-time ACID-compliant attendance audit trails.

Production Hardware Verified
Admin PWA Mobile First Dashboard

SvelteKit Progressive Web App

Responsive real-time dashboard delivering instant daily attendance exports, employee audits, and shift analytics.

Production Hardware Verified
Offline Resilience Auto-Sync on Reconnect

SPIFFS Flash Storage Cache

Caches punch transactions locally in ESP32 onboard flash if Wi-Fi network drops, automatically syncing upon reconnect.

Production Hardware Verified
// ARCHITECTURE Cloud Infrastructure

Edge-to-Cloud Integration

Unlike standalone offline attendance devices, this hardware seamlessly transmits encrypted punch records via Wi-Fi to a serverless Cloudflare Workers REST API.

Cloudflare D1

Cloudflare D1 serverless SQL stores live audit trails with sub-millisecond edge transactions.

SvelteKit PWA

SvelteKit PWA enables instant admin reporting on mobile devices with live presence metrics.

Offline Fallback

Offline Fallback caches scans in ESP32 SPIFFS memory if Wi-Fi drops, automatically replaying once restored.

Return to All Projects